Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /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:59:03.339153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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 23:59:42.111104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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_43_2630.jpg', '/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_46_2658.jpg', '/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_50_3784.jpg', '/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_53_2695.jpg', '/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_55_2738.jpg', '/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_58_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/07/00/image_30102025_07_00_43_2630.jpg
/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_46_2658.jpg
/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_50_3784.jpg
/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_53_2695.jpg
/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_55_2738.jpg
/home/pi/Desktop/images/30102025/07/00/image_30102025_07_00_58_2715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391753207","1391753108","1391753062","1391752996","1391753154","1391752917"],"photo_ids_order":["1391752917","1391752996","1391753062","1391753108","1391753154","1391753207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/288d25c76206b8725898ea140493a484.jpg","text":"TemporaryFile(/tmp/multipartBody1596255429569988883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038044661,"filename":"image_30102025_07_00_58_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/2/06345a4e53151f165ff540f56f5f1d98.jpg","text":"TemporaryFile(/tmp/multipartBody6508379065699111870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038044661,"filename":"image_30102025_07_00_53_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/2/f5d17ddde917df8a3d78eee3a46be357.jpg","text":"TemporaryFile(/tmp/multipartBody2719561995605566875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038044661,"filename":"image_30102025_07_00_50_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/2/c87b7b189eb252836f0a31f3927ef913.jpg","text":"TemporaryFile(/tmp/multipartBody5443023263604399058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038044661,"filename":"image_30102025_07_00_46_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/2/2df83bbee05194333fb3eedb2663c1b7.jpg","text":"TemporaryFile(/tmp/multipartBody6954047644193642905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038044661,"filename":"image_30102025_07_00_55_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/2/4a9612a8df183bd1bf52d07f880d3d32.jpg","text":"TemporaryFile(/tmp/multipartBody8027998241170873820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038044661,"filename":"image_30102025_07_00_43_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391753062","file1":"1391752996","file0":"1391752917","file4":"1391753154","file5":"1391753207","file3":"1391753108"},"map_files_photo_id_array":[{"photo_id":"1391753207","filename":"file5"},{"photo_id":"1391753062","filename":"file2"},{"photo_id":"1391753154","filename":"file4"},{"photo_id":"1391752996","filename":"file1"},{"photo_id":"1391752917","filename":"file0"},{"photo_id":"1391753108","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391753207":["hashtag1","hashtag2"]},{"1391753108":["hashtag1","hashtag2"]},{"1391753062":["hashtag1","hashtag2"]},{"1391752996":["hashtag1","hashtag2"]},{"1391753154":["hashtag1","hashtag2"]},{"1391752917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391753207, 1391753108, 1391753062, 1391752996, 1391753154, 1391752917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.01557946205139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 00:00:42.281335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/01/image_30102025_07_01_02_3648.jpg', '/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_04_2719.jpg', '/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_14_9317.jpg', '/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_15_1507.jpg', '/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_20_4399.jpg', '/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_21_1730.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/01/image_30102025_07_01_02_3648.jpg
/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_04_2719.jpg
/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_14_9317.jpg
/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_15_1507.jpg
/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_20_4399.jpg
/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_21_1730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391753506","1391753586","1391753503","1391753466","1391753475","1391753540"],"photo_ids_order":["1391753466","1391753475","1391753503","1391753506","1391753540","1391753586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/631220dd20ac619dc0c18a2f3b6d2636.jpg","text":"TemporaryFile(/tmp/multipartBody1262059226407857983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038103396,"filename":"image_30102025_07_01_15_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/2/b64897985d545527acc71fcf5d03789a.jpg","text":"TemporaryFile(/tmp/multipartBody9191486274159000472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038103396,"filename":"image_30102025_07_01_21_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/be3d7230773ade33d60358ebe7d67610.jpg","text":"TemporaryFile(/tmp/multipartBody8876304878356505960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038103396,"filename":"image_30102025_07_01_14_9317.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ea54ae0d8a26fc12a7711db8ae2b7572.jpg","text":"TemporaryFile(/tmp/multipartBody499688434363862359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038103396,"filename":"image_30102025_07_01_02_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/2/4d9b6421203f7723a748abeb3753b140.jpg","text":"TemporaryFile(/tmp/multipartBody416346647973690684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038103396,"filename":"image_30102025_07_01_04_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/2/573d2d01a34e2d0d558bea3fa973c1e7.jpg","text":"TemporaryFile(/tmp/multipartBody4343727474244106500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038103396,"filename":"image_30102025_07_01_20_4399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391753503","file1":"1391753475","file0":"1391753466","file4":"1391753540","file5":"1391753586","file3":"1391753506"},"map_files_photo_id_array":[{"photo_id":"1391753586","filename":"file5"},{"photo_id":"1391753503","filename":"file2"},{"photo_id":"1391753540","filename":"file4"},{"photo_id":"1391753475","filename":"file1"},{"photo_id":"1391753466","filename":"file0"},{"photo_id":"1391753506","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391753506":["hashtag1","hashtag2"]},{"1391753586":["hashtag1","hashtag2"]},{"1391753503":["hashtag1","hashtag2"]},{"1391753466":["hashtag1","hashtag2"]},{"1391753475":["hashtag1","hashtag2"]},{"1391753540":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391753506, 1391753586, 1391753503, 1391753466, 1391753475, 1391753540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.479249000549316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:01:22.366716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/01/image_30102025_07_01_23_1600.jpg', '/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_25_1866.jpg', '/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_26_1564.jpg', '/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_28_1626.jpg', '/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_32_3657.jpg', '/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_34_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/07/01/image_30102025_07_01_23_1600.jpg
/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_25_1866.jpg
/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_26_1564.jpg
/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_28_1626.jpg
/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_32_3657.jpg
/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_34_2671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391753761","1391753758","1391753707","1391753727","1391753765","1391753750"],"photo_ids_order":["1391753707","1391753727","1391753750","1391753758","1391753761","1391753765"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7b884c537ba8a53c1fd1fc97ab8c279b.jpg","text":"TemporaryFile(/tmp/multipartBody2924444272619036191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038144936,"filename":"image_30102025_07_01_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/2/316089d2ba78698cea59e3c917a6bc3d.jpg","text":"TemporaryFile(/tmp/multipartBody7267231435164676117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038144936,"filename":"image_30102025_07_01_28_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/2/8567d40b7c87e9a9afd8a504463c76a9.jpg","text":"TemporaryFile(/tmp/multipartBody7733913870638107948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038144936,"filename":"image_30102025_07_01_23_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ebc6e007efe7b494b803fdf81659b7ab.jpg","text":"TemporaryFile(/tmp/multipartBody3862900452533466498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038144936,"filename":"image_30102025_07_01_25_1866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0a3a81ef516dc328526721b4f5c85ad7.jpg","text":"TemporaryFile(/tmp/multipartBody5583981497093005669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038144936,"filename":"image_30102025_07_01_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/2/64755b0558488e418306d0c7a96daad2.jpg","text":"TemporaryFile(/tmp/multipartBody1550616389248177149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038144936,"filename":"image_30102025_07_01_26_1564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391753750","file1":"1391753727","file0":"1391753707","file4":"1391753761","file5":"1391753765","file3":"1391753758"},"map_files_photo_id_array":[{"photo_id":"1391753765","filename":"file5"},{"photo_id":"1391753750","filename":"file2"},{"photo_id":"1391753761","filename":"file4"},{"photo_id":"1391753727","filename":"file1"},{"photo_id":"1391753707","filename":"file0"},{"photo_id":"1391753758","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391753761":["hashtag1","hashtag2"]},{"1391753758":["hashtag1","hashtag2"]},{"1391753707":["hashtag1","hashtag2"]},{"1391753727":["hashtag1","hashtag2"]},{"1391753765":["hashtag1","hashtag2"]},{"1391753750":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391753761, 1391753758, 1391753707, 1391753727, 1391753765, 1391753750)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.695708990097046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:02:22.696804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/01/image_30102025_07_01_37_2677.jpg', '/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_41_3639.jpg', '/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_43_2729.jpg', '/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_46_2518.jpg', '/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_50_3704.jpg', '/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_52_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/07/01/image_30102025_07_01_37_2677.jpg
/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_41_3639.jpg
/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_43_2729.jpg
/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_46_2518.jpg
/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_50_3704.jpg
/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_52_2612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391753998","1391754124","1391754042","1391754207","1391754086","1391754167"],"photo_ids_order":["1391753998","1391754042","1391754086","1391754124","1391754167","1391754207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/04e49d292ec0c92662ee11d8cbb2a178.jpg","text":"TemporaryFile(/tmp/multipartBody5566398790687192954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038205095,"filename":"image_30102025_07_01_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/2/f87c35568b8b1418e891079f3a3df8c0.jpg","text":"TemporaryFile(/tmp/multipartBody4051057044996725356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038205095,"filename":"image_30102025_07_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/2/4a7a810dad3b5f7b3f62416201d988d4.jpg","text":"TemporaryFile(/tmp/multipartBody5759659036422701092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038205095,"filename":"image_30102025_07_01_41_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/2/c05c7858f291541cc5336efb743d7e22.jpg","text":"TemporaryFile(/tmp/multipartBody3344184831716147827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038205095,"filename":"image_30102025_07_01_52_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/2/9bea50529ae56b6fca47fcc7b3172892.jpg","text":"TemporaryFile(/tmp/multipartBody7846668914038702837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038205095,"filename":"image_30102025_07_01_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/2/ccc51fc3eebdddcdfd4261836c2455ab.jpg","text":"TemporaryFile(/tmp/multipartBody3219593386594777610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038205095,"filename":"image_30102025_07_01_50_3704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391754086","file1":"1391754042","file0":"1391753998","file4":"1391754167","file5":"1391754207","file3":"1391754124"},"map_files_photo_id_array":[{"photo_id":"1391754207","filename":"file5"},{"photo_id":"1391754086","filename":"file2"},{"photo_id":"1391754167","filename":"file4"},{"photo_id":"1391754042","filename":"file1"},{"photo_id":"1391753998","filename":"file0"},{"photo_id":"1391754124","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391753998":["hashtag1","hashtag2"]},{"1391754124":["hashtag1","hashtag2"]},{"1391754042":["hashtag1","hashtag2"]},{"1391754207":["hashtag1","hashtag2"]},{"1391754086":["hashtag1","hashtag2"]},{"1391754167":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391753998, 1391754124, 1391754042, 1391754207, 1391754086, 1391754167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5307879447937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 00:03:03.490661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/01/image_30102025_07_01_55_2726.jpg', '/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_59_3729.jpg', '/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_01_2687.jpg', '/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_04_2660.jpg', '/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_07_2904.jpg', '/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_11_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/07/01/image_30102025_07_01_55_2726.jpg
/home/pi/Desktop/images/30102025/07/01/image_30102025_07_01_59_3729.jpg
/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_01_2687.jpg
/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_04_2660.jpg
/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_07_2904.jpg
/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_11_3668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391754370","1391754492","1391754450","1391754531","1391754413","1391754571"],"photo_ids_order":["1391754370","1391754413","1391754450","1391754492","1391754531","1391754571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a036a948eb1136ef7dc1bcd89b9e1d04.jpg","text":"TemporaryFile(/tmp/multipartBody168135769068879265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038245589,"filename":"image_30102025_07_01_55_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/2/53ee9c64b556c467a84c7ad4a37d69fc.jpg","text":"TemporaryFile(/tmp/multipartBody3797566795205103885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038245589,"filename":"image_30102025_07_02_04_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/2/3030d4f238cb8fce698947f6a7e142f0.jpg","text":"TemporaryFile(/tmp/multipartBody356192707080121776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038245589,"filename":"image_30102025_07_02_01_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/2/c31c6e968892c98f06983f5867e0c852.jpg","text":"TemporaryFile(/tmp/multipartBody5838103429434339490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038245589,"filename":"image_30102025_07_02_07_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/2/0c9932ea49b9348d8ef9bba4a447779c.jpg","text":"TemporaryFile(/tmp/multipartBody3067749776663578834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038245589,"filename":"image_30102025_07_01_59_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/2/69e8f392fd94cd61eb188e76627c56e2.jpg","text":"TemporaryFile(/tmp/multipartBody1988403667991654495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038245589,"filename":"image_30102025_07_02_11_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391754450","file1":"1391754413","file0":"1391754370","file4":"1391754531","file5":"1391754571","file3":"1391754492"},"map_files_photo_id_array":[{"photo_id":"1391754571","filename":"file5"},{"photo_id":"1391754450","filename":"file2"},{"photo_id":"1391754531","filename":"file4"},{"photo_id":"1391754413","filename":"file1"},{"photo_id":"1391754370","filename":"file0"},{"photo_id":"1391754492","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391754370":["hashtag1","hashtag2"]},{"1391754492":["hashtag1","hashtag2"]},{"1391754450":["hashtag1","hashtag2"]},{"1391754531":["hashtag1","hashtag2"]},{"1391754413":["hashtag1","hashtag2"]},{"1391754571":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391754370, 1391754492, 1391754450, 1391754531, 1391754413, 1391754571)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.16157555580139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 00:04:05.929733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/02/image_30102025_07_02_13_2614.jpg', '/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_16_2722.jpg', '/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_20_3705.jpg', '/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_22_2721.jpg', '/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_25_2761.jpg', '/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_28_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/07/02/image_30102025_07_02_13_2614.jpg
/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_16_2722.jpg
/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_20_3705.jpg
/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_22_2721.jpg
/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_25_2761.jpg
/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_28_2677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391754984","1391754972","1391754975","1391754969","1391754936","1391754980"],"photo_ids_order":["1391754936","1391754969","1391754972","1391754975","1391754980","1391754984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/51199566cb7c8cd72e9d8526375e2518.jpg","text":"TemporaryFile(/tmp/multipartBody1575848704809440520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038307989,"filename":"image_30102025_07_02_28_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/2/57e69a2599d4b39d02f6581a219bb5d4.jpg","text":"TemporaryFile(/tmp/multipartBody6207676047314127133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038307989,"filename":"image_30102025_07_02_20_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/2/d5d3647bd23e30ee66ab32faf4275082.jpg","text":"TemporaryFile(/tmp/multipartBody6646241586990162772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038307989,"filename":"image_30102025_07_02_22_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/2/d570dc4247c4539b96f506d27650e724.jpg","text":"TemporaryFile(/tmp/multipartBody6433256495419674433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038307989,"filename":"image_30102025_07_02_16_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/2/143995a37c4a31ab218b407dfb5a1297.jpg","text":"TemporaryFile(/tmp/multipartBody744747245275250838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038307989,"filename":"image_30102025_07_02_13_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/2/3157b6de5dcef980c454ed214c04a5bf.jpg","text":"TemporaryFile(/tmp/multipartBody4844240081079402956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038307989,"filename":"image_30102025_07_02_25_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391754972","file1":"1391754969","file0":"1391754936","file4":"1391754980","file5":"1391754984","file3":"1391754975"},"map_files_photo_id_array":[{"photo_id":"1391754984","filename":"file5"},{"photo_id":"1391754972","filename":"file2"},{"photo_id":"1391754980","filename":"file4"},{"photo_id":"1391754969","filename":"file1"},{"photo_id":"1391754936","filename":"file0"},{"photo_id":"1391754975","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391754984":["hashtag1","hashtag2"]},{"1391754972":["hashtag1","hashtag2"]},{"1391754975":["hashtag1","hashtag2"]},{"1391754969":["hashtag1","hashtag2"]},{"1391754936":["hashtag1","hashtag2"]},{"1391754980":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391754984, 1391754972, 1391754975, 1391754969, 1391754936, 1391754980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.096457958221436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 00:04:45.257389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/02/image_30102025_07_02_31_3548.jpg', '/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_34_2626.jpg', '/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_38_3629.jpg', '/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_40_2640.jpg', '/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_43_2679.jpg', '/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_49_6166.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/02/image_30102025_07_02_31_3548.jpg
/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_34_2626.jpg
/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_38_3629.jpg
/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_40_2640.jpg
/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_43_2679.jpg
/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_49_6166.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391755003","1391755005","1391754995","1391754998","1391755001","1391755007"],"photo_ids_order":["1391754995","1391754998","1391755001","1391755003","1391755005","1391755007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e236211aa6e2df9e2b9d8bf2863f8619.jpg","text":"TemporaryFile(/tmp/multipartBody2004441669947397025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038348692,"filename":"image_30102025_07_02_40_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/2/6ce54a604651bdcd3c667d7f50eb881d.jpg","text":"TemporaryFile(/tmp/multipartBody3825794063068075052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038348692,"filename":"image_30102025_07_02_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/2/adf8d05c3c63b786c57543a3ccff4878.jpg","text":"TemporaryFile(/tmp/multipartBody5946823450693864968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038348692,"filename":"image_30102025_07_02_31_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/2/f6b7255ee730848425394b104a6599aa.jpg","text":"TemporaryFile(/tmp/multipartBody7057437844562900834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038348692,"filename":"image_30102025_07_02_34_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/2/c0f53e1a9140a88fccd035e632f01ded.jpg","text":"TemporaryFile(/tmp/multipartBody1774782483781989997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038348692,"filename":"image_30102025_07_02_38_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/2/443913cc5731a40c1f60d4e7aeed6a62.jpg","text":"TemporaryFile(/tmp/multipartBody5069652130712985823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038348692,"filename":"image_30102025_07_02_49_6166.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391755001","file1":"1391754998","file0":"1391754995","file4":"1391755005","file5":"1391755007","file3":"1391755003"},"map_files_photo_id_array":[{"photo_id":"1391755007","filename":"file5"},{"photo_id":"1391755001","filename":"file2"},{"photo_id":"1391755005","filename":"file4"},{"photo_id":"1391754998","filename":"file1"},{"photo_id":"1391754995","filename":"file0"},{"photo_id":"1391755003","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391755003":["hashtag1","hashtag2"]},{"1391755005":["hashtag1","hashtag2"]},{"1391754995":["hashtag1","hashtag2"]},{"1391754998":["hashtag1","hashtag2"]},{"1391755001":["hashtag1","hashtag2"]},{"1391755007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391755003, 1391755005, 1391754995, 1391754998, 1391755001, 1391755007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.04108190536499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 00:05:42.408798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/02/image_30102025_07_02_51_1656.jpg', '/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_52_1641.jpg', '/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_55_2802.jpg', '/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_58_2914.jpg', '/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_02_3554.jpg', '/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_04_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/07/02/image_30102025_07_02_51_1656.jpg
/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_52_1641.jpg
/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_55_2802.jpg
/home/pi/Desktop/images/30102025/07/02/image_30102025_07_02_58_2914.jpg
/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_02_3554.jpg
/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_04_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391755026","1391755031","1391755034","1391755037","1391755022","1391755019"],"photo_ids_order":["1391755019","1391755022","1391755026","1391755031","1391755034","1391755037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/dc9bff4e9d0e7f4ac80be9f2a4a09f50.jpg","text":"TemporaryFile(/tmp/multipartBody8459655672485147868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038403458,"filename":"image_30102025_07_02_55_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/2/ce0f7abd33731eb7c3d2300dd2981315.jpg","text":"TemporaryFile(/tmp/multipartBody4999372651413207335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038403458,"filename":"image_30102025_07_02_58_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/2/da40dc51bda6d63b4508334bf7fe851e.jpg","text":"TemporaryFile(/tmp/multipartBody8957845298722301273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038403458,"filename":"image_30102025_07_03_02_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/2/715a2cdff4a9405e402cd1ef794aac20.jpg","text":"TemporaryFile(/tmp/multipartBody1082773728321771257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038403458,"filename":"image_30102025_07_03_04_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/2/4f100cfd0612290fd4d0b9bbe6c07892.jpg","text":"TemporaryFile(/tmp/multipartBody968541930383749565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038403458,"filename":"image_30102025_07_02_52_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/2/f716cbbfdd9efe109c73fb377550622b.jpg","text":"TemporaryFile(/tmp/multipartBody8638869042395259252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038403458,"filename":"image_30102025_07_02_51_1656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391755026","file1":"1391755022","file0":"1391755019","file4":"1391755034","file5":"1391755037","file3":"1391755031"},"map_files_photo_id_array":[{"photo_id":"1391755037","filename":"file5"},{"photo_id":"1391755026","filename":"file2"},{"photo_id":"1391755034","filename":"file4"},{"photo_id":"1391755022","filename":"file1"},{"photo_id":"1391755019","filename":"file0"},{"photo_id":"1391755031","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391755026":["hashtag1","hashtag2"]},{"1391755031":["hashtag1","hashtag2"]},{"1391755034":["hashtag1","hashtag2"]},{"1391755037":["hashtag1","hashtag2"]},{"1391755022":["hashtag1","hashtag2"]},{"1391755019":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391755026, 1391755031, 1391755034, 1391755037, 1391755022, 1391755019)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.7054603099823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 00:06:42.623351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/03/image_30102025_07_03_07_2649.jpg', '/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_11_3612.jpg', '/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_13_2624.jpg', '/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_16_2621.jpg', '/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_19_3665.jpg', '/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_22_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/07/03/image_30102025_07_03_07_2649.jpg
/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_11_3612.jpg
/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_13_2624.jpg
/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_16_2621.jpg
/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_19_3665.jpg
/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_22_2597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391755395","1391755470","1391755350","1391755434","1391755308","1391755509"],"photo_ids_order":["1391755308","1391755350","1391755395","1391755434","1391755470","1391755509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2612194337baca4a14cf2e14f410dba1.jpg","text":"TemporaryFile(/tmp/multipartBody2792338778820050679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038463665,"filename":"image_30102025_07_03_13_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/2/9d928de61a32b408d0fbcf58f83d6b1b.jpg","text":"TemporaryFile(/tmp/multipartBody8106944069798780306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038463665,"filename":"image_30102025_07_03_19_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/2/d626404f8f57de8b71386f109478ba89.jpg","text":"TemporaryFile(/tmp/multipartBody8390333399848116183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038463665,"filename":"image_30102025_07_03_11_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/2/328b905dcf8e8b6e7aa93a513bc8be78.jpg","text":"TemporaryFile(/tmp/multipartBody2576024593887072906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038463665,"filename":"image_30102025_07_03_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/2/ac934fe089f7cd108d0e602c5ce4e03c.jpg","text":"TemporaryFile(/tmp/multipartBody5243948302283678068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038463665,"filename":"image_30102025_07_03_07_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/2/9f213c64f88b92dbc84e023346b2758c.jpg","text":"TemporaryFile(/tmp/multipartBody8639005915160995423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038463665,"filename":"image_30102025_07_03_22_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391755395","file1":"1391755350","file0":"1391755308","file4":"1391755470","file5":"1391755509","file3":"1391755434"},"map_files_photo_id_array":[{"photo_id":"1391755509","filename":"file5"},{"photo_id":"1391755395","filename":"file2"},{"photo_id":"1391755470","filename":"file4"},{"photo_id":"1391755350","filename":"file1"},{"photo_id":"1391755308","filename":"file0"},{"photo_id":"1391755434","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391755395":["hashtag1","hashtag2"]},{"1391755470":["hashtag1","hashtag2"]},{"1391755350":["hashtag1","hashtag2"]},{"1391755434":["hashtag1","hashtag2"]},{"1391755308":["hashtag1","hashtag2"]},{"1391755509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391755395, 1391755470, 1391755350, 1391755434, 1391755308, 1391755509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47663354873657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:07:22.829191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/03/image_30102025_07_03_25_2688.jpg', '/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_29_3760.jpg', '/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_31_2748.jpg', '/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_34_2723.jpg', '/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_37_2731.jpg', '/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_40_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/07/03/image_30102025_07_03_25_2688.jpg
/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_29_3760.jpg
/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_31_2748.jpg
/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_34_2723.jpg
/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_37_2731.jpg
/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_40_2912.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391755704","1391755701","1391755640","1391755637","1391755684","1391755642"],"photo_ids_order":["1391755637","1391755640","1391755642","1391755684","1391755701","1391755704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d67b97af8d4c0fba88e0d3c9ddbbfd0f.jpg","text":"TemporaryFile(/tmp/multipartBody3012933912276345835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038505434,"filename":"image_30102025_07_03_40_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/2/b8975c702c1619c0ca1da06fd00eee7e.jpg","text":"TemporaryFile(/tmp/multipartBody6753627907909848376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038505434,"filename":"image_30102025_07_03_37_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/2/1078a691256fc2e534a9c1020982cd02.jpg","text":"TemporaryFile(/tmp/multipartBody6483634442220150565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038505434,"filename":"image_30102025_07_03_29_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/2/8fe25246cfc25e61bc13175f0f642018.jpg","text":"TemporaryFile(/tmp/multipartBody5072288796412817674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038505434,"filename":"image_30102025_07_03_25_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/2/05a63b51932458185ed03246772fe384.jpg","text":"TemporaryFile(/tmp/multipartBody8385883912644731715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038505434,"filename":"image_30102025_07_03_34_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/2/e1ea4c420451f89e12cc1a0b7f5763a8.jpg","text":"TemporaryFile(/tmp/multipartBody8124837104445689620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038505434,"filename":"image_30102025_07_03_31_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391755642","file1":"1391755640","file0":"1391755637","file4":"1391755701","file5":"1391755704","file3":"1391755684"},"map_files_photo_id_array":[{"photo_id":"1391755704","filename":"file5"},{"photo_id":"1391755642","filename":"file2"},{"photo_id":"1391755701","filename":"file4"},{"photo_id":"1391755640","filename":"file1"},{"photo_id":"1391755637","filename":"file0"},{"photo_id":"1391755684","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391755704":["hashtag1","hashtag2"]},{"1391755701":["hashtag1","hashtag2"]},{"1391755640":["hashtag1","hashtag2"]},{"1391755637":["hashtag1","hashtag2"]},{"1391755684":["hashtag1","hashtag2"]},{"1391755642":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391755704, 1391755701, 1391755640, 1391755637, 1391755684, 1391755642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.258020877838135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 00:08:02.527972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/03/image_30102025_07_03_43_3540.jpg', '/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_46_2784.jpg', '/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_50_3628.jpg', '/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_52_2587.jpg', '/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_55_2600.jpg', '/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_59_3763.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/03/image_30102025_07_03_43_3540.jpg
/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_46_2784.jpg
/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_50_3628.jpg
/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_52_2587.jpg
/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_55_2600.jpg
/home/pi/Desktop/images/30102025/07/03/image_30102025_07_03_59_3763.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391755803","1391755800","1391755790","1391755778","1391755805","1391755798"],"photo_ids_order":["1391755778","1391755790","1391755798","1391755800","1391755803","1391755805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e04f8087d75c99ec88885b8ebc79f306.jpg","text":"TemporaryFile(/tmp/multipartBody6914056445954369061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038544541,"filename":"image_30102025_07_03_55_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/2/5f22ffe182301c2f1830d7f6b9e5584a.jpg","text":"TemporaryFile(/tmp/multipartBody8303137405339447597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038544541,"filename":"image_30102025_07_03_52_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/2/9a18dc5cf33377c1493d91b4abcfedde.jpg","text":"TemporaryFile(/tmp/multipartBody4482681288122373159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038544541,"filename":"image_30102025_07_03_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/2/a0a3dae638484a7f6da96a9fc671c2ed.jpg","text":"TemporaryFile(/tmp/multipartBody3036923271634968229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038544541,"filename":"image_30102025_07_03_43_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/2/bfea8353fdcde98ca4c9c5e2b983e319.jpg","text":"TemporaryFile(/tmp/multipartBody1022133446489701937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038544541,"filename":"image_30102025_07_03_59_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/2/31ff375241ec71d6f4292a6c0d931bf2.jpg","text":"TemporaryFile(/tmp/multipartBody9085605959593054464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038544541,"filename":"image_30102025_07_03_50_3628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391755798","file1":"1391755790","file0":"1391755778","file4":"1391755803","file5":"1391755805","file3":"1391755800"},"map_files_photo_id_array":[{"photo_id":"1391755805","filename":"file5"},{"photo_id":"1391755798","filename":"file2"},{"photo_id":"1391755803","filename":"file4"},{"photo_id":"1391755790","filename":"file1"},{"photo_id":"1391755778","filename":"file0"},{"photo_id":"1391755800","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391755803":["hashtag1","hashtag2"]},{"1391755800":["hashtag1","hashtag2"]},{"1391755790":["hashtag1","hashtag2"]},{"1391755778":["hashtag1","hashtag2"]},{"1391755805":["hashtag1","hashtag2"]},{"1391755798":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391755803, 1391755800, 1391755790, 1391755778, 1391755805, 1391755798)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.82829213142395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 00:09:03.092558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/04/image_30102025_07_04_01_2696.jpg', '/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_04_2923.jpg', '/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_07_2596.jpg', '/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_10_3582.jpg', '/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_13_2591.jpg', '/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_16_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/07/04/image_30102025_07_04_01_2696.jpg
/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_04_2923.jpg
/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_07_2596.jpg
/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_10_3582.jpg
/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_13_2591.jpg
/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_16_2754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391755828","1391755821","1391755824","1391755832","1391755826","1391755835"],"photo_ids_order":["1391755821","1391755824","1391755826","1391755828","1391755832","1391755835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/03b58d5fa4fa72a7afc815384720942a.jpg","text":"TemporaryFile(/tmp/multipartBody6272862505636114202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038605397,"filename":"image_30102025_07_04_10_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/2/87cd0095f61aa16d99bfeadb9d1a0343.jpg","text":"TemporaryFile(/tmp/multipartBody4253673040253378831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038605397,"filename":"image_30102025_07_04_01_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/2/a3dc1b2e59f0649bf681de31f54f813e.jpg","text":"TemporaryFile(/tmp/multipartBody6377193312849820017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038605397,"filename":"image_30102025_07_04_04_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/2/571fc63052dbc0025f0761818d045910.jpg","text":"TemporaryFile(/tmp/multipartBody3636839130572814562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038605397,"filename":"image_30102025_07_04_13_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/2/3e4093d1629028c196347c5be418eaea.jpg","text":"TemporaryFile(/tmp/multipartBody442865357747404038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038605397,"filename":"image_30102025_07_04_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/2/772b37dd7b8dd5953ac263e902bba15c.jpg","text":"TemporaryFile(/tmp/multipartBody838095003004359727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038605397,"filename":"image_30102025_07_04_16_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391755826","file1":"1391755824","file0":"1391755821","file4":"1391755832","file5":"1391755835","file3":"1391755828"},"map_files_photo_id_array":[{"photo_id":"1391755835","filename":"file5"},{"photo_id":"1391755826","filename":"file2"},{"photo_id":"1391755832","filename":"file4"},{"photo_id":"1391755824","filename":"file1"},{"photo_id":"1391755821","filename":"file0"},{"photo_id":"1391755828","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391755828":["hashtag1","hashtag2"]},{"1391755821":["hashtag1","hashtag2"]},{"1391755824":["hashtag1","hashtag2"]},{"1391755832":["hashtag1","hashtag2"]},{"1391755826":["hashtag1","hashtag2"]},{"1391755835":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391755828, 1391755821, 1391755824, 1391755832, 1391755826, 1391755835)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.50841522216797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 00:10:03.066263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/04/image_30102025_07_04_19_3672.jpg', '/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_22_2731.jpg', '/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_25_2706.jpg', '/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_28_3447.jpg', '/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_31_2564.jpg', '/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_34_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/07/04/image_30102025_07_04_19_3672.jpg
/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_22_2731.jpg
/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_25_2706.jpg
/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_28_3447.jpg
/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_31_2564.jpg
/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_34_3617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391755863","1391755862","1391755856","1391755865","1391755859","1391755868"],"photo_ids_order":["1391755856","1391755859","1391755862","1391755863","1391755865","1391755868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5a791b2ab88baae6b330982ededf60c6.jpg","text":"TemporaryFile(/tmp/multipartBody8641400147933164094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038673361,"filename":"image_30102025_07_04_28_3447.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/dd6802ff1d723d063803007821adf2f6.jpg","text":"TemporaryFile(/tmp/multipartBody102340007534416767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038673361,"filename":"image_30102025_07_04_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/2/7a16bf73a674605c0e10e413b5acdf8f.jpg","text":"TemporaryFile(/tmp/multipartBody2492830759508882823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038673361,"filename":"image_30102025_07_04_19_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/2/c07561d8caed43673583d3c432765e28.jpg","text":"TemporaryFile(/tmp/multipartBody1034668687822747716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038673361,"filename":"image_30102025_07_04_31_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/2/d60b3efcc91ab43d555c1618ee98d349.jpg","text":"TemporaryFile(/tmp/multipartBody7843245114007828945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038673361,"filename":"image_30102025_07_04_22_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/2/cd1fa932e3675b4489360edc8cf0ab9d.jpg","text":"TemporaryFile(/tmp/multipartBody2596128067435225890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038673361,"filename":"image_30102025_07_04_34_3617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391755862","file1":"1391755859","file0":"1391755856","file4":"1391755865","file5":"1391755868","file3":"1391755863"},"map_files_photo_id_array":[{"photo_id":"1391755868","filename":"file5"},{"photo_id":"1391755862","filename":"file2"},{"photo_id":"1391755865","filename":"file4"},{"photo_id":"1391755859","filename":"file1"},{"photo_id":"1391755856","filename":"file0"},{"photo_id":"1391755863","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391755863":["hashtag1","hashtag2"]},{"1391755862":["hashtag1","hashtag2"]},{"1391755856":["hashtag1","hashtag2"]},{"1391755865":["hashtag1","hashtag2"]},{"1391755859":["hashtag1","hashtag2"]},{"1391755868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391755863, 1391755862, 1391755856, 1391755865, 1391755859, 1391755868)","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 = 1391755862 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_25_2706.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 68.37244033813477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:11:22.114286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/04/image_30102025_07_04_37_2597.jpg', '/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_43_3507.jpg', '/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_46_2631.jpg', '/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_49_3686.jpg', '/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_52_2575.jpg', '/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_55_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/07/04/image_30102025_07_04_37_2597.jpg
/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_43_3507.jpg
/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_46_2631.jpg
/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_49_3686.jpg
/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_52_2575.jpg
/home/pi/Desktop/images/30102025/07/04/image_30102025_07_04_55_2664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391755906","1391755902","1391755892","1391755895","1391755910","1391755897"],"photo_ids_order":["1391755892","1391755895","1391755897","1391755902","1391755906","1391755910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2b3e60b15a8130686f55cdba160af5f7.jpg","text":"TemporaryFile(/tmp/multipartBody4524054470499177957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038744770,"filename":"image_30102025_07_04_52_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/2/3fb78936ae22ddea33386821f8e7cd66.jpg","text":"TemporaryFile(/tmp/multipartBody7478788317825225936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038744770,"filename":"image_30102025_07_04_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/2/cc1906aa67c2abcfe3b56aba2b78faa6.jpg","text":"TemporaryFile(/tmp/multipartBody2967888021673493534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038744770,"filename":"image_30102025_07_04_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/2/9333c72d0f2b689bcb9fc69a7662f3f6.jpg","text":"TemporaryFile(/tmp/multipartBody7816866674487987521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038744770,"filename":"image_30102025_07_04_43_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/2/007f4f99f00023319cdb88fe3ee77103.jpg","text":"TemporaryFile(/tmp/multipartBody532322761752892577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038744770,"filename":"image_30102025_07_04_55_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/2/2d34223176394f3994e0df38d62c85f2.jpg","text":"TemporaryFile(/tmp/multipartBody413646461973332168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038744770,"filename":"image_30102025_07_04_46_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391755897","file1":"1391755895","file0":"1391755892","file4":"1391755906","file5":"1391755910","file3":"1391755902"},"map_files_photo_id_array":[{"photo_id":"1391755910","filename":"file5"},{"photo_id":"1391755897","filename":"file2"},{"photo_id":"1391755906","filename":"file4"},{"photo_id":"1391755895","filename":"file1"},{"photo_id":"1391755892","filename":"file0"},{"photo_id":"1391755902","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391755906":["hashtag1","hashtag2"]},{"1391755902":["hashtag1","hashtag2"]},{"1391755892":["hashtag1","hashtag2"]},{"1391755895":["hashtag1","hashtag2"]},{"1391755910":["hashtag1","hashtag2"]},{"1391755897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391755906, 1391755902, 1391755892, 1391755895, 1391755910, 1391755897)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.26860570907593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:12:22.260832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/04/image_30102025_07_04_58_3677.jpg', '/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_01_2748.jpg', '/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_04_2525.jpg', '/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_07_3728.jpg', '/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_10_2556.jpg', '/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_13_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/07/04/image_30102025_07_04_58_3677.jpg
/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_01_2748.jpg
/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_04_2525.jpg
/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_07_3728.jpg
/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_10_2556.jpg
/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_13_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":["1391755932","1391755935","1391755938","1391755946","1391755949","1391755942"],"photo_ids_order":["1391755932","1391755935","1391755938","1391755942","1391755946","1391755949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a4945befc8bef782739d57f368300789.jpg","text":"TemporaryFile(/tmp/multipartBody1324657589608909152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038819200,"filename":"image_30102025_07_04_58_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/2/80f3a3853ae3a2b7003108747204478a.jpg","text":"TemporaryFile(/tmp/multipartBody777390512299799820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038819200,"filename":"image_30102025_07_05_01_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/2/cd35c52ebf29fe0994319d453a03f6a9.jpg","text":"TemporaryFile(/tmp/multipartBody6412494310810581923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038819200,"filename":"image_30102025_07_05_04_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/2/24b2d4cd5b825cf91766279ffe9e5025.jpg","text":"TemporaryFile(/tmp/multipartBody2053526299670613621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038819200,"filename":"image_30102025_07_05_10_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/2/c9364b509a2892b5b476015492f54107.jpg","text":"TemporaryFile(/tmp/multipartBody75008574636835515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038819200,"filename":"image_30102025_07_05_13_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/2/78b48a18671f3d0ee29d8074a9c1ac29.jpg","text":"TemporaryFile(/tmp/multipartBody4967476037597628101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038819200,"filename":"image_30102025_07_05_07_3728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391755938","file1":"1391755935","file0":"1391755932","file4":"1391755946","file5":"1391755949","file3":"1391755942"},"map_files_photo_id_array":[{"photo_id":"1391755949","filename":"file5"},{"photo_id":"1391755938","filename":"file2"},{"photo_id":"1391755946","filename":"file4"},{"photo_id":"1391755935","filename":"file1"},{"photo_id":"1391755932","filename":"file0"},{"photo_id":"1391755942","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391755932":["hashtag1","hashtag2"]},{"1391755935":["hashtag1","hashtag2"]},{"1391755938":["hashtag1","hashtag2"]},{"1391755946":["hashtag1","hashtag2"]},{"1391755949":["hashtag1","hashtag2"]},{"1391755942":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391755932, 1391755935, 1391755938, 1391755946, 1391755949, 1391755942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.593127727508545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:13:22.470709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/05/image_30102025_07_05_16_3706.jpg', '/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_19_2619.jpg', '/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_21_2641.jpg', '/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_28_2777.jpg', '/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_31_2657.jpg', '/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_34_3607.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/05/image_30102025_07_05_16_3706.jpg
/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_19_2619.jpg
/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_21_2641.jpg
/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_28_2777.jpg
/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_31_2657.jpg
/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_34_3607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391755959","1391755974","1391755956","1391755979","1391755969","1391755963"],"photo_ids_order":["1391755956","1391755959","1391755963","1391755969","1391755974","1391755979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/994c173a5c39ece4ca63ad29fbfc6ee3.jpg","text":"TemporaryFile(/tmp/multipartBody4226384364867457397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038865051,"filename":"image_30102025_07_05_19_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/2/3d0c1934a79c6cdef99e276c42ee3223.jpg","text":"TemporaryFile(/tmp/multipartBody3468053172673122477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038865051,"filename":"image_30102025_07_05_31_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/2/d91156c1b0b456082df6202481b1bd99.jpg","text":"TemporaryFile(/tmp/multipartBody3312171466643187779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038865051,"filename":"image_30102025_07_05_16_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/2/9164247b4bf3dfbb5ccc7a2b2f81227c.jpg","text":"TemporaryFile(/tmp/multipartBody8537248534668047922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038865051,"filename":"image_30102025_07_05_34_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/2/91a20c4610d18a8a386906b98f7b34ca.jpg","text":"TemporaryFile(/tmp/multipartBody5710201835429141518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038865051,"filename":"image_30102025_07_05_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/2/a3c8421270584b0c1be05f33d74c2feb.jpg","text":"TemporaryFile(/tmp/multipartBody1384850853396448309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038865051,"filename":"image_30102025_07_05_21_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391755963","file1":"1391755959","file0":"1391755956","file4":"1391755974","file5":"1391755979","file3":"1391755969"},"map_files_photo_id_array":[{"photo_id":"1391755979","filename":"file5"},{"photo_id":"1391755963","filename":"file2"},{"photo_id":"1391755974","filename":"file4"},{"photo_id":"1391755959","filename":"file1"},{"photo_id":"1391755956","filename":"file0"},{"photo_id":"1391755969","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391755959":["hashtag1","hashtag2"]},{"1391755974":["hashtag1","hashtag2"]},{"1391755956":["hashtag1","hashtag2"]},{"1391755979":["hashtag1","hashtag2"]},{"1391755969":["hashtag1","hashtag2"]},{"1391755963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391755959, 1391755974, 1391755956, 1391755979, 1391755969, 1391755963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.354798316955566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:14:22.684059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/05/image_30102025_07_05_37_2584.jpg', '/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_40_3617.jpg', '/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_43_2625.jpg', '/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_46_2735.jpg', '/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_48_2818.jpg', '/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_52_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/07/05/image_30102025_07_05_37_2584.jpg
/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_40_3617.jpg
/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_43_2625.jpg
/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_46_2735.jpg
/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_48_2818.jpg
/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_52_3542.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391756013","1391756001","1391756004","1391755997","1391756009","1391755999"],"photo_ids_order":["1391755997","1391755999","1391756001","1391756004","1391756009","1391756013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/27d612aba2139cdb09b6c9e3beff24d5.jpg","text":"TemporaryFile(/tmp/multipartBody7208499732918225590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038931785,"filename":"image_30102025_07_05_52_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/2/29760146e60558288e082a496a639669.jpg","text":"TemporaryFile(/tmp/multipartBody2229561145741557227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038931785,"filename":"image_30102025_07_05_43_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/2/7927b2f8d063c934946ea55db229656d.jpg","text":"TemporaryFile(/tmp/multipartBody8223649284996341522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038931785,"filename":"image_30102025_07_05_46_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/2/ac568d631b3fb0a70fed456ff1f7ca96.jpg","text":"TemporaryFile(/tmp/multipartBody4178528024000036041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038931785,"filename":"image_30102025_07_05_37_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/2/cd24850150c3341466dc9aa179815140.jpg","text":"TemporaryFile(/tmp/multipartBody7526554611790228804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038931785,"filename":"image_30102025_07_05_48_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/2/a0fffba6ef0294380f3341f5a4954c03.jpg","text":"TemporaryFile(/tmp/multipartBody8380741789964628563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038931785,"filename":"image_30102025_07_05_40_3617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756001","file1":"1391755999","file0":"1391755997","file4":"1391756009","file5":"1391756013","file3":"1391756004"},"map_files_photo_id_array":[{"photo_id":"1391756013","filename":"file5"},{"photo_id":"1391756001","filename":"file2"},{"photo_id":"1391756009","filename":"file4"},{"photo_id":"1391755999","filename":"file1"},{"photo_id":"1391755997","filename":"file0"},{"photo_id":"1391756004","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756013":["hashtag1","hashtag2"]},{"1391756001":["hashtag1","hashtag2"]},{"1391756004":["hashtag1","hashtag2"]},{"1391755997":["hashtag1","hashtag2"]},{"1391756009":["hashtag1","hashtag2"]},{"1391755999":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756013, 1391756001, 1391756004, 1391755997, 1391756009, 1391755999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.182815074920654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:15:21.841777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/05/image_30102025_07_05_55_2807.jpg', '/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_58_2699.jpg', '/home/pi/Desktop/images/30102025/07/05/image_30102025_07_06_01_3665.jpg', '/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_04_2627.jpg', '/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_06_2635.jpg', '/home/pi/Desktop/images/30102025/07/06/image_30102025_07_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/07/05/image_30102025_07_05_55_2807.jpg
/home/pi/Desktop/images/30102025/07/05/image_30102025_07_05_58_2699.jpg
/home/pi/Desktop/images/30102025/07/05/image_30102025_07_06_01_3665.jpg
/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_04_2627.jpg
/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_06_2635.jpg
/home/pi/Desktop/images/30102025/07/06/image_30102025_07_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":["1391756031","1391756034","1391756025","1391756027","1391756038","1391756023"],"photo_ids_order":["1391756023","1391756025","1391756027","1391756031","1391756034","1391756038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d84647a0cfea57e3bcaa403e4917bf40.jpg","text":"TemporaryFile(/tmp/multipartBody668262408202473404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038984432,"filename":"image_30102025_07_06_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/2/a007cdd53eb7af61669dc29b809a66ea.jpg","text":"TemporaryFile(/tmp/multipartBody3210011003112279022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038984432,"filename":"image_30102025_07_06_06_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/2/1760d744f16441b50b5cc625acbe0797.jpg","text":"TemporaryFile(/tmp/multipartBody1425905515998999619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038984432,"filename":"image_30102025_07_05_58_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/2/d76087893d71dea655e7c0e54b1f9fe3.jpg","text":"TemporaryFile(/tmp/multipartBody2360467319112386463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038984432,"filename":"image_30102025_07_06_01_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/2/d68517df6305d21d94a1bc14b58c0f06.jpg","text":"TemporaryFile(/tmp/multipartBody4306807706354314011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038984432,"filename":"image_30102025_07_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/2/3b72185302eae831c8cdf7ecfb05c80f.jpg","text":"TemporaryFile(/tmp/multipartBody6260538547020096364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762038984432,"filename":"image_30102025_07_05_55_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756027","file1":"1391756025","file0":"1391756023","file4":"1391756034","file5":"1391756038","file3":"1391756031"},"map_files_photo_id_array":[{"photo_id":"1391756038","filename":"file5"},{"photo_id":"1391756027","filename":"file2"},{"photo_id":"1391756034","filename":"file4"},{"photo_id":"1391756025","filename":"file1"},{"photo_id":"1391756023","filename":"file0"},{"photo_id":"1391756031","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756031":["hashtag1","hashtag2"]},{"1391756034":["hashtag1","hashtag2"]},{"1391756025":["hashtag1","hashtag2"]},{"1391756027":["hashtag1","hashtag2"]},{"1391756038":["hashtag1","hashtag2"]},{"1391756023":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756031, 1391756034, 1391756025, 1391756027, 1391756038, 1391756023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.080737352371216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 00:16:04.110222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/06/image_30102025_07_06_13_2562.jpg', '/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_16_3671.jpg', '/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_19_2534.jpg', '/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_22_2643.jpg', '/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_25_3667.jpg', '/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_28_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/07/06/image_30102025_07_06_13_2562.jpg
/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_16_3671.jpg
/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_19_2534.jpg
/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_22_2643.jpg
/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_25_3667.jpg
/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_28_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":["1391756058","1391756055","1391756060","1391756063","1391756057","1391756053"],"photo_ids_order":["1391756053","1391756055","1391756057","1391756058","1391756060","1391756063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9aa06e4096d79bd2a4fbe42fdab93bea.jpg","text":"TemporaryFile(/tmp/multipartBody4831296552492883102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039034258,"filename":"image_30102025_07_06_22_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/2/bdad18ed8e04ae6a0289c9a304c23965.jpg","text":"TemporaryFile(/tmp/multipartBody3395021891140370727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039034258,"filename":"image_30102025_07_06_16_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/2/31ee5ecfbf9fefc3fa93bc3203bd942c.jpg","text":"TemporaryFile(/tmp/multipartBody4740492453138872376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039034258,"filename":"image_30102025_07_06_25_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/2/cc12e47ea233c9dd2458edd758380227.jpg","text":"TemporaryFile(/tmp/multipartBody5387135839099149560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039034258,"filename":"image_30102025_07_06_28_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/2/4642a063759be927d0eb1554a01912d0.jpg","text":"TemporaryFile(/tmp/multipartBody7358456249762684701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039034258,"filename":"image_30102025_07_06_19_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/2/3d75a301f8c0bdebe3e29b1adf05e966.jpg","text":"TemporaryFile(/tmp/multipartBody4454464669918915934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039034258,"filename":"image_30102025_07_06_13_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756057","file1":"1391756055","file0":"1391756053","file4":"1391756060","file5":"1391756063","file3":"1391756058"},"map_files_photo_id_array":[{"photo_id":"1391756063","filename":"file5"},{"photo_id":"1391756057","filename":"file2"},{"photo_id":"1391756060","filename":"file4"},{"photo_id":"1391756055","filename":"file1"},{"photo_id":"1391756053","filename":"file0"},{"photo_id":"1391756058","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756058":["hashtag1","hashtag2"]},{"1391756055":["hashtag1","hashtag2"]},{"1391756060":["hashtag1","hashtag2"]},{"1391756063":["hashtag1","hashtag2"]},{"1391756057":["hashtag1","hashtag2"]},{"1391756053":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756058, 1391756055, 1391756060, 1391756063, 1391756057, 1391756053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.44704484939575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 00:17:03.519440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 00:17:22.789784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/06/image_30102025_07_06_31_2761.jpg', '/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_34_3559.jpg', '/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_37_2702.jpg', '/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_40_2653.jpg', '/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_43_3690.jpg', '/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_46_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/07/06/image_30102025_07_06_31_2761.jpg
/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_34_3559.jpg
/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_37_2702.jpg
/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_40_2653.jpg
/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_43_3690.jpg
/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_46_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":["1391756100","1391756084","1391756092","1391756086","1391756095","1391756088"],"photo_ids_order":["1391756084","1391756086","1391756088","1391756092","1391756095","1391756100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/60f3eaa1395f1b1fa9560d651d50202c.jpg","text":"TemporaryFile(/tmp/multipartBody926802773224704909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039105495,"filename":"image_30102025_07_06_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/2/c0f1a3ea655252b7730aa02df0ff663c.jpg","text":"TemporaryFile(/tmp/multipartBody943631894135389020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039105495,"filename":"image_30102025_07_06_31_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/2/a515afe09eb8bd9e840286b148467a8d.jpg","text":"TemporaryFile(/tmp/multipartBody2747823730184359431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039105495,"filename":"image_30102025_07_06_40_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/2/6a18323c7f79667010141d382b5b1ffd.jpg","text":"TemporaryFile(/tmp/multipartBody6752540339481778750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039105495,"filename":"image_30102025_07_06_34_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/2/30bb30bc16e5822b58d477d71a31c5bc.jpg","text":"TemporaryFile(/tmp/multipartBody8198810571107938367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039105495,"filename":"image_30102025_07_06_43_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/2/4d37bbfe1e515f799899a41688c8539b.jpg","text":"TemporaryFile(/tmp/multipartBody1086289479895467780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039105495,"filename":"image_30102025_07_06_37_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756088","file1":"1391756086","file0":"1391756084","file4":"1391756095","file5":"1391756100","file3":"1391756092"},"map_files_photo_id_array":[{"photo_id":"1391756100","filename":"file5"},{"photo_id":"1391756088","filename":"file2"},{"photo_id":"1391756095","filename":"file4"},{"photo_id":"1391756086","filename":"file1"},{"photo_id":"1391756084","filename":"file0"},{"photo_id":"1391756092","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756100":["hashtag1","hashtag2"]},{"1391756084":["hashtag1","hashtag2"]},{"1391756092":["hashtag1","hashtag2"]},{"1391756086":["hashtag1","hashtag2"]},{"1391756095":["hashtag1","hashtag2"]},{"1391756088":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756100, 1391756084, 1391756092, 1391756086, 1391756095, 1391756088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.216015577316284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:18:22.178303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/06/image_30102025_07_06_48_2609.jpg', '/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_52_3659.jpg', '/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_55_2567.jpg', '/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_58_3560.jpg', '/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_01_2860.jpg', '/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_04_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/07/06/image_30102025_07_06_48_2609.jpg
/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_52_3659.jpg
/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_55_2567.jpg
/home/pi/Desktop/images/30102025/07/06/image_30102025_07_06_58_3560.jpg
/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_01_2860.jpg
/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_04_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":["1391756139","1391756118","1391756129","1391756120","1391756134","1391756125"],"photo_ids_order":["1391756118","1391756120","1391756125","1391756129","1391756134","1391756139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5b6193cc7fbefd2704197cb2dd7ff85f.jpg","text":"TemporaryFile(/tmp/multipartBody5365439098416836694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039173510,"filename":"image_30102025_07_07_04_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/2/f11fa4dad247041ecf628f6c5ae71ae0.jpg","text":"TemporaryFile(/tmp/multipartBody1882554913104034924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039173510,"filename":"image_30102025_07_06_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/2/3562d1ebbe56da3678b6e9da22f52e81.jpg","text":"TemporaryFile(/tmp/multipartBody3868691378175274570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039173510,"filename":"image_30102025_07_06_58_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/2/d27b3f7618186d854869974397100599.jpg","text":"TemporaryFile(/tmp/multipartBody8672854844402382531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039173510,"filename":"image_30102025_07_06_52_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/2/4dc853fd7f4cc5ec204eb51ccf068417.jpg","text":"TemporaryFile(/tmp/multipartBody2942995273080029928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039173510,"filename":"image_30102025_07_07_01_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/2/99cea1aeedd2591df9969869b613d384.jpg","text":"TemporaryFile(/tmp/multipartBody5833381695493789438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039173510,"filename":"image_30102025_07_06_55_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756125","file1":"1391756120","file0":"1391756118","file4":"1391756134","file5":"1391756139","file3":"1391756129"},"map_files_photo_id_array":[{"photo_id":"1391756139","filename":"file5"},{"photo_id":"1391756125","filename":"file2"},{"photo_id":"1391756134","filename":"file4"},{"photo_id":"1391756120","filename":"file1"},{"photo_id":"1391756118","filename":"file0"},{"photo_id":"1391756129","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756139":["hashtag1","hashtag2"]},{"1391756118":["hashtag1","hashtag2"]},{"1391756129":["hashtag1","hashtag2"]},{"1391756120":["hashtag1","hashtag2"]},{"1391756134":["hashtag1","hashtag2"]},{"1391756125":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756139, 1391756118, 1391756129, 1391756120, 1391756134, 1391756125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.38457989692688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:19:25.532771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/07/image_30102025_07_07_06_2624.jpg', '/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_10_3635.jpg', '/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_13_2690.jpg', '/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_15_2635.jpg', '/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_19_3660.jpg', '/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_22_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/07/07/image_30102025_07_07_06_2624.jpg
/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_10_3635.jpg
/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_13_2690.jpg
/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_15_2635.jpg
/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_19_3660.jpg
/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_22_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":["1391756166","1391756171","1391756177","1391756162","1391756156","1391756158"],"photo_ids_order":["1391756156","1391756158","1391756162","1391756166","1391756171","1391756177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cb9932a78d1a6439520fcb67a500d679.jpg","text":"TemporaryFile(/tmp/multipartBody7969529590969442116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039228157,"filename":"image_30102025_07_07_15_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/2/14797d9c8c69c2cfebe35b827279e336.jpg","text":"TemporaryFile(/tmp/multipartBody1479684008271518567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039228157,"filename":"image_30102025_07_07_19_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/2/1b8d268ee0490dab1f7ffad326b0643a.jpg","text":"TemporaryFile(/tmp/multipartBody6120956240769715132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039228157,"filename":"image_30102025_07_07_22_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/2/9e90816964c121c114c7d93872f02a11.jpg","text":"TemporaryFile(/tmp/multipartBody1873690414831070203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039228157,"filename":"image_30102025_07_07_13_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/2/5880c6bb14042d309a47f102d348baa7.jpg","text":"TemporaryFile(/tmp/multipartBody1287964292317385923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039228157,"filename":"image_30102025_07_07_06_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/2/e0dd3a08b21ce6d01f7064cb75370d77.jpg","text":"TemporaryFile(/tmp/multipartBody1295980093862914948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039228157,"filename":"image_30102025_07_07_10_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756162","file1":"1391756158","file0":"1391756156","file4":"1391756171","file5":"1391756177","file3":"1391756166"},"map_files_photo_id_array":[{"photo_id":"1391756177","filename":"file5"},{"photo_id":"1391756162","filename":"file2"},{"photo_id":"1391756171","filename":"file4"},{"photo_id":"1391756158","filename":"file1"},{"photo_id":"1391756156","filename":"file0"},{"photo_id":"1391756166","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756166":["hashtag1","hashtag2"]},{"1391756171":["hashtag1","hashtag2"]},{"1391756177":["hashtag1","hashtag2"]},{"1391756162":["hashtag1","hashtag2"]},{"1391756156":["hashtag1","hashtag2"]},{"1391756158":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756166, 1391756171, 1391756177, 1391756162, 1391756156, 1391756158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.80652356147766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:20:21.756831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/07/image_30102025_07_07_24_2694.jpg', '/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_31_2779.jpg', '/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_34_2780.jpg', '/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_36_2702.jpg', '/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_40_3666.jpg', '/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_43_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/07/07/image_30102025_07_07_24_2694.jpg
/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_31_2779.jpg
/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_34_2780.jpg
/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_36_2702.jpg
/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_40_3666.jpg
/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_43_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":["1391756199","1391756208","1391756204","1391756201","1391756193","1391756196"],"photo_ids_order":["1391756193","1391756196","1391756199","1391756201","1391756204","1391756208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e68ddadf93c1c75b12bd2092d8efd03f.jpg","text":"TemporaryFile(/tmp/multipartBody631987426639396840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039287227,"filename":"image_30102025_07_07_34_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/2/a5df3c63be9104ad78b38ac26d6ae7d5.jpg","text":"TemporaryFile(/tmp/multipartBody8327398694154186975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039287227,"filename":"image_30102025_07_07_43_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/2/9a63fd124d3b0b834414ec027cc7dea3.jpg","text":"TemporaryFile(/tmp/multipartBody6869776241138501749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039287227,"filename":"image_30102025_07_07_40_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/2/4462fc90581a975dc7633cd6fc994c2b.jpg","text":"TemporaryFile(/tmp/multipartBody3617073941928512504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039287227,"filename":"image_30102025_07_07_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/2/1b75813a40b442d7a8176103d0792401.jpg","text":"TemporaryFile(/tmp/multipartBody4206033930802063580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039287227,"filename":"image_30102025_07_07_24_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/2/694f14f0516c8b972ded6b4607e6251e.jpg","text":"TemporaryFile(/tmp/multipartBody704189920192541166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039287227,"filename":"image_30102025_07_07_31_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756199","file1":"1391756196","file0":"1391756193","file4":"1391756204","file5":"1391756208","file3":"1391756201"},"map_files_photo_id_array":[{"photo_id":"1391756208","filename":"file5"},{"photo_id":"1391756199","filename":"file2"},{"photo_id":"1391756204","filename":"file4"},{"photo_id":"1391756196","filename":"file1"},{"photo_id":"1391756193","filename":"file0"},{"photo_id":"1391756201","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756199":["hashtag1","hashtag2"]},{"1391756208":["hashtag1","hashtag2"]},{"1391756204":["hashtag1","hashtag2"]},{"1391756201":["hashtag1","hashtag2"]},{"1391756193":["hashtag1","hashtag2"]},{"1391756196":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756199, 1391756208, 1391756204, 1391756201, 1391756193, 1391756196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.13497281074524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:21:22.022756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/07/image_30102025_07_07_45_2648.jpg', '/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_49_3692.jpg', '/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_52_2706.jpg', '/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_54_2663.jpg', '/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_58_3698.jpg', '/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_01_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/07/07/image_30102025_07_07_45_2648.jpg
/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_49_3692.jpg
/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_52_2706.jpg
/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_54_2663.jpg
/home/pi/Desktop/images/30102025/07/07/image_30102025_07_07_58_3698.jpg
/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_01_2672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391756238","1391756232","1391756235","1391756222","1391756227","1391756224"],"photo_ids_order":["1391756222","1391756224","1391756227","1391756232","1391756235","1391756238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/868b4dbf46027c5950d3051f1e75c8a6.jpg","text":"TemporaryFile(/tmp/multipartBody8784349159817267124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039344616,"filename":"image_30102025_07_08_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/2/282e2359067509ef2889f78d7ac4a9d3.jpg","text":"TemporaryFile(/tmp/multipartBody4499014987669496462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039344616,"filename":"image_30102025_07_07_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/2/3d03df17eb51894466f2d2c8532ff6da.jpg","text":"TemporaryFile(/tmp/multipartBody1247313882544337821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039344616,"filename":"image_30102025_07_07_58_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/2/155d4c924755f1ac8a5c4c41c88d5d8a.jpg","text":"TemporaryFile(/tmp/multipartBody1655556162295170134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039344616,"filename":"image_30102025_07_07_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/2/cde0417787fc6ddc1a07e74b432ca90f.jpg","text":"TemporaryFile(/tmp/multipartBody1553443403047133927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039344616,"filename":"image_30102025_07_07_52_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/2/b1fe923c44b964c558f8fe02512afa44.jpg","text":"TemporaryFile(/tmp/multipartBody3637084623372557745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039344616,"filename":"image_30102025_07_07_49_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756227","file1":"1391756224","file0":"1391756222","file4":"1391756235","file5":"1391756238","file3":"1391756232"},"map_files_photo_id_array":[{"photo_id":"1391756238","filename":"file5"},{"photo_id":"1391756227","filename":"file2"},{"photo_id":"1391756235","filename":"file4"},{"photo_id":"1391756224","filename":"file1"},{"photo_id":"1391756222","filename":"file0"},{"photo_id":"1391756232","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756238":["hashtag1","hashtag2"]},{"1391756232":["hashtag1","hashtag2"]},{"1391756235":["hashtag1","hashtag2"]},{"1391756222":["hashtag1","hashtag2"]},{"1391756227":["hashtag1","hashtag2"]},{"1391756224":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756238, 1391756232, 1391756235, 1391756222, 1391756227, 1391756224)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 54.565489292144775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:22:25.633416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/08/image_30102025_07_08_03_2635.jpg', '/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_06_2864.jpg', '/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_10_3586.jpg', '/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_13_2717.jpg', '/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_15_2762.jpg', '/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_19_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/07/08/image_30102025_07_08_03_2635.jpg
/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_06_2864.jpg
/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_10_3586.jpg
/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_13_2717.jpg
/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_15_2762.jpg
/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_19_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":["1391756262","1391756256","1391756265","1391756258","1391756269","1391756260"],"photo_ids_order":["1391756256","1391756258","1391756260","1391756262","1391756265","1391756269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5b6667b09effb80562d2abf89e6543c1.jpg","text":"TemporaryFile(/tmp/multipartBody4582230291298359261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039408300,"filename":"image_30102025_07_08_13_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/2/19060686a546d36927a0fee9e670fbee.jpg","text":"TemporaryFile(/tmp/multipartBody4256431334707997850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039408300,"filename":"image_30102025_07_08_03_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/2/ce1200b98a7be3e1f08aba0df7b3e1d5.jpg","text":"TemporaryFile(/tmp/multipartBody5336565907066898485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039408300,"filename":"image_30102025_07_08_15_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/2/8c04eb3698d18521ab1c25c26d8c801d.jpg","text":"TemporaryFile(/tmp/multipartBody4794777648804787575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039408300,"filename":"image_30102025_07_08_06_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/2/d93b5f07598f579fd24d3087a698379e.jpg","text":"TemporaryFile(/tmp/multipartBody4382293020116009205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039408300,"filename":"image_30102025_07_08_19_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/2/e90cff80baf076978d26f9a7163fa9de.jpg","text":"TemporaryFile(/tmp/multipartBody5663584854272999146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039408300,"filename":"image_30102025_07_08_10_3586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756260","file1":"1391756258","file0":"1391756256","file4":"1391756265","file5":"1391756269","file3":"1391756262"},"map_files_photo_id_array":[{"photo_id":"1391756269","filename":"file5"},{"photo_id":"1391756260","filename":"file2"},{"photo_id":"1391756265","filename":"file4"},{"photo_id":"1391756258","filename":"file1"},{"photo_id":"1391756256","filename":"file0"},{"photo_id":"1391756262","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756262":["hashtag1","hashtag2"]},{"1391756256":["hashtag1","hashtag2"]},{"1391756265":["hashtag1","hashtag2"]},{"1391756258":["hashtag1","hashtag2"]},{"1391756269":["hashtag1","hashtag2"]},{"1391756260":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756262, 1391756256, 1391756265, 1391756258, 1391756269, 1391756260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.427369594573975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:23:22.373924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/08/image_30102025_07_08_21_2588.jpg', '/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_25_3630.jpg', '/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_30_2556.jpg', '/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_34_3799.jpg', '/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_37_2771.jpg', '/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_39_2535.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/08/image_30102025_07_08_21_2588.jpg
/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_25_3630.jpg
/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_30_2556.jpg
/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_34_3799.jpg
/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_37_2771.jpg
/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_39_2535.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391756297","1391756291","1391756303","1391756281","1391756284","1391756287"],"photo_ids_order":["1391756281","1391756284","1391756287","1391756291","1391756297","1391756303"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1f38640733b7eba9b23ea515f226908d.jpg","text":"TemporaryFile(/tmp/multipartBody5848111158023704264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039464966,"filename":"image_30102025_07_08_37_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/2/61c54a0b9db597ccf296e16e55ae46b5.jpg","text":"TemporaryFile(/tmp/multipartBody1024241051252585487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039464966,"filename":"image_30102025_07_08_34_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/2/b4d1814df2f465e8d657a89c66f16374.jpg","text":"TemporaryFile(/tmp/multipartBody7329930473837166864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039464966,"filename":"image_30102025_07_08_39_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/2/c5d5f8de3190deac948f16c30a3d99ee.jpg","text":"TemporaryFile(/tmp/multipartBody8173133584051776493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039464966,"filename":"image_30102025_07_08_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/2/ac38a9cc0a2d6959e3a553e05cb0776b.jpg","text":"TemporaryFile(/tmp/multipartBody1973354714392207103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039464966,"filename":"image_30102025_07_08_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/2/421314396ec71bb686b8c1f483320e06.jpg","text":"TemporaryFile(/tmp/multipartBody6636556063946868065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039464966,"filename":"image_30102025_07_08_30_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756287","file1":"1391756284","file0":"1391756281","file4":"1391756297","file5":"1391756303","file3":"1391756291"},"map_files_photo_id_array":[{"photo_id":"1391756303","filename":"file5"},{"photo_id":"1391756287","filename":"file2"},{"photo_id":"1391756297","filename":"file4"},{"photo_id":"1391756284","filename":"file1"},{"photo_id":"1391756281","filename":"file0"},{"photo_id":"1391756291","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756297":["hashtag1","hashtag2"]},{"1391756291":["hashtag1","hashtag2"]},{"1391756303":["hashtag1","hashtag2"]},{"1391756281":["hashtag1","hashtag2"]},{"1391756284":["hashtag1","hashtag2"]},{"1391756287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756297, 1391756291, 1391756303, 1391756281, 1391756284, 1391756287)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.51770257949829 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:24:23.575431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/08/image_30102025_07_08_43_3692.jpg', '/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_46_2680.jpg', '/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_48_2685.jpg', '/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_52_3711.jpg', '/home/pi/Desktop/images/30102025/07/08/image_30102025_07_09_00_2633.jpg', '/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_04_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/07/08/image_30102025_07_08_43_3692.jpg
/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_46_2680.jpg
/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_48_2685.jpg
/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_52_3711.jpg
/home/pi/Desktop/images/30102025/07/08/image_30102025_07_09_00_2633.jpg
/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_04_3646.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.60139799118042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 00:24:43.727180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/08/image_30102025_07_08_43_3692.jpg', '/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_46_2680.jpg', '/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_48_2685.jpg', '/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_52_3711.jpg', '/home/pi/Desktop/images/30102025/07/08/image_30102025_07_09_00_2633.jpg', '/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_04_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/07/08/image_30102025_07_08_43_3692.jpg
/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_46_2680.jpg
/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_48_2685.jpg
/home/pi/Desktop/images/30102025/07/08/image_30102025_07_08_52_3711.jpg
/home/pi/Desktop/images/30102025/07/08/image_30102025_07_09_00_2633.jpg
/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_04_3646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391756340","1391756337","1391756327","1391756338","1391756332","1391756335"],"photo_ids_order":["1391756327","1391756332","1391756335","1391756337","1391756338","1391756340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0818c4ef958593730cb38c706892adca.jpg","text":"TemporaryFile(/tmp/multipartBody8893208759160210901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039544661,"filename":"image_30102025_07_09_04_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/2/c5a152b724fa069fe62bae2ca577e908.jpg","text":"TemporaryFile(/tmp/multipartBody1148921991683186195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039544661,"filename":"image_30102025_07_08_52_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/2/d15247ee7314b312157fc218c396a88f.jpg","text":"TemporaryFile(/tmp/multipartBody889735128276376526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039544661,"filename":"image_30102025_07_08_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/2/f5d1306a5fe3906c0f3a63951bc08cf5.jpg","text":"TemporaryFile(/tmp/multipartBody2780549466528747806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039544661,"filename":"image_30102025_07_09_00_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/2/dfd29bca58950db238d52ca20c910111.jpg","text":"TemporaryFile(/tmp/multipartBody6921242892941282063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039544661,"filename":"image_30102025_07_08_46_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/2/5d1fcaf39d41b80f2f23193f643f5526.jpg","text":"TemporaryFile(/tmp/multipartBody549081064271082707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039544661,"filename":"image_30102025_07_08_48_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756335","file1":"1391756332","file0":"1391756327","file4":"1391756338","file5":"1391756340","file3":"1391756337"},"map_files_photo_id_array":[{"photo_id":"1391756340","filename":"file5"},{"photo_id":"1391756335","filename":"file2"},{"photo_id":"1391756338","filename":"file4"},{"photo_id":"1391756332","filename":"file1"},{"photo_id":"1391756327","filename":"file0"},{"photo_id":"1391756337","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756340":["hashtag1","hashtag2"]},{"1391756337":["hashtag1","hashtag2"]},{"1391756327":["hashtag1","hashtag2"]},{"1391756338":["hashtag1","hashtag2"]},{"1391756332":["hashtag1","hashtag2"]},{"1391756335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756340, 1391756337, 1391756327, 1391756338, 1391756332, 1391756335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1825270652771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:25:21.951681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/09/image_30102025_07_09_06_2586.jpg', '/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_09_2669.jpg', '/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_13_3534.jpg', '/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_15_2597.jpg', '/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_19_3734.jpg', '/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_22_2757.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/09/image_30102025_07_09_06_2586.jpg
/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_09_2669.jpg
/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_13_3534.jpg
/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_15_2597.jpg
/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_19_3734.jpg
/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_22_2757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391756352","1391756351","1391756354","1391756357","1391756350","1391756347"],"photo_ids_order":["1391756347","1391756350","1391756351","1391756352","1391756354","1391756357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/198c05522a35eb24e8cf987bd021e376.jpg","text":"TemporaryFile(/tmp/multipartBody3009037459567498047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039584537,"filename":"image_30102025_07_09_15_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/2/d47b8c1bc9588cedd20618cd6f78a0ef.jpg","text":"TemporaryFile(/tmp/multipartBody5831821617759213953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039584537,"filename":"image_30102025_07_09_13_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/2/4377e2ea773a7ce6a8d3b7ac11edb38e.jpg","text":"TemporaryFile(/tmp/multipartBody6623703484876451675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039584537,"filename":"image_30102025_07_09_19_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/2/279188cd9610d9a439dd29e6ddfee6e5.jpg","text":"TemporaryFile(/tmp/multipartBody7550665676335578729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039584537,"filename":"image_30102025_07_09_22_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/2/923f7afb8f6750728d52a3a89aa7eda0.jpg","text":"TemporaryFile(/tmp/multipartBody4330484106636567435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039584537,"filename":"image_30102025_07_09_09_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/2/4d98e8ce7d5c97553787af6b08070c02.jpg","text":"TemporaryFile(/tmp/multipartBody8035317280587385546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039584537,"filename":"image_30102025_07_09_06_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756351","file1":"1391756350","file0":"1391756347","file4":"1391756354","file5":"1391756357","file3":"1391756352"},"map_files_photo_id_array":[{"photo_id":"1391756357","filename":"file5"},{"photo_id":"1391756351","filename":"file2"},{"photo_id":"1391756354","filename":"file4"},{"photo_id":"1391756350","filename":"file1"},{"photo_id":"1391756347","filename":"file0"},{"photo_id":"1391756352","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756352":["hashtag1","hashtag2"]},{"1391756351":["hashtag1","hashtag2"]},{"1391756354":["hashtag1","hashtag2"]},{"1391756357":["hashtag1","hashtag2"]},{"1391756350":["hashtag1","hashtag2"]},{"1391756347":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756352, 1391756351, 1391756354, 1391756357, 1391756350, 1391756347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59149098396301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 00:26:02.759927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/09/image_30102025_07_09_24_2558.jpg', '/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_28_3686.jpg', '/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_31_2668.jpg', '/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_33_2751.jpg', '/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_36_2677.jpg', '/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_40_3678.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/09/image_30102025_07_09_24_2558.jpg
/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_28_3686.jpg
/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_31_2668.jpg
/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_33_2751.jpg
/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_36_2677.jpg
/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_40_3678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391756376","1391756378","1391756380","1391756374","1391756377","1391756371"],"photo_ids_order":["1391756371","1391756374","1391756376","1391756377","1391756378","1391756380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5f32dd25546165f145536d572acbc338.jpg","text":"TemporaryFile(/tmp/multipartBody4254989466553261695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039624753,"filename":"image_30102025_07_09_31_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/2/9f0c2adbeb53522c64b02f1f1055832f.jpg","text":"TemporaryFile(/tmp/multipartBody4024481559632668573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039624753,"filename":"image_30102025_07_09_36_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/2/97e632652bd6d1fe10aa8f82bdb892d6.jpg","text":"TemporaryFile(/tmp/multipartBody3306849520829064464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039624753,"filename":"image_30102025_07_09_40_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/2/82082fee34bb7ba0cf0ffd8fd3302e8a.jpg","text":"TemporaryFile(/tmp/multipartBody2558344704065763595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039624753,"filename":"image_30102025_07_09_28_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/2/81d4ec285b667c20104e97d4c1e51649.jpg","text":"TemporaryFile(/tmp/multipartBody669181169170234695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039624753,"filename":"image_30102025_07_09_33_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/2/a61081cd56a22d087fa543e166007353.jpg","text":"TemporaryFile(/tmp/multipartBody1709513195213377640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039624753,"filename":"image_30102025_07_09_24_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756376","file1":"1391756374","file0":"1391756371","file4":"1391756378","file5":"1391756380","file3":"1391756377"},"map_files_photo_id_array":[{"photo_id":"1391756380","filename":"file5"},{"photo_id":"1391756376","filename":"file2"},{"photo_id":"1391756378","filename":"file4"},{"photo_id":"1391756374","filename":"file1"},{"photo_id":"1391756371","filename":"file0"},{"photo_id":"1391756377","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756376":["hashtag1","hashtag2"]},{"1391756378":["hashtag1","hashtag2"]},{"1391756380":["hashtag1","hashtag2"]},{"1391756374":["hashtag1","hashtag2"]},{"1391756377":["hashtag1","hashtag2"]},{"1391756371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756376, 1391756378, 1391756380, 1391756374, 1391756377, 1391756371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90746212005615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 00:26:42.168328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/09/image_30102025_07_09_42_2721.jpg', '/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_45_2740.jpg', '/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_49_3586.jpg', '/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_51_2563.jpg', '/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_55_3579.jpg', '/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_58_2856.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/09/image_30102025_07_09_42_2721.jpg
/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_45_2740.jpg
/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_49_3586.jpg
/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_51_2563.jpg
/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_55_3579.jpg
/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_58_2856.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9568188190460205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 00:27:02.918854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/09/image_30102025_07_09_42_2721.jpg', '/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_45_2740.jpg', '/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_49_3586.jpg', '/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_51_2563.jpg', '/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_55_3579.jpg', '/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_58_2856.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/09/image_30102025_07_09_42_2721.jpg
/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_45_2740.jpg
/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_49_3586.jpg
/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_51_2563.jpg
/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_55_3579.jpg
/home/pi/Desktop/images/30102025/07/09/image_30102025_07_09_58_2856.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391756427","1391756412","1391756408","1391756417","1391756422","1391756404"],"photo_ids_order":["1391756404","1391756408","1391756412","1391756417","1391756422","1391756427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4ef57de9eae0701158d320ba4ced4258.jpg","text":"TemporaryFile(/tmp/multipartBody8638976750451877689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039684923,"filename":"image_30102025_07_09_58_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/2/5a4c8ece7897b5baf7488b5853bdeae0.jpg","text":"TemporaryFile(/tmp/multipartBody1792338669513692046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039684923,"filename":"image_30102025_07_09_49_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/2/12a9cee26972cfe2694a224a604008e7.jpg","text":"TemporaryFile(/tmp/multipartBody5590421915252318790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039684923,"filename":"image_30102025_07_09_45_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/2/d726a9b7b0f8d3731dbfd6d1c89bf65f.jpg","text":"TemporaryFile(/tmp/multipartBody465923990231206064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039684923,"filename":"image_30102025_07_09_51_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/2/27e7e42bd20c66bbcac52a2dd5010f68.jpg","text":"TemporaryFile(/tmp/multipartBody5807709694894769344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039684923,"filename":"image_30102025_07_09_55_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/2/d1c4b8fff53eba966d42a77dd86f5a5e.jpg","text":"TemporaryFile(/tmp/multipartBody355235724766024001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039684923,"filename":"image_30102025_07_09_42_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756412","file1":"1391756408","file0":"1391756404","file4":"1391756422","file5":"1391756427","file3":"1391756417"},"map_files_photo_id_array":[{"photo_id":"1391756427","filename":"file5"},{"photo_id":"1391756412","filename":"file2"},{"photo_id":"1391756422","filename":"file4"},{"photo_id":"1391756408","filename":"file1"},{"photo_id":"1391756404","filename":"file0"},{"photo_id":"1391756417","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756427":["hashtag1","hashtag2"]},{"1391756412":["hashtag1","hashtag2"]},{"1391756408":["hashtag1","hashtag2"]},{"1391756417":["hashtag1","hashtag2"]},{"1391756422":["hashtag1","hashtag2"]},{"1391756404":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756427, 1391756412, 1391756408, 1391756417, 1391756422, 1391756404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27850818634033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 00:27:42.415673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/10/image_30102025_07_10_01_2792.jpg', '/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_03_2758.jpg', '/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_06_3139.jpg', '/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_09_2662.jpg', '/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_13_3659.jpg', '/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_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/07/10/image_30102025_07_10_01_2792.jpg
/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_03_2758.jpg
/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_06_3139.jpg
/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_09_2662.jpg
/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_13_3659.jpg
/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_15_2613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391756454","1391756451","1391756445","1391756441","1391756437","1391756449"],"photo_ids_order":["1391756437","1391756441","1391756445","1391756449","1391756451","1391756454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cf4da222c03da60d4aafca645a98d85b.jpg","text":"TemporaryFile(/tmp/multipartBody6306768011541969624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039723483,"filename":"image_30102025_07_10_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/2/4d603384131e9852c8adee0e19955d7a.jpg","text":"TemporaryFile(/tmp/multipartBody5843888996244973615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039723483,"filename":"image_30102025_07_10_13_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/2/9b857d9b3be34c73acea4c4840f0ed80.jpg","text":"TemporaryFile(/tmp/multipartBody5097450207759476142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039723483,"filename":"image_30102025_07_10_06_3139.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/03b11f78a738d7d5183c5011b8251d89.jpg","text":"TemporaryFile(/tmp/multipartBody4936364296272950527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039723483,"filename":"image_30102025_07_10_03_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/2/4d4cfaa80fe4c583f6a3d9e9a66709f6.jpg","text":"TemporaryFile(/tmp/multipartBody5112526595521332868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039723483,"filename":"image_30102025_07_10_01_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/2/0d3998588999c7f0c9ac433c3e886565.jpg","text":"TemporaryFile(/tmp/multipartBody4138685423583087204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039723483,"filename":"image_30102025_07_10_09_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756445","file1":"1391756441","file0":"1391756437","file4":"1391756451","file5":"1391756454","file3":"1391756449"},"map_files_photo_id_array":[{"photo_id":"1391756454","filename":"file5"},{"photo_id":"1391756445","filename":"file2"},{"photo_id":"1391756451","filename":"file4"},{"photo_id":"1391756441","filename":"file1"},{"photo_id":"1391756437","filename":"file0"},{"photo_id":"1391756449","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756454":["hashtag1","hashtag2"]},{"1391756451":["hashtag1","hashtag2"]},{"1391756445":["hashtag1","hashtag2"]},{"1391756441":["hashtag1","hashtag2"]},{"1391756437":["hashtag1","hashtag2"]},{"1391756449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756454, 1391756451, 1391756445, 1391756441, 1391756437, 1391756449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43076825141907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:28:22.568473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/10/image_30102025_07_10_18_2668.jpg', '/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_22_3790.jpg', '/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_25_2697.jpg', '/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_27_2588.jpg', '/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_31_3696.jpg', '/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_33_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/07/10/image_30102025_07_10_18_2668.jpg
/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_22_3790.jpg
/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_25_2697.jpg
/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_27_2588.jpg
/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_31_3696.jpg
/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_33_2625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391756477","1391756459","1391756468","1391756473","1391756461","1391756464"],"photo_ids_order":["1391756459","1391756461","1391756464","1391756468","1391756473","1391756477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3d4aa7584f6c9f4a844416d1965b8903.jpg","text":"TemporaryFile(/tmp/multipartBody3705995797216646272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039765192,"filename":"image_30102025_07_10_33_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/2/75a8cdb8e08a60201a1cd58462fb2a98.jpg","text":"TemporaryFile(/tmp/multipartBody1083358921110814378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039765192,"filename":"image_30102025_07_10_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/2/4e10ad30343b8644e5e741770cdb5ddf.jpg","text":"TemporaryFile(/tmp/multipartBody185851774731300582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039765192,"filename":"image_30102025_07_10_27_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/2/5d2fb3414ddfe2e5e23fc998815fe5f2.jpg","text":"TemporaryFile(/tmp/multipartBody7887013116551514137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039765192,"filename":"image_30102025_07_10_31_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/2/ba239f8b3def10456b27c5c867b0c79f.jpg","text":"TemporaryFile(/tmp/multipartBody1880212011365688149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039765192,"filename":"image_30102025_07_10_22_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/2/a3a0adc84a188cc074ce9d303304c824.jpg","text":"TemporaryFile(/tmp/multipartBody3407494554057791769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039765192,"filename":"image_30102025_07_10_25_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756464","file1":"1391756461","file0":"1391756459","file4":"1391756473","file5":"1391756477","file3":"1391756468"},"map_files_photo_id_array":[{"photo_id":"1391756477","filename":"file5"},{"photo_id":"1391756464","filename":"file2"},{"photo_id":"1391756473","filename":"file4"},{"photo_id":"1391756461","filename":"file1"},{"photo_id":"1391756459","filename":"file0"},{"photo_id":"1391756468","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756477":["hashtag1","hashtag2"]},{"1391756459":["hashtag1","hashtag2"]},{"1391756468":["hashtag1","hashtag2"]},{"1391756473":["hashtag1","hashtag2"]},{"1391756461":["hashtag1","hashtag2"]},{"1391756464":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756477, 1391756459, 1391756468, 1391756473, 1391756461, 1391756464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24565005302429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 00:29:02.940355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/10/image_30102025_07_10_36_2654.jpg', '/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_40_3760.jpg', '/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_43_2619.jpg', '/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_45_2674.jpg', '/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_49_3699.jpg', '/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_52_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/07/10/image_30102025_07_10_36_2654.jpg
/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_40_3760.jpg
/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_43_2619.jpg
/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_45_2674.jpg
/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_49_3699.jpg
/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_52_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":["1391756486","1391756501","1391756494","1391756497","1391756482","1391756490"],"photo_ids_order":["1391756482","1391756486","1391756490","1391756494","1391756497","1391756501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7498a7614a63a79a4fa3045ec166fb00.jpg","text":"TemporaryFile(/tmp/multipartBody1155207003010045812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039806513,"filename":"image_30102025_07_10_40_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/2/b1bd7ddc445f0a3e20c6dedc39575d39.jpg","text":"TemporaryFile(/tmp/multipartBody395700877926240522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039806513,"filename":"image_30102025_07_10_52_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/2/e56cae4928a85bce239aa869bc08f076.jpg","text":"TemporaryFile(/tmp/multipartBody2087284013284064587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039806513,"filename":"image_30102025_07_10_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/2/fac4e13fd465ccce5ea05a4967e0f5d3.jpg","text":"TemporaryFile(/tmp/multipartBody8999838909769256406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039806513,"filename":"image_30102025_07_10_49_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/2/bb3bcf759a942aae66ecf5286369b5d0.jpg","text":"TemporaryFile(/tmp/multipartBody3108301488863360449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039806513,"filename":"image_30102025_07_10_36_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/2/1b1e365f84b4bcd905aa2d9a70dd5ca2.jpg","text":"TemporaryFile(/tmp/multipartBody3304110985997576599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039806513,"filename":"image_30102025_07_10_43_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756490","file1":"1391756486","file0":"1391756482","file4":"1391756497","file5":"1391756501","file3":"1391756494"},"map_files_photo_id_array":[{"photo_id":"1391756501","filename":"file5"},{"photo_id":"1391756490","filename":"file2"},{"photo_id":"1391756497","filename":"file4"},{"photo_id":"1391756486","filename":"file1"},{"photo_id":"1391756482","filename":"file0"},{"photo_id":"1391756494","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756486":["hashtag1","hashtag2"]},{"1391756501":["hashtag1","hashtag2"]},{"1391756494":["hashtag1","hashtag2"]},{"1391756497":["hashtag1","hashtag2"]},{"1391756482":["hashtag1","hashtag2"]},{"1391756490":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756486, 1391756501, 1391756494, 1391756497, 1391756482, 1391756490)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 81.40261626243591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:30:33.243416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/10/image_30102025_07_10_54_2621.jpg', '/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_58_3662.jpg', '/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_01_2750.jpg', '/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_03_2573.jpg', '/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_07_3682.jpg', '/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_12_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/07/10/image_30102025_07_10_54_2621.jpg
/home/pi/Desktop/images/30102025/07/10/image_30102025_07_10_58_3662.jpg
/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_01_2750.jpg
/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_03_2573.jpg
/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_07_3682.jpg
/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_12_2791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391756535","1391756538","1391756540","1391756534","1391756542","1391756539"],"photo_ids_order":["1391756534","1391756535","1391756538","1391756539","1391756540","1391756542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c1425504346221be7d10e4ea965a6baa.jpg","text":"TemporaryFile(/tmp/multipartBody7370381178316654001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039917550,"filename":"image_30102025_07_10_58_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/2/9f07ec552f598fdf9cd08cb70c52fd0e.jpg","text":"TemporaryFile(/tmp/multipartBody220236587343915264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039917550,"filename":"image_30102025_07_11_01_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/2/076203ea8a9217854808953378ed139f.jpg","text":"TemporaryFile(/tmp/multipartBody398596755923225818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039917550,"filename":"image_30102025_07_11_07_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/2/4e9a3df9574041cf391e8bf64fc088a3.jpg","text":"TemporaryFile(/tmp/multipartBody2014268903720513472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039917550,"filename":"image_30102025_07_10_54_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/2/eb3cbf879071fefe7b290139ec43022a.jpg","text":"TemporaryFile(/tmp/multipartBody3329634892591583222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039917550,"filename":"image_30102025_07_11_12_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/2/479f0f1f367dbd83b32a4caf6ec3b429.jpg","text":"TemporaryFile(/tmp/multipartBody1948751789027709963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039917550,"filename":"image_30102025_07_11_03_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756538","file1":"1391756535","file0":"1391756534","file4":"1391756540","file5":"1391756542","file3":"1391756539"},"map_files_photo_id_array":[{"photo_id":"1391756542","filename":"file5"},{"photo_id":"1391756538","filename":"file2"},{"photo_id":"1391756540","filename":"file4"},{"photo_id":"1391756535","filename":"file1"},{"photo_id":"1391756534","filename":"file0"},{"photo_id":"1391756539","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756535":["hashtag1","hashtag2"]},{"1391756538":["hashtag1","hashtag2"]},{"1391756540":["hashtag1","hashtag2"]},{"1391756534":["hashtag1","hashtag2"]},{"1391756542":["hashtag1","hashtag2"]},{"1391756539":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756535, 1391756538, 1391756540, 1391756534, 1391756542, 1391756539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.727675914764404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 00:31:42.603036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/11/image_30102025_07_11_15_2754.jpg', '/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_19_3741.jpg', '/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_21_2605.jpg', '/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_24_2620.jpg', '/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_28_3768.jpg', '/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_30_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/07/11/image_30102025_07_11_15_2754.jpg
/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_19_3741.jpg
/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_21_2605.jpg
/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_24_2620.jpg
/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_28_3768.jpg
/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_30_2625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391756562","1391756564","1391756569","1391756560","1391756557","1391756565"],"photo_ids_order":["1391756557","1391756560","1391756562","1391756564","1391756565","1391756569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5781fe4e7ee80e145dee57c5d89ed134.jpg","text":"TemporaryFile(/tmp/multipartBody3776343831888580302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039963658,"filename":"image_30102025_07_11_21_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/2/ef49bfd635f1093ad9b628ef8145dd6f.jpg","text":"TemporaryFile(/tmp/multipartBody893742114508258052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039963658,"filename":"image_30102025_07_11_24_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/2/63bce0393ad30d362fc045c367276f9e.jpg","text":"TemporaryFile(/tmp/multipartBody3466517400070922059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039963658,"filename":"image_30102025_07_11_30_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/2/3f56ca5cd394dc87d4202718b0959eba.jpg","text":"TemporaryFile(/tmp/multipartBody5332964403642952736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039963658,"filename":"image_30102025_07_11_19_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/2/6fe5c97af048aaec5752746878478484.jpg","text":"TemporaryFile(/tmp/multipartBody4031204095776794573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039963658,"filename":"image_30102025_07_11_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/2/312cd9be7edddfe53305857e2d362570.jpg","text":"TemporaryFile(/tmp/multipartBody3295973292963510913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762039963658,"filename":"image_30102025_07_11_28_3768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756562","file1":"1391756560","file0":"1391756557","file4":"1391756565","file5":"1391756569","file3":"1391756564"},"map_files_photo_id_array":[{"photo_id":"1391756569","filename":"file5"},{"photo_id":"1391756562","filename":"file2"},{"photo_id":"1391756565","filename":"file4"},{"photo_id":"1391756560","filename":"file1"},{"photo_id":"1391756557","filename":"file0"},{"photo_id":"1391756564","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756562":["hashtag1","hashtag2"]},{"1391756564":["hashtag1","hashtag2"]},{"1391756569":["hashtag1","hashtag2"]},{"1391756560":["hashtag1","hashtag2"]},{"1391756557":["hashtag1","hashtag2"]},{"1391756565":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756562, 1391756564, 1391756569, 1391756560, 1391756557, 1391756565)","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.96042990684509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 00:33:10.831308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 00:33:46.870680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/11/image_30102025_07_11_33_2566.jpg', '/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_37_3630.jpg', '/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_39_2844.jpg', '/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_42_2542.jpg', '/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_45_3523.jpg', '/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_48_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/07/11/image_30102025_07_11_33_2566.jpg
/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_37_3630.jpg
/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_39_2844.jpg
/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_42_2542.jpg
/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_45_3523.jpg
/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_48_2638.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":["1391756634","1391756630","1391756624","1391756627","1391756617","1391756632"],"photo_ids_order":["1391756617","1391756624","1391756627","1391756630","1391756632","1391756634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/43eea3ef5e4f91fd991661a8ef6d9dd6.jpg","text":"TemporaryFile(/tmp/multipartBody8504597258215872904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040090819,"filename":"image_30102025_07_11_48_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/2/5adf679c593540e7a99ea957f0a3accd.jpg","text":"TemporaryFile(/tmp/multipartBody6947723404652857269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040090819,"filename":"image_30102025_07_11_42_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/2/f5bd5eb1330a85cb2e2a5b2e4910fee3.jpg","text":"TemporaryFile(/tmp/multipartBody7791031883331480077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040090819,"filename":"image_30102025_07_11_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/2/e0ad2520a5a8243c4d9d338b9b1cdc94.jpg","text":"TemporaryFile(/tmp/multipartBody6397394993543077604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040090819,"filename":"image_30102025_07_11_39_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/2/806ab297fae32c6a46b9006ca68de001.jpg","text":"TemporaryFile(/tmp/multipartBody6899738488578615430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040090819,"filename":"image_30102025_07_11_33_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/2/461369b7b7a55a101c0a004d58f33034.jpg","text":"TemporaryFile(/tmp/multipartBody61834335929210135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040090819,"filename":"image_30102025_07_11_45_3523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756627","file1":"1391756624","file0":"1391756617","file4":"1391756632","file5":"1391756634","file3":"1391756630"},"map_files_photo_id_array":[{"photo_id":"1391756634","filename":"file5"},{"photo_id":"1391756627","filename":"file2"},{"photo_id":"1391756632","filename":"file4"},{"photo_id":"1391756624","filename":"file1"},{"photo_id":"1391756617","filename":"file0"},{"photo_id":"1391756630","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756634":["hashtag1","hashtag2"]},{"1391756630":["hashtag1","hashtag2"]},{"1391756624":["hashtag1","hashtag2"]},{"1391756627":["hashtag1","hashtag2"]},{"1391756617":["hashtag1","hashtag2"]},{"1391756632":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756634, 1391756630, 1391756624, 1391756627, 1391756617, 1391756632)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 86.52386522293091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:35:22.722883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/11/image_30102025_07_11_52_3584.jpg', '/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_54_2669.jpg', '/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_57_2690.jpg', '/home/pi/Desktop/images/30102025/07/11/image_30102025_07_12_01_3619.jpg', '/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_03_2719.jpg', '/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_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/07/11/image_30102025_07_11_52_3584.jpg
/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_54_2669.jpg
/home/pi/Desktop/images/30102025/07/11/image_30102025_07_11_57_2690.jpg
/home/pi/Desktop/images/30102025/07/11/image_30102025_07_12_01_3619.jpg
/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_03_2719.jpg
/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_06_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":["1391756681","1391756669","1391756684","1391756689","1391756674","1391756676"],"photo_ids_order":["1391756669","1391756674","1391756676","1391756681","1391756684","1391756689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bb98ddf3cb3e9ad74299a3ed03e5d358.jpg","text":"TemporaryFile(/tmp/multipartBody7645051165826349806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040185479,"filename":"image_30102025_07_12_01_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/2/33eeb5a52027533a36fceecf4b77dfa8.jpg","text":"TemporaryFile(/tmp/multipartBody7449584115629107870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040185479,"filename":"image_30102025_07_11_52_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/2/e4c68917e3c035c1a5fa4cf19a5a7957.jpg","text":"TemporaryFile(/tmp/multipartBody2286494628861751953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040185479,"filename":"image_30102025_07_12_03_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/2/79bea340fae2850218528630964a267f.jpg","text":"TemporaryFile(/tmp/multipartBody3282098334450911152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040185479,"filename":"image_30102025_07_12_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/2/40dfe7798ce7eedadb66820b49817c8e.jpg","text":"TemporaryFile(/tmp/multipartBody6305717469609815443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040185479,"filename":"image_30102025_07_11_54_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/2/f1ae2edfc8a75c42e03163dd0ac460ac.jpg","text":"TemporaryFile(/tmp/multipartBody4657576269665163147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040185479,"filename":"image_30102025_07_11_57_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756676","file1":"1391756674","file0":"1391756669","file4":"1391756684","file5":"1391756689","file3":"1391756681"},"map_files_photo_id_array":[{"photo_id":"1391756689","filename":"file5"},{"photo_id":"1391756676","filename":"file2"},{"photo_id":"1391756684","filename":"file4"},{"photo_id":"1391756674","filename":"file1"},{"photo_id":"1391756669","filename":"file0"},{"photo_id":"1391756681","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756681":["hashtag1","hashtag2"]},{"1391756669":["hashtag1","hashtag2"]},{"1391756684":["hashtag1","hashtag2"]},{"1391756689":["hashtag1","hashtag2"]},{"1391756674":["hashtag1","hashtag2"]},{"1391756676":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756681, 1391756669, 1391756684, 1391756689, 1391756674, 1391756676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.47761011123657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:36:23.698025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/12/image_30102025_07_12_10_3772.jpg', '/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_12_2785.jpg', '/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_15_2573.jpg', '/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_19_3667.jpg', '/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_22_2825.jpg', '/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_24_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/07/12/image_30102025_07_12_10_3772.jpg
/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_12_2785.jpg
/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_15_2573.jpg
/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_19_3667.jpg
/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_22_2825.jpg
/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_24_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":["1391756699","1391756702","1391756716","1391756710","1391756713","1391756707"],"photo_ids_order":["1391756699","1391756702","1391756707","1391756710","1391756713","1391756716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1a10c4f34736f7742972a522d4c1705e.jpg","text":"TemporaryFile(/tmp/multipartBody7511271232678065633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040246336,"filename":"image_30102025_07_12_10_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/2/810be85288f51dd2eb00b062fd0e4c8a.jpg","text":"TemporaryFile(/tmp/multipartBody2662491734316855223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040246336,"filename":"image_30102025_07_12_12_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/2/7b8aa3fe4e44b9c5a189d17fb5fc220c.jpg","text":"TemporaryFile(/tmp/multipartBody9084327227270150584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040246336,"filename":"image_30102025_07_12_24_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/2/3f642072df0d22b0cfd00a9d344b3c7d.jpg","text":"TemporaryFile(/tmp/multipartBody4241643343969582642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040246336,"filename":"image_30102025_07_12_19_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/2/76701115da9a1ae93749c04535e08841.jpg","text":"TemporaryFile(/tmp/multipartBody340077132758406767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040246336,"filename":"image_30102025_07_12_22_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/2/8c885134c862586d37607e795b83570b.jpg","text":"TemporaryFile(/tmp/multipartBody3772815870929241889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040246336,"filename":"image_30102025_07_12_15_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756707","file1":"1391756702","file0":"1391756699","file4":"1391756713","file5":"1391756716","file3":"1391756710"},"map_files_photo_id_array":[{"photo_id":"1391756716","filename":"file5"},{"photo_id":"1391756707","filename":"file2"},{"photo_id":"1391756713","filename":"file4"},{"photo_id":"1391756702","filename":"file1"},{"photo_id":"1391756699","filename":"file0"},{"photo_id":"1391756710","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756699":["hashtag1","hashtag2"]},{"1391756702":["hashtag1","hashtag2"]},{"1391756716":["hashtag1","hashtag2"]},{"1391756710":["hashtag1","hashtag2"]},{"1391756713":["hashtag1","hashtag2"]},{"1391756707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756699, 1391756702, 1391756716, 1391756710, 1391756713, 1391756707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.11410665512085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:37:22.321634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/12/image_30102025_07_12_27_2806.jpg', '/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_30_2590.jpg', '/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_34_3769.jpg', '/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_36_2653.jpg', '/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_39_2685.jpg', '/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_42_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/07/12/image_30102025_07_12_27_2806.jpg
/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_30_2590.jpg
/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_34_3769.jpg
/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_36_2653.jpg
/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_39_2685.jpg
/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_42_3569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391756745","1391756736","1391756741","1391756729","1391756734","1391756731"],"photo_ids_order":["1391756729","1391756731","1391756734","1391756736","1391756741","1391756745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/986226780b77c424ad04ba59a7a88c4c.jpg","text":"TemporaryFile(/tmp/multipartBody6838662078779782823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040304963,"filename":"image_30102025_07_12_42_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/2/6e20fe55d5299668bf3046f908f3a9fd.jpg","text":"TemporaryFile(/tmp/multipartBody739686091484305059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040304963,"filename":"image_30102025_07_12_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/2/ea65f3e63b26564d3c5478d7682368a7.jpg","text":"TemporaryFile(/tmp/multipartBody7702774950424348360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040304963,"filename":"image_30102025_07_12_39_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/2/a9f7835f645b29702ef76e60638d2ca5.jpg","text":"TemporaryFile(/tmp/multipartBody1888800784809938649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040304963,"filename":"image_30102025_07_12_27_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/2/c63d81935a73d0c4b34de096b50423ae.jpg","text":"TemporaryFile(/tmp/multipartBody8359868100361054297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040304963,"filename":"image_30102025_07_12_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/2/d6fc12be186dad5e2e8ab44128c0181c.jpg","text":"TemporaryFile(/tmp/multipartBody5388813889654529245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040304963,"filename":"image_30102025_07_12_30_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756734","file1":"1391756731","file0":"1391756729","file4":"1391756741","file5":"1391756745","file3":"1391756736"},"map_files_photo_id_array":[{"photo_id":"1391756745","filename":"file5"},{"photo_id":"1391756734","filename":"file2"},{"photo_id":"1391756741","filename":"file4"},{"photo_id":"1391756731","filename":"file1"},{"photo_id":"1391756729","filename":"file0"},{"photo_id":"1391756736","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756745":["hashtag1","hashtag2"]},{"1391756736":["hashtag1","hashtag2"]},{"1391756741":["hashtag1","hashtag2"]},{"1391756729":["hashtag1","hashtag2"]},{"1391756734":["hashtag1","hashtag2"]},{"1391756731":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756745, 1391756736, 1391756741, 1391756729, 1391756734, 1391756731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09550476074219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 00:38:03.124054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/12/image_30102025_07_12_45_2560.jpg', '/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_49_3620.jpg', '/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_51_2663.jpg', '/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_54_2548.jpg', '/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_57_3681.jpg', '/home/pi/Desktop/images/30102025/07/12/image_30102025_07_13_00_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/07/12/image_30102025_07_12_45_2560.jpg
/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_49_3620.jpg
/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_51_2663.jpg
/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_54_2548.jpg
/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_57_3681.jpg
/home/pi/Desktop/images/30102025/07/12/image_30102025_07_13_00_2857.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391756756","1391756753","1391756764","1391756761","1391756755","1391756757"],"photo_ids_order":["1391756753","1391756755","1391756756","1391756757","1391756761","1391756764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9b7bfaea46f1d553d6ba074cfdd538b2.jpg","text":"TemporaryFile(/tmp/multipartBody1106589046640400955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040345132,"filename":"image_30102025_07_12_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/2/d11c0eaef4017f09ad576dc3c325bb75.jpg","text":"TemporaryFile(/tmp/multipartBody1241230123976346908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040345132,"filename":"image_30102025_07_12_45_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/2/69766ed73d019d67d3cd74edaf169bfa.jpg","text":"TemporaryFile(/tmp/multipartBody427625585442043999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040345132,"filename":"image_30102025_07_13_00_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/2/92b3022f24655b5af381ba2eb6c3a5c8.jpg","text":"TemporaryFile(/tmp/multipartBody664322528619185839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040345132,"filename":"image_30102025_07_12_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/2/e753d84b8179b4a390a0be2ccebe5444.jpg","text":"TemporaryFile(/tmp/multipartBody7572806029173491619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040345132,"filename":"image_30102025_07_12_49_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/2/f2eb643d90e7625314200701794ddae9.jpg","text":"TemporaryFile(/tmp/multipartBody6665448679271210954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040345132,"filename":"image_30102025_07_12_54_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756756","file1":"1391756755","file0":"1391756753","file4":"1391756761","file5":"1391756764","file3":"1391756757"},"map_files_photo_id_array":[{"photo_id":"1391756764","filename":"file5"},{"photo_id":"1391756756","filename":"file2"},{"photo_id":"1391756761","filename":"file4"},{"photo_id":"1391756755","filename":"file1"},{"photo_id":"1391756753","filename":"file0"},{"photo_id":"1391756757","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756756":["hashtag1","hashtag2"]},{"1391756753":["hashtag1","hashtag2"]},{"1391756764":["hashtag1","hashtag2"]},{"1391756761":["hashtag1","hashtag2"]},{"1391756755":["hashtag1","hashtag2"]},{"1391756757":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756756, 1391756753, 1391756764, 1391756761, 1391756755, 1391756757)","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 = 1391756756 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/07/12/image_30102025_07_12_51_2663.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 58.98906445503235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:39:21.936821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/13/image_30102025_07_13_03_2666.jpg', '/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_07_3546.jpg', '/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_09_2812.jpg', '/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_12_2789.jpg', '/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_15_2838.jpg', '/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_18_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/07/13/image_30102025_07_13_03_2666.jpg
/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_07_3546.jpg
/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_09_2812.jpg
/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_12_2789.jpg
/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_15_2838.jpg
/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_18_2734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391756787","1391756805","1391756797","1391756801","1391756793","1391756790"],"photo_ids_order":["1391756787","1391756790","1391756793","1391756797","1391756801","1391756805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fbcfb7f1f6775b45bdeaaf93526b0435.jpg","text":"TemporaryFile(/tmp/multipartBody2503801808530284623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040424514,"filename":"image_30102025_07_13_03_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/2/02d7a4e30187172817ef0936382e4a75.jpg","text":"TemporaryFile(/tmp/multipartBody8894104040985409010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040424514,"filename":"image_30102025_07_13_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/2/846c2b56adcb2d40632ae52d2bd7f79f.jpg","text":"TemporaryFile(/tmp/multipartBody632482824463134186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040424514,"filename":"image_30102025_07_13_12_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/2/21f837d24ab1baf8c7e8a790a756f01f.jpg","text":"TemporaryFile(/tmp/multipartBody5797799658006415311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040424514,"filename":"image_30102025_07_13_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/2/d03ebea4d77e0d826db3686535b3f231.jpg","text":"TemporaryFile(/tmp/multipartBody4726987951043453255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040424514,"filename":"image_30102025_07_13_09_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/2/ef237da8a2d46e0ee49ef1f8db56b84a.jpg","text":"TemporaryFile(/tmp/multipartBody5908331538884997587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040424514,"filename":"image_30102025_07_13_07_3546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756793","file1":"1391756790","file0":"1391756787","file4":"1391756801","file5":"1391756805","file3":"1391756797"},"map_files_photo_id_array":[{"photo_id":"1391756805","filename":"file5"},{"photo_id":"1391756793","filename":"file2"},{"photo_id":"1391756801","filename":"file4"},{"photo_id":"1391756790","filename":"file1"},{"photo_id":"1391756787","filename":"file0"},{"photo_id":"1391756797","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756787":["hashtag1","hashtag2"]},{"1391756805":["hashtag1","hashtag2"]},{"1391756797":["hashtag1","hashtag2"]},{"1391756801":["hashtag1","hashtag2"]},{"1391756793":["hashtag1","hashtag2"]},{"1391756790":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756787, 1391756805, 1391756797, 1391756801, 1391756793, 1391756790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.153494119644165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 00:40:03.223248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/13/image_30102025_07_13_21_3548.jpg', '/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_24_2712.jpg', '/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_28_3619.jpg', '/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_30_2704.jpg', '/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_33_2735.jpg', '/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_36_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/07/13/image_30102025_07_13_21_3548.jpg
/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_24_2712.jpg
/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_28_3619.jpg
/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_30_2704.jpg
/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_33_2735.jpg
/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_36_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":["1391756826","1391756829","1391756820","1391756822","1391756815","1391756818"],"photo_ids_order":["1391756815","1391756818","1391756820","1391756822","1391756826","1391756829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8b49e15b361cdb6f36ce44d48071677d.jpg","text":"TemporaryFile(/tmp/multipartBody3531808320230007689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040465234,"filename":"image_30102025_07_13_33_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/2/d339f867404ab95662d074e4ba16bd37.jpg","text":"TemporaryFile(/tmp/multipartBody1662046897545504341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040465234,"filename":"image_30102025_07_13_36_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/2/fbc2fd202c424a21d6375003e794d29e.jpg","text":"TemporaryFile(/tmp/multipartBody3648547629758727661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040465234,"filename":"image_30102025_07_13_28_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/2/493e30109b35a0127c6527a5557fa780.jpg","text":"TemporaryFile(/tmp/multipartBody1555104920330763224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040465234,"filename":"image_30102025_07_13_30_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/2/21277b11390032518337b08ea50e3031.jpg","text":"TemporaryFile(/tmp/multipartBody4353921947478596244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040465234,"filename":"image_30102025_07_13_21_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/2/6bf8528e59adbd73cf9c2b1dc28c24da.jpg","text":"TemporaryFile(/tmp/multipartBody2894326221972897796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040465234,"filename":"image_30102025_07_13_24_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756820","file1":"1391756818","file0":"1391756815","file4":"1391756826","file5":"1391756829","file3":"1391756822"},"map_files_photo_id_array":[{"photo_id":"1391756829","filename":"file5"},{"photo_id":"1391756820","filename":"file2"},{"photo_id":"1391756826","filename":"file4"},{"photo_id":"1391756818","filename":"file1"},{"photo_id":"1391756815","filename":"file0"},{"photo_id":"1391756822","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756826":["hashtag1","hashtag2"]},{"1391756829":["hashtag1","hashtag2"]},{"1391756820":["hashtag1","hashtag2"]},{"1391756822":["hashtag1","hashtag2"]},{"1391756815":["hashtag1","hashtag2"]},{"1391756818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756826, 1391756829, 1391756820, 1391756822, 1391756815, 1391756818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07847023010254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 00:41:02.542844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/13/image_30102025_07_13_39_3649.jpg', '/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_42_2736.jpg', '/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_45_2696.jpg', '/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_49_3685.jpg', '/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_51_2578.jpg', '/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_54_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/07/13/image_30102025_07_13_39_3649.jpg
/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_42_2736.jpg
/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_45_2696.jpg
/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_49_3685.jpg
/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_51_2578.jpg
/home/pi/Desktop/images/30102025/07/13/image_30102025_07_13_54_2758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391756853","1391756861","1391756855","1391756858","1391756851","1391756848"],"photo_ids_order":["1391756848","1391756851","1391756853","1391756855","1391756858","1391756861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e81efd9f85afaf8bce05d231f436d0c4.jpg","text":"TemporaryFile(/tmp/multipartBody6406307125478790342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040524643,"filename":"image_30102025_07_13_45_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/2/877133cf7e7288971a495866db66b07e.jpg","text":"TemporaryFile(/tmp/multipartBody8046339764442124701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040524643,"filename":"image_30102025_07_13_54_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/2/2ef8a2bae19379d50be04c65c2031051.jpg","text":"TemporaryFile(/tmp/multipartBody2498026385242613153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040524643,"filename":"image_30102025_07_13_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/2/f015ec761737c87ed4ec5fca5ae2deff.jpg","text":"TemporaryFile(/tmp/multipartBody7807470593553818293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040524643,"filename":"image_30102025_07_13_51_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/2/2275f0b5589158cae5d78ba42ad36f04.jpg","text":"TemporaryFile(/tmp/multipartBody1771666083124273479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040524643,"filename":"image_30102025_07_13_42_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/2/d15cd4c62f27a32253c4cfb3d3603355.jpg","text":"TemporaryFile(/tmp/multipartBody3950874109134457775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040524643,"filename":"image_30102025_07_13_39_3649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756853","file1":"1391756851","file0":"1391756848","file4":"1391756858","file5":"1391756861","file3":"1391756855"},"map_files_photo_id_array":[{"photo_id":"1391756861","filename":"file5"},{"photo_id":"1391756853","filename":"file2"},{"photo_id":"1391756858","filename":"file4"},{"photo_id":"1391756851","filename":"file1"},{"photo_id":"1391756848","filename":"file0"},{"photo_id":"1391756855","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756853":["hashtag1","hashtag2"]},{"1391756861":["hashtag1","hashtag2"]},{"1391756855":["hashtag1","hashtag2"]},{"1391756858":["hashtag1","hashtag2"]},{"1391756851":["hashtag1","hashtag2"]},{"1391756848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756853, 1391756861, 1391756855, 1391756858, 1391756851, 1391756848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72206711769104 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-02 00:42:05.051577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/13/image_30102025_07_13_58_3707.jpg', '/home/pi/Desktop/images/30102025/07/13/image_30102025_07_14_00_2566.jpg', '/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_03_2714.jpg', '/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_06_3533.jpg', '/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_09_2576.jpg', '/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_12_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/07/13/image_30102025_07_13_58_3707.jpg
/home/pi/Desktop/images/30102025/07/13/image_30102025_07_14_00_2566.jpg
/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_03_2714.jpg
/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_06_3533.jpg
/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_09_2576.jpg
/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_12_2636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391756894","1391756881","1391756899","1391756884","1391756878","1391756889"],"photo_ids_order":["1391756878","1391756881","1391756884","1391756889","1391756894","1391756899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d6525b3185b8515d45aa2fa7d3c99e1a.jpg","text":"TemporaryFile(/tmp/multipartBody7638346686484237465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040587077,"filename":"image_30102025_07_14_09_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/2/62db73336cbd77aa4d51d7ebc1f7786f.jpg","text":"TemporaryFile(/tmp/multipartBody4367307212230255074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040587077,"filename":"image_30102025_07_14_00_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/2/fe564d0e9448c2f3f5e119705d592bb4.jpg","text":"TemporaryFile(/tmp/multipartBody913251112668207847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040587077,"filename":"image_30102025_07_14_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/2/daf2621dc37f9c437ab274930d5efb36.jpg","text":"TemporaryFile(/tmp/multipartBody7373842966971312424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040587077,"filename":"image_30102025_07_14_03_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/2/0bdf5b5efbe0a666b4fa7196fe142ef0.jpg","text":"TemporaryFile(/tmp/multipartBody3877159975804528387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040587077,"filename":"image_30102025_07_13_58_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/2/b7365bfcc110f7a84046ddf2198e00e3.jpg","text":"TemporaryFile(/tmp/multipartBody1994848252756558447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040587077,"filename":"image_30102025_07_14_06_3533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756884","file1":"1391756881","file0":"1391756878","file4":"1391756894","file5":"1391756899","file3":"1391756889"},"map_files_photo_id_array":[{"photo_id":"1391756899","filename":"file5"},{"photo_id":"1391756884","filename":"file2"},{"photo_id":"1391756894","filename":"file4"},{"photo_id":"1391756881","filename":"file1"},{"photo_id":"1391756878","filename":"file0"},{"photo_id":"1391756889","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756894":["hashtag1","hashtag2"]},{"1391756881":["hashtag1","hashtag2"]},{"1391756899":["hashtag1","hashtag2"]},{"1391756884":["hashtag1","hashtag2"]},{"1391756878":["hashtag1","hashtag2"]},{"1391756889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756894, 1391756881, 1391756899, 1391756884, 1391756878, 1391756889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22119379043579 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 00:42:44.677498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/14/image_30102025_07_14_18_2635.jpg', '/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_21_2696.jpg', '/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_24_3719.jpg', '/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_27_2591.jpg', '/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_30_2815.jpg', '/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_33_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/07/14/image_30102025_07_14_18_2635.jpg
/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_21_2696.jpg
/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_24_3719.jpg
/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_27_2591.jpg
/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_30_2815.jpg
/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_33_3625.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":["1391756907","1391756922","1391756916","1391756918","1391756909","1391756914"],"photo_ids_order":["1391756907","1391756909","1391756914","1391756916","1391756918","1391756922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b241d20c083b660c9831a99ce6c4d0b5.jpg","text":"TemporaryFile(/tmp/multipartBody6912875679311877554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040625731,"filename":"image_30102025_07_14_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/2/157c7181bfc86a8cdac143d6ed01b139.jpg","text":"TemporaryFile(/tmp/multipartBody3080838684000080671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040625731,"filename":"image_30102025_07_14_33_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/2/9faa11822a921c4f1ba3fde6a13fcad9.jpg","text":"TemporaryFile(/tmp/multipartBody7698123849067949846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040625731,"filename":"image_30102025_07_14_27_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/2/c594fc7cc65ba1b9bbe8303a34188f96.jpg","text":"TemporaryFile(/tmp/multipartBody5630005457764513495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040625731,"filename":"image_30102025_07_14_30_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/2/d76108a4beec92f984a0e148ea530157.jpg","text":"TemporaryFile(/tmp/multipartBody1569465285469159009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040625731,"filename":"image_30102025_07_14_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/2/e494cce8a14603821ca4cfd030c562d5.jpg","text":"TemporaryFile(/tmp/multipartBody6834403591004034541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040625731,"filename":"image_30102025_07_14_24_3719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756914","file1":"1391756909","file0":"1391756907","file4":"1391756918","file5":"1391756922","file3":"1391756916"},"map_files_photo_id_array":[{"photo_id":"1391756922","filename":"file5"},{"photo_id":"1391756914","filename":"file2"},{"photo_id":"1391756918","filename":"file4"},{"photo_id":"1391756909","filename":"file1"},{"photo_id":"1391756907","filename":"file0"},{"photo_id":"1391756916","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756907":["hashtag1","hashtag2"]},{"1391756922":["hashtag1","hashtag2"]},{"1391756916":["hashtag1","hashtag2"]},{"1391756918":["hashtag1","hashtag2"]},{"1391756909":["hashtag1","hashtag2"]},{"1391756914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756907, 1391756922, 1391756916, 1391756918, 1391756909, 1391756914)","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 = 1391756914 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_24_3719.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391756914 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_24_3719.jpg";
uploaded 6 photos
time to upload: 71.71700954437256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 00:44:02.720522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/14/image_30102025_07_14_18_2635.jpg', '/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_21_2696.jpg', '/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_24_3719.jpg', '/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_27_2591.jpg', '/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_30_2815.jpg', '/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_33_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/07/14/image_30102025_07_14_18_2635.jpg
/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_21_2696.jpg
/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_24_3719.jpg
/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_27_2591.jpg
/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_30_2815.jpg
/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_33_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":["1391756952","1391756954","1391756957","1391756965","1391756950","1391756961"],"photo_ids_order":["1391756950","1391756952","1391756954","1391756957","1391756961","1391756965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5b5c39de961cbefa38876eeab6fb1fd6.jpg","text":"TemporaryFile(/tmp/multipartBody7888488364896957300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040707615,"filename":"image_30102025_07_14_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/2/42e25150977b05bc33793916773ce882.jpg","text":"TemporaryFile(/tmp/multipartBody6562208660186394024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040707615,"filename":"image_30102025_07_14_24_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/2/0b4a1f0cc5620ae1f03df7aa7a525b8d.jpg","text":"TemporaryFile(/tmp/multipartBody6834519833175635286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040707615,"filename":"image_30102025_07_14_27_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/2/ab5572ab4e192994b02d8c84df8597c9.jpg","text":"TemporaryFile(/tmp/multipartBody5779681086858322681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040707615,"filename":"image_30102025_07_14_33_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/2/1d78e975f0a53c7d24b9c785002c053e.jpg","text":"TemporaryFile(/tmp/multipartBody9009357391204905989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040707615,"filename":"image_30102025_07_14_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/2/164362782c575965eb532c6e6300a739.jpg","text":"TemporaryFile(/tmp/multipartBody6208034148187976433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040707615,"filename":"image_30102025_07_14_30_2815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756954","file1":"1391756952","file0":"1391756950","file4":"1391756961","file5":"1391756965","file3":"1391756957"},"map_files_photo_id_array":[{"photo_id":"1391756965","filename":"file5"},{"photo_id":"1391756954","filename":"file2"},{"photo_id":"1391756961","filename":"file4"},{"photo_id":"1391756952","filename":"file1"},{"photo_id":"1391756950","filename":"file0"},{"photo_id":"1391756957","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756952":["hashtag1","hashtag2"]},{"1391756954":["hashtag1","hashtag2"]},{"1391756957":["hashtag1","hashtag2"]},{"1391756965":["hashtag1","hashtag2"]},{"1391756950":["hashtag1","hashtag2"]},{"1391756961":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756952, 1391756954, 1391756957, 1391756965, 1391756950, 1391756961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.87390470504761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 00:45:02.849355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/14/image_30102025_07_14_36_2629.jpg', '/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_39_2622.jpg', '/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_42_3698.jpg', '/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_48_2673.jpg', '/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_51_3616.jpg', '/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_54_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/07/14/image_30102025_07_14_36_2629.jpg
/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_39_2622.jpg
/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_42_3698.jpg
/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_48_2673.jpg
/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_51_3616.jpg
/home/pi/Desktop/images/30102025/07/14/image_30102025_07_14_54_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":["1391756979","1391756989","1391756986","1391756991","1391756994","1391756982"],"photo_ids_order":["1391756979","1391756982","1391756986","1391756989","1391756991","1391756994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a6fb998c5fd5f9e222be45a15e5bb66d.jpg","text":"TemporaryFile(/tmp/multipartBody706284364519063514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040767171,"filename":"image_30102025_07_14_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/2/12acbe2fc4cbf7bbebd5b15ba339fb7c.jpg","text":"TemporaryFile(/tmp/multipartBody5967102261853224210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040767171,"filename":"image_30102025_07_14_48_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/2/6fb85793c616764377d88a81f2211881.jpg","text":"TemporaryFile(/tmp/multipartBody5277652674238063273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040767171,"filename":"image_30102025_07_14_42_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/2/43a284f1fa04f1b2e4a9e8101f98663d.jpg","text":"TemporaryFile(/tmp/multipartBody7772948770399181180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040767171,"filename":"image_30102025_07_14_51_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/2/3e9f4b17ea7110695450a063a52401bd.jpg","text":"TemporaryFile(/tmp/multipartBody2418322416324099395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040767171,"filename":"image_30102025_07_14_54_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/2/b152cb9443b349516038d2eff9e8c7e0.jpg","text":"TemporaryFile(/tmp/multipartBody9044760431976708901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040767171,"filename":"image_30102025_07_14_39_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391756986","file1":"1391756982","file0":"1391756979","file4":"1391756991","file5":"1391756994","file3":"1391756989"},"map_files_photo_id_array":[{"photo_id":"1391756994","filename":"file5"},{"photo_id":"1391756986","filename":"file2"},{"photo_id":"1391756991","filename":"file4"},{"photo_id":"1391756982","filename":"file1"},{"photo_id":"1391756979","filename":"file0"},{"photo_id":"1391756989","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391756979":["hashtag1","hashtag2"]},{"1391756989":["hashtag1","hashtag2"]},{"1391756986":["hashtag1","hashtag2"]},{"1391756991":["hashtag1","hashtag2"]},{"1391756994":["hashtag1","hashtag2"]},{"1391756982":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391756979, 1391756989, 1391756986, 1391756991, 1391756994, 1391756982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.26546049118042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 00:46:03.049508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/14/image_30102025_07_14_57_2645.jpg', '/home/pi/Desktop/images/30102025/07/14/image_30102025_07_15_00_3687.jpg', '/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_03_2661.jpg', '/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_06_2960.jpg', '/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_12_3552.jpg', '/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_15_2779.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/14/image_30102025_07_14_57_2645.jpg
/home/pi/Desktop/images/30102025/07/14/image_30102025_07_15_00_3687.jpg
/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_03_2661.jpg
/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_06_2960.jpg
/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_12_3552.jpg
/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_15_2779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391757021","1391757020","1391757025","1391757028","1391757022","1391757018"],"photo_ids_order":["1391757018","1391757020","1391757021","1391757022","1391757025","1391757028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3dd41b50ee9d9090e4b6de8e5747be21.jpg","text":"TemporaryFile(/tmp/multipartBody9665652218345225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040825117,"filename":"image_30102025_07_15_03_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/2/dcc11e4280cd3d1e1472462679e09239.jpg","text":"TemporaryFile(/tmp/multipartBody6280537937538003106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040825117,"filename":"image_30102025_07_15_00_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/2/a458273088171047b5f39be6ac1ee21b.jpg","text":"TemporaryFile(/tmp/multipartBody848755512939608904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040825117,"filename":"image_30102025_07_15_12_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/2/410fe742ab092487e5cd085cb4d4bccd.jpg","text":"TemporaryFile(/tmp/multipartBody8049923699704772391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040825117,"filename":"image_30102025_07_15_15_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/2/651d02f0a9b51c0a9c00c48b31b6c484.jpg","text":"TemporaryFile(/tmp/multipartBody6387639667262437312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040825117,"filename":"image_30102025_07_15_06_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/2/b7edd6671b75f0ab2a9416b4b5c0ca10.jpg","text":"TemporaryFile(/tmp/multipartBody5529033952417021763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040825117,"filename":"image_30102025_07_14_57_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391757021","file1":"1391757020","file0":"1391757018","file4":"1391757025","file5":"1391757028","file3":"1391757022"},"map_files_photo_id_array":[{"photo_id":"1391757028","filename":"file5"},{"photo_id":"1391757021","filename":"file2"},{"photo_id":"1391757025","filename":"file4"},{"photo_id":"1391757020","filename":"file1"},{"photo_id":"1391757018","filename":"file0"},{"photo_id":"1391757022","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391757021":["hashtag1","hashtag2"]},{"1391757020":["hashtag1","hashtag2"]},{"1391757025":["hashtag1","hashtag2"]},{"1391757028":["hashtag1","hashtag2"]},{"1391757022":["hashtag1","hashtag2"]},{"1391757018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391757021, 1391757020, 1391757025, 1391757028, 1391757022, 1391757018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96038103103638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 00:46:42.526227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/15/image_30102025_07_15_18_2739.jpg', '/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_21_3675.jpg', '/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_24_2731.jpg', '/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_27_2613.jpg', '/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_30_3680.jpg', '/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_33_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/07/15/image_30102025_07_15_18_2739.jpg
/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_21_3675.jpg
/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_24_2731.jpg
/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_27_2613.jpg
/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_30_3680.jpg
/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_33_2782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391757048","1391757053","1391757041","1391757052","1391757051","1391757045"],"photo_ids_order":["1391757041","1391757045","1391757048","1391757051","1391757052","1391757053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/85f3dcfdb5f722406d8be433b4c8445c.jpg","text":"TemporaryFile(/tmp/multipartBody235388486394797517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040863660,"filename":"image_30102025_07_15_24_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/2/329499cd9d929b60cf407519de018735.jpg","text":"TemporaryFile(/tmp/multipartBody605200203757560238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040863660,"filename":"image_30102025_07_15_33_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/2/8cb6850dd2df9cf4ad6ade6ecae4e988.jpg","text":"TemporaryFile(/tmp/multipartBody7932539555431301881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040863660,"filename":"image_30102025_07_15_18_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/2/39ad64f2492e7c65b2e1ce10f01191d2.jpg","text":"TemporaryFile(/tmp/multipartBody3605327298321926688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040863660,"filename":"image_30102025_07_15_30_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/2/276c6f674798aafc2acbbe602cc8bb4e.jpg","text":"TemporaryFile(/tmp/multipartBody3110869990517058954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040863660,"filename":"image_30102025_07_15_27_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/2/99fb936078ac08f2bb513859ed501e67.jpg","text":"TemporaryFile(/tmp/multipartBody599788094041311231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040863660,"filename":"image_30102025_07_15_21_3675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391757048","file1":"1391757045","file0":"1391757041","file4":"1391757052","file5":"1391757053","file3":"1391757051"},"map_files_photo_id_array":[{"photo_id":"1391757053","filename":"file5"},{"photo_id":"1391757048","filename":"file2"},{"photo_id":"1391757052","filename":"file4"},{"photo_id":"1391757045","filename":"file1"},{"photo_id":"1391757041","filename":"file0"},{"photo_id":"1391757051","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391757048":["hashtag1","hashtag2"]},{"1391757053":["hashtag1","hashtag2"]},{"1391757041":["hashtag1","hashtag2"]},{"1391757052":["hashtag1","hashtag2"]},{"1391757051":["hashtag1","hashtag2"]},{"1391757045":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391757048, 1391757053, 1391757041, 1391757052, 1391757051, 1391757045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.531346559524536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:47:22.780241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/15/image_30102025_07_15_36_2836.jpg', '/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_39_2670.jpg', '/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_42_3714.jpg', '/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_45_2641.jpg', '/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_48_2734.jpg', '/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_51_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/07/15/image_30102025_07_15_36_2836.jpg
/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_39_2670.jpg
/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_42_3714.jpg
/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_45_2641.jpg
/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_48_2734.jpg
/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_51_3638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391757062","1391757079","1391757070","1391757081","1391757075","1391757066"],"photo_ids_order":["1391757062","1391757066","1391757070","1391757075","1391757079","1391757081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/debc5210f788df4227616e31495391d0.jpg","text":"TemporaryFile(/tmp/multipartBody4179978691897238171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040905343,"filename":"image_30102025_07_15_36_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/2/9ecedf983869529f36dc4cabcaf30fc5.jpg","text":"TemporaryFile(/tmp/multipartBody4088564030206475757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040905343,"filename":"image_30102025_07_15_48_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/2/05bddf12d64969e934deac36a593b47e.jpg","text":"TemporaryFile(/tmp/multipartBody460063852693070762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040905343,"filename":"image_30102025_07_15_42_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/2/ca0b3dd06ce67f73bb48e14f9e79e065.jpg","text":"TemporaryFile(/tmp/multipartBody8783317215345954810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040905343,"filename":"image_30102025_07_15_51_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/2/6efdd844ccbf9743b93e4fb3fc3a19f6.jpg","text":"TemporaryFile(/tmp/multipartBody4888967973774262988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040905343,"filename":"image_30102025_07_15_45_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/2/9cda42a81433fc1cdd88c84553ea7493.jpg","text":"TemporaryFile(/tmp/multipartBody7016351135101838059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040905343,"filename":"image_30102025_07_15_39_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391757070","file1":"1391757066","file0":"1391757062","file4":"1391757079","file5":"1391757081","file3":"1391757075"},"map_files_photo_id_array":[{"photo_id":"1391757081","filename":"file5"},{"photo_id":"1391757070","filename":"file2"},{"photo_id":"1391757079","filename":"file4"},{"photo_id":"1391757066","filename":"file1"},{"photo_id":"1391757062","filename":"file0"},{"photo_id":"1391757075","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391757062":["hashtag1","hashtag2"]},{"1391757079":["hashtag1","hashtag2"]},{"1391757070":["hashtag1","hashtag2"]},{"1391757081":["hashtag1","hashtag2"]},{"1391757075":["hashtag1","hashtag2"]},{"1391757066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391757062, 1391757079, 1391757070, 1391757081, 1391757075, 1391757066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.753161907196045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 00:48:02.356263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/15/image_30102025_07_15_54_2791.jpg', '/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_57_2559.jpg', '/home/pi/Desktop/images/30102025/07/15/image_30102025_07_16_00_2902.jpg', '/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_02_2752.jpg', '/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_06_3734.jpg', '/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_09_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/07/15/image_30102025_07_15_54_2791.jpg
/home/pi/Desktop/images/30102025/07/15/image_30102025_07_15_57_2559.jpg
/home/pi/Desktop/images/30102025/07/15/image_30102025_07_16_00_2902.jpg
/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_02_2752.jpg
/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_06_3734.jpg
/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_09_2633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391757088","1391757091","1391757085","1391757099","1391757093","1391757096"],"photo_ids_order":["1391757085","1391757088","1391757091","1391757093","1391757096","1391757099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cc83355cd22a3503d95a3c8800175a70.jpg","text":"TemporaryFile(/tmp/multipartBody9121521571707218049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040944384,"filename":"image_30102025_07_15_57_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/2/ac848a6fd68e327adfe865585c8f739f.jpg","text":"TemporaryFile(/tmp/multipartBody2887868254387476164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040944384,"filename":"image_30102025_07_16_00_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/2/bf10429480d3851f040ac363dccb921c.jpg","text":"TemporaryFile(/tmp/multipartBody369586824771000432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040944384,"filename":"image_30102025_07_15_54_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/2/87c76ee6321c40814f61e43704d4a169.jpg","text":"TemporaryFile(/tmp/multipartBody6787796194299402768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040944384,"filename":"image_30102025_07_16_09_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/2/8cd37f8b6098f8fdc11ab4022068cd4e.jpg","text":"TemporaryFile(/tmp/multipartBody5240503192616274701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040944384,"filename":"image_30102025_07_16_02_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/2/57b84dfa28549f130d8d6137c7c37e6b.jpg","text":"TemporaryFile(/tmp/multipartBody8936463702512861963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040944384,"filename":"image_30102025_07_16_06_3734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391757091","file1":"1391757088","file0":"1391757085","file4":"1391757096","file5":"1391757099","file3":"1391757093"},"map_files_photo_id_array":[{"photo_id":"1391757099","filename":"file5"},{"photo_id":"1391757091","filename":"file2"},{"photo_id":"1391757096","filename":"file4"},{"photo_id":"1391757088","filename":"file1"},{"photo_id":"1391757085","filename":"file0"},{"photo_id":"1391757093","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391757088":["hashtag1","hashtag2"]},{"1391757091":["hashtag1","hashtag2"]},{"1391757085":["hashtag1","hashtag2"]},{"1391757099":["hashtag1","hashtag2"]},{"1391757093":["hashtag1","hashtag2"]},{"1391757096":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391757088, 1391757091, 1391757085, 1391757099, 1391757093, 1391757096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5539813041687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 00:48:41.819663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/16/image_30102025_07_16_12_3577.jpg', '/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_15_2605.jpg', '/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_17_2534.jpg', '/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_21_3805.jpg', '/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_24_2613.jpg', '/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_27_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/07/16/image_30102025_07_16_12_3577.jpg
/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_15_2605.jpg
/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_17_2534.jpg
/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_21_3805.jpg
/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_24_2613.jpg
/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_27_2761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391757120","1391757107","1391757112","1391757115","1391757109","1391757117"],"photo_ids_order":["1391757107","1391757109","1391757112","1391757115","1391757117","1391757120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3f8842c569db028af99d4a387d2a3955.jpg","text":"TemporaryFile(/tmp/multipartBody9038875213405193125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040983037,"filename":"image_30102025_07_16_27_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/2/9a8d5f58db20dc80f6857a4b91a5c328.jpg","text":"TemporaryFile(/tmp/multipartBody4032864106213185863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040983037,"filename":"image_30102025_07_16_12_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/2/a98f5d1c05104c48aa6ebe3391647c31.jpg","text":"TemporaryFile(/tmp/multipartBody1976775403094597014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040983037,"filename":"image_30102025_07_16_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/2/c7e06550b57de3b8036e7b1e15389bce.jpg","text":"TemporaryFile(/tmp/multipartBody19827418808678197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040983037,"filename":"image_30102025_07_16_21_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/2/036636e8c4ee492a349aa3a8b316944e.jpg","text":"TemporaryFile(/tmp/multipartBody4079825282472842812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040983037,"filename":"image_30102025_07_16_15_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/2/35e23e99ed8e3ac4f74a6cc2c758702f.jpg","text":"TemporaryFile(/tmp/multipartBody9164033247655253654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762040983037,"filename":"image_30102025_07_16_24_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391757112","file1":"1391757109","file0":"1391757107","file4":"1391757117","file5":"1391757120","file3":"1391757115"},"map_files_photo_id_array":[{"photo_id":"1391757120","filename":"file5"},{"photo_id":"1391757112","filename":"file2"},{"photo_id":"1391757117","filename":"file4"},{"photo_id":"1391757109","filename":"file1"},{"photo_id":"1391757107","filename":"file0"},{"photo_id":"1391757115","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391757120":["hashtag1","hashtag2"]},{"1391757107":["hashtag1","hashtag2"]},{"1391757112":["hashtag1","hashtag2"]},{"1391757115":["hashtag1","hashtag2"]},{"1391757109":["hashtag1","hashtag2"]},{"1391757117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391757120, 1391757107, 1391757112, 1391757115, 1391757109, 1391757117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.152525186538696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:49:21.977039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/16/image_30102025_07_16_30_3580.jpg', '/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_33_2718.jpg', '/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_36_2647.jpg', '/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_38_2777.jpg', '/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_42_3613.jpg', '/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_45_2820.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/16/image_30102025_07_16_30_3580.jpg
/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_33_2718.jpg
/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_36_2647.jpg
/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_38_2777.jpg
/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_42_3613.jpg
/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_45_2820.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.647806167602539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 00:49:41.926518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/16/image_30102025_07_16_30_3580.jpg', '/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_33_2718.jpg', '/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_36_2647.jpg', '/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_38_2777.jpg', '/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_42_3613.jpg', '/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_45_2820.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/16/image_30102025_07_16_30_3580.jpg
/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_33_2718.jpg
/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_36_2647.jpg
/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_38_2777.jpg
/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_42_3613.jpg
/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_45_2820.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391757161","1391757151","1391757168","1391757156","1391757165","1391757144"],"photo_ids_order":["1391757144","1391757151","1391757156","1391757161","1391757165","1391757168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ed44301829f85cf273da1c8d0ba31da3.jpg","text":"TemporaryFile(/tmp/multipartBody3748802203521438626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041042820,"filename":"image_30102025_07_16_38_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/2/c040a0cb853b206f8ee4f7e7cdae4eaf.jpg","text":"TemporaryFile(/tmp/multipartBody89453051060867001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041042820,"filename":"image_30102025_07_16_33_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/2/162075e97e34245f6c2f1b7d7d82aeb7.jpg","text":"TemporaryFile(/tmp/multipartBody8567089320785713339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041042820,"filename":"image_30102025_07_16_45_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/2/5d16c886b7082931470e690cd3a938b0.jpg","text":"TemporaryFile(/tmp/multipartBody1274367865976120931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041042820,"filename":"image_30102025_07_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/2/330e6749000b89716f116bbc20f2143b.jpg","text":"TemporaryFile(/tmp/multipartBody7480715721752179981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041042820,"filename":"image_30102025_07_16_42_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/2/bb61f86b7a5e778c27a78f29242d7297.jpg","text":"TemporaryFile(/tmp/multipartBody8437865055292009355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041042820,"filename":"image_30102025_07_16_30_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391757156","file1":"1391757151","file0":"1391757144","file4":"1391757165","file5":"1391757168","file3":"1391757161"},"map_files_photo_id_array":[{"photo_id":"1391757168","filename":"file5"},{"photo_id":"1391757156","filename":"file2"},{"photo_id":"1391757165","filename":"file4"},{"photo_id":"1391757151","filename":"file1"},{"photo_id":"1391757144","filename":"file0"},{"photo_id":"1391757161","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391757161":["hashtag1","hashtag2"]},{"1391757151":["hashtag1","hashtag2"]},{"1391757168":["hashtag1","hashtag2"]},{"1391757156":["hashtag1","hashtag2"]},{"1391757165":["hashtag1","hashtag2"]},{"1391757144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391757161, 1391757151, 1391757168, 1391757156, 1391757165, 1391757144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.821746826171875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:50:24.763676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/16/image_30102025_07_16_47_2590.jpg', '/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_51_3695.jpg', '/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_54_2800.jpg', '/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_57_2684.jpg', '/home/pi/Desktop/images/30102025/07/16/image_30102025_07_17_00_3586.jpg', '/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_03_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/07/16/image_30102025_07_16_47_2590.jpg
/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_51_3695.jpg
/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_54_2800.jpg
/home/pi/Desktop/images/30102025/07/16/image_30102025_07_16_57_2684.jpg
/home/pi/Desktop/images/30102025/07/16/image_30102025_07_17_00_3586.jpg
/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_03_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":["1391757173","1391757187","1391757181","1391757175","1391757184","1391757178"],"photo_ids_order":["1391757173","1391757175","1391757178","1391757181","1391757184","1391757187"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fe957520ea29329f01f7722a73ba25d4.jpg","text":"TemporaryFile(/tmp/multipartBody8564494871260645853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041087346,"filename":"image_30102025_07_16_47_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/2/a82237e708ccec6a213456d7678bbdc5.jpg","text":"TemporaryFile(/tmp/multipartBody2384598458111312217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041087346,"filename":"image_30102025_07_17_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/2/448e49a3bfcb677e70cb649f24eb17c1.jpg","text":"TemporaryFile(/tmp/multipartBody4794868744786167942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041087346,"filename":"image_30102025_07_16_57_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/2/945d5698fbec3614b1ee5815807129ef.jpg","text":"TemporaryFile(/tmp/multipartBody3094452781815289576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041087346,"filename":"image_30102025_07_16_51_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/2/4da2b8ecb4dfe4e02b8a77d50b052c5d.jpg","text":"TemporaryFile(/tmp/multipartBody8928521956249240816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041087346,"filename":"image_30102025_07_17_00_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/2/3904b3a014c69da7632666a28e054b60.jpg","text":"TemporaryFile(/tmp/multipartBody1884898777110075104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041087346,"filename":"image_30102025_07_16_54_2800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391757178","file1":"1391757175","file0":"1391757173","file4":"1391757184","file5":"1391757187","file3":"1391757181"},"map_files_photo_id_array":[{"photo_id":"1391757187","filename":"file5"},{"photo_id":"1391757178","filename":"file2"},{"photo_id":"1391757184","filename":"file4"},{"photo_id":"1391757175","filename":"file1"},{"photo_id":"1391757173","filename":"file0"},{"photo_id":"1391757181","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391757173":["hashtag1","hashtag2"]},{"1391757187":["hashtag1","hashtag2"]},{"1391757181":["hashtag1","hashtag2"]},{"1391757175":["hashtag1","hashtag2"]},{"1391757184":["hashtag1","hashtag2"]},{"1391757178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391757173, 1391757187, 1391757181, 1391757175, 1391757184, 1391757178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5057737827301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:51:23.425316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/17/image_30102025_07_17_07_4494.jpg', '/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_09_1693.jpg', '/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_12_2610.jpg', '/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_32_20803.jpg', '/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_34_1622.jpg', '/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_36_1610.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/17/image_30102025_07_17_07_4494.jpg
/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_09_1693.jpg
/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_12_2610.jpg
/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_32_20803.jpg
/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_34_1622.jpg
/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_36_1610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391757293","1391757497","1391757455","1391757332","1391757372","1391757414"],"photo_ids_order":["1391757293","1391757332","1391757372","1391757414","1391757455","1391757497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c7b1f13e5ab46883ac82166ff9ea2bc9.jpg","text":"TemporaryFile(/tmp/multipartBody9155023359135017521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041146085,"filename":"image_30102025_07_17_07_4494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cf5b230da34e188fdc7506d69116c6f7.jpg","text":"TemporaryFile(/tmp/multipartBody3738360258599610888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041146085,"filename":"image_30102025_07_17_36_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/2/c63c39c056be44ff6c5ea69501c4413c.jpg","text":"TemporaryFile(/tmp/multipartBody8148618440488307382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041146085,"filename":"image_30102025_07_17_34_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/2/1f9b1ae40277a1c737759a61864cc515.jpg","text":"TemporaryFile(/tmp/multipartBody3937608920933009012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041146085,"filename":"image_30102025_07_17_09_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/2/69fd6746ffa2c66ed0ba54219db617b8.jpg","text":"TemporaryFile(/tmp/multipartBody8564849813348484126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041146085,"filename":"image_30102025_07_17_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/2/981f1b39d2f4c97b10cb6f2ecf2d88c5.jpg","text":"TemporaryFile(/tmp/multipartBody2431504819480970511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041146085,"filename":"image_30102025_07_17_32_20803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391757372","file1":"1391757332","file0":"1391757293","file4":"1391757455","file5":"1391757497","file3":"1391757414"},"map_files_photo_id_array":[{"photo_id":"1391757497","filename":"file5"},{"photo_id":"1391757372","filename":"file2"},{"photo_id":"1391757455","filename":"file4"},{"photo_id":"1391757332","filename":"file1"},{"photo_id":"1391757293","filename":"file0"},{"photo_id":"1391757414","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391757293":["hashtag1","hashtag2"]},{"1391757497":["hashtag1","hashtag2"]},{"1391757455":["hashtag1","hashtag2"]},{"1391757332":["hashtag1","hashtag2"]},{"1391757372":["hashtag1","hashtag2"]},{"1391757414":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391757293, 1391757497, 1391757455, 1391757332, 1391757372, 1391757414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49774122238159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 00:52:03.145325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/17/image_30102025_07_17_39_1610.jpg', '/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_41_1666.jpg', '/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_42_1824.jpg', '/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_44_1724.jpg', '/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_46_1768.jpg', '/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_48_1611.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/17/image_30102025_07_17_39_1610.jpg
/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_41_1666.jpg
/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_42_1824.jpg
/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_44_1724.jpg
/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_46_1768.jpg
/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_48_1611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391757729","1391757767","1391757809","1391757643","1391757852","1391757690"],"photo_ids_order":["1391757643","1391757690","1391757729","1391757767","1391757809","1391757852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/604842d3eda5e2bfd81c47097a70112c.jpg","text":"TemporaryFile(/tmp/multipartBody646878666870614067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041185171,"filename":"image_30102025_07_17_42_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/2/bef1fe1504c19c1768a6298e97da6c16.jpg","text":"TemporaryFile(/tmp/multipartBody61313136048068280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041185171,"filename":"image_30102025_07_17_44_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/2/110c76280591e19c003887f5f2a13ea0.jpg","text":"TemporaryFile(/tmp/multipartBody718009811242734472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041185171,"filename":"image_30102025_07_17_46_1768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c38b81f72078c49547ab34ca10f5b809.jpg","text":"TemporaryFile(/tmp/multipartBody8845881850689423662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041185171,"filename":"image_30102025_07_17_39_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/2/fae1042da470a4d63c95a9c8d5160353.jpg","text":"TemporaryFile(/tmp/multipartBody7037206208094201707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041185171,"filename":"image_30102025_07_17_48_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/2/3baec0b21d8e71b13c83e894069f537e.jpg","text":"TemporaryFile(/tmp/multipartBody5729530543247529913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041185171,"filename":"image_30102025_07_17_41_1666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391757729","file1":"1391757690","file0":"1391757643","file4":"1391757809","file5":"1391757852","file3":"1391757767"},"map_files_photo_id_array":[{"photo_id":"1391757852","filename":"file5"},{"photo_id":"1391757729","filename":"file2"},{"photo_id":"1391757809","filename":"file4"},{"photo_id":"1391757690","filename":"file1"},{"photo_id":"1391757643","filename":"file0"},{"photo_id":"1391757767","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391757729":["hashtag1","hashtag2"]},{"1391757767":["hashtag1","hashtag2"]},{"1391757809":["hashtag1","hashtag2"]},{"1391757643":["hashtag1","hashtag2"]},{"1391757852":["hashtag1","hashtag2"]},{"1391757690":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391757729, 1391757767, 1391757809, 1391757643, 1391757852, 1391757690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79946947097778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 00:52:42.619716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/17/image_30102025_07_17_49_1575.jpg', '/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_51_1597.jpg', '/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_52_1793.jpg', '/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_54_1522.jpg', '/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_57_2751.jpg', '/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_59_2544.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/17/image_30102025_07_17_49_1575.jpg
/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_51_1597.jpg
/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_52_1793.jpg
/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_54_1522.jpg
/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_57_2751.jpg
/home/pi/Desktop/images/30102025/07/17/image_30102025_07_17_59_2544.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391757995","1391758037","1391758207","1391758164","1391758080","1391758122"],"photo_ids_order":["1391757995","1391758037","1391758080","1391758122","1391758164","1391758207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/daf52c87cac8870d35263e90944b0df2.jpg","text":"TemporaryFile(/tmp/multipartBody6711236527656584344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041223690,"filename":"image_30102025_07_17_49_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/2/f46b7d32e85dd882a85da9b0f824fee2.jpg","text":"TemporaryFile(/tmp/multipartBody2639939787750068339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041223690,"filename":"image_30102025_07_17_51_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9b841079634915bbe291ad81dd1b8a52.jpg","text":"TemporaryFile(/tmp/multipartBody4984837799815260952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041223690,"filename":"image_30102025_07_17_59_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/2/6b359e892b1d80ac78abd7f301a5a649.jpg","text":"TemporaryFile(/tmp/multipartBody1770192822262104661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041223690,"filename":"image_30102025_07_17_57_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/2/1fae856cbd2bdf4f5b4be57122e9c2fd.jpg","text":"TemporaryFile(/tmp/multipartBody4258314820001839801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041223690,"filename":"image_30102025_07_17_52_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/2/047aa497dfb5b36038b62607a4891ff6.jpg","text":"TemporaryFile(/tmp/multipartBody341289942972831622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041223690,"filename":"image_30102025_07_17_54_1522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391758080","file1":"1391758037","file0":"1391757995","file4":"1391758164","file5":"1391758207","file3":"1391758122"},"map_files_photo_id_array":[{"photo_id":"1391758207","filename":"file5"},{"photo_id":"1391758080","filename":"file2"},{"photo_id":"1391758164","filename":"file4"},{"photo_id":"1391758037","filename":"file1"},{"photo_id":"1391757995","filename":"file0"},{"photo_id":"1391758122","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391757995":["hashtag1","hashtag2"]},{"1391758037":["hashtag1","hashtag2"]},{"1391758207":["hashtag1","hashtag2"]},{"1391758164":["hashtag1","hashtag2"]},{"1391758080":["hashtag1","hashtag2"]},{"1391758122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391757995, 1391758037, 1391758207, 1391758164, 1391758080, 1391758122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38420748710632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:53:22.733750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/18/image_30102025_07_18_03_3669.jpg', '/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_06_2630.jpg', '/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_08_2579.jpg', '/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_12_3813.jpg', '/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_15_2564.jpg', '/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_17_2785.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/18/image_30102025_07_18_03_3669.jpg
/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_06_2630.jpg
/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_08_2579.jpg
/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_12_3813.jpg
/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_15_2564.jpg
/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_17_2785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391758553","1391758463","1391758510","1391758596","1391758377","1391758419"],"photo_ids_order":["1391758377","1391758419","1391758463","1391758510","1391758553","1391758596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5c5bbdee8325dd0369f5b2a6edf938de.jpg","text":"TemporaryFile(/tmp/multipartBody293649801347511930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041265324,"filename":"image_30102025_07_18_15_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/2/c36d1aadf3b3f30b2fdb84a3ce17c831.jpg","text":"TemporaryFile(/tmp/multipartBody3826844048153517418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041265324,"filename":"image_30102025_07_18_08_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/2/151e3277b30d2992132f933dff5a12dc.jpg","text":"TemporaryFile(/tmp/multipartBody23562053096764207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041265324,"filename":"image_30102025_07_18_12_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/2/8e069362aa3d3234608501ce26321f29.jpg","text":"TemporaryFile(/tmp/multipartBody1811615712622851384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041265324,"filename":"image_30102025_07_18_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/2/0e781599b23235f30abe769ff45c56b8.jpg","text":"TemporaryFile(/tmp/multipartBody5978288971805494173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041265324,"filename":"image_30102025_07_18_03_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/2/ad77d373227fd4d6a1ca0e0c14098dcf.jpg","text":"TemporaryFile(/tmp/multipartBody6442957852222399168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041265324,"filename":"image_30102025_07_18_06_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391758463","file1":"1391758419","file0":"1391758377","file4":"1391758553","file5":"1391758596","file3":"1391758510"},"map_files_photo_id_array":[{"photo_id":"1391758596","filename":"file5"},{"photo_id":"1391758463","filename":"file2"},{"photo_id":"1391758553","filename":"file4"},{"photo_id":"1391758419","filename":"file1"},{"photo_id":"1391758377","filename":"file0"},{"photo_id":"1391758510","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391758553":["hashtag1","hashtag2"]},{"1391758463":["hashtag1","hashtag2"]},{"1391758510":["hashtag1","hashtag2"]},{"1391758596":["hashtag1","hashtag2"]},{"1391758377":["hashtag1","hashtag2"]},{"1391758419":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391758553, 1391758463, 1391758510, 1391758596, 1391758377, 1391758419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82238054275513 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-02 00:54:21.828800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/18/image_30102025_07_18_21_3584.jpg', '/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_24_2686.jpg', '/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_30_3607.jpg', '/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_33_2776.jpg', '/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_35_2686.jpg', '/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_39_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/07/18/image_30102025_07_18_21_3584.jpg
/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_24_2686.jpg
/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_30_3607.jpg
/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_33_2776.jpg
/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_35_2686.jpg
/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_39_3583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391758706","1391758711","1391758705","1391758714","1391758708","1391758702"],"photo_ids_order":["1391758702","1391758705","1391758706","1391758708","1391758711","1391758714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/de1a3dbadf3634d33609e6af975f7a55.jpg","text":"TemporaryFile(/tmp/multipartBody562307202712066635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041324533,"filename":"image_30102025_07_18_30_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/2/fcada367a7ba8757dc98506745f1480b.jpg","text":"TemporaryFile(/tmp/multipartBody6092422568143560974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041324533,"filename":"image_30102025_07_18_35_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/2/bd8173be2526aa97c6256403a865e7e9.jpg","text":"TemporaryFile(/tmp/multipartBody8802179416359214945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041324533,"filename":"image_30102025_07_18_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/2/4ac91dc4bd7675abb1f0d8b45eb4409c.jpg","text":"TemporaryFile(/tmp/multipartBody6965536095910396622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041324533,"filename":"image_30102025_07_18_39_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/2/e24064092eea59cea06438c31f9d32e8.jpg","text":"TemporaryFile(/tmp/multipartBody2616223923489708332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041324533,"filename":"image_30102025_07_18_33_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/2/76ebf7c4432391324f556a54fda58a24.jpg","text":"TemporaryFile(/tmp/multipartBody9196100856950484669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041324533,"filename":"image_30102025_07_18_21_3584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391758706","file1":"1391758705","file0":"1391758702","file4":"1391758711","file5":"1391758714","file3":"1391758708"},"map_files_photo_id_array":[{"photo_id":"1391758714","filename":"file5"},{"photo_id":"1391758706","filename":"file2"},{"photo_id":"1391758711","filename":"file4"},{"photo_id":"1391758705","filename":"file1"},{"photo_id":"1391758702","filename":"file0"},{"photo_id":"1391758708","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391758706":["hashtag1","hashtag2"]},{"1391758711":["hashtag1","hashtag2"]},{"1391758705":["hashtag1","hashtag2"]},{"1391758714":["hashtag1","hashtag2"]},{"1391758708":["hashtag1","hashtag2"]},{"1391758702":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391758706, 1391758711, 1391758705, 1391758714, 1391758708, 1391758702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57008481025696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 00:55:02.783769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/18/image_30102025_07_18_42_2971.jpg', '/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_45_2679.jpg', '/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_47_2616.jpg', '/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_51_3718.jpg', '/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_54_2708.jpg', '/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_56_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/07/18/image_30102025_07_18_42_2971.jpg
/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_45_2679.jpg
/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_47_2616.jpg
/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_51_3718.jpg
/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_54_2708.jpg
/home/pi/Desktop/images/30102025/07/18/image_30102025_07_18_56_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391758730","1391758724","1391758732","1391758746","1391758728","1391758731"],"photo_ids_order":["1391758724","1391758728","1391758730","1391758731","1391758732","1391758746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e9b4fb911aeb99151abd5d9120b05a31.jpg","text":"TemporaryFile(/tmp/multipartBody5698195800233656020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041364890,"filename":"image_30102025_07_18_47_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/2/3d345d801536b28d4a72c26629e4e0b8.jpg","text":"TemporaryFile(/tmp/multipartBody4646126814987639465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041364890,"filename":"image_30102025_07_18_42_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/2/11fbc6d8a1d34943e7afc50cee40ae38.jpg","text":"TemporaryFile(/tmp/multipartBody8535360532902466868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041364890,"filename":"image_30102025_07_18_54_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/2/e25654b0b788cca87054a97f88ccd49e.jpg","text":"TemporaryFile(/tmp/multipartBody3672914982458361757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041364890,"filename":"image_30102025_07_18_56_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/2/877e8f6340c62fc544b7ff377eef73bf.jpg","text":"TemporaryFile(/tmp/multipartBody4710955726667742464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041364890,"filename":"image_30102025_07_18_45_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/2/7f9e0cb3cc5c14a630affa10777e2793.jpg","text":"TemporaryFile(/tmp/multipartBody6176720029214043834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041364890,"filename":"image_30102025_07_18_51_3718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391758730","file1":"1391758728","file0":"1391758724","file4":"1391758732","file5":"1391758746","file3":"1391758731"},"map_files_photo_id_array":[{"photo_id":"1391758746","filename":"file5"},{"photo_id":"1391758730","filename":"file2"},{"photo_id":"1391758732","filename":"file4"},{"photo_id":"1391758728","filename":"file1"},{"photo_id":"1391758724","filename":"file0"},{"photo_id":"1391758731","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391758730":["hashtag1","hashtag2"]},{"1391758724":["hashtag1","hashtag2"]},{"1391758732":["hashtag1","hashtag2"]},{"1391758746":["hashtag1","hashtag2"]},{"1391758728":["hashtag1","hashtag2"]},{"1391758731":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391758730, 1391758724, 1391758732, 1391758746, 1391758728, 1391758731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97157168388367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 00:55:42.130568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/18/image_30102025_07_19_00_3598.jpg', '/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_03_2592.jpg', '/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_08_2666.jpg', '/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_12_3569.jpg', '/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_20_2559.jpg', '/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_23_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/07/18/image_30102025_07_19_00_3598.jpg
/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_03_2592.jpg
/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_08_2666.jpg
/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_12_3569.jpg
/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_20_2559.jpg
/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_23_2598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391758970","1391758928","1391759089","1391758885","1391759011","1391759048"],"photo_ids_order":["1391758885","1391758928","1391758970","1391759011","1391759048","1391759089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b5aa6b1407e42ba8273df498fce29475.jpg","text":"TemporaryFile(/tmp/multipartBody8266945640285255121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041403219,"filename":"image_30102025_07_19_08_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/2/18a7164a2cc1277f31b49750b084acc6.jpg","text":"TemporaryFile(/tmp/multipartBody4021255290074609864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041403219,"filename":"image_30102025_07_19_03_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/2/5d3d3a9fe5b5e5f927a5fd60a0a046ec.jpg","text":"TemporaryFile(/tmp/multipartBody7238379282330808404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041403219,"filename":"image_30102025_07_19_23_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/2/c82ad9829a2da2ea2458de78c58e794c.jpg","text":"TemporaryFile(/tmp/multipartBody2151813693188143251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041403219,"filename":"image_30102025_07_19_00_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/2/dca5d07234cb614faf4762d2989e8474.jpg","text":"TemporaryFile(/tmp/multipartBody3566313015913998174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041403219,"filename":"image_30102025_07_19_12_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/2/0f3d6f380239e4e2c1ba60c31de90569.jpg","text":"TemporaryFile(/tmp/multipartBody2108609253442473378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041403219,"filename":"image_30102025_07_19_20_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391758970","file1":"1391758928","file0":"1391758885","file4":"1391759048","file5":"1391759089","file3":"1391759011"},"map_files_photo_id_array":[{"photo_id":"1391759089","filename":"file5"},{"photo_id":"1391758970","filename":"file2"},{"photo_id":"1391759048","filename":"file4"},{"photo_id":"1391758928","filename":"file1"},{"photo_id":"1391758885","filename":"file0"},{"photo_id":"1391759011","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391758970":["hashtag1","hashtag2"]},{"1391758928":["hashtag1","hashtag2"]},{"1391759089":["hashtag1","hashtag2"]},{"1391758885":["hashtag1","hashtag2"]},{"1391759011":["hashtag1","hashtag2"]},{"1391759048":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391758970, 1391758928, 1391759089, 1391758885, 1391759011, 1391759048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.695154666900635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:56:22.308351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/19/image_30102025_07_19_27_3908.jpg', '/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_30_2687.jpg', '/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_32_2624.jpg', '/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_36_3673.jpg', '/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_39_2811.jpg', '/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_42_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/07/19/image_30102025_07_19_27_3908.jpg
/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_30_2687.jpg
/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_32_2624.jpg
/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_36_3673.jpg
/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_39_2811.jpg
/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_42_2774.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5273277759552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 00:56:42.277149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/19/image_30102025_07_19_27_3908.jpg', '/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_30_2687.jpg', '/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_32_2624.jpg', '/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_36_3673.jpg', '/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_39_2811.jpg', '/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_42_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/07/19/image_30102025_07_19_27_3908.jpg
/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_30_2687.jpg
/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_32_2624.jpg
/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_36_3673.jpg
/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_39_2811.jpg
/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_42_2774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391759293","1391759281","1391759278","1391759305","1391759285","1391759288"],"photo_ids_order":["1391759278","1391759281","1391759285","1391759288","1391759293","1391759305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d1cd5fd6fe376b1bdea466a15c9c7e9b.jpg","text":"TemporaryFile(/tmp/multipartBody9031492976902189084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041463203,"filename":"image_30102025_07_19_39_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/2/ac78016fcb88580db185da51fa191ad0.jpg","text":"TemporaryFile(/tmp/multipartBody4587640755514951443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041463203,"filename":"image_30102025_07_19_30_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/2/56b0d20523f9c8738aed9a6d52b81658.jpg","text":"TemporaryFile(/tmp/multipartBody5466039154290103033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041463203,"filename":"image_30102025_07_19_27_3908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ac5bf3d8a49b5dacf6bb1893a366d24b.jpg","text":"TemporaryFile(/tmp/multipartBody2709701168648120565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041463203,"filename":"image_30102025_07_19_42_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/2/9ab3d6862d9fa409238920a3227ef91b.jpg","text":"TemporaryFile(/tmp/multipartBody1410312810628682713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041463203,"filename":"image_30102025_07_19_32_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/2/019054a1fd87af3ad9cac7895dbf788b.jpg","text":"TemporaryFile(/tmp/multipartBody4113216299636630386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041463203,"filename":"image_30102025_07_19_36_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391759285","file1":"1391759281","file0":"1391759278","file4":"1391759293","file5":"1391759305","file3":"1391759288"},"map_files_photo_id_array":[{"photo_id":"1391759305","filename":"file5"},{"photo_id":"1391759285","filename":"file2"},{"photo_id":"1391759293","filename":"file4"},{"photo_id":"1391759281","filename":"file1"},{"photo_id":"1391759278","filename":"file0"},{"photo_id":"1391759288","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391759293":["hashtag1","hashtag2"]},{"1391759281":["hashtag1","hashtag2"]},{"1391759278":["hashtag1","hashtag2"]},{"1391759305":["hashtag1","hashtag2"]},{"1391759285":["hashtag1","hashtag2"]},{"1391759288":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391759293, 1391759281, 1391759278, 1391759305, 1391759285, 1391759288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67123770713806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 00:57:22.430148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/19/image_30102025_07_19_44_2542.jpg', '/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_48_3542.jpg', '/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_50_2691.jpg', '/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_54_3589.jpg', '/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_57_2569.jpg', '/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_59_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/07/19/image_30102025_07_19_44_2542.jpg
/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_48_3542.jpg
/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_50_2691.jpg
/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_54_3589.jpg
/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_57_2569.jpg
/home/pi/Desktop/images/30102025/07/19/image_30102025_07_19_59_2637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391759417","1391759425","1391759413","1391759422","1391759415","1391759429"],"photo_ids_order":["1391759413","1391759415","1391759417","1391759422","1391759425","1391759429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e33d8e5d385af0195c07a74381a08b24.jpg","text":"TemporaryFile(/tmp/multipartBody6556982055625938304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041505012,"filename":"image_30102025_07_19_50_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/2/432a025adb048745d8fe17540ffc824e.jpg","text":"TemporaryFile(/tmp/multipartBody7325235214260455962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041505012,"filename":"image_30102025_07_19_57_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/2/59af072af4117c9df1a9e2cb4c649bea.jpg","text":"TemporaryFile(/tmp/multipartBody347976060939359807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041505012,"filename":"image_30102025_07_19_44_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/2/2cb6fa11bf9e6257803aba3f2f3411bb.jpg","text":"TemporaryFile(/tmp/multipartBody937365958137018650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041505012,"filename":"image_30102025_07_19_54_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/2/4662e52bcb1fcfea7d9fe2c94c4f1f1a.jpg","text":"TemporaryFile(/tmp/multipartBody6732896724797061174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041505012,"filename":"image_30102025_07_19_48_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/2/00c2d2d7b1bb3316ca30a2edfb630e2d.jpg","text":"TemporaryFile(/tmp/multipartBody955510043455797087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041505012,"filename":"image_30102025_07_19_59_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391759417","file1":"1391759415","file0":"1391759413","file4":"1391759425","file5":"1391759429","file3":"1391759422"},"map_files_photo_id_array":[{"photo_id":"1391759429","filename":"file5"},{"photo_id":"1391759417","filename":"file2"},{"photo_id":"1391759425","filename":"file4"},{"photo_id":"1391759415","filename":"file1"},{"photo_id":"1391759413","filename":"file0"},{"photo_id":"1391759422","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391759417":["hashtag1","hashtag2"]},{"1391759425":["hashtag1","hashtag2"]},{"1391759413":["hashtag1","hashtag2"]},{"1391759422":["hashtag1","hashtag2"]},{"1391759415":["hashtag1","hashtag2"]},{"1391759429":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391759417, 1391759425, 1391759413, 1391759422, 1391759415, 1391759429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53906559944153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 00:59:03.402672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/20/image_30102025_07_20_02_2867.jpg', '/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_06_3666.jpg', '/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_08_2791.jpg', '/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_11_2584.jpg', '/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_15_3592.jpg', '/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_17_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/07/20/image_30102025_07_20_02_2867.jpg
/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_06_3666.jpg
/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_08_2791.jpg
/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_11_2584.jpg
/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_15_3592.jpg
/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_17_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":["1391759449","1391759440","1391759437","1391759446","1391759451","1391759444"],"photo_ids_order":["1391759437","1391759440","1391759444","1391759446","1391759449","1391759451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/124829343057bb1aa7a582c097ad8e24.jpg","text":"TemporaryFile(/tmp/multipartBody2716715112075465682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041605766,"filename":"image_30102025_07_20_15_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/2/e704d630474643592795e1e9b7fbd202.jpg","text":"TemporaryFile(/tmp/multipartBody8129556800302853185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041605766,"filename":"image_30102025_07_20_06_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/2/28642be012b6fb1cca135bc28b6cf1a4.jpg","text":"TemporaryFile(/tmp/multipartBody3161091922911812492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041605766,"filename":"image_30102025_07_20_02_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/2/a427393121fdd8121d7d80b7c092e576.jpg","text":"TemporaryFile(/tmp/multipartBody7050598086948763725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041605766,"filename":"image_30102025_07_20_11_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/2/c1ce0efd8622bf6d707a482761c34f47.jpg","text":"TemporaryFile(/tmp/multipartBody7302693970478945639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041605766,"filename":"image_30102025_07_20_17_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/2/2cc307e40dc5ccf13f305aa7220952ad.jpg","text":"TemporaryFile(/tmp/multipartBody7313920624091361162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041605766,"filename":"image_30102025_07_20_08_2791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391759444","file1":"1391759440","file0":"1391759437","file4":"1391759449","file5":"1391759451","file3":"1391759446"},"map_files_photo_id_array":[{"photo_id":"1391759451","filename":"file5"},{"photo_id":"1391759444","filename":"file2"},{"photo_id":"1391759449","filename":"file4"},{"photo_id":"1391759440","filename":"file1"},{"photo_id":"1391759437","filename":"file0"},{"photo_id":"1391759446","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391759449":["hashtag1","hashtag2"]},{"1391759440":["hashtag1","hashtag2"]},{"1391759437":["hashtag1","hashtag2"]},{"1391759446":["hashtag1","hashtag2"]},{"1391759451":["hashtag1","hashtag2"]},{"1391759444":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391759449, 1391759440, 1391759437, 1391759446, 1391759451, 1391759444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08270502090454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:00:02.306529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/20/image_30102025_07_20_21_3600.jpg', '/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_24_2588.jpg', '/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_26_2663.jpg', '/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_30_3546.jpg', '/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_32_2723.jpg', '/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_35_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/07/20/image_30102025_07_20_21_3600.jpg
/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_24_2588.jpg
/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_26_2663.jpg
/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_30_3546.jpg
/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_32_2723.jpg
/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_35_2598.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.962916612625122 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 01:00:21.884015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/20/image_30102025_07_20_21_3600.jpg', '/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_24_2588.jpg', '/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_26_2663.jpg', '/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_30_3546.jpg', '/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_32_2723.jpg', '/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_35_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/07/20/image_30102025_07_20_21_3600.jpg
/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_24_2588.jpg
/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_26_2663.jpg
/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_30_3546.jpg
/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_32_2723.jpg
/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_35_2598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391759494","1391759490","1391759487","1391759480","1391759483","1391759492"],"photo_ids_order":["1391759480","1391759483","1391759487","1391759490","1391759492","1391759494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/26f1c3b611ec59a9e774ad47c1d70e9d.jpg","text":"TemporaryFile(/tmp/multipartBody4765817761285452443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041684349,"filename":"image_30102025_07_20_35_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/2/f79dab5b48dd57c929f06582f80c9721.jpg","text":"TemporaryFile(/tmp/multipartBody416231203947481794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041684349,"filename":"image_30102025_07_20_30_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/2/10702406e57ec7cf1bc09dd439ad2f3f.jpg","text":"TemporaryFile(/tmp/multipartBody6286184373299230466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041684349,"filename":"image_30102025_07_20_26_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/2/78f688647962199380f98c0547fd9be0.jpg","text":"TemporaryFile(/tmp/multipartBody5021471681981326071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041684349,"filename":"image_30102025_07_20_21_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/2/71d01550ff86766f83a8b40f03d88f33.jpg","text":"TemporaryFile(/tmp/multipartBody422243161728287331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041684349,"filename":"image_30102025_07_20_24_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/2/37b630619a739193126986f275e458ab.jpg","text":"TemporaryFile(/tmp/multipartBody3537479899767555074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041684349,"filename":"image_30102025_07_20_32_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391759487","file1":"1391759483","file0":"1391759480","file4":"1391759492","file5":"1391759494","file3":"1391759490"},"map_files_photo_id_array":[{"photo_id":"1391759494","filename":"file5"},{"photo_id":"1391759487","filename":"file2"},{"photo_id":"1391759492","filename":"file4"},{"photo_id":"1391759483","filename":"file1"},{"photo_id":"1391759480","filename":"file0"},{"photo_id":"1391759490","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391759494":["hashtag1","hashtag2"]},{"1391759490":["hashtag1","hashtag2"]},{"1391759487":["hashtag1","hashtag2"]},{"1391759480":["hashtag1","hashtag2"]},{"1391759483":["hashtag1","hashtag2"]},{"1391759492":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391759494, 1391759490, 1391759487, 1391759480, 1391759483, 1391759492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.111721992492676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:01:02.639750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/20/image_30102025_07_20_39_3807.jpg', '/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_41_2601.jpg', '/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_44_2585.jpg', '/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_48_3638.jpg', '/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_50_2679.jpg', '/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_54_3514.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/20/image_30102025_07_20_39_3807.jpg
/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_41_2601.jpg
/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_44_2585.jpg
/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_48_3638.jpg
/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_50_2679.jpg
/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_54_3514.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391759504","1391759497","1391759506","1391759500","1391759502","1391759507"],"photo_ids_order":["1391759497","1391759500","1391759502","1391759504","1391759506","1391759507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2e72dfb8cd786b98601423f7e48855b6.jpg","text":"TemporaryFile(/tmp/multipartBody6617551443689239017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041724766,"filename":"image_30102025_07_20_48_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/2/52f4110702c71a1a8875625f31bebced.jpg","text":"TemporaryFile(/tmp/multipartBody5044782255612075836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041724766,"filename":"image_30102025_07_20_39_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/2/d6aaad33d169a2bad576e841c25a6021.jpg","text":"TemporaryFile(/tmp/multipartBody6307486942094532912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041724766,"filename":"image_30102025_07_20_50_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/2/96364e5ae82d39a99a983d6462c01d6a.jpg","text":"TemporaryFile(/tmp/multipartBody252575308797708119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041724766,"filename":"image_30102025_07_20_41_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/2/3941dfb4b6a7c5bf1844155d40221138.jpg","text":"TemporaryFile(/tmp/multipartBody1559447089193486582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041724766,"filename":"image_30102025_07_20_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/2/acb87e929c9d042005ca33e910b7a814.jpg","text":"TemporaryFile(/tmp/multipartBody2312689295469920687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041724766,"filename":"image_30102025_07_20_54_3514.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391759502","file1":"1391759500","file0":"1391759497","file4":"1391759506","file5":"1391759507","file3":"1391759504"},"map_files_photo_id_array":[{"photo_id":"1391759507","filename":"file5"},{"photo_id":"1391759502","filename":"file2"},{"photo_id":"1391759506","filename":"file4"},{"photo_id":"1391759500","filename":"file1"},{"photo_id":"1391759497","filename":"file0"},{"photo_id":"1391759504","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391759504":["hashtag1","hashtag2"]},{"1391759497":["hashtag1","hashtag2"]},{"1391759506":["hashtag1","hashtag2"]},{"1391759500":["hashtag1","hashtag2"]},{"1391759502":["hashtag1","hashtag2"]},{"1391759507":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391759504, 1391759497, 1391759506, 1391759500, 1391759502, 1391759507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16563367843628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 01:01:42.047553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/20/image_30102025_07_20_57_2649.jpg', '/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_59_2663.jpg', '/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_03_3557.jpg', '/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_05_2689.jpg', '/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_08_2785.jpg', '/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_11_2850.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/20/image_30102025_07_20_57_2649.jpg
/home/pi/Desktop/images/30102025/07/20/image_30102025_07_20_59_2663.jpg
/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_03_3557.jpg
/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_05_2689.jpg
/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_08_2785.jpg
/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_11_2850.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391759596","1391759722","1391759638","1391759682","1391759763","1391759547"],"photo_ids_order":["1391759547","1391759596","1391759638","1391759682","1391759722","1391759763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7ab090e7e197728deec7bd86dfd2da65.jpg","text":"TemporaryFile(/tmp/multipartBody6640946717057256317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041763094,"filename":"image_30102025_07_20_59_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/2/97a377ae4107ec7fda4460e0a962c591.jpg","text":"TemporaryFile(/tmp/multipartBody1425024019909860969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041763094,"filename":"image_30102025_07_21_08_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/2/65c8b14866db9e3e3666ad38ca0cff43.jpg","text":"TemporaryFile(/tmp/multipartBody3006815227371482854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041763094,"filename":"image_30102025_07_21_03_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/2/f628ad2a1c4bf876ad19e5db664a32f1.jpg","text":"TemporaryFile(/tmp/multipartBody7224476347741226299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041763094,"filename":"image_30102025_07_21_05_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/2/d682cf586aba2d9923ee71f85e951ae7.jpg","text":"TemporaryFile(/tmp/multipartBody7714667702190137781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041763094,"filename":"image_30102025_07_21_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/2/3eddd484e93703de1636be510b8cff78.jpg","text":"TemporaryFile(/tmp/multipartBody1902961218870379839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041763094,"filename":"image_30102025_07_20_57_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391759638","file1":"1391759596","file0":"1391759547","file4":"1391759722","file5":"1391759763","file3":"1391759682"},"map_files_photo_id_array":[{"photo_id":"1391759763","filename":"file5"},{"photo_id":"1391759638","filename":"file2"},{"photo_id":"1391759722","filename":"file4"},{"photo_id":"1391759596","filename":"file1"},{"photo_id":"1391759547","filename":"file0"},{"photo_id":"1391759682","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391759596":["hashtag1","hashtag2"]},{"1391759722":["hashtag1","hashtag2"]},{"1391759638":["hashtag1","hashtag2"]},{"1391759682":["hashtag1","hashtag2"]},{"1391759763":["hashtag1","hashtag2"]},{"1391759547":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391759596, 1391759722, 1391759638, 1391759682, 1391759763, 1391759547)","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.462350368499756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:03:02.709500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/21/image_30102025_07_21_15_3645.jpg', '/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_17_2562.jpg', '/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_20_2611.jpg', '/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_24_3703.jpg', '/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_26_2646.jpg', '/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_29_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/07/21/image_30102025_07_21_15_3645.jpg
/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_17_2562.jpg
/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_20_2611.jpg
/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_24_3703.jpg
/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_26_2646.jpg
/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_29_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":["1391760727","1391761102","1391761058","1391760912","1391760816","1391761007"],"photo_ids_order":["1391760727","1391760816","1391760912","1391761007","1391761058","1391761102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b77f1afef2b042176841e46fbafd6ab8.jpg","text":"TemporaryFile(/tmp/multipartBody5270655228016448755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041847522,"filename":"image_30102025_07_21_15_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/2/510ceaecd40931c6700f0717a9d13170.jpg","text":"TemporaryFile(/tmp/multipartBody6592876261046822128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041847522,"filename":"image_30102025_07_21_29_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/2/c2f3c41b124e28b377178e541be54632.jpg","text":"TemporaryFile(/tmp/multipartBody5072278067589818201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041847522,"filename":"image_30102025_07_21_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/2/e27e3c18f1a6cffbcbfd877f00d9ca66.jpg","text":"TemporaryFile(/tmp/multipartBody7039874052592478210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041847522,"filename":"image_30102025_07_21_20_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/2/3ca26305d0d1e7f64dc95be25bc009cf.jpg","text":"TemporaryFile(/tmp/multipartBody391975771215356524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041847522,"filename":"image_30102025_07_21_17_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/2/00ab02ea66de4d754f49bdf0f5f32672.jpg","text":"TemporaryFile(/tmp/multipartBody1320657068639137861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041847522,"filename":"image_30102025_07_21_24_3703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391760912","file1":"1391760816","file0":"1391760727","file4":"1391761058","file5":"1391761102","file3":"1391761007"},"map_files_photo_id_array":[{"photo_id":"1391761102","filename":"file5"},{"photo_id":"1391760912","filename":"file2"},{"photo_id":"1391761058","filename":"file4"},{"photo_id":"1391760816","filename":"file1"},{"photo_id":"1391760727","filename":"file0"},{"photo_id":"1391761007","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391760727":["hashtag1","hashtag2"]},{"1391761102":["hashtag1","hashtag2"]},{"1391761058":["hashtag1","hashtag2"]},{"1391760912":["hashtag1","hashtag2"]},{"1391760816":["hashtag1","hashtag2"]},{"1391761007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391760727, 1391761102, 1391761058, 1391760912, 1391760816, 1391761007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.7290198802948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:04:03.249507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/21/image_30102025_07_21_33_3782.jpg', '/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_36_2784.jpg', '/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_38_2608.jpg', '/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_42_3632.jpg', '/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_45_2761.jpg', '/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_47_2515.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/21/image_30102025_07_21_33_3782.jpg
/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_36_2784.jpg
/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_38_2608.jpg
/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_42_3632.jpg
/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_45_2761.jpg
/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_47_2515.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391761425","1391761496","1391761499","1391761493","1391761472","1391761382"],"photo_ids_order":["1391761382","1391761425","1391761472","1391761493","1391761496","1391761499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/eb38f5d16c043c47d679781fd325b1b3.jpg","text":"TemporaryFile(/tmp/multipartBody7247338604398340205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041905254,"filename":"image_30102025_07_21_36_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/2/d376994a059817eea663bd1c32de9b49.jpg","text":"TemporaryFile(/tmp/multipartBody8967826240408391130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041905254,"filename":"image_30102025_07_21_45_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/2/c0bead902d4535c8861b06c87469327b.jpg","text":"TemporaryFile(/tmp/multipartBody3918239832438729214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041905254,"filename":"image_30102025_07_21_47_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/2/f7c75b054ce644bd10e8fca31a19f5ed.jpg","text":"TemporaryFile(/tmp/multipartBody7498698059807571411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041905254,"filename":"image_30102025_07_21_42_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/2/8567dcbf0f97323e76c00d9ed23ab82b.jpg","text":"TemporaryFile(/tmp/multipartBody5488251249467248692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041905254,"filename":"image_30102025_07_21_38_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/2/4eb1aef26915033c8a0d97a666faee9f.jpg","text":"TemporaryFile(/tmp/multipartBody1699369956949543996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041905254,"filename":"image_30102025_07_21_33_3782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391761472","file1":"1391761425","file0":"1391761382","file4":"1391761496","file5":"1391761499","file3":"1391761493"},"map_files_photo_id_array":[{"photo_id":"1391761499","filename":"file5"},{"photo_id":"1391761472","filename":"file2"},{"photo_id":"1391761496","filename":"file4"},{"photo_id":"1391761425","filename":"file1"},{"photo_id":"1391761382","filename":"file0"},{"photo_id":"1391761493","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391761425":["hashtag1","hashtag2"]},{"1391761496":["hashtag1","hashtag2"]},{"1391761499":["hashtag1","hashtag2"]},{"1391761493":["hashtag1","hashtag2"]},{"1391761472":["hashtag1","hashtag2"]},{"1391761382":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391761425, 1391761496, 1391761499, 1391761493, 1391761472, 1391761382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83679962158203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:05:03.360131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/21/image_30102025_07_21_50_2792.jpg', '/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_53_3574.jpg', '/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_56_2646.jpg', '/home/pi/Desktop/images/30102025/07/21/image_30102025_07_22_00_3602.jpg', '/home/pi/Desktop/images/30102025/07/22/image_30102025_07_22_02_2695.jpg', '/home/pi/Desktop/images/30102025/07/22/image_30102025_07_22_05_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/07/21/image_30102025_07_21_50_2792.jpg
/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_53_3574.jpg
/home/pi/Desktop/images/30102025/07/21/image_30102025_07_21_56_2646.jpg
/home/pi/Desktop/images/30102025/07/21/image_30102025_07_22_00_3602.jpg
/home/pi/Desktop/images/30102025/07/22/image_30102025_07_22_02_2695.jpg
/home/pi/Desktop/images/30102025/07/22/image_30102025_07_22_05_2616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391762121","1391761827","1391761740","1391762093","1391761911","1391761996"],"photo_ids_order":["1391761740","1391761827","1391761911","1391761996","1391762093","1391762121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/74597aa6600237a87995c354e260cca6.jpg","text":"TemporaryFile(/tmp/multipartBody7119282893868610055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041965271,"filename":"image_30102025_07_22_05_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/2/21c3dbb88f68cd12c3f4c5bf4a68b649.jpg","text":"TemporaryFile(/tmp/multipartBody8472500445600776892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041965271,"filename":"image_30102025_07_21_53_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/2/1d8f5dbe687572cc127ba9f3a525bbeb.jpg","text":"TemporaryFile(/tmp/multipartBody7150639062417551615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041965271,"filename":"image_30102025_07_21_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/2/b1d7c138a43328e2d02a5e2d65c875aa.jpg","text":"TemporaryFile(/tmp/multipartBody4332779723185172176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041965271,"filename":"image_30102025_07_22_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/2/a6f5c5b31ee0991ef2b6f959b468868b.jpg","text":"TemporaryFile(/tmp/multipartBody3856581858151602915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041965271,"filename":"image_30102025_07_21_56_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/2/6ac17a3fc788c9c3946008cb7640e9eb.jpg","text":"TemporaryFile(/tmp/multipartBody6298790816681757317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762041965271,"filename":"image_30102025_07_22_00_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391761911","file1":"1391761827","file0":"1391761740","file4":"1391762093","file5":"1391762121","file3":"1391761996"},"map_files_photo_id_array":[{"photo_id":"1391762121","filename":"file5"},{"photo_id":"1391761911","filename":"file2"},{"photo_id":"1391762093","filename":"file4"},{"photo_id":"1391761827","filename":"file1"},{"photo_id":"1391761740","filename":"file0"},{"photo_id":"1391761996","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762121":["hashtag1","hashtag2"]},{"1391761827":["hashtag1","hashtag2"]},{"1391761740":["hashtag1","hashtag2"]},{"1391762093":["hashtag1","hashtag2"]},{"1391761911":["hashtag1","hashtag2"]},{"1391761996":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762121, 1391761827, 1391761740, 1391762093, 1391761911, 1391761996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.36287188529968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:06:02.205713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/22/image_30102025_07_22_09_3700.jpg', '/home/pi/Desktop/images/30102025/07/22/image_30102025_07_22_11_2700.jpg', '/home/pi/Desktop/images/30102025/07/22/image_30102025_07_22_14_2598.jpg', '/home/pi/Desktop/images/30102025/07/22/image_30102025_07_22_17_2832.jpg', '/home/pi/Desktop/images/30102025/07/22/image_30102025_07_22_21_3676.jpg', '/home/pi/Desktop/images/30102025/07/22/image_30102025_07_22_31_10861.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/22/image_30102025_07_22_09_3700.jpg
/home/pi/Desktop/images/30102025/07/22/image_30102025_07_22_11_2700.jpg
/home/pi/Desktop/images/30102025/07/22/image_30102025_07_22_14_2598.jpg
/home/pi/Desktop/images/30102025/07/22/image_30102025_07_22_17_2832.jpg
/home/pi/Desktop/images/30102025/07/22/image_30102025_07_22_21_3676.jpg
/home/pi/Desktop/images/30102025/07/22/image_30102025_07_22_31_10861.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391762320","1391762316","1391762310","1391762313","1391762307","1391762324"],"photo_ids_order":["1391762307","1391762310","1391762313","1391762316","1391762320","1391762324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d77b794d3d1c051f7c4e97c71fefbe6d.jpg","text":"TemporaryFile(/tmp/multipartBody7303344668528250237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042024083,"filename":"image_30102025_07_22_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/2/35418be37da7a753617e48dcdc2d8d60.jpg","text":"TemporaryFile(/tmp/multipartBody3429458968347640445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042024083,"filename":"image_30102025_07_22_17_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/2/42a54448114b46d280fd58c4411f1eeb.jpg","text":"TemporaryFile(/tmp/multipartBody6197639061485334886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042024083,"filename":"image_30102025_07_22_11_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/2/a1899b9bd1ac1ec56f7b543552efa39f.jpg","text":"TemporaryFile(/tmp/multipartBody3196000050029989187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042024083,"filename":"image_30102025_07_22_14_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/2/222770a1e63161e6a7aed8f275b1dbcf.jpg","text":"TemporaryFile(/tmp/multipartBody6759894662795422371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042024083,"filename":"image_30102025_07_22_09_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/2/d722d70e17e3f6452bae642ddc480eeb.jpg","text":"TemporaryFile(/tmp/multipartBody4012275145564544060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042024083,"filename":"image_30102025_07_22_31_10861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762313","file1":"1391762310","file0":"1391762307","file4":"1391762320","file5":"1391762324","file3":"1391762316"},"map_files_photo_id_array":[{"photo_id":"1391762324","filename":"file5"},{"photo_id":"1391762313","filename":"file2"},{"photo_id":"1391762320","filename":"file4"},{"photo_id":"1391762310","filename":"file1"},{"photo_id":"1391762307","filename":"file0"},{"photo_id":"1391762316","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762320":["hashtag1","hashtag2"]},{"1391762316":["hashtag1","hashtag2"]},{"1391762310":["hashtag1","hashtag2"]},{"1391762313":["hashtag1","hashtag2"]},{"1391762307":["hashtag1","hashtag2"]},{"1391762324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762320, 1391762316, 1391762310, 1391762313, 1391762307, 1391762324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7248113155365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 01:06:41.890580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/22/image_30102025_07_22_33_1607.jpg', '/home/pi/Desktop/images/30102025/07/22/image_30102025_07_22_39_6412.jpg', '/home/pi/Desktop/images/30102025/07/22/image_30102025_07_22_48_8587.jpg', '/home/pi/Desktop/images/30102025/07/22/image_30102025_07_22_54_5959.jpg', '/home/pi/Desktop/images/30102025/07/22/image_30102025_07_22_56_1610.jpg', '/home/pi/Desktop/images/30102025/07/22/image_30102025_07_22_57_1537.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/22/image_30102025_07_22_33_1607.jpg
/home/pi/Desktop/images/30102025/07/22/image_30102025_07_22_39_6412.jpg
/home/pi/Desktop/images/30102025/07/22/image_30102025_07_22_48_8587.jpg
/home/pi/Desktop/images/30102025/07/22/image_30102025_07_22_54_5959.jpg
/home/pi/Desktop/images/30102025/07/22/image_30102025_07_22_56_1610.jpg
/home/pi/Desktop/images/30102025/07/22/image_30102025_07_22_57_1537.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391762350","1391762344","1391762338","1391762347","1391762341","1391762335"],"photo_ids_order":["1391762335","1391762338","1391762341","1391762344","1391762347","1391762350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1e3c40fc81698541d14b4798aa8bb133.jpg","text":"TemporaryFile(/tmp/multipartBody597073020873325848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042062884,"filename":"image_30102025_07_22_57_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/2/64558cbcb940b31a704bb7707990a610.jpg","text":"TemporaryFile(/tmp/multipartBody5729038528157415340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042062884,"filename":"image_30102025_07_22_54_5959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b012120fb5e471fc6672aa8fffe392e7.jpg","text":"TemporaryFile(/tmp/multipartBody9051693483666772559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042062884,"filename":"image_30102025_07_22_39_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/2/88214fa3b14ab5658007a71984a63e3f.jpg","text":"TemporaryFile(/tmp/multipartBody1316447039041338063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042062884,"filename":"image_30102025_07_22_56_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/2/5119ee512544b62840c157dcd007adf8.jpg","text":"TemporaryFile(/tmp/multipartBody3759718771042342609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042062884,"filename":"image_30102025_07_22_48_8587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c763ed8afd10a2243116a0a9c84fd65f.jpg","text":"TemporaryFile(/tmp/multipartBody2770750303920668875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042062884,"filename":"image_30102025_07_22_33_1607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762341","file1":"1391762338","file0":"1391762335","file4":"1391762347","file5":"1391762350","file3":"1391762344"},"map_files_photo_id_array":[{"photo_id":"1391762350","filename":"file5"},{"photo_id":"1391762341","filename":"file2"},{"photo_id":"1391762347","filename":"file4"},{"photo_id":"1391762338","filename":"file1"},{"photo_id":"1391762335","filename":"file0"},{"photo_id":"1391762344","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762350":["hashtag1","hashtag2"]},{"1391762344":["hashtag1","hashtag2"]},{"1391762338":["hashtag1","hashtag2"]},{"1391762347":["hashtag1","hashtag2"]},{"1391762341":["hashtag1","hashtag2"]},{"1391762335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762350, 1391762344, 1391762338, 1391762347, 1391762341, 1391762335)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.411638259887695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 01:07:41.986600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/22/image_30102025_07_22_59_1665.jpg', '/home/pi/Desktop/images/30102025/07/22/image_30102025_07_23_00_1619.jpg', '/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_05_4406.jpg', '/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_07_1784.jpg', '/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_08_1677.jpg', '/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_10_1814.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/22/image_30102025_07_22_59_1665.jpg
/home/pi/Desktop/images/30102025/07/22/image_30102025_07_23_00_1619.jpg
/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_05_4406.jpg
/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_07_1784.jpg
/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_08_1677.jpg
/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_10_1814.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391762367","1391762372","1391762366","1391762375","1391762369","1391762362"],"photo_ids_order":["1391762362","1391762366","1391762367","1391762369","1391762372","1391762375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6208da177b0ff7ed23218254044608d8.jpg","text":"TemporaryFile(/tmp/multipartBody7699900836989291910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042122904,"filename":"image_30102025_07_23_05_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/2/e7101e1cc13af11cefc0bf9312b52271.jpg","text":"TemporaryFile(/tmp/multipartBody7009189679226445121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042122904,"filename":"image_30102025_07_23_08_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/2/d420cce734450e78c82a9165409e81d9.jpg","text":"TemporaryFile(/tmp/multipartBody5418031527566247316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042122904,"filename":"image_30102025_07_23_00_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a7cfb6cedcda4d5268dfe4f375fd273d.jpg","text":"TemporaryFile(/tmp/multipartBody4950601751187520993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042122904,"filename":"image_30102025_07_23_10_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/2/b7943737ac799e94a2e3102e332e38f5.jpg","text":"TemporaryFile(/tmp/multipartBody3118596152386245823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042122904,"filename":"image_30102025_07_23_07_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/2/94283dc7324df0be466a561a3808a6c0.jpg","text":"TemporaryFile(/tmp/multipartBody333620154942831860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042122904,"filename":"image_30102025_07_22_59_1665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762367","file1":"1391762366","file0":"1391762362","file4":"1391762372","file5":"1391762375","file3":"1391762369"},"map_files_photo_id_array":[{"photo_id":"1391762375","filename":"file5"},{"photo_id":"1391762367","filename":"file2"},{"photo_id":"1391762372","filename":"file4"},{"photo_id":"1391762366","filename":"file1"},{"photo_id":"1391762362","filename":"file0"},{"photo_id":"1391762369","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762367":["hashtag1","hashtag2"]},{"1391762372":["hashtag1","hashtag2"]},{"1391762366":["hashtag1","hashtag2"]},{"1391762375":["hashtag1","hashtag2"]},{"1391762369":["hashtag1","hashtag2"]},{"1391762362":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762367, 1391762372, 1391762366, 1391762375, 1391762369, 1391762362)","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 = 1391762367 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_05_4406.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 71.93616533279419 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:09:04.578360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 01:09:23.888829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/23/image_30102025_07_23_12_1553.jpg', '/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_13_1615.jpg', '/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_15_1651.jpg', '/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_18_1748.jpg', '/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_20_1706.jpg', '/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_22_1576.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/23/image_30102025_07_23_12_1553.jpg
/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_13_1615.jpg
/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_15_1651.jpg
/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_18_1748.jpg
/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_20_1706.jpg
/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_22_1576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391762437","1391762431","1391762434","1391762428","1391762441","1391762435"],"photo_ids_order":["1391762428","1391762431","1391762434","1391762435","1391762437","1391762441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/83a7b6ca6bea9044dd39eb3dc2860ffa.jpg","text":"TemporaryFile(/tmp/multipartBody3243608195989569715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042280849,"filename":"image_30102025_07_23_20_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c4214130cd67472c328ddc21f1664504.jpg","text":"TemporaryFile(/tmp/multipartBody8769147455575674770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042280849,"filename":"image_30102025_07_23_13_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/2/6c095b304cfee4cda73741742208fd89.jpg","text":"TemporaryFile(/tmp/multipartBody157062615811676844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042280849,"filename":"image_30102025_07_23_15_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/2/e7d310d0a0c9b59886b6a9de22720f41.jpg","text":"TemporaryFile(/tmp/multipartBody3253465866187871543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042280849,"filename":"image_30102025_07_23_12_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/2/3e779ffbc48bb96fa3dec0bc10f5aa3e.jpg","text":"TemporaryFile(/tmp/multipartBody3701927974586924481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042280849,"filename":"image_30102025_07_23_22_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/2/92a9502de138d3360b6d7a94b46cca82.jpg","text":"TemporaryFile(/tmp/multipartBody6662513903201191483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042280849,"filename":"image_30102025_07_23_18_1748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762434","file1":"1391762431","file0":"1391762428","file4":"1391762437","file5":"1391762441","file3":"1391762435"},"map_files_photo_id_array":[{"photo_id":"1391762441","filename":"file5"},{"photo_id":"1391762434","filename":"file2"},{"photo_id":"1391762437","filename":"file4"},{"photo_id":"1391762431","filename":"file1"},{"photo_id":"1391762428","filename":"file0"},{"photo_id":"1391762435","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762437":["hashtag1","hashtag2"]},{"1391762431":["hashtag1","hashtag2"]},{"1391762434":["hashtag1","hashtag2"]},{"1391762428":["hashtag1","hashtag2"]},{"1391762441":["hashtag1","hashtag2"]},{"1391762435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762437, 1391762431, 1391762434, 1391762428, 1391762441, 1391762435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 92.05844235420227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:11:03.144286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/23/image_30102025_07_23_23_1607.jpg', '/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_26_2663.jpg', '/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_29_3700.jpg', '/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_32_2732.jpg', '/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_35_2632.jpg', '/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_38_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/07/23/image_30102025_07_23_23_1607.jpg
/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_26_2663.jpg
/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_29_3700.jpg
/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_32_2732.jpg
/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_35_2632.jpg
/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_38_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":["1391762457","1391762462","1391762465","1391762459","1391762468","1391762456"],"photo_ids_order":["1391762456","1391762457","1391762459","1391762462","1391762465","1391762468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/74d8f16ac380a8e0bcb653cac3dc8774.jpg","text":"TemporaryFile(/tmp/multipartBody6448067545091135469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042329897,"filename":"image_30102025_07_23_26_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/2/227b5e8be664fa78812f213b4b68c0a7.jpg","text":"TemporaryFile(/tmp/multipartBody3873656745711323259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042329897,"filename":"image_30102025_07_23_32_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/2/f8cd474e8281b94f0fbdb5b24a2f2f1d.jpg","text":"TemporaryFile(/tmp/multipartBody2077561688591887965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042329897,"filename":"image_30102025_07_23_35_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/2/65c143b0f09a3fea3b767546d098322a.jpg","text":"TemporaryFile(/tmp/multipartBody7317001010694202589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042329897,"filename":"image_30102025_07_23_29_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/2/3da14fef902011fd265e9740c1d15fce.jpg","text":"TemporaryFile(/tmp/multipartBody7277783937965135592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042329897,"filename":"image_30102025_07_23_38_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/2/149ec4b7b25f6b728c02901f2d373151.jpg","text":"TemporaryFile(/tmp/multipartBody1298527723132499205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042329897,"filename":"image_30102025_07_23_23_1607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762459","file1":"1391762457","file0":"1391762456","file4":"1391762465","file5":"1391762468","file3":"1391762462"},"map_files_photo_id_array":[{"photo_id":"1391762468","filename":"file5"},{"photo_id":"1391762459","filename":"file2"},{"photo_id":"1391762465","filename":"file4"},{"photo_id":"1391762457","filename":"file1"},{"photo_id":"1391762456","filename":"file0"},{"photo_id":"1391762462","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762457":["hashtag1","hashtag2"]},{"1391762462":["hashtag1","hashtag2"]},{"1391762465":["hashtag1","hashtag2"]},{"1391762459":["hashtag1","hashtag2"]},{"1391762468":["hashtag1","hashtag2"]},{"1391762456":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762457, 1391762462, 1391762465, 1391762459, 1391762468, 1391762456)","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 = 1391762459 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_29_3700.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 61.95651197433472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 01:12:22.676983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/23/image_30102025_07_23_41_2541.jpg', '/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_44_2663.jpg', '/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_47_3630.jpg', '/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_50_2681.jpg', '/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_53_2698.jpg', '/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_56_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/07/23/image_30102025_07_23_41_2541.jpg
/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_44_2663.jpg
/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_47_3630.jpg
/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_50_2681.jpg
/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_53_2698.jpg
/home/pi/Desktop/images/30102025/07/23/image_30102025_07_23_56_3610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391762493","1391762487","1391762489","1391762483","1391762486","1391762497"],"photo_ids_order":["1391762483","1391762486","1391762487","1391762489","1391762493","1391762497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0cf1a3a02f9f744b93dc186554f61ab0.jpg","text":"TemporaryFile(/tmp/multipartBody5030075498352934466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042404921,"filename":"image_30102025_07_23_53_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/2/1654837a0efcb5bb31fb36b0e9b063a8.jpg","text":"TemporaryFile(/tmp/multipartBody4713311414350491787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042404921,"filename":"image_30102025_07_23_47_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/2/dc744452b3bcf9aedc09bf202242a3ab.jpg","text":"TemporaryFile(/tmp/multipartBody9209816351061876526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042404921,"filename":"image_30102025_07_23_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/2/23b85d2933ee727c07de2912d4b2a1ae.jpg","text":"TemporaryFile(/tmp/multipartBody5216920961949858288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042404921,"filename":"image_30102025_07_23_41_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/2/53fe7e381607026b94e64de5489695c2.jpg","text":"TemporaryFile(/tmp/multipartBody3041049518822288476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042404921,"filename":"image_30102025_07_23_44_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/2/ad0113c3bb1c29e729243928bf656e8b.jpg","text":"TemporaryFile(/tmp/multipartBody7912885730938359928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042404921,"filename":"image_30102025_07_23_56_3610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762487","file1":"1391762486","file0":"1391762483","file4":"1391762493","file5":"1391762497","file3":"1391762489"},"map_files_photo_id_array":[{"photo_id":"1391762497","filename":"file5"},{"photo_id":"1391762487","filename":"file2"},{"photo_id":"1391762493","filename":"file4"},{"photo_id":"1391762486","filename":"file1"},{"photo_id":"1391762483","filename":"file0"},{"photo_id":"1391762489","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762493":["hashtag1","hashtag2"]},{"1391762487":["hashtag1","hashtag2"]},{"1391762489":["hashtag1","hashtag2"]},{"1391762483":["hashtag1","hashtag2"]},{"1391762486":["hashtag1","hashtag2"]},{"1391762497":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762493, 1391762487, 1391762489, 1391762483, 1391762486, 1391762497)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.63098478317261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 01:13:21.941842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/23/image_30102025_07_23_59_2556.jpg', '/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_02_2828.jpg', '/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_05_3784.jpg', '/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_08_2595.jpg', '/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_11_2665.jpg', '/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_14_3669.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/23/image_30102025_07_23_59_2556.jpg
/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_02_2828.jpg
/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_05_3784.jpg
/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_08_2595.jpg
/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_11_2665.jpg
/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_14_3669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391762524","1391762518","1391762527","1391762521","1391762514","1391762511"],"photo_ids_order":["1391762511","1391762514","1391762518","1391762521","1391762524","1391762527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/123be6f1c798823b99e98519a83bfa3e.jpg","text":"TemporaryFile(/tmp/multipartBody2936741193054846422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042464241,"filename":"image_30102025_07_24_11_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/2/737d09c2d7f66c7b57279cc20b366813.jpg","text":"TemporaryFile(/tmp/multipartBody5121235372186494909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042464241,"filename":"image_30102025_07_24_05_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/2/78c5faee91cd4375a5f99027a135620e.jpg","text":"TemporaryFile(/tmp/multipartBody2091671373620526570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042464241,"filename":"image_30102025_07_24_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/2/1d2735cba2f836391dca1d96179b67bf.jpg","text":"TemporaryFile(/tmp/multipartBody7087195525424294160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042464241,"filename":"image_30102025_07_24_08_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/2/f4b11ced4f2ad375119a648f4093a9e2.jpg","text":"TemporaryFile(/tmp/multipartBody770068841489648301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042464241,"filename":"image_30102025_07_24_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/2/09f2b44997f29a5f8f179e247a537623.jpg","text":"TemporaryFile(/tmp/multipartBody2176253589367543891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042464241,"filename":"image_30102025_07_23_59_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762518","file1":"1391762514","file0":"1391762511","file4":"1391762524","file5":"1391762527","file3":"1391762521"},"map_files_photo_id_array":[{"photo_id":"1391762527","filename":"file5"},{"photo_id":"1391762518","filename":"file2"},{"photo_id":"1391762524","filename":"file4"},{"photo_id":"1391762514","filename":"file1"},{"photo_id":"1391762511","filename":"file0"},{"photo_id":"1391762521","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762524":["hashtag1","hashtag2"]},{"1391762518":["hashtag1","hashtag2"]},{"1391762527":["hashtag1","hashtag2"]},{"1391762521":["hashtag1","hashtag2"]},{"1391762514":["hashtag1","hashtag2"]},{"1391762511":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762524, 1391762518, 1391762527, 1391762521, 1391762514, 1391762511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20756268501282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:14:02.933148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/24/image_30102025_07_24_17_2645.jpg', '/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_20_2658.jpg', '/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_23_3645.jpg', '/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_26_2753.jpg', '/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_29_2673.jpg', '/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_32_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/07/24/image_30102025_07_24_17_2645.jpg
/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_20_2658.jpg
/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_23_3645.jpg
/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_26_2753.jpg
/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_29_2673.jpg
/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_32_3657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391762542","1391762535","1391762544","1391762538","1391762546","1391762549"],"photo_ids_order":["1391762535","1391762538","1391762542","1391762544","1391762546","1391762549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a219699bc3963c3fe85f21aa3e484f16.jpg","text":"TemporaryFile(/tmp/multipartBody5094595219472677962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042505064,"filename":"image_30102025_07_24_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/2/80cc9c87d618e3d26030da007d30611f.jpg","text":"TemporaryFile(/tmp/multipartBody3570094028186391885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042505064,"filename":"image_30102025_07_24_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/2/9286b2d1d9cc97c25016367698ba21b4.jpg","text":"TemporaryFile(/tmp/multipartBody172440913661765028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042505064,"filename":"image_30102025_07_24_26_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/2/7fa6e40ce7d706ccd4da116c4d092225.jpg","text":"TemporaryFile(/tmp/multipartBody6033373390798343747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042505064,"filename":"image_30102025_07_24_20_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/2/546109daa106145ff877da901052a46b.jpg","text":"TemporaryFile(/tmp/multipartBody3651019195471298202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042505064,"filename":"image_30102025_07_24_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/2/3e52fd5e4524f0008d312ed95ec76035.jpg","text":"TemporaryFile(/tmp/multipartBody317085358128433140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042505064,"filename":"image_30102025_07_24_32_3657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762542","file1":"1391762538","file0":"1391762535","file4":"1391762546","file5":"1391762549","file3":"1391762544"},"map_files_photo_id_array":[{"photo_id":"1391762549","filename":"file5"},{"photo_id":"1391762542","filename":"file2"},{"photo_id":"1391762546","filename":"file4"},{"photo_id":"1391762538","filename":"file1"},{"photo_id":"1391762535","filename":"file0"},{"photo_id":"1391762544","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762542":["hashtag1","hashtag2"]},{"1391762535":["hashtag1","hashtag2"]},{"1391762544":["hashtag1","hashtag2"]},{"1391762538":["hashtag1","hashtag2"]},{"1391762546":["hashtag1","hashtag2"]},{"1391762549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762542, 1391762535, 1391762544, 1391762538, 1391762546, 1391762549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05811285972595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 01:14:42.269663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/24/image_30102025_07_24_35_2592.jpg', '/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_38_2703.jpg', '/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_41_2841.jpg', '/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_44_3693.jpg', '/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_47_2711.jpg', '/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_51_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/07/24/image_30102025_07_24_35_2592.jpg
/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_38_2703.jpg
/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_41_2841.jpg
/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_44_3693.jpg
/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_47_2711.jpg
/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_51_3555.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391762577","1391762562","1391762570","1391762573","1391762572","1391762566"],"photo_ids_order":["1391762562","1391762566","1391762570","1391762572","1391762573","1391762577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/82b85c5bdc68b2abc1b6875b477384f0.jpg","text":"TemporaryFile(/tmp/multipartBody6228028283054989672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042543317,"filename":"image_30102025_07_24_51_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/2/c045569b561e7995b38e1594fc94ef4d.jpg","text":"TemporaryFile(/tmp/multipartBody1490561576424245217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042543317,"filename":"image_30102025_07_24_35_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/2/10d825f449b65a11144a29e5741368fc.jpg","text":"TemporaryFile(/tmp/multipartBody4219794481587608542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042543317,"filename":"image_30102025_07_24_41_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/2/926181573cf27d93d06221b902921f2c.jpg","text":"TemporaryFile(/tmp/multipartBody1542458646476498806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042543317,"filename":"image_30102025_07_24_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/2/cda57a196f7dc9c816e2c16873bb7f64.jpg","text":"TemporaryFile(/tmp/multipartBody7519490820554888437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042543317,"filename":"image_30102025_07_24_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/2/e9ff22f4b46d1ac6fb2140bd055c894e.jpg","text":"TemporaryFile(/tmp/multipartBody3090152517235435260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042543317,"filename":"image_30102025_07_24_38_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762570","file1":"1391762566","file0":"1391762562","file4":"1391762573","file5":"1391762577","file3":"1391762572"},"map_files_photo_id_array":[{"photo_id":"1391762577","filename":"file5"},{"photo_id":"1391762570","filename":"file2"},{"photo_id":"1391762573","filename":"file4"},{"photo_id":"1391762566","filename":"file1"},{"photo_id":"1391762562","filename":"file0"},{"photo_id":"1391762572","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762577":["hashtag1","hashtag2"]},{"1391762562":["hashtag1","hashtag2"]},{"1391762570":["hashtag1","hashtag2"]},{"1391762573":["hashtag1","hashtag2"]},{"1391762572":["hashtag1","hashtag2"]},{"1391762566":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762577, 1391762562, 1391762570, 1391762573, 1391762572, 1391762566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72622323036194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 01:15:22.423665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/24/image_30102025_07_24_53_2692.jpg', '/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_56_2850.jpg', '/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_59_2571.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_02_3491.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_05_2733.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_08_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/07/24/image_30102025_07_24_53_2692.jpg
/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_56_2850.jpg
/home/pi/Desktop/images/30102025/07/24/image_30102025_07_24_59_2571.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_02_3491.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_05_2733.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_08_2659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391762595","1391762592","1391762586","1391762589","1391762599","1391762590"],"photo_ids_order":["1391762586","1391762589","1391762590","1391762592","1391762595","1391762599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c4a03edea333704b2c29742686f3d449.jpg","text":"TemporaryFile(/tmp/multipartBody2532612181138384058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042585023,"filename":"image_30102025_07_25_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/2/c8d9760f00b6759cc99ac53969354cc3.jpg","text":"TemporaryFile(/tmp/multipartBody1689114701374256332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042585023,"filename":"image_30102025_07_25_02_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/2/9c88686d43b050a98c06e3eb927349e5.jpg","text":"TemporaryFile(/tmp/multipartBody2860959412522009931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042585023,"filename":"image_30102025_07_24_53_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/2/d8ebb673e0808684902a7981250fc645.jpg","text":"TemporaryFile(/tmp/multipartBody4480048671686497503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042585023,"filename":"image_30102025_07_24_56_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/2/497df8198d7492ae23683c38c354baa9.jpg","text":"TemporaryFile(/tmp/multipartBody6513460260328813958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042585023,"filename":"image_30102025_07_25_08_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/2/18da8bea0798e5ba1177bdc6ebcaa6a1.jpg","text":"TemporaryFile(/tmp/multipartBody1255016719251827286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042585023,"filename":"image_30102025_07_24_59_2571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762590","file1":"1391762589","file0":"1391762586","file4":"1391762595","file5":"1391762599","file3":"1391762592"},"map_files_photo_id_array":[{"photo_id":"1391762599","filename":"file5"},{"photo_id":"1391762590","filename":"file2"},{"photo_id":"1391762595","filename":"file4"},{"photo_id":"1391762589","filename":"file1"},{"photo_id":"1391762586","filename":"file0"},{"photo_id":"1391762592","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762595":["hashtag1","hashtag2"]},{"1391762592":["hashtag1","hashtag2"]},{"1391762586":["hashtag1","hashtag2"]},{"1391762589":["hashtag1","hashtag2"]},{"1391762599":["hashtag1","hashtag2"]},{"1391762590":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762595, 1391762592, 1391762586, 1391762589, 1391762599, 1391762590)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 53.12449908256531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 01:16:22.573282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 01:16:42.531593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/25/image_30102025_07_25_11_3806.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_14_2770.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_17_2648.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_20_2803.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_23_3661.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_26_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/07/25/image_30102025_07_25_11_3806.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_14_2770.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_17_2648.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_20_2803.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_23_3661.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_26_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391762635","1391762629","1391762632","1391762631","1391762624","1391762627"],"photo_ids_order":["1391762624","1391762627","1391762629","1391762631","1391762632","1391762635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/af519a2f9782f36492c5b80b5c24a0b3.jpg","text":"TemporaryFile(/tmp/multipartBody1319602002738105569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042663452,"filename":"image_30102025_07_25_26_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/2/41a91ade8b4fb17c45836b11c7f54fb6.jpg","text":"TemporaryFile(/tmp/multipartBody6068811031416399353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042663452,"filename":"image_30102025_07_25_17_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/2/6dd1a538afd7f8e7b12c746fee5f8e7a.jpg","text":"TemporaryFile(/tmp/multipartBody1294535443278947604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042663452,"filename":"image_30102025_07_25_23_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/2/3bce4b0ff2a04148396bc7fda642a76c.jpg","text":"TemporaryFile(/tmp/multipartBody1626319452803812098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042663452,"filename":"image_30102025_07_25_20_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/2/b36029d5e5ee419aec62c3e9d7e191c2.jpg","text":"TemporaryFile(/tmp/multipartBody8606845645754945036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042663452,"filename":"image_30102025_07_25_11_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/2/57b623505fd98bd10b81dac7a47c0f2f.jpg","text":"TemporaryFile(/tmp/multipartBody3894833559024839645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042663452,"filename":"image_30102025_07_25_14_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762629","file1":"1391762627","file0":"1391762624","file4":"1391762632","file5":"1391762635","file3":"1391762631"},"map_files_photo_id_array":[{"photo_id":"1391762635","filename":"file5"},{"photo_id":"1391762629","filename":"file2"},{"photo_id":"1391762632","filename":"file4"},{"photo_id":"1391762627","filename":"file1"},{"photo_id":"1391762624","filename":"file0"},{"photo_id":"1391762631","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762635":["hashtag1","hashtag2"]},{"1391762629":["hashtag1","hashtag2"]},{"1391762632":["hashtag1","hashtag2"]},{"1391762631":["hashtag1","hashtag2"]},{"1391762624":["hashtag1","hashtag2"]},{"1391762627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762635, 1391762629, 1391762632, 1391762631, 1391762624, 1391762627)","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 = 1391762629 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_17_2648.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 55.80877447128296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 01:17:42.917163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/25/image_30102025_07_25_29_2665.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_32_3703.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_35_2655.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_38_2780.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_41_3676.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_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/07/25/image_30102025_07_25_29_2665.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_32_3703.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_35_2655.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_38_2780.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_41_3676.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_44_2726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391762662","1391762659","1391762650","1391762655","1391762669","1391762665"],"photo_ids_order":["1391762650","1391762655","1391762659","1391762662","1391762665","1391762669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4ecef9723c5a4034434233ffa9162e27.jpg","text":"TemporaryFile(/tmp/multipartBody4101428211769014067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042726876,"filename":"image_30102025_07_25_38_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/2/6914b7622d0619017d92354271073102.jpg","text":"TemporaryFile(/tmp/multipartBody2049366274781961177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042726876,"filename":"image_30102025_07_25_35_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/2/a57ff37d46beaf4e222e70abd80e0518.jpg","text":"TemporaryFile(/tmp/multipartBody7172216283007964220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042726876,"filename":"image_30102025_07_25_29_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/2/cd77434a295d4d6f123e2adbe141e922.jpg","text":"TemporaryFile(/tmp/multipartBody2765695011463554296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042726876,"filename":"image_30102025_07_25_32_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/2/692991f02fcbf746a092001c67ab70d8.jpg","text":"TemporaryFile(/tmp/multipartBody4542489819706371426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042726876,"filename":"image_30102025_07_25_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/2/0df82223bfcdd575ed4d42c5c8bd1f57.jpg","text":"TemporaryFile(/tmp/multipartBody7870569173574147278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042726876,"filename":"image_30102025_07_25_41_3676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762659","file1":"1391762655","file0":"1391762650","file4":"1391762665","file5":"1391762669","file3":"1391762662"},"map_files_photo_id_array":[{"photo_id":"1391762669","filename":"file5"},{"photo_id":"1391762659","filename":"file2"},{"photo_id":"1391762665","filename":"file4"},{"photo_id":"1391762655","filename":"file1"},{"photo_id":"1391762650","filename":"file0"},{"photo_id":"1391762662","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762662":["hashtag1","hashtag2"]},{"1391762659":["hashtag1","hashtag2"]},{"1391762650":["hashtag1","hashtag2"]},{"1391762655":["hashtag1","hashtag2"]},{"1391762669":["hashtag1","hashtag2"]},{"1391762665":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762662, 1391762659, 1391762650, 1391762655, 1391762669, 1391762665)","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 = 1391762659 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_35_2655.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391762659 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_35_2655.jpg";
uploaded 6 photos
time to upload: 68.22740936279297 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:19:02.553691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT 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=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 01:19:21.651979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/25/image_30102025_07_25_29_2665.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_32_3703.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_35_2655.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_38_2780.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_41_3676.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_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/07/25/image_30102025_07_25_29_2665.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_32_3703.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_35_2655.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_38_2780.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_41_3676.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_44_2726.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.007343769073486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 01:19:42.548269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/25/image_30102025_07_25_29_2665.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_32_3703.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_35_2655.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_38_2780.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_41_3676.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_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/07/25/image_30102025_07_25_29_2665.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_32_3703.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_35_2655.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_38_2780.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_41_3676.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_44_2726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391762722","1391762716","1391762712","1391762724","1391762706","1391762720"],"photo_ids_order":["1391762706","1391762712","1391762716","1391762720","1391762722","1391762724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/97a7618fe4cbb1a36b8cf5cc3c0ca5a4.jpg","text":"TemporaryFile(/tmp/multipartBody1907938631703160387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042843378,"filename":"image_30102025_07_25_41_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/2/086b54c7397afc4e164d05382eed7216.jpg","text":"TemporaryFile(/tmp/multipartBody8964129756273508065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042843378,"filename":"image_30102025_07_25_35_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/2/1ae97d1fac2a42eae2cb053409c235ab.jpg","text":"TemporaryFile(/tmp/multipartBody6139201017723344423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042843378,"filename":"image_30102025_07_25_32_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/2/4a3c9b2c8e1fbcb1c4ae70a0b090ec4e.jpg","text":"TemporaryFile(/tmp/multipartBody7096172053361135070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042843378,"filename":"image_30102025_07_25_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/2/478dc95974892e818b52c5aa426754a0.jpg","text":"TemporaryFile(/tmp/multipartBody9072823730903347437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042843378,"filename":"image_30102025_07_25_29_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/2/3f4a607851336698d66afb154709b841.jpg","text":"TemporaryFile(/tmp/multipartBody9030239210177100470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042843378,"filename":"image_30102025_07_25_38_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762716","file1":"1391762712","file0":"1391762706","file4":"1391762722","file5":"1391762724","file3":"1391762720"},"map_files_photo_id_array":[{"photo_id":"1391762724","filename":"file5"},{"photo_id":"1391762716","filename":"file2"},{"photo_id":"1391762722","filename":"file4"},{"photo_id":"1391762712","filename":"file1"},{"photo_id":"1391762706","filename":"file0"},{"photo_id":"1391762720","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762722":["hashtag1","hashtag2"]},{"1391762716":["hashtag1","hashtag2"]},{"1391762712":["hashtag1","hashtag2"]},{"1391762724":["hashtag1","hashtag2"]},{"1391762706":["hashtag1","hashtag2"]},{"1391762720":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762722, 1391762716, 1391762712, 1391762724, 1391762706, 1391762720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.188939571380615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 01:20:22.849858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/25/image_30102025_07_25_47_2763.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_49_2576.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_53_3717.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_56_2738.jpg', '/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_59_2843.jpg', '/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_05_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/07/25/image_30102025_07_25_47_2763.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_49_2576.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_53_3717.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_56_2738.jpg
/home/pi/Desktop/images/30102025/07/25/image_30102025_07_25_59_2843.jpg
/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_05_3608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391762734","1391762728","1391762731","1391762739","1391762742","1391762736"],"photo_ids_order":["1391762728","1391762731","1391762734","1391762736","1391762739","1391762742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2f34b327679838bf056682e3961bb213.jpg","text":"TemporaryFile(/tmp/multipartBody2091426035828878705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042885603,"filename":"image_30102025_07_25_53_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/2/215ca65cc2a874626e7dae77943839c6.jpg","text":"TemporaryFile(/tmp/multipartBody498257290610070394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042885603,"filename":"image_30102025_07_25_47_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/2/867473f86038f10bf0e024dd0718f42a.jpg","text":"TemporaryFile(/tmp/multipartBody3962808834568356219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042885603,"filename":"image_30102025_07_25_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/2/ca58e5b0188221c43b651ecab2a79b86.jpg","text":"TemporaryFile(/tmp/multipartBody6809410581902762427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042885603,"filename":"image_30102025_07_25_59_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/2/74f53ba896c56aaf15f29e359265d69f.jpg","text":"TemporaryFile(/tmp/multipartBody4350826599354519463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042885603,"filename":"image_30102025_07_26_05_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/2/532d083dae8e6d838d81a8980a09fb6d.jpg","text":"TemporaryFile(/tmp/multipartBody7626880260917366629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042885603,"filename":"image_30102025_07_25_56_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762734","file1":"1391762731","file0":"1391762728","file4":"1391762739","file5":"1391762742","file3":"1391762736"},"map_files_photo_id_array":[{"photo_id":"1391762742","filename":"file5"},{"photo_id":"1391762734","filename":"file2"},{"photo_id":"1391762739","filename":"file4"},{"photo_id":"1391762731","filename":"file1"},{"photo_id":"1391762728","filename":"file0"},{"photo_id":"1391762736","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762734":["hashtag1","hashtag2"]},{"1391762728":["hashtag1","hashtag2"]},{"1391762731":["hashtag1","hashtag2"]},{"1391762739":["hashtag1","hashtag2"]},{"1391762742":["hashtag1","hashtag2"]},{"1391762736":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762734, 1391762728, 1391762731, 1391762739, 1391762742, 1391762736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50520944595337 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:21:02.770710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/26/image_30102025_07_26_10_5394.jpg', '/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_12_1835.jpg', '/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_14_1679.jpg', '/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_17_2680.jpg', '/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_19_2801.jpg', '/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_23_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/07/26/image_30102025_07_26_10_5394.jpg
/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_12_1835.jpg
/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_14_1679.jpg
/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_17_2680.jpg
/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_19_2801.jpg
/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_23_3667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391762757","1391762766","1391762760","1391762753","1391762762","1391762764"],"photo_ids_order":["1391762753","1391762757","1391762760","1391762762","1391762764","1391762766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/01ab4284f36a1b29d8d71db7f1efb35a.jpg","text":"TemporaryFile(/tmp/multipartBody2900116769655679179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042926111,"filename":"image_30102025_07_26_12_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/2/e2575a3a0387927efe79a80008bea63d.jpg","text":"TemporaryFile(/tmp/multipartBody8944545953342919607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042926111,"filename":"image_30102025_07_26_23_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/2/2a34a76ede93c1c0d217e7bdead15ca7.jpg","text":"TemporaryFile(/tmp/multipartBody8616314769509313705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042926111,"filename":"image_30102025_07_26_14_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/2/9ce24e9608012b8dcc53e3b8e9b7601a.jpg","text":"TemporaryFile(/tmp/multipartBody3821661482970745907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042926111,"filename":"image_30102025_07_26_10_5394.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/74b16e6fb863368118be4ff67221caf2.jpg","text":"TemporaryFile(/tmp/multipartBody7846984900061511611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042926111,"filename":"image_30102025_07_26_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/2/0852909ef4e59defbb171054b88ae1a9.jpg","text":"TemporaryFile(/tmp/multipartBody6912369106547613897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042926111,"filename":"image_30102025_07_26_19_2801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762760","file1":"1391762757","file0":"1391762753","file4":"1391762764","file5":"1391762766","file3":"1391762762"},"map_files_photo_id_array":[{"photo_id":"1391762766","filename":"file5"},{"photo_id":"1391762760","filename":"file2"},{"photo_id":"1391762764","filename":"file4"},{"photo_id":"1391762757","filename":"file1"},{"photo_id":"1391762753","filename":"file0"},{"photo_id":"1391762762","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762757":["hashtag1","hashtag2"]},{"1391762766":["hashtag1","hashtag2"]},{"1391762760":["hashtag1","hashtag2"]},{"1391762753":["hashtag1","hashtag2"]},{"1391762762":["hashtag1","hashtag2"]},{"1391762764":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762757, 1391762766, 1391762760, 1391762753, 1391762762, 1391762764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31417775154114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 01:21:42.065596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/26/image_30102025_07_26_26_2687.jpg', '/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_29_2727.jpg', '/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_32_3659.jpg', '/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_35_2606.jpg', '/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_37_2569.jpg', '/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_41_3822.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/26/image_30102025_07_26_26_2687.jpg
/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_29_2727.jpg
/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_32_3659.jpg
/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_35_2606.jpg
/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_37_2569.jpg
/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_41_3822.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391762775","1391762780","1391762777","1391762782","1391762779","1391762773"],"photo_ids_order":["1391762773","1391762775","1391762777","1391762779","1391762780","1391762782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0c5b36772de25e7d72a62ca6168085cc.jpg","text":"TemporaryFile(/tmp/multipartBody2499754520183103504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042963142,"filename":"image_30102025_07_26_29_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/2/c1eaffa61110f4a91c96060dc19e8022.jpg","text":"TemporaryFile(/tmp/multipartBody4903205561296980675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042963142,"filename":"image_30102025_07_26_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/2/1a7717ebf08bd0d85835235392594d13.jpg","text":"TemporaryFile(/tmp/multipartBody2741702028803307379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042963142,"filename":"image_30102025_07_26_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/2/714977a0dffeaf7574e9197c74e19415.jpg","text":"TemporaryFile(/tmp/multipartBody6404841131285956402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042963142,"filename":"image_30102025_07_26_41_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/2/13d974926e5e38e7b2f2de2da0742c55.jpg","text":"TemporaryFile(/tmp/multipartBody5352603016143237553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042963142,"filename":"image_30102025_07_26_35_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/2/bb4ace7d14de872b856472b270a6c16e.jpg","text":"TemporaryFile(/tmp/multipartBody2441377125695002748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762042963142,"filename":"image_30102025_07_26_26_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762777","file1":"1391762775","file0":"1391762773","file4":"1391762780","file5":"1391762782","file3":"1391762779"},"map_files_photo_id_array":[{"photo_id":"1391762782","filename":"file5"},{"photo_id":"1391762777","filename":"file2"},{"photo_id":"1391762780","filename":"file4"},{"photo_id":"1391762775","filename":"file1"},{"photo_id":"1391762773","filename":"file0"},{"photo_id":"1391762779","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762775":["hashtag1","hashtag2"]},{"1391762780":["hashtag1","hashtag2"]},{"1391762777":["hashtag1","hashtag2"]},{"1391762782":["hashtag1","hashtag2"]},{"1391762779":["hashtag1","hashtag2"]},{"1391762773":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762775, 1391762780, 1391762777, 1391762782, 1391762779, 1391762773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45993638038635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 01:22:22.231376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/26/image_30102025_07_26_44_2723.jpg', '/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_47_2698.jpg', '/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_50_3545.jpg', '/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_53_2646.jpg', '/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_55_2677.jpg', '/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_59_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/07/26/image_30102025_07_26_44_2723.jpg
/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_47_2698.jpg
/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_50_3545.jpg
/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_53_2646.jpg
/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_55_2677.jpg
/home/pi/Desktop/images/30102025/07/26/image_30102025_07_26_59_3624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391762800","1391762798","1391762802","1391762804","1391762807","1391762794"],"photo_ids_order":["1391762794","1391762798","1391762800","1391762802","1391762804","1391762807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a1d11e5ea58b98543816dd9f9948848b.jpg","text":"TemporaryFile(/tmp/multipartBody3238025396598245033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043004829,"filename":"image_30102025_07_26_50_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/2/42ce8c997831ed65b362eb350079c97c.jpg","text":"TemporaryFile(/tmp/multipartBody3100444126597739267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043004829,"filename":"image_30102025_07_26_47_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/2/a1bd412e31cbf53141d04e9164d3a92a.jpg","text":"TemporaryFile(/tmp/multipartBody8028725856371327441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043004829,"filename":"image_30102025_07_26_53_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/2/72081df7a260b5fe81395ed2e977e4e1.jpg","text":"TemporaryFile(/tmp/multipartBody3485163031830636132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043004829,"filename":"image_30102025_07_26_55_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/2/fac0a02ed9dc96efee3a77200a38d343.jpg","text":"TemporaryFile(/tmp/multipartBody1389817560436651481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043004829,"filename":"image_30102025_07_26_59_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/2/6a3c853d90add1d8a80d6188e3fc0ed1.jpg","text":"TemporaryFile(/tmp/multipartBody4105358274800021614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043004829,"filename":"image_30102025_07_26_44_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762800","file1":"1391762798","file0":"1391762794","file4":"1391762804","file5":"1391762807","file3":"1391762802"},"map_files_photo_id_array":[{"photo_id":"1391762807","filename":"file5"},{"photo_id":"1391762800","filename":"file2"},{"photo_id":"1391762804","filename":"file4"},{"photo_id":"1391762798","filename":"file1"},{"photo_id":"1391762794","filename":"file0"},{"photo_id":"1391762802","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762800":["hashtag1","hashtag2"]},{"1391762798":["hashtag1","hashtag2"]},{"1391762802":["hashtag1","hashtag2"]},{"1391762804":["hashtag1","hashtag2"]},{"1391762807":["hashtag1","hashtag2"]},{"1391762794":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762800, 1391762798, 1391762802, 1391762804, 1391762807, 1391762794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.023444414138794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:23:03.081007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/27/image_30102025_07_27_02_2615.jpg', '/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_04_2663.jpg', '/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_08_3636.jpg', '/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_11_2658.jpg', '/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_13_2695.jpg', '/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_17_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/07/27/image_30102025_07_27_02_2615.jpg
/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_04_2663.jpg
/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_08_3636.jpg
/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_11_2658.jpg
/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_13_2695.jpg
/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_17_3681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391762821","1391762815","1391762824","1391762818","1391762826","1391762813"],"photo_ids_order":["1391762813","1391762815","1391762818","1391762821","1391762824","1391762826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0ce9190b120bd3f98bcadb160528ac0d.jpg","text":"TemporaryFile(/tmp/multipartBody2578317580874858774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043045166,"filename":"image_30102025_07_27_11_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/2/2eaa6c0effc845506364a77899dcc407.jpg","text":"TemporaryFile(/tmp/multipartBody2653932534534725214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043045166,"filename":"image_30102025_07_27_04_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/2/465b741a91d2fd2ed037cb354bf2a8f9.jpg","text":"TemporaryFile(/tmp/multipartBody1280285757731127716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043045166,"filename":"image_30102025_07_27_13_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/2/acabf504304a167ab0d663a82795d4db.jpg","text":"TemporaryFile(/tmp/multipartBody2987607851383127068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043045166,"filename":"image_30102025_07_27_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/2/17d6fed6f6cb14bd092352275b45e21e.jpg","text":"TemporaryFile(/tmp/multipartBody8172604953955267506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043045166,"filename":"image_30102025_07_27_17_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/2/f1cdc7a9158c2c09d3f51db01ae3617e.jpg","text":"TemporaryFile(/tmp/multipartBody6163802214372467197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043045166,"filename":"image_30102025_07_27_02_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762818","file1":"1391762815","file0":"1391762813","file4":"1391762824","file5":"1391762826","file3":"1391762821"},"map_files_photo_id_array":[{"photo_id":"1391762826","filename":"file5"},{"photo_id":"1391762818","filename":"file2"},{"photo_id":"1391762824","filename":"file4"},{"photo_id":"1391762815","filename":"file1"},{"photo_id":"1391762813","filename":"file0"},{"photo_id":"1391762821","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762821":["hashtag1","hashtag2"]},{"1391762815":["hashtag1","hashtag2"]},{"1391762824":["hashtag1","hashtag2"]},{"1391762818":["hashtag1","hashtag2"]},{"1391762826":["hashtag1","hashtag2"]},{"1391762813":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762821, 1391762815, 1391762824, 1391762818, 1391762826, 1391762813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.781944274902344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 01:23:42.378793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/27/image_30102025_07_27_20_2571.jpg', '/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_22_2773.jpg', '/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_26_3736.jpg', '/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_29_2640.jpg', '/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_31_2628.jpg', '/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_35_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/07/27/image_30102025_07_27_20_2571.jpg
/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_22_2773.jpg
/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_26_3736.jpg
/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_29_2640.jpg
/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_31_2628.jpg
/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_35_3732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391762839","1391762844","1391762835","1391762852","1391762855","1391762849"],"photo_ids_order":["1391762835","1391762839","1391762844","1391762849","1391762852","1391762855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d08ae761749e69eb81871accae9d0cc2.jpg","text":"TemporaryFile(/tmp/multipartBody7033939670901719961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043083438,"filename":"image_30102025_07_27_22_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/2/9f09cead208cf3b091b81a4bc2d95975.jpg","text":"TemporaryFile(/tmp/multipartBody6786316795646332637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043083438,"filename":"image_30102025_07_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/2/36308690e89f6b51a39803a45469b304.jpg","text":"TemporaryFile(/tmp/multipartBody1150199383018165360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043083438,"filename":"image_30102025_07_27_20_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/2/3d3da1b990401fe646b8c512f6a62e76.jpg","text":"TemporaryFile(/tmp/multipartBody3099991753010728587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043083438,"filename":"image_30102025_07_27_31_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/2/412371ae09c01456ae5eadc73d367ccf.jpg","text":"TemporaryFile(/tmp/multipartBody8592608530469177858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043083438,"filename":"image_30102025_07_27_35_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/2/7d0674bad447f72a98193f22772c4183.jpg","text":"TemporaryFile(/tmp/multipartBody555740316142358648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043083438,"filename":"image_30102025_07_27_29_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762844","file1":"1391762839","file0":"1391762835","file4":"1391762852","file5":"1391762855","file3":"1391762849"},"map_files_photo_id_array":[{"photo_id":"1391762855","filename":"file5"},{"photo_id":"1391762844","filename":"file2"},{"photo_id":"1391762852","filename":"file4"},{"photo_id":"1391762839","filename":"file1"},{"photo_id":"1391762835","filename":"file0"},{"photo_id":"1391762849","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762839":["hashtag1","hashtag2"]},{"1391762844":["hashtag1","hashtag2"]},{"1391762835":["hashtag1","hashtag2"]},{"1391762852":["hashtag1","hashtag2"]},{"1391762855":["hashtag1","hashtag2"]},{"1391762849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762839, 1391762844, 1391762835, 1391762852, 1391762855, 1391762849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16984796524048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 01:24:22.573375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/27/image_30102025_07_27_38_2575.jpg', '/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_40_2775.jpg', '/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_44_3722.jpg', '/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_47_2700.jpg', '/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_50_2685.jpg', '/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_52_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/07/27/image_30102025_07_27_38_2575.jpg
/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_40_2775.jpg
/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_44_3722.jpg
/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_47_2700.jpg
/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_50_2685.jpg
/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_52_2767.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391762868","1391762859","1391762873","1391762861","1391762864","1391762878"],"photo_ids_order":["1391762859","1391762861","1391762864","1391762868","1391762873","1391762878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3e4bfb9e06ab3bf4970520558613e211.jpg","text":"TemporaryFile(/tmp/multipartBody6701438837248279686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043125170,"filename":"image_30102025_07_27_47_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/2/4abca9ecbf1f234ba5b133b197f3d0ba.jpg","text":"TemporaryFile(/tmp/multipartBody7569568815936121232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043125170,"filename":"image_30102025_07_27_38_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/2/cd4691ea47e12f4fa7e5887e4240515c.jpg","text":"TemporaryFile(/tmp/multipartBody7439688316359728488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043125170,"filename":"image_30102025_07_27_50_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/2/848aea04b3409774dde844bbb438685a.jpg","text":"TemporaryFile(/tmp/multipartBody4520050554754987990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043125170,"filename":"image_30102025_07_27_40_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/2/be52a49e9d18b2ec9536c9ba72053b29.jpg","text":"TemporaryFile(/tmp/multipartBody6256613644032170014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043125170,"filename":"image_30102025_07_27_44_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/2/f5f1843c42c3e1b5810887ab8053ca19.jpg","text":"TemporaryFile(/tmp/multipartBody6167996051745876959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043125170,"filename":"image_30102025_07_27_52_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762864","file1":"1391762861","file0":"1391762859","file4":"1391762873","file5":"1391762878","file3":"1391762868"},"map_files_photo_id_array":[{"photo_id":"1391762878","filename":"file5"},{"photo_id":"1391762864","filename":"file2"},{"photo_id":"1391762873","filename":"file4"},{"photo_id":"1391762861","filename":"file1"},{"photo_id":"1391762859","filename":"file0"},{"photo_id":"1391762868","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762868":["hashtag1","hashtag2"]},{"1391762859":["hashtag1","hashtag2"]},{"1391762873":["hashtag1","hashtag2"]},{"1391762861":["hashtag1","hashtag2"]},{"1391762864":["hashtag1","hashtag2"]},{"1391762878":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762868, 1391762859, 1391762873, 1391762861, 1391762864, 1391762878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12517690658569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:25:03.538522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/27/image_30102025_07_27_56_3623.jpg', '/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_59_2703.jpg', '/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_01_2609.jpg', '/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_05_3690.jpg', '/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_08_2796.jpg', '/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_10_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/07/27/image_30102025_07_27_56_3623.jpg
/home/pi/Desktop/images/30102025/07/27/image_30102025_07_27_59_2703.jpg
/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_01_2609.jpg
/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_05_3690.jpg
/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_08_2796.jpg
/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_10_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":["1391762886","1391762883","1391762897","1391762894","1391762900","1391762890"],"photo_ids_order":["1391762883","1391762886","1391762890","1391762894","1391762897","1391762900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ec9f5c95e5c52a9e1e071aaf963c97fc.jpg","text":"TemporaryFile(/tmp/multipartBody8345692868337385756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043165519,"filename":"image_30102025_07_27_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/2/340ae3ae99de80ace97a86ad8f75e521.jpg","text":"TemporaryFile(/tmp/multipartBody7675326599570005340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043165519,"filename":"image_30102025_07_27_56_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/2/e5148f68c7ae79abf17fe252971700a9.jpg","text":"TemporaryFile(/tmp/multipartBody220127214787708490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043165519,"filename":"image_30102025_07_28_08_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/2/f60e0c30e93b852206339ca9abe0f5d8.jpg","text":"TemporaryFile(/tmp/multipartBody9002656622736070700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043165519,"filename":"image_30102025_07_28_05_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/2/7bb44ec45f6ee8bf2f5f270ec35355b2.jpg","text":"TemporaryFile(/tmp/multipartBody5925266694143808367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043165519,"filename":"image_30102025_07_28_10_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/2/c9a315213f7d0e6a65c6293e632a3110.jpg","text":"TemporaryFile(/tmp/multipartBody2719791498537624338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043165519,"filename":"image_30102025_07_28_01_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762890","file1":"1391762886","file0":"1391762883","file4":"1391762897","file5":"1391762900","file3":"1391762894"},"map_files_photo_id_array":[{"photo_id":"1391762900","filename":"file5"},{"photo_id":"1391762890","filename":"file2"},{"photo_id":"1391762897","filename":"file4"},{"photo_id":"1391762886","filename":"file1"},{"photo_id":"1391762883","filename":"file0"},{"photo_id":"1391762894","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762886":["hashtag1","hashtag2"]},{"1391762883":["hashtag1","hashtag2"]},{"1391762897":["hashtag1","hashtag2"]},{"1391762894":["hashtag1","hashtag2"]},{"1391762900":["hashtag1","hashtag2"]},{"1391762890":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762886, 1391762883, 1391762897, 1391762894, 1391762900, 1391762890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.90409231185913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:26:02.527534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/28/image_30102025_07_28_14_3764.jpg', '/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_17_2581.jpg', '/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_19_2660.jpg', '/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_23_3746.jpg', '/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_26_2575.jpg', '/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_28_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/07/28/image_30102025_07_28_14_3764.jpg
/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_17_2581.jpg
/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_19_2660.jpg
/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_23_3746.jpg
/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_26_2575.jpg
/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_28_2630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391762914","1391762917","1391762919","1391762916","1391762921","1391762924"],"photo_ids_order":["1391762914","1391762916","1391762917","1391762919","1391762921","1391762924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/358ef700c01e222e7bd7117522456dd4.jpg","text":"TemporaryFile(/tmp/multipartBody88680248008874730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043224546,"filename":"image_30102025_07_28_14_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/2/01a4e3c19a5947623dba60ac3f0e81de.jpg","text":"TemporaryFile(/tmp/multipartBody8267930479125020700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043224546,"filename":"image_30102025_07_28_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/2/2c04c4f547f1416354c5d6b500116036.jpg","text":"TemporaryFile(/tmp/multipartBody5142040423505166680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043224546,"filename":"image_30102025_07_28_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/2/52d8c13f4e2af3e7461e69e4d6a79bc9.jpg","text":"TemporaryFile(/tmp/multipartBody3722928178092175725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043224546,"filename":"image_30102025_07_28_17_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/2/33035cb8f2ab3c0a8ec2f29280ff5f92.jpg","text":"TemporaryFile(/tmp/multipartBody922694985193285075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043224546,"filename":"image_30102025_07_28_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/2/e9195acee586f8a3d71bbbdf6a863879.jpg","text":"TemporaryFile(/tmp/multipartBody7348923366612403994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043224546,"filename":"image_30102025_07_28_28_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762917","file1":"1391762916","file0":"1391762914","file4":"1391762921","file5":"1391762924","file3":"1391762919"},"map_files_photo_id_array":[{"photo_id":"1391762924","filename":"file5"},{"photo_id":"1391762917","filename":"file2"},{"photo_id":"1391762921","filename":"file4"},{"photo_id":"1391762916","filename":"file1"},{"photo_id":"1391762914","filename":"file0"},{"photo_id":"1391762919","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762914":["hashtag1","hashtag2"]},{"1391762917":["hashtag1","hashtag2"]},{"1391762919":["hashtag1","hashtag2"]},{"1391762916":["hashtag1","hashtag2"]},{"1391762921":["hashtag1","hashtag2"]},{"1391762924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762914, 1391762917, 1391762919, 1391762916, 1391762921, 1391762924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22684168815613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 01:26:42.074265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/28/image_30102025_07_28_32_3735.jpg', '/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_35_3116.jpg', '/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_38_2692.jpg', '/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_41_2656.jpg', '/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_43_2589.jpg', '/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_47_3647.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/28/image_30102025_07_28_32_3735.jpg
/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_35_3116.jpg
/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_38_2692.jpg
/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_41_2656.jpg
/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_43_2589.jpg
/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_47_3647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391762956","1391762961","1391762940","1391762958","1391762952","1391762946"],"photo_ids_order":["1391762940","1391762946","1391762952","1391762956","1391762958","1391762961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1de12019d5885de043e51322ce782f7e.jpg","text":"TemporaryFile(/tmp/multipartBody8696138877394691418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043263135,"filename":"image_30102025_07_28_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/2/f3ea222746c5d56b7e29fd850f67f44a.jpg","text":"TemporaryFile(/tmp/multipartBody819045604654445821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043263135,"filename":"image_30102025_07_28_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/2/a54b25d505b4b39387825f5d30bdd269.jpg","text":"TemporaryFile(/tmp/multipartBody1469471926801492775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043263135,"filename":"image_30102025_07_28_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/2/f711e30104dea5295bf79353e676e326.jpg","text":"TemporaryFile(/tmp/multipartBody6229359562081738762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043263135,"filename":"image_30102025_07_28_43_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/2/5093e6efe87e0935378d23e52bb05924.jpg","text":"TemporaryFile(/tmp/multipartBody5167322118306890569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043263135,"filename":"image_30102025_07_28_38_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/2/e82a9799f85d33ec50c0ac0907b743e0.jpg","text":"TemporaryFile(/tmp/multipartBody4965735191117700431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043263135,"filename":"image_30102025_07_28_35_3116.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762952","file1":"1391762946","file0":"1391762940","file4":"1391762958","file5":"1391762961","file3":"1391762956"},"map_files_photo_id_array":[{"photo_id":"1391762961","filename":"file5"},{"photo_id":"1391762952","filename":"file2"},{"photo_id":"1391762958","filename":"file4"},{"photo_id":"1391762946","filename":"file1"},{"photo_id":"1391762940","filename":"file0"},{"photo_id":"1391762956","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762956":["hashtag1","hashtag2"]},{"1391762961":["hashtag1","hashtag2"]},{"1391762940":["hashtag1","hashtag2"]},{"1391762958":["hashtag1","hashtag2"]},{"1391762952":["hashtag1","hashtag2"]},{"1391762946":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762956, 1391762961, 1391762940, 1391762958, 1391762952, 1391762946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05491304397583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 01:27:22.223355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/28/image_30102025_07_28_49_2702.jpg', '/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_53_3631.jpg', '/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_56_2621.jpg', '/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_59_2877.jpg', '/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_01_2704.jpg', '/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_05_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/07/28/image_30102025_07_28_49_2702.jpg
/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_53_3631.jpg
/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_56_2621.jpg
/home/pi/Desktop/images/30102025/07/28/image_30102025_07_28_59_2877.jpg
/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_01_2704.jpg
/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_05_3693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391762974","1391762982","1391762976","1391762978","1391762972","1391762975"],"photo_ids_order":["1391762972","1391762974","1391762975","1391762976","1391762978","1391762982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/471f2339b22e210a9905e7aef0fea8ff.jpg","text":"TemporaryFile(/tmp/multipartBody6142062644163169092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043304871,"filename":"image_30102025_07_28_53_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/2/59e3faeec3f13a5f54cf353eb75a0074.jpg","text":"TemporaryFile(/tmp/multipartBody5806850399755242697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043304871,"filename":"image_30102025_07_29_05_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/2/4f190ce6edd45d2bfbe462a9142075c1.jpg","text":"TemporaryFile(/tmp/multipartBody8369307331191003679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043304871,"filename":"image_30102025_07_28_59_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/2/99801ac596093fce790a64de964df67f.jpg","text":"TemporaryFile(/tmp/multipartBody6724839425939592938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043304871,"filename":"image_30102025_07_29_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/2/6fc19f15917296d3116851d806c0b84f.jpg","text":"TemporaryFile(/tmp/multipartBody4774265176193191877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043304871,"filename":"image_30102025_07_28_49_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/2/87bb82034b6cc0c0a53899361bdcb991.jpg","text":"TemporaryFile(/tmp/multipartBody2426028951838675461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043304871,"filename":"image_30102025_07_28_56_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762975","file1":"1391762974","file0":"1391762972","file4":"1391762978","file5":"1391762982","file3":"1391762976"},"map_files_photo_id_array":[{"photo_id":"1391762982","filename":"file5"},{"photo_id":"1391762975","filename":"file2"},{"photo_id":"1391762978","filename":"file4"},{"photo_id":"1391762974","filename":"file1"},{"photo_id":"1391762972","filename":"file0"},{"photo_id":"1391762976","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391762974":["hashtag1","hashtag2"]},{"1391762982":["hashtag1","hashtag2"]},{"1391762976":["hashtag1","hashtag2"]},{"1391762978":["hashtag1","hashtag2"]},{"1391762972":["hashtag1","hashtag2"]},{"1391762975":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391762974, 1391762982, 1391762976, 1391762978, 1391762972, 1391762975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78254318237305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:28:02.950507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/29/image_30102025_07_29_08_2785.jpg', '/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_13_4998.jpg', '/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_14_1643.jpg', '/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_16_1759.jpg', '/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_20_3677.jpg', '/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_23_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/07/29/image_30102025_07_29_08_2785.jpg
/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_13_4998.jpg
/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_14_1643.jpg
/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_16_1759.jpg
/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_20_3677.jpg
/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_23_2664.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":["1391763000","1391762996","1391762993","1391763002","1391763005","1391762998"],"photo_ids_order":["1391762993","1391762996","1391762998","1391763000","1391763002","1391763005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/dd844640f3258e34b04aebf430cace68.jpg","text":"TemporaryFile(/tmp/multipartBody5374073244029340733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043344978,"filename":"image_30102025_07_29_16_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/2/f9101b3a29b4fa86e0911b027b0ff95a.jpg","text":"TemporaryFile(/tmp/multipartBody6233656183823090660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043344978,"filename":"image_30102025_07_29_13_4998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3464e58705427823b4c9a256267f48ee.jpg","text":"TemporaryFile(/tmp/multipartBody2247758763562078286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043344978,"filename":"image_30102025_07_29_08_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/2/e2962fd20e8bdc8fd53b56a31d300cb5.jpg","text":"TemporaryFile(/tmp/multipartBody603311315242616229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043344978,"filename":"image_30102025_07_29_20_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/2/c3d37632e446a890c8f2100c022c3c75.jpg","text":"TemporaryFile(/tmp/multipartBody650208693247912199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043344978,"filename":"image_30102025_07_29_23_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/2/47cc8ea562d8b508549275fafa690630.jpg","text":"TemporaryFile(/tmp/multipartBody8162876262119311762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043344978,"filename":"image_30102025_07_29_14_1643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391762998","file1":"1391762996","file0":"1391762993","file4":"1391763002","file5":"1391763005","file3":"1391763000"},"map_files_photo_id_array":[{"photo_id":"1391763005","filename":"file5"},{"photo_id":"1391762998","filename":"file2"},{"photo_id":"1391763002","filename":"file4"},{"photo_id":"1391762996","filename":"file1"},{"photo_id":"1391762993","filename":"file0"},{"photo_id":"1391763000","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763000":["hashtag1","hashtag2"]},{"1391762996":["hashtag1","hashtag2"]},{"1391762993":["hashtag1","hashtag2"]},{"1391763002":["hashtag1","hashtag2"]},{"1391763005":["hashtag1","hashtag2"]},{"1391762998":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763000, 1391762996, 1391762993, 1391763002, 1391763005, 1391762998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.79873061180115 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-02 01:29:26.383138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/29/image_30102025_07_29_25_2574.jpg', '/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_29_3681.jpg', '/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_32_2843.jpg', '/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_34_2685.jpg', '/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_38_3519.jpg', '/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_40_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/07/29/image_30102025_07_29_25_2574.jpg
/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_29_3681.jpg
/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_32_2843.jpg
/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_34_2685.jpg
/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_38_3519.jpg
/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_40_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":["1391763054","1391763045","1391763059","1391763050","1391763047","1391763041"],"photo_ids_order":["1391763041","1391763045","1391763047","1391763050","1391763054","1391763059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ffed4028a956f4c9dddc7d197dce6d47.jpg","text":"TemporaryFile(/tmp/multipartBody7479030805054729425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043431416,"filename":"image_30102025_07_29_38_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/2/14e5a38f31b3f6712b8eebbed097a995.jpg","text":"TemporaryFile(/tmp/multipartBody3447285203853258037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043431416,"filename":"image_30102025_07_29_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/2/a29f98d2c303f550dc4c84607b6dedc5.jpg","text":"TemporaryFile(/tmp/multipartBody7640301221169053742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043431416,"filename":"image_30102025_07_29_40_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/2/1ea9108290e00bdb700228039e387ca8.jpg","text":"TemporaryFile(/tmp/multipartBody879437801315030207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043431416,"filename":"image_30102025_07_29_34_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/2/230c71ee7c2789851e21b4111930a5ea.jpg","text":"TemporaryFile(/tmp/multipartBody2806700920669215073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043431416,"filename":"image_30102025_07_29_32_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/2/834709b50bb142464141cedc5f461e0f.jpg","text":"TemporaryFile(/tmp/multipartBody8004003466618922741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043431416,"filename":"image_30102025_07_29_25_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763047","file1":"1391763045","file0":"1391763041","file4":"1391763054","file5":"1391763059","file3":"1391763050"},"map_files_photo_id_array":[{"photo_id":"1391763059","filename":"file5"},{"photo_id":"1391763047","filename":"file2"},{"photo_id":"1391763054","filename":"file4"},{"photo_id":"1391763045","filename":"file1"},{"photo_id":"1391763041","filename":"file0"},{"photo_id":"1391763050","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763054":["hashtag1","hashtag2"]},{"1391763045":["hashtag1","hashtag2"]},{"1391763059":["hashtag1","hashtag2"]},{"1391763050":["hashtag1","hashtag2"]},{"1391763047":["hashtag1","hashtag2"]},{"1391763041":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763054, 1391763045, 1391763059, 1391763050, 1391763047, 1391763041)","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 = 1391763047 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_32_2843.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 67.7153913974762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 01:30:42.525067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/29/image_30102025_07_29_43_2733.jpg', '/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_47_3789.jpg', '/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_55_8171.jpg', '/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_57_1696.jpg', '/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_59_1648.jpg', '/home/pi/Desktop/images/30102025/07/29/image_30102025_07_30_00_1678.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/29/image_30102025_07_29_43_2733.jpg
/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_47_3789.jpg
/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_55_8171.jpg
/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_57_1696.jpg
/home/pi/Desktop/images/30102025/07/29/image_30102025_07_29_59_1648.jpg
/home/pi/Desktop/images/30102025/07/29/image_30102025_07_30_00_1678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391763084","1391763096","1391763081","1391763078","1391763088","1391763091"],"photo_ids_order":["1391763078","1391763081","1391763084","1391763088","1391763091","1391763096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/686fc8c1e70defd4b8ae3b4207508675.jpg","text":"TemporaryFile(/tmp/multipartBody1118372050520691071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043503608,"filename":"image_30102025_07_29_55_8171.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/eaf294d1f90b6bba2361be2192133ec6.jpg","text":"TemporaryFile(/tmp/multipartBody6324095409340895255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043503608,"filename":"image_30102025_07_30_00_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ee30ac1e01d5e7bbd553425c7a84d102.jpg","text":"TemporaryFile(/tmp/multipartBody2652546444797441773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043503608,"filename":"image_30102025_07_29_47_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/2/a4354e94bc15ac4fcf57f39e16bd1a51.jpg","text":"TemporaryFile(/tmp/multipartBody819317315231590304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043503608,"filename":"image_30102025_07_29_43_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/2/80d5505702c29c00a9ea9a966ef853f1.jpg","text":"TemporaryFile(/tmp/multipartBody8137534872572254303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043503608,"filename":"image_30102025_07_29_57_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/2/edd3b23cef44a27e0ce39e02ba13d4f7.jpg","text":"TemporaryFile(/tmp/multipartBody5437487158127747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043503608,"filename":"image_30102025_07_29_59_1648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763084","file1":"1391763081","file0":"1391763078","file4":"1391763091","file5":"1391763096","file3":"1391763088"},"map_files_photo_id_array":[{"photo_id":"1391763096","filename":"file5"},{"photo_id":"1391763084","filename":"file2"},{"photo_id":"1391763091","filename":"file4"},{"photo_id":"1391763081","filename":"file1"},{"photo_id":"1391763078","filename":"file0"},{"photo_id":"1391763088","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763084":["hashtag1","hashtag2"]},{"1391763096":["hashtag1","hashtag2"]},{"1391763081":["hashtag1","hashtag2"]},{"1391763078":["hashtag1","hashtag2"]},{"1391763088":["hashtag1","hashtag2"]},{"1391763091":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763084, 1391763096, 1391763081, 1391763078, 1391763088, 1391763091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.683058977127075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 01:31:22.743077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/30/image_30102025_07_30_02_1741.jpg', '/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_05_2895.jpg', '/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_07_2657.jpg', '/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_10_2797.jpg', '/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_13_2687.jpg', '/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_17_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/07/30/image_30102025_07_30_02_1741.jpg
/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_05_2895.jpg
/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_07_2657.jpg
/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_10_2797.jpg
/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_13_2687.jpg
/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_17_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":["1391763102","1391763114","1391763119","1391763110","1391763104","1391763106"],"photo_ids_order":["1391763102","1391763104","1391763106","1391763110","1391763114","1391763119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/aafd40311190d052de6153eca1af025f.jpg","text":"TemporaryFile(/tmp/multipartBody2804465593231798196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043545578,"filename":"image_30102025_07_30_02_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/2/0fd759cb555716b10ed2465bd4420f36.jpg","text":"TemporaryFile(/tmp/multipartBody2846197512590386284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043545578,"filename":"image_30102025_07_30_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/2/664ecf16f7bce7cac11beac4f3c08f71.jpg","text":"TemporaryFile(/tmp/multipartBody7454763644481446477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043545578,"filename":"image_30102025_07_30_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/2/3e047b20fc33abbfd728a4b69e50aa6b.jpg","text":"TemporaryFile(/tmp/multipartBody6378443148363534821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043545578,"filename":"image_30102025_07_30_10_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/2/f6cc7d16afbc1289f9925dcf92f90a0e.jpg","text":"TemporaryFile(/tmp/multipartBody8831377985166491813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043545578,"filename":"image_30102025_07_30_05_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/2/978dc26d66077ab0dd7f39e16cd9edff.jpg","text":"TemporaryFile(/tmp/multipartBody3989120736393195765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043545578,"filename":"image_30102025_07_30_07_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763106","file1":"1391763104","file0":"1391763102","file4":"1391763114","file5":"1391763119","file3":"1391763110"},"map_files_photo_id_array":[{"photo_id":"1391763119","filename":"file5"},{"photo_id":"1391763106","filename":"file2"},{"photo_id":"1391763114","filename":"file4"},{"photo_id":"1391763104","filename":"file1"},{"photo_id":"1391763102","filename":"file0"},{"photo_id":"1391763110","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763102":["hashtag1","hashtag2"]},{"1391763114":["hashtag1","hashtag2"]},{"1391763119":["hashtag1","hashtag2"]},{"1391763110":["hashtag1","hashtag2"]},{"1391763104":["hashtag1","hashtag2"]},{"1391763106":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763102, 1391763114, 1391763119, 1391763110, 1391763104, 1391763106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.987295627593994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 01:32:22.069502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/30/image_30102025_07_30_19_2687.jpg', '/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_23_3639.jpg', '/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_26_2650.jpg', '/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_34_8784.jpg', '/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_36_1603.jpg', '/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_41_4908.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/30/image_30102025_07_30_19_2687.jpg
/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_23_3639.jpg
/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_26_2650.jpg
/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_34_8784.jpg
/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_36_1603.jpg
/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_41_4908.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391763147","1391763141","1391763150","1391763144","1391763136","1391763139"],"photo_ids_order":["1391763136","1391763139","1391763141","1391763144","1391763147","1391763150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/14955ad523cbe3a9413fae18c7bea015.jpg","text":"TemporaryFile(/tmp/multipartBody2277403305994213011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043604830,"filename":"image_30102025_07_30_36_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/2/2fdc39f32738a573b4b5b77f2c9f99ce.jpg","text":"TemporaryFile(/tmp/multipartBody4348998455346646565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043604830,"filename":"image_30102025_07_30_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/2/30b9ddb9e54fab3a55ecc52b08a6f408.jpg","text":"TemporaryFile(/tmp/multipartBody245250266961447774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043604830,"filename":"image_30102025_07_30_41_4908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/605f169c9ae18e2f29f48394e5f141f6.jpg","text":"TemporaryFile(/tmp/multipartBody7194124967849692237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043604830,"filename":"image_30102025_07_30_34_8784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1d4c15c99440113289cb4c97eb9980d1.jpg","text":"TemporaryFile(/tmp/multipartBody4811982454814047500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043604830,"filename":"image_30102025_07_30_19_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/2/7799141a10d554310872f142618b6cc2.jpg","text":"TemporaryFile(/tmp/multipartBody620128843049492380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043604830,"filename":"image_30102025_07_30_23_3639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763141","file1":"1391763139","file0":"1391763136","file4":"1391763147","file5":"1391763150","file3":"1391763144"},"map_files_photo_id_array":[{"photo_id":"1391763150","filename":"file5"},{"photo_id":"1391763141","filename":"file2"},{"photo_id":"1391763147","filename":"file4"},{"photo_id":"1391763139","filename":"file1"},{"photo_id":"1391763136","filename":"file0"},{"photo_id":"1391763144","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763147":["hashtag1","hashtag2"]},{"1391763141":["hashtag1","hashtag2"]},{"1391763150":["hashtag1","hashtag2"]},{"1391763144":["hashtag1","hashtag2"]},{"1391763136":["hashtag1","hashtag2"]},{"1391763139":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763147, 1391763141, 1391763150, 1391763144, 1391763136, 1391763139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.744993925094604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:33:02.884160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/30/image_30102025_07_30_43_1748.jpg', '/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_44_1554.jpg', '/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_46_1651.jpg', '/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_48_1834.jpg', '/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_49_1503.jpg', '/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_53_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/07/30/image_30102025_07_30_43_1748.jpg
/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_44_1554.jpg
/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_46_1651.jpg
/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_48_1834.jpg
/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_49_1503.jpg
/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_53_3660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391763171","1391763165","1391763167","1391763169","1391763160","1391763163"],"photo_ids_order":["1391763160","1391763163","1391763165","1391763167","1391763169","1391763171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1c6090ca48f86f21afe92b11c500b117.jpg","text":"TemporaryFile(/tmp/multipartBody8234406776714746842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043644966,"filename":"image_30102025_07_30_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/2/5e3ed2c2eba88936c11e98d2218daa31.jpg","text":"TemporaryFile(/tmp/multipartBody1157822128571971633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043644966,"filename":"image_30102025_07_30_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/2/34b78f407c8f0fc3f1a1e9fad37e4606.jpg","text":"TemporaryFile(/tmp/multipartBody6718418773913119853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043644966,"filename":"image_30102025_07_30_48_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/2/f44fe55e32cc9d4e0d6e9e8514d549a0.jpg","text":"TemporaryFile(/tmp/multipartBody1405466817644677462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043644966,"filename":"image_30102025_07_30_49_1503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cfc5c2cb2e6755cdb80dbd510457bdbf.jpg","text":"TemporaryFile(/tmp/multipartBody9132757305760389724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043644966,"filename":"image_30102025_07_30_43_1748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/de8f0b959b9b08a818dde01015221d31.jpg","text":"TemporaryFile(/tmp/multipartBody3090682624500361210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043644966,"filename":"image_30102025_07_30_44_1554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763165","file1":"1391763163","file0":"1391763160","file4":"1391763169","file5":"1391763171","file3":"1391763167"},"map_files_photo_id_array":[{"photo_id":"1391763171","filename":"file5"},{"photo_id":"1391763165","filename":"file2"},{"photo_id":"1391763169","filename":"file4"},{"photo_id":"1391763163","filename":"file1"},{"photo_id":"1391763160","filename":"file0"},{"photo_id":"1391763167","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763171":["hashtag1","hashtag2"]},{"1391763165":["hashtag1","hashtag2"]},{"1391763167":["hashtag1","hashtag2"]},{"1391763169":["hashtag1","hashtag2"]},{"1391763160":["hashtag1","hashtag2"]},{"1391763163":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763171, 1391763165, 1391763167, 1391763169, 1391763160, 1391763163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0600152015686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 01:33:42.236601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/30/image_30102025_07_30_55_2637.jpg', '/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_58_2677.jpg', '/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_02_3589.jpg', '/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_04_2830.jpg', '/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_07_2672.jpg', '/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_10_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/07/30/image_30102025_07_30_55_2637.jpg
/home/pi/Desktop/images/30102025/07/30/image_30102025_07_30_58_2677.jpg
/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_02_3589.jpg
/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_04_2830.jpg
/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_07_2672.jpg
/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_10_2702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391763183","1391763192","1391763195","1391763191","1391763179","1391763187"],"photo_ids_order":["1391763179","1391763183","1391763187","1391763191","1391763192","1391763195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c99acbb8eb91d612cdad2047a4e598a0.jpg","text":"TemporaryFile(/tmp/multipartBody2881180592689310220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043683309,"filename":"image_30102025_07_30_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/2/ab85fdcadb8c50f45b68b26d0c4cf82c.jpg","text":"TemporaryFile(/tmp/multipartBody8779445499262758112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043683309,"filename":"image_30102025_07_31_07_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/2/b218395c36bfa5e8a63b3e4d1f6ac84c.jpg","text":"TemporaryFile(/tmp/multipartBody5316687773671705578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043683309,"filename":"image_30102025_07_31_10_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/2/e02a7e37ff29cd99d5278cbaac215acb.jpg","text":"TemporaryFile(/tmp/multipartBody5439411679963108963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043683309,"filename":"image_30102025_07_31_04_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/2/a993023ecb16bea34d96e0a8bde2877a.jpg","text":"TemporaryFile(/tmp/multipartBody6898304214182851221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043683309,"filename":"image_30102025_07_30_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/2/8690ab32fcf94df945e4012a8de512f1.jpg","text":"TemporaryFile(/tmp/multipartBody6034843788801064288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043683309,"filename":"image_30102025_07_31_02_3589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763187","file1":"1391763183","file0":"1391763179","file4":"1391763192","file5":"1391763195","file3":"1391763191"},"map_files_photo_id_array":[{"photo_id":"1391763195","filename":"file5"},{"photo_id":"1391763187","filename":"file2"},{"photo_id":"1391763192","filename":"file4"},{"photo_id":"1391763183","filename":"file1"},{"photo_id":"1391763179","filename":"file0"},{"photo_id":"1391763191","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763183":["hashtag1","hashtag2"]},{"1391763192":["hashtag1","hashtag2"]},{"1391763195":["hashtag1","hashtag2"]},{"1391763191":["hashtag1","hashtag2"]},{"1391763179":["hashtag1","hashtag2"]},{"1391763187":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763183, 1391763192, 1391763195, 1391763191, 1391763179, 1391763187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35023784637451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 01:34:22.397182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/31/image_30102025_07_31_14_3774.jpg', '/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_16_2640.jpg', '/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_19_2704.jpg', '/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_23_3544.jpg', '/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_25_2559.jpg', '/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_28_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/07/31/image_30102025_07_31_14_3774.jpg
/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_16_2640.jpg
/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_19_2704.jpg
/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_23_3544.jpg
/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_25_2559.jpg
/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_28_2782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391763214","1391763204","1391763207","1391763200","1391763217","1391763211"],"photo_ids_order":["1391763200","1391763204","1391763207","1391763211","1391763214","1391763217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/343fabf2aa2d3c2b4c808b7b9c1d8ac5.jpg","text":"TemporaryFile(/tmp/multipartBody2871392816071957207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043724969,"filename":"image_30102025_07_31_25_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/2/0c2af648d608627dda6fe98669335606.jpg","text":"TemporaryFile(/tmp/multipartBody8352475176561308635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043724969,"filename":"image_30102025_07_31_16_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/2/6e311799e500f31d325cc898473645fe.jpg","text":"TemporaryFile(/tmp/multipartBody4378177023311311941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043724969,"filename":"image_30102025_07_31_19_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/2/9765516972ec8e9cc1e9749fb413a2ef.jpg","text":"TemporaryFile(/tmp/multipartBody4566332977836998744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043724969,"filename":"image_30102025_07_31_14_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/2/e72c07b31f9405e368d55c68b53f235e.jpg","text":"TemporaryFile(/tmp/multipartBody1750104259675905891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043724969,"filename":"image_30102025_07_31_28_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/2/73a83abbd8d1b1b9cf3aa4b6075ce972.jpg","text":"TemporaryFile(/tmp/multipartBody4672380418074487277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043724969,"filename":"image_30102025_07_31_23_3544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763207","file1":"1391763204","file0":"1391763200","file4":"1391763214","file5":"1391763217","file3":"1391763211"},"map_files_photo_id_array":[{"photo_id":"1391763217","filename":"file5"},{"photo_id":"1391763207","filename":"file2"},{"photo_id":"1391763214","filename":"file4"},{"photo_id":"1391763204","filename":"file1"},{"photo_id":"1391763200","filename":"file0"},{"photo_id":"1391763211","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763214":["hashtag1","hashtag2"]},{"1391763204":["hashtag1","hashtag2"]},{"1391763207":["hashtag1","hashtag2"]},{"1391763200":["hashtag1","hashtag2"]},{"1391763217":["hashtag1","hashtag2"]},{"1391763211":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763214, 1391763204, 1391763207, 1391763200, 1391763217, 1391763211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90306806564331 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:35:03.353944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/31/image_30102025_07_31_32_3869.jpg', '/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_35_2877.jpg', '/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_44_3695.jpg', '/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_46_2751.jpg', '/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_49_2659.jpg', '/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_53_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/07/31/image_30102025_07_31_32_3869.jpg
/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_35_2877.jpg
/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_44_3695.jpg
/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_46_2751.jpg
/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_49_2659.jpg
/home/pi/Desktop/images/30102025/07/31/image_30102025_07_31_53_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":["1391763234","1391763239","1391763230","1391763227","1391763236","1391763232"],"photo_ids_order":["1391763227","1391763230","1391763232","1391763234","1391763236","1391763239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d1ee4b625fcb9d124a3d52336a094442.jpg","text":"TemporaryFile(/tmp/multipartBody1145535944698037638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043766739,"filename":"image_30102025_07_31_46_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/2/13fe2c300a3643d6d96d5c784b5b19f1.jpg","text":"TemporaryFile(/tmp/multipartBody9193388344508554526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043766739,"filename":"image_30102025_07_31_53_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/2/0a68c6f342b5684ed7cc8812845a2b80.jpg","text":"TemporaryFile(/tmp/multipartBody2596912258826877445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043766739,"filename":"image_30102025_07_31_35_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/2/8c8440d1d250e2d22db96b8a5a48f4fe.jpg","text":"TemporaryFile(/tmp/multipartBody4818225840134583736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043766739,"filename":"image_30102025_07_31_32_3869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/613de5c316ed2513474d02de13da5a8c.jpg","text":"TemporaryFile(/tmp/multipartBody7731640679408784071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043766739,"filename":"image_30102025_07_31_49_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/2/998e5818a5413f6a9ef897947df23273.jpg","text":"TemporaryFile(/tmp/multipartBody5493762250036505271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043766739,"filename":"image_30102025_07_31_44_3695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763232","file1":"1391763230","file0":"1391763227","file4":"1391763236","file5":"1391763239","file3":"1391763234"},"map_files_photo_id_array":[{"photo_id":"1391763239","filename":"file5"},{"photo_id":"1391763232","filename":"file2"},{"photo_id":"1391763236","filename":"file4"},{"photo_id":"1391763230","filename":"file1"},{"photo_id":"1391763227","filename":"file0"},{"photo_id":"1391763234","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763234":["hashtag1","hashtag2"]},{"1391763239":["hashtag1","hashtag2"]},{"1391763230":["hashtag1","hashtag2"]},{"1391763227":["hashtag1","hashtag2"]},{"1391763236":["hashtag1","hashtag2"]},{"1391763232":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763234, 1391763239, 1391763230, 1391763227, 1391763236, 1391763232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.1557936668396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:36:07.611545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/31/image_30102025_07_31_58_2697.jpg', '/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_02_3533.jpg', '/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_04_2753.jpg', '/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_07_2659.jpg', '/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_10_2830.jpg', '/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_14_3787.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/31/image_30102025_07_31_58_2697.jpg
/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_02_3533.jpg
/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_04_2753.jpg
/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_07_2659.jpg
/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_10_2830.jpg
/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_14_3787.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.941967487335205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 01:36:27.173437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/31/image_30102025_07_31_58_2697.jpg', '/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_02_3533.jpg', '/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_04_2753.jpg', '/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_07_2659.jpg', '/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_10_2830.jpg', '/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_14_3787.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/31/image_30102025_07_31_58_2697.jpg
/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_02_3533.jpg
/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_04_2753.jpg
/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_07_2659.jpg
/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_10_2830.jpg
/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_14_3787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391763287","1391763272","1391763280","1391763274","1391763283","1391763277"],"photo_ids_order":["1391763272","1391763274","1391763277","1391763280","1391763283","1391763287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/10e70c4fe82c88dfbdcf43d3411becb5.jpg","text":"TemporaryFile(/tmp/multipartBody4855065239963046572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043849769,"filename":"image_30102025_07_32_14_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a6c8cc2d60f7f31504397b1226899d3d.jpg","text":"TemporaryFile(/tmp/multipartBody4199352772990706226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043849769,"filename":"image_30102025_07_31_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/2/d6d2d89d5ed84172d25ba9393483dc9b.jpg","text":"TemporaryFile(/tmp/multipartBody8043371006118024137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043849769,"filename":"image_30102025_07_32_07_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/2/0c53fe5fdbfb66ea84e5d3ad154ab16f.jpg","text":"TemporaryFile(/tmp/multipartBody6243048529563310140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043849769,"filename":"image_30102025_07_32_02_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/2/e869d45e6bc977f4c493fe92826fae86.jpg","text":"TemporaryFile(/tmp/multipartBody7949145523418392389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043849769,"filename":"image_30102025_07_32_10_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/2/8e9b3dd0275cd4330de3558b596d77e6.jpg","text":"TemporaryFile(/tmp/multipartBody213306726878416450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043849769,"filename":"image_30102025_07_32_04_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763277","file1":"1391763274","file0":"1391763272","file4":"1391763283","file5":"1391763287","file3":"1391763280"},"map_files_photo_id_array":[{"photo_id":"1391763287","filename":"file5"},{"photo_id":"1391763277","filename":"file2"},{"photo_id":"1391763283","filename":"file4"},{"photo_id":"1391763274","filename":"file1"},{"photo_id":"1391763272","filename":"file0"},{"photo_id":"1391763280","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763287":["hashtag1","hashtag2"]},{"1391763272":["hashtag1","hashtag2"]},{"1391763280":["hashtag1","hashtag2"]},{"1391763274":["hashtag1","hashtag2"]},{"1391763283":["hashtag1","hashtag2"]},{"1391763277":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763287, 1391763272, 1391763280, 1391763274, 1391763283, 1391763277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75063180923462 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 01:37:22.449394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/32/image_30102025_07_32_16_2684.jpg', '/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_19_2650.jpg', '/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_23_3692.jpg', '/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_25_2567.jpg', '/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_28_2619.jpg', '/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_31_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/07/32/image_30102025_07_32_16_2684.jpg
/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_19_2650.jpg
/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_23_3692.jpg
/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_25_2567.jpg
/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_28_2619.jpg
/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_31_3578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391763307","1391763301","1391763312","1391763316","1391763319","1391763304"],"photo_ids_order":["1391763301","1391763304","1391763307","1391763312","1391763316","1391763319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3d00497d641391f70f076da0eafba270.jpg","text":"TemporaryFile(/tmp/multipartBody6363111836833428229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043904757,"filename":"image_30102025_07_32_23_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/2/6b53bb89d746fa186910fb5d69da9a46.jpg","text":"TemporaryFile(/tmp/multipartBody2841430457613508468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043904757,"filename":"image_30102025_07_32_16_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/2/ea3fdcbbcc89b22e0300f03805f1a555.jpg","text":"TemporaryFile(/tmp/multipartBody572145866793631736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043904757,"filename":"image_30102025_07_32_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/2/e9553d7e50035ff86d6a3b2b21654ad0.jpg","text":"TemporaryFile(/tmp/multipartBody9035572323664731736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043904757,"filename":"image_30102025_07_32_28_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/2/2bb734cdc91be4b25b49f6a318949b7c.jpg","text":"TemporaryFile(/tmp/multipartBody1964712804903087671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043904757,"filename":"image_30102025_07_32_31_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/2/8150b1e941ea52329227c7e61835b06d.jpg","text":"TemporaryFile(/tmp/multipartBody2317716125571091148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043904757,"filename":"image_30102025_07_32_19_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763307","file1":"1391763304","file0":"1391763301","file4":"1391763316","file5":"1391763319","file3":"1391763312"},"map_files_photo_id_array":[{"photo_id":"1391763319","filename":"file5"},{"photo_id":"1391763307","filename":"file2"},{"photo_id":"1391763316","filename":"file4"},{"photo_id":"1391763304","filename":"file1"},{"photo_id":"1391763301","filename":"file0"},{"photo_id":"1391763312","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763307":["hashtag1","hashtag2"]},{"1391763301":["hashtag1","hashtag2"]},{"1391763312":["hashtag1","hashtag2"]},{"1391763316":["hashtag1","hashtag2"]},{"1391763319":["hashtag1","hashtag2"]},{"1391763304":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763307, 1391763301, 1391763312, 1391763316, 1391763319, 1391763304)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.33706617355347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 01:38:22.655786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/32/image_30102025_07_32_34_2702.jpg', '/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_37_2715.jpg', '/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_40_3694.jpg', '/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_43_2749.jpg', '/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_46_2722.jpg', '/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_50_3680.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/32/image_30102025_07_32_34_2702.jpg
/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_37_2715.jpg
/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_40_3694.jpg
/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_43_2749.jpg
/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_46_2722.jpg
/home/pi/Desktop/images/30102025/07/32/image_30102025_07_32_50_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":["1391763345","1391763333","1391763350","1391763338","1391763341","1391763335"],"photo_ids_order":["1391763333","1391763335","1391763338","1391763341","1391763345","1391763350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d0ed263d4d850d91aba5d785765412d8.jpg","text":"TemporaryFile(/tmp/multipartBody5691553149782515891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043968966,"filename":"image_30102025_07_32_46_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/2/a82e0d6a60a2482869f16453a7709400.jpg","text":"TemporaryFile(/tmp/multipartBody1983501802352941108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043968966,"filename":"image_30102025_07_32_34_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/2/c36bb23f6325f3bf9517299197451faf.jpg","text":"TemporaryFile(/tmp/multipartBody2280359351745247939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043968966,"filename":"image_30102025_07_32_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/2/157a718fc8717f96eaa03bc389a6ff76.jpg","text":"TemporaryFile(/tmp/multipartBody3650934333460403108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043968966,"filename":"image_30102025_07_32_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/2/8e79c94d257e3a77f89c3ed31b72742f.jpg","text":"TemporaryFile(/tmp/multipartBody5564933542602520701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043968966,"filename":"image_30102025_07_32_43_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/2/fa0395fc58b61b88bf4f5a5b950fc8f6.jpg","text":"TemporaryFile(/tmp/multipartBody1034359370615101119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762043968966,"filename":"image_30102025_07_32_37_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763338","file1":"1391763335","file0":"1391763333","file4":"1391763345","file5":"1391763350","file3":"1391763341"},"map_files_photo_id_array":[{"photo_id":"1391763350","filename":"file5"},{"photo_id":"1391763338","filename":"file2"},{"photo_id":"1391763345","filename":"file4"},{"photo_id":"1391763335","filename":"file1"},{"photo_id":"1391763333","filename":"file0"},{"photo_id":"1391763341","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763345":["hashtag1","hashtag2"]},{"1391763333":["hashtag1","hashtag2"]},{"1391763350":["hashtag1","hashtag2"]},{"1391763338":["hashtag1","hashtag2"]},{"1391763341":["hashtag1","hashtag2"]},{"1391763335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763345, 1391763333, 1391763350, 1391763338, 1391763341, 1391763335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.72665858268738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 01:39:24.603896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/33/image_30102025_07_33_01_2598.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_04_2657.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_07_3565.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_10_2669.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_14_3594.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_16_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/07/33/image_30102025_07_33_01_2598.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_04_2657.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_07_3565.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_10_2669.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_14_3594.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_16_2640.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.936920404434204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 01:39:41.902574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/33/image_30102025_07_33_01_2598.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_04_2657.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_07_3565.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_10_2669.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_14_3594.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_16_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/07/33/image_30102025_07_33_01_2598.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_04_2657.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_07_3565.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_10_2669.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_14_3594.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_16_2640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391763381","1391763384","1391763387","1391763392","1391763389","1391763376"],"photo_ids_order":["1391763376","1391763381","1391763384","1391763387","1391763389","1391763392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1069028f5f991593735ced750244327f.jpg","text":"TemporaryFile(/tmp/multipartBody5148028221142873263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044042788,"filename":"image_30102025_07_33_04_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/2/f7d172469010dbdbe34991585f6428bf.jpg","text":"TemporaryFile(/tmp/multipartBody749670271217880331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044042788,"filename":"image_30102025_07_33_07_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/2/a2cd054e1ae1655c5b7d3cd7fd283690.jpg","text":"TemporaryFile(/tmp/multipartBody4913128223786742456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044042788,"filename":"image_30102025_07_33_10_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/2/45f1eb8073461b3a5bea7685783287d4.jpg","text":"TemporaryFile(/tmp/multipartBody9052562797929175413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044042788,"filename":"image_30102025_07_33_16_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/2/42af236cc2ff863a3ddbb721471e76e9.jpg","text":"TemporaryFile(/tmp/multipartBody1563109848971143801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044042788,"filename":"image_30102025_07_33_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/2/7b7eafd8bc94720f3a82e4baa86aa242.jpg","text":"TemporaryFile(/tmp/multipartBody8128971613198300228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044042788,"filename":"image_30102025_07_33_01_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763384","file1":"1391763381","file0":"1391763376","file4":"1391763389","file5":"1391763392","file3":"1391763387"},"map_files_photo_id_array":[{"photo_id":"1391763392","filename":"file5"},{"photo_id":"1391763384","filename":"file2"},{"photo_id":"1391763389","filename":"file4"},{"photo_id":"1391763381","filename":"file1"},{"photo_id":"1391763376","filename":"file0"},{"photo_id":"1391763387","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763381":["hashtag1","hashtag2"]},{"1391763384":["hashtag1","hashtag2"]},{"1391763387":["hashtag1","hashtag2"]},{"1391763392":["hashtag1","hashtag2"]},{"1391763389":["hashtag1","hashtag2"]},{"1391763376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763381, 1391763384, 1391763387, 1391763392, 1391763389, 1391763376)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 51.22684621810913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 01:40:42.157724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/33/image_30102025_07_33_19_2705.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_23_3604.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_25_2634.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_28_2796.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_31_2744.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_34_3703.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/33/image_30102025_07_33_19_2705.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_23_3604.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_25_2634.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_28_2796.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_31_2744.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_34_3703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391763420","1391763414","1391763422","1391763410","1391763416","1391763424"],"photo_ids_order":["1391763410","1391763414","1391763416","1391763420","1391763422","1391763424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0b3f1b1143edf1b335ef18c3a37b282a.jpg","text":"TemporaryFile(/tmp/multipartBody7861929395129258496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044112483,"filename":"image_30102025_07_33_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/2/7263cc9438ced38cd87bfc61bd637038.jpg","text":"TemporaryFile(/tmp/multipartBody885980033362951054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044112483,"filename":"image_30102025_07_33_23_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/2/1e071167a6e0f1e409aebebce5b8120d.jpg","text":"TemporaryFile(/tmp/multipartBody5674942801540995579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044112483,"filename":"image_30102025_07_33_31_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/2/0aa90a8d865f78d6bb41c739f8d82d0e.jpg","text":"TemporaryFile(/tmp/multipartBody6979150385363207052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044112483,"filename":"image_30102025_07_33_19_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/2/c393f812a4ae498acca0b66ffdad8273.jpg","text":"TemporaryFile(/tmp/multipartBody4896704024263258014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044112483,"filename":"image_30102025_07_33_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/2/58d262bcb80ba5e829d011facb0b0758.jpg","text":"TemporaryFile(/tmp/multipartBody8914304109897008272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044112483,"filename":"image_30102025_07_33_34_3703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763416","file1":"1391763414","file0":"1391763410","file4":"1391763422","file5":"1391763424","file3":"1391763420"},"map_files_photo_id_array":[{"photo_id":"1391763424","filename":"file5"},{"photo_id":"1391763416","filename":"file2"},{"photo_id":"1391763422","filename":"file4"},{"photo_id":"1391763414","filename":"file1"},{"photo_id":"1391763410","filename":"file0"},{"photo_id":"1391763420","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763420":["hashtag1","hashtag2"]},{"1391763414":["hashtag1","hashtag2"]},{"1391763422":["hashtag1","hashtag2"]},{"1391763410":["hashtag1","hashtag2"]},{"1391763416":["hashtag1","hashtag2"]},{"1391763424":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763420, 1391763414, 1391763422, 1391763410, 1391763416, 1391763424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.72170805931091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 01:41:42.356965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/33/image_30102025_07_33_37_2645.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_40_2795.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_43_2690.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_46_3775.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_49_2603.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_52_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/07/33/image_30102025_07_33_37_2645.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_40_2795.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_43_2690.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_46_3775.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_49_2603.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_52_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: 4.192579746246338 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:42:02.267575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/33/image_30102025_07_33_37_2645.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_40_2795.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_43_2690.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_46_3775.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_49_2603.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_52_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/07/33/image_30102025_07_33_37_2645.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_40_2795.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_43_2690.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_46_3775.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_49_2603.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_52_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":["1391763462","1391763459","1391763455","1391763470","1391763466","1391763457"],"photo_ids_order":["1391763455","1391763457","1391763459","1391763462","1391763466","1391763470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/541184ea077e515b8443c5c4c91b2442.jpg","text":"TemporaryFile(/tmp/multipartBody8380964502649246703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044187830,"filename":"image_30102025_07_33_46_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7f9f45d478d3ea20ceeee4d1efd46bac.jpg","text":"TemporaryFile(/tmp/multipartBody1836460505393551695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044187830,"filename":"image_30102025_07_33_43_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/2/6b64e412705b12591f1965955ab004d5.jpg","text":"TemporaryFile(/tmp/multipartBody6120831596419105870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044187830,"filename":"image_30102025_07_33_37_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/2/eae2c38b6c5c52d9712d08db3be06533.jpg","text":"TemporaryFile(/tmp/multipartBody8551558887080756162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044187830,"filename":"image_30102025_07_33_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/2/206fd386bc752dbb2048ea11bc7ede7a.jpg","text":"TemporaryFile(/tmp/multipartBody1169266938569181826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044187830,"filename":"image_30102025_07_33_49_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/2/bc5d56ad785d215f87593c96da93076a.jpg","text":"TemporaryFile(/tmp/multipartBody3388037370145739827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044187830,"filename":"image_30102025_07_33_40_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763459","file1":"1391763457","file0":"1391763455","file4":"1391763466","file5":"1391763470","file3":"1391763462"},"map_files_photo_id_array":[{"photo_id":"1391763470","filename":"file5"},{"photo_id":"1391763459","filename":"file2"},{"photo_id":"1391763466","filename":"file4"},{"photo_id":"1391763457","filename":"file1"},{"photo_id":"1391763455","filename":"file0"},{"photo_id":"1391763462","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763462":["hashtag1","hashtag2"]},{"1391763459":["hashtag1","hashtag2"]},{"1391763455":["hashtag1","hashtag2"]},{"1391763470":["hashtag1","hashtag2"]},{"1391763466":["hashtag1","hashtag2"]},{"1391763457":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763462, 1391763459, 1391763455, 1391763470, 1391763466, 1391763457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.81185746192932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:43:02.605321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/33/image_30102025_07_33_55_3666.jpg', '/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_58_2577.jpg', '/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_03_4622.jpg', '/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_04_1613.jpg', '/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_07_2640.jpg', '/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_10_3574.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/33/image_30102025_07_33_55_3666.jpg
/home/pi/Desktop/images/30102025/07/33/image_30102025_07_33_58_2577.jpg
/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_03_4622.jpg
/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_04_1613.jpg
/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_07_2640.jpg
/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_10_3574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391763495","1391763498","1391763497","1391763499","1391763502","1391763492"],"photo_ids_order":["1391763492","1391763495","1391763497","1391763498","1391763499","1391763502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ce47d0482f485d13dc09784e8989e060.jpg","text":"TemporaryFile(/tmp/multipartBody4824754781074164677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044245193,"filename":"image_30102025_07_33_58_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/2/18f9bd90c051c2e89719df7066d364bf.jpg","text":"TemporaryFile(/tmp/multipartBody2623586481105338669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044245193,"filename":"image_30102025_07_34_04_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/2/db27503d09d749d07e2acec13d63096d.jpg","text":"TemporaryFile(/tmp/multipartBody8858929551346782306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044245193,"filename":"image_30102025_07_34_03_4622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d3912e3f107ad01bb54311334a1a34f6.jpg","text":"TemporaryFile(/tmp/multipartBody2082312057636964859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044245193,"filename":"image_30102025_07_34_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/2/91cb95f5ae7c21857cfa05fc00dd4b6b.jpg","text":"TemporaryFile(/tmp/multipartBody505250249136737044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044245193,"filename":"image_30102025_07_34_10_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/2/6e2d27120ea5e5c2ea8fedd6ef927f35.jpg","text":"TemporaryFile(/tmp/multipartBody4020591492264374002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044245193,"filename":"image_30102025_07_33_55_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763497","file1":"1391763495","file0":"1391763492","file4":"1391763499","file5":"1391763502","file3":"1391763498"},"map_files_photo_id_array":[{"photo_id":"1391763502","filename":"file5"},{"photo_id":"1391763497","filename":"file2"},{"photo_id":"1391763499","filename":"file4"},{"photo_id":"1391763495","filename":"file1"},{"photo_id":"1391763492","filename":"file0"},{"photo_id":"1391763498","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763495":["hashtag1","hashtag2"]},{"1391763498":["hashtag1","hashtag2"]},{"1391763497":["hashtag1","hashtag2"]},{"1391763499":["hashtag1","hashtag2"]},{"1391763502":["hashtag1","hashtag2"]},{"1391763492":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763495, 1391763498, 1391763497, 1391763499, 1391763502, 1391763492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.791038513183594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 01:43:42.123142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/34/image_30102025_07_34_16_2712.jpg', '/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_19_3584.jpg', '/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_22_2814.jpg', '/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_25_2729.jpg', '/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_28_2741.jpg', '/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_31_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/07/34/image_30102025_07_34_16_2712.jpg
/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_19_3584.jpg
/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_22_2814.jpg
/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_25_2729.jpg
/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_28_2741.jpg
/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_31_3646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391763511","1391763525","1391763519","1391763522","1391763516","1391763523"],"photo_ids_order":["1391763511","1391763516","1391763519","1391763522","1391763523","1391763525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b888ff4266811d25e5aea02c89f517a2.jpg","text":"TemporaryFile(/tmp/multipartBody281361630529693530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044283186,"filename":"image_30102025_07_34_16_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/2/4676bd06d7e7de7fbda2a67092273c0b.jpg","text":"TemporaryFile(/tmp/multipartBody3250804641668198943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044283186,"filename":"image_30102025_07_34_31_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/2/f68a76e64bf3bb8813e77e9ff20443c1.jpg","text":"TemporaryFile(/tmp/multipartBody4768405348943814306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044283186,"filename":"image_30102025_07_34_22_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/2/2fc6c825f3da661635c42d5c4118ead1.jpg","text":"TemporaryFile(/tmp/multipartBody6293176125450725653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044283186,"filename":"image_30102025_07_34_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/2/9d7765f116c9129becadc4e9a24deb5e.jpg","text":"TemporaryFile(/tmp/multipartBody584780729996845551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044283186,"filename":"image_30102025_07_34_19_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/2/c227e18cee378e3034d3c2f0e5e318e5.jpg","text":"TemporaryFile(/tmp/multipartBody9008163045155948396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044283186,"filename":"image_30102025_07_34_28_2741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763519","file1":"1391763516","file0":"1391763511","file4":"1391763523","file5":"1391763525","file3":"1391763522"},"map_files_photo_id_array":[{"photo_id":"1391763525","filename":"file5"},{"photo_id":"1391763519","filename":"file2"},{"photo_id":"1391763523","filename":"file4"},{"photo_id":"1391763516","filename":"file1"},{"photo_id":"1391763511","filename":"file0"},{"photo_id":"1391763522","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763511":["hashtag1","hashtag2"]},{"1391763525":["hashtag1","hashtag2"]},{"1391763519":["hashtag1","hashtag2"]},{"1391763522":["hashtag1","hashtag2"]},{"1391763516":["hashtag1","hashtag2"]},{"1391763523":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763511, 1391763525, 1391763519, 1391763522, 1391763516, 1391763523)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.599608182907104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 01:44:42.301842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/34/image_30102025_07_34_34_2603.jpg', '/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_37_2709.jpg', '/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_41_3825.jpg', '/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_43_2639.jpg', '/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_48_5011.jpg', '/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_50_1615.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/34/image_30102025_07_34_34_2603.jpg
/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_37_2709.jpg
/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_41_3825.jpg
/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_43_2639.jpg
/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_48_5011.jpg
/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_50_1615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391763561","1391763564","1391763551","1391763559","1391763547","1391763556"],"photo_ids_order":["1391763547","1391763551","1391763556","1391763559","1391763561","1391763564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c91cf9c1bfebd40375cfbe4c3b56b485.jpg","text":"TemporaryFile(/tmp/multipartBody5551720466926586288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044347500,"filename":"image_30102025_07_34_48_5011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b34de62ada6694f91139f388f2335354.jpg","text":"TemporaryFile(/tmp/multipartBody6658936647616003743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044347500,"filename":"image_30102025_07_34_50_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/2/6e2d46222d33bae467256e6c5826882d.jpg","text":"TemporaryFile(/tmp/multipartBody5537965548535442242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044347500,"filename":"image_30102025_07_34_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/2/81e8da63a7f71d9901328eaca045a4c9.jpg","text":"TemporaryFile(/tmp/multipartBody4785883688565572568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044347500,"filename":"image_30102025_07_34_43_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/2/54fd3d012b8eb774738172fecd822f95.jpg","text":"TemporaryFile(/tmp/multipartBody7471181285296198382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044347500,"filename":"image_30102025_07_34_34_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/2/96ca12034823753343a0f9d48227b8e7.jpg","text":"TemporaryFile(/tmp/multipartBody49609804114542654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044347500,"filename":"image_30102025_07_34_41_3825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763556","file1":"1391763551","file0":"1391763547","file4":"1391763561","file5":"1391763564","file3":"1391763559"},"map_files_photo_id_array":[{"photo_id":"1391763564","filename":"file5"},{"photo_id":"1391763556","filename":"file2"},{"photo_id":"1391763561","filename":"file4"},{"photo_id":"1391763551","filename":"file1"},{"photo_id":"1391763547","filename":"file0"},{"photo_id":"1391763559","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763561":["hashtag1","hashtag2"]},{"1391763564":["hashtag1","hashtag2"]},{"1391763551":["hashtag1","hashtag2"]},{"1391763559":["hashtag1","hashtag2"]},{"1391763547":["hashtag1","hashtag2"]},{"1391763556":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763561, 1391763564, 1391763551, 1391763559, 1391763547, 1391763556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.16765904426575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 01:45:42.549735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/34/image_30102025_07_34_52_2681.jpg', '/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_57_4378.jpg', '/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_09_11689.jpg', '/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_10_1674.jpg', '/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_12_1550.jpg', '/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_14_1783.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/34/image_30102025_07_34_52_2681.jpg
/home/pi/Desktop/images/30102025/07/34/image_30102025_07_34_57_4378.jpg
/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_09_11689.jpg
/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_10_1674.jpg
/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_12_1550.jpg
/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_14_1783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391763590","1391763584","1391763593","1391763587","1391763589","1391763580"],"photo_ids_order":["1391763580","1391763584","1391763587","1391763589","1391763590","1391763593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/48b0fe45e1740d86bfecf039c225572e.jpg","text":"TemporaryFile(/tmp/multipartBody1437981033065582475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044403593,"filename":"image_30102025_07_35_12_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/2/e83b743a3e91f7f97a7a476912cc8f6a.jpg","text":"TemporaryFile(/tmp/multipartBody6322014080187746427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044403593,"filename":"image_30102025_07_34_57_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/2/1195a39930c2064d48bf0b88fe226d6a.jpg","text":"TemporaryFile(/tmp/multipartBody2486108398895628760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044403593,"filename":"image_30102025_07_35_14_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/2/b58979e5e498cc726fa179f025b5a646.jpg","text":"TemporaryFile(/tmp/multipartBody5230409591317109718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044403593,"filename":"image_30102025_07_35_09_11689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6860fc5f411546e22a2197e31457c04b.jpg","text":"TemporaryFile(/tmp/multipartBody6396740917851374344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044403593,"filename":"image_30102025_07_35_10_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/2/386f304e743ff3fa4aaa3dfdcd63258c.jpg","text":"TemporaryFile(/tmp/multipartBody1117189402283554386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044403593,"filename":"image_30102025_07_34_52_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763587","file1":"1391763584","file0":"1391763580","file4":"1391763590","file5":"1391763593","file3":"1391763589"},"map_files_photo_id_array":[{"photo_id":"1391763593","filename":"file5"},{"photo_id":"1391763587","filename":"file2"},{"photo_id":"1391763590","filename":"file4"},{"photo_id":"1391763584","filename":"file1"},{"photo_id":"1391763580","filename":"file0"},{"photo_id":"1391763589","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763590":["hashtag1","hashtag2"]},{"1391763584":["hashtag1","hashtag2"]},{"1391763593":["hashtag1","hashtag2"]},{"1391763587":["hashtag1","hashtag2"]},{"1391763589":["hashtag1","hashtag2"]},{"1391763580":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763590, 1391763584, 1391763593, 1391763587, 1391763589, 1391763580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83488130569458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 01:46:33.437661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/35/image_30102025_07_35_15_1518.jpg', '/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_17_1732.jpg', '/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_18_1589.jpg', '/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_20_1628.jpg', '/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_22_1621.jpg', '/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_28_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/07/35/image_30102025_07_35_15_1518.jpg
/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_17_1732.jpg
/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_18_1589.jpg
/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_20_1628.jpg
/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_22_1621.jpg
/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_28_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":["1391763625","1391763618","1391763611","1391763614","1391763608","1391763622"],"photo_ids_order":["1391763608","1391763611","1391763614","1391763618","1391763622","1391763625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b41cb83881418098e5cf3ea369c893bd.jpg","text":"TemporaryFile(/tmp/multipartBody7194173639083814125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044456204,"filename":"image_30102025_07_35_28_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/2/97a69d44cf1664c5c9c22dda29e03348.jpg","text":"TemporaryFile(/tmp/multipartBody8548231706219390003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044456204,"filename":"image_30102025_07_35_20_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/2/892d4a4281228047aad2742b3929f7a0.jpg","text":"TemporaryFile(/tmp/multipartBody1669134074562778474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044456204,"filename":"image_30102025_07_35_17_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/2/09dd1db08ca978e1df2f1e1274ff6894.jpg","text":"TemporaryFile(/tmp/multipartBody2073437332007039196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044456204,"filename":"image_30102025_07_35_18_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/2/1820f7ae9bbdcc01f81aa4082d87c5fd.jpg","text":"TemporaryFile(/tmp/multipartBody2101281333926598712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044456204,"filename":"image_30102025_07_35_15_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/2/1ab5f3b4cdcd895c9f391a732d9643dc.jpg","text":"TemporaryFile(/tmp/multipartBody6569266326581373108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044456204,"filename":"image_30102025_07_35_22_1621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763614","file1":"1391763611","file0":"1391763608","file4":"1391763622","file5":"1391763625","file3":"1391763618"},"map_files_photo_id_array":[{"photo_id":"1391763625","filename":"file5"},{"photo_id":"1391763614","filename":"file2"},{"photo_id":"1391763622","filename":"file4"},{"photo_id":"1391763611","filename":"file1"},{"photo_id":"1391763608","filename":"file0"},{"photo_id":"1391763618","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763625":["hashtag1","hashtag2"]},{"1391763618":["hashtag1","hashtag2"]},{"1391763611":["hashtag1","hashtag2"]},{"1391763614":["hashtag1","hashtag2"]},{"1391763608":["hashtag1","hashtag2"]},{"1391763622":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763625, 1391763618, 1391763611, 1391763614, 1391763608, 1391763622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.53819966316223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 01:47:21.846621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/35/image_30102025_07_35_31_2680.jpg', '/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_34_3723.jpg', '/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_37_2711.jpg', '/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_40_2667.jpg', '/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_43_3593.jpg', '/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_46_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/07/35/image_30102025_07_35_31_2680.jpg
/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_34_3723.jpg
/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_37_2711.jpg
/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_40_2667.jpg
/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_43_3593.jpg
/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_46_2659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1391763654","1391763657","1391763651","1391763645","1391763648","1391763662"],"photo_ids_order":["1391763645","1391763648","1391763651","1391763654","1391763657","1391763662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f347e84d3fcb7f04307d6c58295c999d.jpg","text":"TemporaryFile(/tmp/multipartBody1522858834333442141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044542188,"filename":"image_30102025_07_35_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/2/fbc7af91014631f29dbf1bce2ff20c3f.jpg","text":"TemporaryFile(/tmp/multipartBody9051927923459170756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044542188,"filename":"image_30102025_07_35_43_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/2/fe0c1db9866ba4ac1f890004cbff2221.jpg","text":"TemporaryFile(/tmp/multipartBody839270837943411275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044542188,"filename":"image_30102025_07_35_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/2/8a79328aab1d8ea99ea65fed682a3b20.jpg","text":"TemporaryFile(/tmp/multipartBody6852815401541676566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044542188,"filename":"image_30102025_07_35_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/2/41f290bda0d5dcbd7320c1f331ce00c4.jpg","text":"TemporaryFile(/tmp/multipartBody6686864934609906924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044542188,"filename":"image_30102025_07_35_34_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/2/b1fe87a30bb74610c4f533a41537e615.jpg","text":"TemporaryFile(/tmp/multipartBody4450578753597610613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044542188,"filename":"image_30102025_07_35_46_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763651","file1":"1391763648","file0":"1391763645","file4":"1391763657","file5":"1391763662","file3":"1391763654"},"map_files_photo_id_array":[{"photo_id":"1391763662","filename":"file5"},{"photo_id":"1391763651","filename":"file2"},{"photo_id":"1391763657","filename":"file4"},{"photo_id":"1391763648","filename":"file1"},{"photo_id":"1391763645","filename":"file0"},{"photo_id":"1391763654","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763654":["hashtag1","hashtag2"]},{"1391763657":["hashtag1","hashtag2"]},{"1391763651":["hashtag1","hashtag2"]},{"1391763645":["hashtag1","hashtag2"]},{"1391763648":["hashtag1","hashtag2"]},{"1391763662":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763654, 1391763657, 1391763651, 1391763645, 1391763648, 1391763662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 88.17449021339417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:49:02.878388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/35/image_30102025_07_35_49_2538.jpg', '/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_52_3576.jpg', '/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_55_2590.jpg', '/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_58_2848.jpg', '/home/pi/Desktop/images/30102025/07/35/image_30102025_07_36_01_3638.jpg', '/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_04_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/07/35/image_30102025_07_35_49_2538.jpg
/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_52_3576.jpg
/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_55_2590.jpg
/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_58_2848.jpg
/home/pi/Desktop/images/30102025/07/35/image_30102025_07_36_01_3638.jpg
/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_04_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":["1391763683","1391763689","1391763680","1391763694","1391763697","1391763685"],"photo_ids_order":["1391763680","1391763683","1391763685","1391763689","1391763694","1391763697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b51fdebc347c0cb0c4f1682b6e8d707c.jpg","text":"TemporaryFile(/tmp/multipartBody5550803389092623483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044609623,"filename":"image_30102025_07_35_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/2/b0e356468c9f7b529e0fda428f4cead1.jpg","text":"TemporaryFile(/tmp/multipartBody8006313739605331045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044609623,"filename":"image_30102025_07_35_58_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/2/2880c69216d0f38d989f7de2b4c29e64.jpg","text":"TemporaryFile(/tmp/multipartBody1326640856471226573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044609623,"filename":"image_30102025_07_35_49_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/2/9cef7e436d5990bf9eed22ff3ee10c64.jpg","text":"TemporaryFile(/tmp/multipartBody3941996255789763921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044609623,"filename":"image_30102025_07_36_01_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/2/611bd83b57e4930807f5a75137725671.jpg","text":"TemporaryFile(/tmp/multipartBody9056594385106608258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044609623,"filename":"image_30102025_07_36_04_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/2/6ec4be1472b9e6cf5bf4ef9854316c04.jpg","text":"TemporaryFile(/tmp/multipartBody7936881289759969629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044609623,"filename":"image_30102025_07_35_55_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763685","file1":"1391763683","file0":"1391763680","file4":"1391763694","file5":"1391763697","file3":"1391763689"},"map_files_photo_id_array":[{"photo_id":"1391763697","filename":"file5"},{"photo_id":"1391763685","filename":"file2"},{"photo_id":"1391763694","filename":"file4"},{"photo_id":"1391763683","filename":"file1"},{"photo_id":"1391763680","filename":"file0"},{"photo_id":"1391763689","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763683":["hashtag1","hashtag2"]},{"1391763689":["hashtag1","hashtag2"]},{"1391763680":["hashtag1","hashtag2"]},{"1391763694":["hashtag1","hashtag2"]},{"1391763697":["hashtag1","hashtag2"]},{"1391763685":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763683, 1391763689, 1391763680, 1391763694, 1391763697, 1391763685)","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 = 1391763685 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_55_2590.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391763685 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_55_2590.jpg";
uploaded 6 photos
time to upload: 79.12007069587708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 01:50:26.723369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/35/image_30102025_07_35_49_2538.jpg', '/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_52_3576.jpg', '/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_55_2590.jpg', '/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_58_2848.jpg', '/home/pi/Desktop/images/30102025/07/35/image_30102025_07_36_01_3638.jpg', '/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_04_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/07/35/image_30102025_07_35_49_2538.jpg
/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_52_3576.jpg
/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_55_2590.jpg
/home/pi/Desktop/images/30102025/07/35/image_30102025_07_35_58_2848.jpg
/home/pi/Desktop/images/30102025/07/35/image_30102025_07_36_01_3638.jpg
/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_04_2703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391763735","1391763723","1391763720","1391763740","1391763731","1391763727"],"photo_ids_order":["1391763720","1391763723","1391763727","1391763731","1391763735","1391763740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8d1d6a24d500834ec146d70fad339de3.jpg","text":"TemporaryFile(/tmp/multipartBody5044474519760324445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044689323,"filename":"image_30102025_07_36_01_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/2/b58e39884bd48f1a8a27015451e5e141.jpg","text":"TemporaryFile(/tmp/multipartBody5313647616492624836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044689323,"filename":"image_30102025_07_35_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/2/6af8d2d03d66a3d15488fd5af3678d2f.jpg","text":"TemporaryFile(/tmp/multipartBody3445411320206813296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044689323,"filename":"image_30102025_07_35_49_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/2/c9eb6d22207fbc012e4b03e74283de2f.jpg","text":"TemporaryFile(/tmp/multipartBody5043248830077412757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044689323,"filename":"image_30102025_07_36_04_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/2/685417b67f4690711f06e76e353747fb.jpg","text":"TemporaryFile(/tmp/multipartBody1002927818516991419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044689323,"filename":"image_30102025_07_35_58_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/2/cfed467187cbbccc56df278c5b106b27.jpg","text":"TemporaryFile(/tmp/multipartBody1271371210101506956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044689323,"filename":"image_30102025_07_35_55_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763727","file1":"1391763723","file0":"1391763720","file4":"1391763735","file5":"1391763740","file3":"1391763731"},"map_files_photo_id_array":[{"photo_id":"1391763740","filename":"file5"},{"photo_id":"1391763727","filename":"file2"},{"photo_id":"1391763735","filename":"file4"},{"photo_id":"1391763723","filename":"file1"},{"photo_id":"1391763720","filename":"file0"},{"photo_id":"1391763731","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763735":["hashtag1","hashtag2"]},{"1391763723":["hashtag1","hashtag2"]},{"1391763720":["hashtag1","hashtag2"]},{"1391763740":["hashtag1","hashtag2"]},{"1391763731":["hashtag1","hashtag2"]},{"1391763727":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763735, 1391763723, 1391763720, 1391763740, 1391763731, 1391763727)","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: 77.36800003051758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
 val : 1 : upload photos already in processing! 
2025-11-02 01:52:02.245554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/36/image_30102025_07_36_07_2663.jpg', '/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_10_3765.jpg', '/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_13_2613.jpg', '/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_16_2596.jpg', '/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_19_3770.jpg', '/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_22_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/07/36/image_30102025_07_36_07_2663.jpg
/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_10_3765.jpg
/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_13_2613.jpg
/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_16_2596.jpg
/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_19_3770.jpg
/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_22_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391763777","1391763779","1391763770","1391763773","1391763776","1391763775"],"photo_ids_order":["1391763770","1391763773","1391763775","1391763776","1391763777","1391763779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/837dd890217c26853350b954709495f6.jpg","text":"TemporaryFile(/tmp/multipartBody3273767848319456484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044783327,"filename":"image_30102025_07_36_19_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/2/5c0889a338964dbee0102e2371b44e6e.jpg","text":"TemporaryFile(/tmp/multipartBody7100562229901637337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044783327,"filename":"image_30102025_07_36_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/2/b526bdacdb8c72a8e6f358a6011327fc.jpg","text":"TemporaryFile(/tmp/multipartBody753826756478166360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044783327,"filename":"image_30102025_07_36_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/2/f50d62d257d819b9a2fab782f434b1e5.jpg","text":"TemporaryFile(/tmp/multipartBody7505606251536872016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044783327,"filename":"image_30102025_07_36_10_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/2/4583cf20c75374a912e2878468dc21c6.jpg","text":"TemporaryFile(/tmp/multipartBody4841045026809486264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044783327,"filename":"image_30102025_07_36_16_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/2/740b17c2fdc6bc470f58b411a33c4404.jpg","text":"TemporaryFile(/tmp/multipartBody7802080924439032018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044783327,"filename":"image_30102025_07_36_13_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763775","file1":"1391763773","file0":"1391763770","file4":"1391763777","file5":"1391763779","file3":"1391763776"},"map_files_photo_id_array":[{"photo_id":"1391763779","filename":"file5"},{"photo_id":"1391763775","filename":"file2"},{"photo_id":"1391763777","filename":"file4"},{"photo_id":"1391763773","filename":"file1"},{"photo_id":"1391763770","filename":"file0"},{"photo_id":"1391763776","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763777":["hashtag1","hashtag2"]},{"1391763779":["hashtag1","hashtag2"]},{"1391763770":["hashtag1","hashtag2"]},{"1391763773":["hashtag1","hashtag2"]},{"1391763776":["hashtag1","hashtag2"]},{"1391763775":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763777, 1391763779, 1391763770, 1391763773, 1391763776, 1391763775)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.37525677680969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:53:02.812900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/36/image_30102025_07_36_25_2682.jpg', '/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_27_2823.jpg', '/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_31_3582.jpg', '/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_34_2670.jpg', '/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_36_2659.jpg', '/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_40_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/07/36/image_30102025_07_36_25_2682.jpg
/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_27_2823.jpg
/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_31_3582.jpg
/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_34_2670.jpg
/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_36_2659.jpg
/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_40_3656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391763801","1391763803","1391763811","1391763805","1391763814","1391763808"],"photo_ids_order":["1391763801","1391763803","1391763805","1391763808","1391763811","1391763814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/50d6ffaa92263784da0f4b3fab0dcb0f.jpg","text":"TemporaryFile(/tmp/multipartBody6523178752706525529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044844916,"filename":"image_30102025_07_36_25_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/2/bebd27f911efa45032d063b5964fa74e.jpg","text":"TemporaryFile(/tmp/multipartBody4795326958342493440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044844916,"filename":"image_30102025_07_36_27_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/2/adaacff2ad91bc8e084cd4518b3c3ceb.jpg","text":"TemporaryFile(/tmp/multipartBody2881069179146922950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044844916,"filename":"image_30102025_07_36_36_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/2/a00a89f920767c47e2f2fa0784daa39d.jpg","text":"TemporaryFile(/tmp/multipartBody7474275173418226663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044844916,"filename":"image_30102025_07_36_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/2/566d2c155b00279cfbf069963571b52a.jpg","text":"TemporaryFile(/tmp/multipartBody7777263028138439861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044844916,"filename":"image_30102025_07_36_40_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/2/3c580ff405d5764e81069b8e3c175c94.jpg","text":"TemporaryFile(/tmp/multipartBody3132793069249449519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044844916,"filename":"image_30102025_07_36_34_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763805","file1":"1391763803","file0":"1391763801","file4":"1391763811","file5":"1391763814","file3":"1391763808"},"map_files_photo_id_array":[{"photo_id":"1391763814","filename":"file5"},{"photo_id":"1391763805","filename":"file2"},{"photo_id":"1391763811","filename":"file4"},{"photo_id":"1391763803","filename":"file1"},{"photo_id":"1391763801","filename":"file0"},{"photo_id":"1391763808","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763801":["hashtag1","hashtag2"]},{"1391763803":["hashtag1","hashtag2"]},{"1391763811":["hashtag1","hashtag2"]},{"1391763805":["hashtag1","hashtag2"]},{"1391763814":["hashtag1","hashtag2"]},{"1391763808":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763801, 1391763803, 1391763811, 1391763805, 1391763814, 1391763808)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 57.08496642112732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:54:02.778806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/36/image_30102025_07_36_43_2542.jpg', '/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_46_3736.jpg', '/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_49_2620.jpg', '/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_51_2516.jpg', '/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_55_3621.jpg', '/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_58_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/07/36/image_30102025_07_36_43_2542.jpg
/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_46_3736.jpg
/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_49_2620.jpg
/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_51_2516.jpg
/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_55_3621.jpg
/home/pi/Desktop/images/30102025/07/36/image_30102025_07_36_58_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":["1391763852","1391763834","1391763839","1391763830","1391763850","1391763844"],"photo_ids_order":["1391763830","1391763834","1391763839","1391763844","1391763850","1391763852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9c830d59bcdd92728e7621637ed8c488.jpg","text":"TemporaryFile(/tmp/multipartBody337964467435668766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044907194,"filename":"image_30102025_07_36_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/2/225ed79e174cd676b54cb2c697d5e6d5.jpg","text":"TemporaryFile(/tmp/multipartBody7055951509693280039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044907194,"filename":"image_30102025_07_36_46_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/2/276fb5ed9a9f62557109755d5d10fa2a.jpg","text":"TemporaryFile(/tmp/multipartBody2152886892035532681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044907194,"filename":"image_30102025_07_36_49_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/2/06d252d46a3f4c3b7113778228c59f7a.jpg","text":"TemporaryFile(/tmp/multipartBody4597693698601649891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044907194,"filename":"image_30102025_07_36_43_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/2/ef3abe12f1cc9abade460dcf812b389c.jpg","text":"TemporaryFile(/tmp/multipartBody3393860225000495547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044907194,"filename":"image_30102025_07_36_55_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/2/a0fefdd79f9f30987734c6c77b8f0f92.jpg","text":"TemporaryFile(/tmp/multipartBody2605939012528346278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044907194,"filename":"image_30102025_07_36_51_2516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763839","file1":"1391763834","file0":"1391763830","file4":"1391763850","file5":"1391763852","file3":"1391763844"},"map_files_photo_id_array":[{"photo_id":"1391763852","filename":"file5"},{"photo_id":"1391763839","filename":"file2"},{"photo_id":"1391763850","filename":"file4"},{"photo_id":"1391763834","filename":"file1"},{"photo_id":"1391763830","filename":"file0"},{"photo_id":"1391763844","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763852":["hashtag1","hashtag2"]},{"1391763834":["hashtag1","hashtag2"]},{"1391763839":["hashtag1","hashtag2"]},{"1391763830":["hashtag1","hashtag2"]},{"1391763850":["hashtag1","hashtag2"]},{"1391763844":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763852, 1391763834, 1391763839, 1391763830, 1391763850, 1391763844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.37163424491882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:55:03.138352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/36/image_30102025_07_37_00_2709.jpg', '/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_04_3564.jpg', '/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_07_2645.jpg', '/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_09_2683.jpg', '/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_13_3800.jpg', '/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_16_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/07/36/image_30102025_07_37_00_2709.jpg
/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_04_3564.jpg
/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_07_2645.jpg
/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_09_2683.jpg
/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_13_3800.jpg
/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_16_2690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391763885","1391763873","1391763882","1391763876","1391763875","1391763878"],"photo_ids_order":["1391763873","1391763875","1391763876","1391763878","1391763882","1391763885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/adfc1476a4f049df136b6b7ab3891e07.jpg","text":"TemporaryFile(/tmp/multipartBody7113647480446578489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044967392,"filename":"image_30102025_07_37_16_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/2/da9bc0e093aa563fd54c3b308f2b2592.jpg","text":"TemporaryFile(/tmp/multipartBody5603180825851045855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044967392,"filename":"image_30102025_07_37_00_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/2/1aad8cf090ab610397d37c0cdb206101.jpg","text":"TemporaryFile(/tmp/multipartBody662318251988228351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044967392,"filename":"image_30102025_07_37_13_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/2/8c3eb043d61013c947412b9c6694e95d.jpg","text":"TemporaryFile(/tmp/multipartBody2779355006735117646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044967392,"filename":"image_30102025_07_37_07_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/2/746933618d6cad60d93dae2a67d36529.jpg","text":"TemporaryFile(/tmp/multipartBody9117968450844777660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044967392,"filename":"image_30102025_07_37_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/2/f767fc8d517fa55d39524c29a7a1824a.jpg","text":"TemporaryFile(/tmp/multipartBody2600802478651728371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762044967392,"filename":"image_30102025_07_37_09_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763876","file1":"1391763875","file0":"1391763873","file4":"1391763882","file5":"1391763885","file3":"1391763878"},"map_files_photo_id_array":[{"photo_id":"1391763885","filename":"file5"},{"photo_id":"1391763876","filename":"file2"},{"photo_id":"1391763882","filename":"file4"},{"photo_id":"1391763875","filename":"file1"},{"photo_id":"1391763873","filename":"file0"},{"photo_id":"1391763878","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763885":["hashtag1","hashtag2"]},{"1391763873":["hashtag1","hashtag2"]},{"1391763882":["hashtag1","hashtag2"]},{"1391763876":["hashtag1","hashtag2"]},{"1391763875":["hashtag1","hashtag2"]},{"1391763878":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763885, 1391763873, 1391763882, 1391763876, 1391763875, 1391763878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06335115432739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:56:02.974157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/37/image_30102025_07_37_18_2534.jpg', '/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_22_3562.jpg', '/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_25_2762.jpg', '/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_27_2678.jpg', '/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_31_3609.jpg', '/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_34_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/07/37/image_30102025_07_37_18_2534.jpg
/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_22_3562.jpg
/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_25_2762.jpg
/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_27_2678.jpg
/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_31_3609.jpg
/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_34_2574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391763921","1391763906","1391763909","1391763917","1391763925","1391763913"],"photo_ids_order":["1391763906","1391763909","1391763913","1391763917","1391763921","1391763925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2aa8cf6ed1d6f15295a6fcfc95ecb72a.jpg","text":"TemporaryFile(/tmp/multipartBody6886294530246104479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045025005,"filename":"image_30102025_07_37_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/2/b59f3ef032b2fbd15e64795b3d437fe8.jpg","text":"TemporaryFile(/tmp/multipartBody6616351992915824047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045025005,"filename":"image_30102025_07_37_18_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/2/e2be9489a0e3b8cdc68ab52a79cf8010.jpg","text":"TemporaryFile(/tmp/multipartBody2956030067535220681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045025005,"filename":"image_30102025_07_37_22_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/2/b3b45ffb72d4e354e796d699716ede13.jpg","text":"TemporaryFile(/tmp/multipartBody7736216127180932335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045025005,"filename":"image_30102025_07_37_27_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/2/172e208b63c74b9dca7bfce4f0ef83d6.jpg","text":"TemporaryFile(/tmp/multipartBody7563214066011421285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045025005,"filename":"image_30102025_07_37_34_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/2/55f28388ba12a11d614b437e2c7857a6.jpg","text":"TemporaryFile(/tmp/multipartBody1731619051303272625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045025005,"filename":"image_30102025_07_37_25_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763913","file1":"1391763909","file0":"1391763906","file4":"1391763921","file5":"1391763925","file3":"1391763917"},"map_files_photo_id_array":[{"photo_id":"1391763925","filename":"file5"},{"photo_id":"1391763913","filename":"file2"},{"photo_id":"1391763921","filename":"file4"},{"photo_id":"1391763909","filename":"file1"},{"photo_id":"1391763906","filename":"file0"},{"photo_id":"1391763917","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763921":["hashtag1","hashtag2"]},{"1391763906":["hashtag1","hashtag2"]},{"1391763909":["hashtag1","hashtag2"]},{"1391763917":["hashtag1","hashtag2"]},{"1391763925":["hashtag1","hashtag2"]},{"1391763913":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763921, 1391763906, 1391763909, 1391763917, 1391763925, 1391763913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00512909889221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 01:56:42.537649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/37/image_30102025_07_37_37_3555.jpg', '/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_40_2850.jpg', '/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_43_2592.jpg', '/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_45_2740.jpg', '/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_49_3731.jpg', '/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_52_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/07/37/image_30102025_07_37_37_3555.jpg
/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_40_2850.jpg
/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_43_2592.jpg
/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_45_2740.jpg
/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_49_3731.jpg
/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_52_2599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391763936","1391763950","1391763944","1391763947","1391763932","1391763940"],"photo_ids_order":["1391763932","1391763936","1391763940","1391763944","1391763947","1391763950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e745258ccce1295cf1c1c75c0da30241.jpg","text":"TemporaryFile(/tmp/multipartBody187090351476891761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045063605,"filename":"image_30102025_07_37_40_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/2/2e5c8cc4e777b1fbe91bf8a75bca634a.jpg","text":"TemporaryFile(/tmp/multipartBody2240125970389563575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045063605,"filename":"image_30102025_07_37_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/2/e139caaf0620163cdc1049e782254403.jpg","text":"TemporaryFile(/tmp/multipartBody6624185323389658620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045063605,"filename":"image_30102025_07_37_45_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/2/b537dd93b04c735f9301e825d8b4341c.jpg","text":"TemporaryFile(/tmp/multipartBody9109711490821134199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045063605,"filename":"image_30102025_07_37_49_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/2/f30bc9717edea9a997fc18431e944a8b.jpg","text":"TemporaryFile(/tmp/multipartBody6850585275185266105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045063605,"filename":"image_30102025_07_37_37_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/2/4fd9b4c5ed481943171157ba7028ec62.jpg","text":"TemporaryFile(/tmp/multipartBody1804230508774018785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045063605,"filename":"image_30102025_07_37_43_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763940","file1":"1391763936","file0":"1391763932","file4":"1391763947","file5":"1391763950","file3":"1391763944"},"map_files_photo_id_array":[{"photo_id":"1391763950","filename":"file5"},{"photo_id":"1391763940","filename":"file2"},{"photo_id":"1391763947","filename":"file4"},{"photo_id":"1391763936","filename":"file1"},{"photo_id":"1391763932","filename":"file0"},{"photo_id":"1391763944","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763936":["hashtag1","hashtag2"]},{"1391763950":["hashtag1","hashtag2"]},{"1391763944":["hashtag1","hashtag2"]},{"1391763947":["hashtag1","hashtag2"]},{"1391763932":["hashtag1","hashtag2"]},{"1391763940":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763936, 1391763950, 1391763944, 1391763947, 1391763932, 1391763940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02433133125305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 01:57:22.625580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/37/image_30102025_07_37_54_2756.jpg', '/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_58_3622.jpg', '/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_01_2825.jpg', '/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_04_2691.jpg', '/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_07_3605.jpg', '/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_10_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/07/37/image_30102025_07_37_54_2756.jpg
/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_58_3622.jpg
/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_01_2825.jpg
/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_04_2691.jpg
/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_07_3605.jpg
/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_10_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.5345959663391113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 01:57:42.668960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/37/image_30102025_07_37_54_2756.jpg', '/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_58_3622.jpg', '/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_01_2825.jpg', '/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_04_2691.jpg', '/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_07_3605.jpg', '/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_10_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/07/37/image_30102025_07_37_54_2756.jpg
/home/pi/Desktop/images/30102025/07/37/image_30102025_07_37_58_3622.jpg
/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_01_2825.jpg
/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_04_2691.jpg
/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_07_3605.jpg
/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_10_2724.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391763984","1391763980","1391763971","1391763968","1391763973","1391763976"],"photo_ids_order":["1391763968","1391763971","1391763973","1391763976","1391763980","1391763984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f7c6aa453fa17b08f2696038bd9a11e5.jpg","text":"TemporaryFile(/tmp/multipartBody3975580206246595536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045123603,"filename":"image_30102025_07_38_10_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/2/298dcbc6fb46aaeffe2e98d7beb944f4.jpg","text":"TemporaryFile(/tmp/multipartBody7505049372000669449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045123603,"filename":"image_30102025_07_38_07_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/2/19202e4b1410a46c5eb5196d43bc2863.jpg","text":"TemporaryFile(/tmp/multipartBody4546046790063551445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045123603,"filename":"image_30102025_07_37_58_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/2/72fbd1c503bb9951ffde331c699a3b7f.jpg","text":"TemporaryFile(/tmp/multipartBody5231337816353563687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045123603,"filename":"image_30102025_07_37_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/2/54c17d71534e7697891792737d253669.jpg","text":"TemporaryFile(/tmp/multipartBody8901505390851625611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045123603,"filename":"image_30102025_07_38_01_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/2/8307d1501906058691b8ae172d10c4f9.jpg","text":"TemporaryFile(/tmp/multipartBody7777181298943171308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045123603,"filename":"image_30102025_07_38_04_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391763973","file1":"1391763971","file0":"1391763968","file4":"1391763980","file5":"1391763984","file3":"1391763976"},"map_files_photo_id_array":[{"photo_id":"1391763984","filename":"file5"},{"photo_id":"1391763973","filename":"file2"},{"photo_id":"1391763980","filename":"file4"},{"photo_id":"1391763971","filename":"file1"},{"photo_id":"1391763968","filename":"file0"},{"photo_id":"1391763976","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391763984":["hashtag1","hashtag2"]},{"1391763980":["hashtag1","hashtag2"]},{"1391763971":["hashtag1","hashtag2"]},{"1391763968":["hashtag1","hashtag2"]},{"1391763973":["hashtag1","hashtag2"]},{"1391763976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391763984, 1391763980, 1391763971, 1391763968, 1391763973, 1391763976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74533247947693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 01:59:02.921154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/38/image_30102025_07_38_12_2641.jpg', '/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_15_2729.jpg', '/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_19_3932.jpg', '/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_22_2601.jpg', '/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_25_2852.jpg', '/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_27_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/07/38/image_30102025_07_38_12_2641.jpg
/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_15_2729.jpg
/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_19_3932.jpg
/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_22_2601.jpg
/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_25_2852.jpg
/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_27_2597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391764014","1391764011","1391764005","1391764008","1391763998","1391764001"],"photo_ids_order":["1391763998","1391764001","1391764005","1391764008","1391764011","1391764014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8762a26cde17ed439f85cd3d4db41b52.jpg","text":"TemporaryFile(/tmp/multipartBody8044836627219116079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045205159,"filename":"image_30102025_07_38_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/2/f4eb6a1d298eef0fde1c434184d6002d.jpg","text":"TemporaryFile(/tmp/multipartBody6647579744663660925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045205159,"filename":"image_30102025_07_38_25_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/2/4f523f6860cdb4e78d8362e48177ad33.jpg","text":"TemporaryFile(/tmp/multipartBody8097054276015746410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045205159,"filename":"image_30102025_07_38_19_3932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/64fea0a65ad9ee98b26eecd351119f5f.jpg","text":"TemporaryFile(/tmp/multipartBody1716574395743111560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045205159,"filename":"image_30102025_07_38_22_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/2/c1c50db6def0e7f501d75883ee7b3a8b.jpg","text":"TemporaryFile(/tmp/multipartBody4392056044680855719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045205159,"filename":"image_30102025_07_38_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/2/18cc2402d2e3e26b1f12b5c9f836fa99.jpg","text":"TemporaryFile(/tmp/multipartBody2356115216247943476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045205159,"filename":"image_30102025_07_38_15_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391764005","file1":"1391764001","file0":"1391763998","file4":"1391764011","file5":"1391764014","file3":"1391764008"},"map_files_photo_id_array":[{"photo_id":"1391764014","filename":"file5"},{"photo_id":"1391764005","filename":"file2"},{"photo_id":"1391764011","filename":"file4"},{"photo_id":"1391764001","filename":"file1"},{"photo_id":"1391763998","filename":"file0"},{"photo_id":"1391764008","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391764014":["hashtag1","hashtag2"]},{"1391764011":["hashtag1","hashtag2"]},{"1391764005":["hashtag1","hashtag2"]},{"1391764008":["hashtag1","hashtag2"]},{"1391763998":["hashtag1","hashtag2"]},{"1391764001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391764014, 1391764011, 1391764005, 1391764008, 1391763998, 1391764001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48725199699402 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-02 02:00:02.734188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/38/image_30102025_07_38_31_3525.jpg', '/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_34_2848.jpg', '/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_37_3121.jpg', '/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_39_2790.jpg', '/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_42_2678.jpg', '/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_46_3843.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/38/image_30102025_07_38_31_3525.jpg
/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_34_2848.jpg
/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_37_3121.jpg
/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_39_2790.jpg
/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_42_2678.jpg
/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_46_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":["1391764038","1391764037","1391764025","1391764036","1391764039","1391764033"],"photo_ids_order":["1391764025","1391764033","1391764036","1391764037","1391764038","1391764039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6eeb243986f7ca6556716844083574e5.jpg","text":"TemporaryFile(/tmp/multipartBody4366910950091469056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045264820,"filename":"image_30102025_07_38_42_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/2/99005d8f3eb1bca260e2a2661a5b87a0.jpg","text":"TemporaryFile(/tmp/multipartBody2371155822587597514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045264820,"filename":"image_30102025_07_38_39_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/2/48c40eca7ca2ce1e9287d866c8ead420.jpg","text":"TemporaryFile(/tmp/multipartBody3380681404862703293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045264820,"filename":"image_30102025_07_38_31_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/2/0eea21fe7154f4ff82572214cc5cbb61.jpg","text":"TemporaryFile(/tmp/multipartBody2433514540673267538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045264820,"filename":"image_30102025_07_38_37_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/2/346edf7d80e68aef1111ebf44b62037a.jpg","text":"TemporaryFile(/tmp/multipartBody4244519016748048749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045264820,"filename":"image_30102025_07_38_46_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/2/db0a6289a76070ae7a7212b88f745100.jpg","text":"TemporaryFile(/tmp/multipartBody1351868360027708018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045264820,"filename":"image_30102025_07_38_34_2848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391764036","file1":"1391764033","file0":"1391764025","file4":"1391764038","file5":"1391764039","file3":"1391764037"},"map_files_photo_id_array":[{"photo_id":"1391764039","filename":"file5"},{"photo_id":"1391764036","filename":"file2"},{"photo_id":"1391764038","filename":"file4"},{"photo_id":"1391764033","filename":"file1"},{"photo_id":"1391764025","filename":"file0"},{"photo_id":"1391764037","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391764038":["hashtag1","hashtag2"]},{"1391764037":["hashtag1","hashtag2"]},{"1391764025":["hashtag1","hashtag2"]},{"1391764036":["hashtag1","hashtag2"]},{"1391764039":["hashtag1","hashtag2"]},{"1391764033":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391764038, 1391764037, 1391764025, 1391764036, 1391764039, 1391764033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.973860025405884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:01:03.091143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/38/image_30102025_07_38_49_2598.jpg', '/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_51_2665.jpg', '/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_55_3794.jpg', '/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_58_2596.jpg', '/home/pi/Desktop/images/30102025/07/38/image_30102025_07_39_00_2753.jpg', '/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_03_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/07/38/image_30102025_07_38_49_2598.jpg
/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_51_2665.jpg
/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_55_3794.jpg
/home/pi/Desktop/images/30102025/07/38/image_30102025_07_38_58_2596.jpg
/home/pi/Desktop/images/30102025/07/38/image_30102025_07_39_00_2753.jpg
/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_03_2716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391764376","1391764450","1391764252","1391764333","1391764210","1391764290"],"photo_ids_order":["1391764210","1391764252","1391764290","1391764333","1391764376","1391764450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/63112751904c206545e70f7e747a72ee.jpg","text":"TemporaryFile(/tmp/multipartBody4620605607669674705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045325239,"filename":"image_30102025_07_39_00_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/2/56c6e43167b4e9772715d0d7bbf5d105.jpg","text":"TemporaryFile(/tmp/multipartBody3600640584009897450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045325239,"filename":"image_30102025_07_39_03_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/2/fd479bc93127bb6a622e1a26330f50b9.jpg","text":"TemporaryFile(/tmp/multipartBody1362905230510253880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045325239,"filename":"image_30102025_07_38_51_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/2/5e94cd278369f63af0010233dbea9787.jpg","text":"TemporaryFile(/tmp/multipartBody1965033877624988950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045325239,"filename":"image_30102025_07_38_58_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/2/3880ead1e94d84a66c1d540b62c34803.jpg","text":"TemporaryFile(/tmp/multipartBody3247250763438335701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045325239,"filename":"image_30102025_07_38_49_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/2/20bd9d42ca39376f932e30f2311a3433.jpg","text":"TemporaryFile(/tmp/multipartBody4558455442665856868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045325239,"filename":"image_30102025_07_38_55_3794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391764290","file1":"1391764252","file0":"1391764210","file4":"1391764376","file5":"1391764450","file3":"1391764333"},"map_files_photo_id_array":[{"photo_id":"1391764450","filename":"file5"},{"photo_id":"1391764290","filename":"file2"},{"photo_id":"1391764376","filename":"file4"},{"photo_id":"1391764252","filename":"file1"},{"photo_id":"1391764210","filename":"file0"},{"photo_id":"1391764333","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391764376":["hashtag1","hashtag2"]},{"1391764450":["hashtag1","hashtag2"]},{"1391764252":["hashtag1","hashtag2"]},{"1391764333":["hashtag1","hashtag2"]},{"1391764210":["hashtag1","hashtag2"]},{"1391764290":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391764376, 1391764450, 1391764252, 1391764333, 1391764210, 1391764290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9199013710022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 02:01:42.551562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/39/image_30102025_07_39_07_3745.jpg', '/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_10_2836.jpg', '/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_12_2577.jpg', '/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_16_3706.jpg', '/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_19_2725.jpg', '/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_23_4082.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/39/image_30102025_07_39_07_3745.jpg
/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_10_2836.jpg
/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_12_2577.jpg
/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_16_3706.jpg
/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_19_2725.jpg
/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_23_4082.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391765231","1391765323","1391764861","1391765070","1391764980","1391765151"],"photo_ids_order":["1391764861","1391764980","1391765070","1391765151","1391765231","1391765323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e3dd17f36a9e4a86825a264cf90b0667.jpg","text":"TemporaryFile(/tmp/multipartBody2087491930764176996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045363600,"filename":"image_30102025_07_39_19_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/2/e0cf000bb50c959026e5d2d451891651.jpg","text":"TemporaryFile(/tmp/multipartBody6178428442349916388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045363600,"filename":"image_30102025_07_39_23_4082.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bebe78f3439a3a9dff9a88ba8ce0ad2b.jpg","text":"TemporaryFile(/tmp/multipartBody6932792326135025843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045363600,"filename":"image_30102025_07_39_07_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/2/437ea3fe67f3261dbabd23e9827b24f8.jpg","text":"TemporaryFile(/tmp/multipartBody454642163142317255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045363600,"filename":"image_30102025_07_39_12_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/2/0932b8067bf5e2dad4f6d88530cbc3ca.jpg","text":"TemporaryFile(/tmp/multipartBody5118212714249011412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045363600,"filename":"image_30102025_07_39_10_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/2/3c8f1227cfb56ce2c2772955779db752.jpg","text":"TemporaryFile(/tmp/multipartBody2350847489538360536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045363600,"filename":"image_30102025_07_39_16_3706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391765070","file1":"1391764980","file0":"1391764861","file4":"1391765231","file5":"1391765323","file3":"1391765151"},"map_files_photo_id_array":[{"photo_id":"1391765323","filename":"file5"},{"photo_id":"1391765070","filename":"file2"},{"photo_id":"1391765231","filename":"file4"},{"photo_id":"1391764980","filename":"file1"},{"photo_id":"1391764861","filename":"file0"},{"photo_id":"1391765151","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391765231":["hashtag1","hashtag2"]},{"1391765323":["hashtag1","hashtag2"]},{"1391764861":["hashtag1","hashtag2"]},{"1391765070":["hashtag1","hashtag2"]},{"1391764980":["hashtag1","hashtag2"]},{"1391765151":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391765231, 1391765323, 1391764861, 1391765070, 1391764980, 1391765151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63040113449097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:02:22.710967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/39/image_30102025_07_39_25_1932.jpg', '/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_36_10984.jpg', '/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_37_1672.jpg', '/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_39_1746.jpg', '/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_41_1819.jpg', '/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_43_1724.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/39/image_30102025_07_39_25_1932.jpg
/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_36_10984.jpg
/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_37_1672.jpg
/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_39_1746.jpg
/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_41_1819.jpg
/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_43_1724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391766251","1391766008","1391766335","1391766169","1391765896","1391766089"],"photo_ids_order":["1391765896","1391766008","1391766089","1391766169","1391766251","1391766335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fb38fcad4df5d8aa05e8fdfec7806678.jpg","text":"TemporaryFile(/tmp/multipartBody6041516174807156971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045405282,"filename":"image_30102025_07_39_41_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/2/c12490861a1dea726d25b0511cf55980.jpg","text":"TemporaryFile(/tmp/multipartBody1319335316924198720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045405282,"filename":"image_30102025_07_39_36_10984.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5db1e5eae7b405d6b1fece2f286b7550.jpg","text":"TemporaryFile(/tmp/multipartBody2523855293635332362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045405282,"filename":"image_30102025_07_39_43_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/2/551327dd9b674291ac872997b960ae1e.jpg","text":"TemporaryFile(/tmp/multipartBody1740655445533166731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045405282,"filename":"image_30102025_07_39_39_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/2/3252f0dda3d02d422735467386314b48.jpg","text":"TemporaryFile(/tmp/multipartBody7501262423381967099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045405282,"filename":"image_30102025_07_39_25_1932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2222814348243981dfc55e6f6f83b740.jpg","text":"TemporaryFile(/tmp/multipartBody1831988163708879933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045405282,"filename":"image_30102025_07_39_37_1672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391766089","file1":"1391766008","file0":"1391765896","file4":"1391766251","file5":"1391766335","file3":"1391766169"},"map_files_photo_id_array":[{"photo_id":"1391766335","filename":"file5"},{"photo_id":"1391766089","filename":"file2"},{"photo_id":"1391766251","filename":"file4"},{"photo_id":"1391766008","filename":"file1"},{"photo_id":"1391765896","filename":"file0"},{"photo_id":"1391766169","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391766251":["hashtag1","hashtag2"]},{"1391766008":["hashtag1","hashtag2"]},{"1391766335":["hashtag1","hashtag2"]},{"1391766169":["hashtag1","hashtag2"]},{"1391765896":["hashtag1","hashtag2"]},{"1391766089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391766251, 1391766008, 1391766335, 1391766169, 1391765896, 1391766089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.457022190093994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:03:02.604548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/39/image_30102025_07_39_44_1716.jpg', '/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_46_1880.jpg', '/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_49_2677.jpg', '/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_52_2678.jpg', '/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_54_2651.jpg', '/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_57_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/07/39/image_30102025_07_39_44_1716.jpg
/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_46_1880.jpg
/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_49_2677.jpg
/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_52_2678.jpg
/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_54_2651.jpg
/home/pi/Desktop/images/30102025/07/39/image_30102025_07_39_57_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391766722","1391766902","1391766781","1391766820","1391766637","1391766861"],"photo_ids_order":["1391766637","1391766722","1391766781","1391766820","1391766861","1391766902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/56bbbf69325ad0f76f5155258073daa7.jpg","text":"TemporaryFile(/tmp/multipartBody6513636987293921058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045444733,"filename":"image_30102025_07_39_46_1880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8130d019f39d4ffd6a2e5fe564263bf4.jpg","text":"TemporaryFile(/tmp/multipartBody544824365686909470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045444733,"filename":"image_30102025_07_39_57_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/2/37d52c84d39f34054ce64d8a189f612a.jpg","text":"TemporaryFile(/tmp/multipartBody2801167954303050377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045444733,"filename":"image_30102025_07_39_49_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/2/4b1d1585e1a825320a0693b932c1f080.jpg","text":"TemporaryFile(/tmp/multipartBody1842116449319038225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045444733,"filename":"image_30102025_07_39_52_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/2/61fe2103fcd2b83fbe9f4ce5aab2e4cf.jpg","text":"TemporaryFile(/tmp/multipartBody8509818786539344495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045444733,"filename":"image_30102025_07_39_44_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/19bdfd0d8d87af046abe4004b9774bb5.jpg","text":"TemporaryFile(/tmp/multipartBody8378218641170789120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045444733,"filename":"image_30102025_07_39_54_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391766781","file1":"1391766722","file0":"1391766637","file4":"1391766861","file5":"1391766902","file3":"1391766820"},"map_files_photo_id_array":[{"photo_id":"1391766902","filename":"file5"},{"photo_id":"1391766781","filename":"file2"},{"photo_id":"1391766861","filename":"file4"},{"photo_id":"1391766722","filename":"file1"},{"photo_id":"1391766637","filename":"file0"},{"photo_id":"1391766820","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391766722":["hashtag1","hashtag2"]},{"1391766902":["hashtag1","hashtag2"]},{"1391766781":["hashtag1","hashtag2"]},{"1391766820":["hashtag1","hashtag2"]},{"1391766637":["hashtag1","hashtag2"]},{"1391766861":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391766722, 1391766902, 1391766781, 1391766820, 1391766637, 1391766861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.778483390808105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 02:03:41.859059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/39/image_30102025_07_40_01_3675.jpg', '/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_03_2718.jpg', '/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_06_2805.jpg', '/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_10_3616.jpg', '/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_12_2522.jpg', '/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_19_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/07/39/image_30102025_07_40_01_3675.jpg
/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_03_2718.jpg
/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_06_2805.jpg
/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_10_3616.jpg
/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_12_2522.jpg
/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_19_3658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391767174","1391767048","1391767336","1391767389","1391767088","1391767256"],"photo_ids_order":["1391767048","1391767088","1391767174","1391767256","1391767336","1391767389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/695a000d4bb885ff7859688249fe05c8.jpg","text":"TemporaryFile(/tmp/multipartBody98582226383009423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045482905,"filename":"image_30102025_07_40_06_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/2/2a7eff799d8607a130ade53992f15add.jpg","text":"TemporaryFile(/tmp/multipartBody1175147750509909446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045482905,"filename":"image_30102025_07_40_01_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/2/a62318069a688676ce62f7b6b5c8134e.jpg","text":"TemporaryFile(/tmp/multipartBody4029992558925790985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045482905,"filename":"image_30102025_07_40_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/2/cfb34490ecfefbfe6bed30c64cc1a826.jpg","text":"TemporaryFile(/tmp/multipartBody7503893926353309517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045482905,"filename":"image_30102025_07_40_19_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/2/d656b8975cfd5086571aabb2549565c4.jpg","text":"TemporaryFile(/tmp/multipartBody164360993683904322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045482905,"filename":"image_30102025_07_40_03_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/2/3404767eb520e94f931bfabe37b81414.jpg","text":"TemporaryFile(/tmp/multipartBody6485303281917862735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045482905,"filename":"image_30102025_07_40_10_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391767174","file1":"1391767088","file0":"1391767048","file4":"1391767336","file5":"1391767389","file3":"1391767256"},"map_files_photo_id_array":[{"photo_id":"1391767389","filename":"file5"},{"photo_id":"1391767174","filename":"file2"},{"photo_id":"1391767336","filename":"file4"},{"photo_id":"1391767088","filename":"file1"},{"photo_id":"1391767048","filename":"file0"},{"photo_id":"1391767256","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391767174":["hashtag1","hashtag2"]},{"1391767048":["hashtag1","hashtag2"]},{"1391767336":["hashtag1","hashtag2"]},{"1391767389":["hashtag1","hashtag2"]},{"1391767088":["hashtag1","hashtag2"]},{"1391767256":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391767174, 1391767048, 1391767336, 1391767389, 1391767088, 1391767256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.040932178497314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:04:22.098293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/40/image_30102025_07_40_21_2655.jpg', '/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_24_2645.jpg', '/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_28_3704.jpg', '/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_30_2576.jpg', '/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_33_2701.jpg', '/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_37_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/07/40/image_30102025_07_40_21_2655.jpg
/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_24_2645.jpg
/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_28_3704.jpg
/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_30_2576.jpg
/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_33_2701.jpg
/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_37_3656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391767633","1391767677","1391767590","1391767560","1391767790","1391767721"],"photo_ids_order":["1391767560","1391767590","1391767633","1391767677","1391767721","1391767790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/beb1b8a572373b5671a2f83ed2373250.jpg","text":"TemporaryFile(/tmp/multipartBody8598761558728325648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045524671,"filename":"image_30102025_07_40_28_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/2/af442ea07904e7dfe078248a7e3d890f.jpg","text":"TemporaryFile(/tmp/multipartBody4742898544854137263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045524671,"filename":"image_30102025_07_40_30_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/2/3c3cf857455a39030850f54d77e2993d.jpg","text":"TemporaryFile(/tmp/multipartBody4168257865408450674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045524671,"filename":"image_30102025_07_40_24_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/2/b42b5cb609c3e999a635f2971e200431.jpg","text":"TemporaryFile(/tmp/multipartBody5438763220413168149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045524671,"filename":"image_30102025_07_40_21_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/2/5668193734cf0918fd011540cbcf6600.jpg","text":"TemporaryFile(/tmp/multipartBody8323888471831311766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045524671,"filename":"image_30102025_07_40_37_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/2/b8d7e3406c3822fbc3f4f440265556da.jpg","text":"TemporaryFile(/tmp/multipartBody7975169123815681860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045524671,"filename":"image_30102025_07_40_33_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391767633","file1":"1391767590","file0":"1391767560","file4":"1391767721","file5":"1391767790","file3":"1391767677"},"map_files_photo_id_array":[{"photo_id":"1391767790","filename":"file5"},{"photo_id":"1391767633","filename":"file2"},{"photo_id":"1391767721","filename":"file4"},{"photo_id":"1391767590","filename":"file1"},{"photo_id":"1391767560","filename":"file0"},{"photo_id":"1391767677","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391767633":["hashtag1","hashtag2"]},{"1391767677":["hashtag1","hashtag2"]},{"1391767590":["hashtag1","hashtag2"]},{"1391767560":["hashtag1","hashtag2"]},{"1391767790":["hashtag1","hashtag2"]},{"1391767721":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391767633, 1391767677, 1391767590, 1391767560, 1391767790, 1391767721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.54789996147156 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-02 02:05:22.169882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/40/image_30102025_07_40_39_2683.jpg', '/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_42_2943.jpg', '/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_46_3523.jpg', '/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_48_2575.jpg', '/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_51_2705.jpg', '/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_55_3772.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/40/image_30102025_07_40_39_2683.jpg
/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_42_2943.jpg
/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_46_3523.jpg
/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_48_2575.jpg
/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_51_2705.jpg
/home/pi/Desktop/images/30102025/07/40/image_30102025_07_40_55_3772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391768442","1391768439","1391768408","1391768516","1391768479","1391768371"],"photo_ids_order":["1391768371","1391768408","1391768439","1391768442","1391768479","1391768516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a24eb52a888d6a6788852afef9260a82.jpg","text":"TemporaryFile(/tmp/multipartBody5997653616157014777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045584729,"filename":"image_30102025_07_40_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/2/7abf34f1e1498c04c4cd6c115cb168a3.jpg","text":"TemporaryFile(/tmp/multipartBody2545654256321562159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045584729,"filename":"image_30102025_07_40_46_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/2/0feb6c13298d68f52f8593d94009bee9.jpg","text":"TemporaryFile(/tmp/multipartBody6369831262421054107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045584729,"filename":"image_30102025_07_40_42_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/2/c4bcd5f65b160a67ab483db5d882a280.jpg","text":"TemporaryFile(/tmp/multipartBody1598366224802689518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045584729,"filename":"image_30102025_07_40_55_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/2/f8e51d718d7a5e56d24170c8320cb080.jpg","text":"TemporaryFile(/tmp/multipartBody4981100812215218644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045584729,"filename":"image_30102025_07_40_51_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/2/db09348fc37798ab4b2ed4a9f5ecf163.jpg","text":"TemporaryFile(/tmp/multipartBody8836554180636073419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045584729,"filename":"image_30102025_07_40_39_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391768439","file1":"1391768408","file0":"1391768371","file4":"1391768479","file5":"1391768516","file3":"1391768442"},"map_files_photo_id_array":[{"photo_id":"1391768516","filename":"file5"},{"photo_id":"1391768439","filename":"file2"},{"photo_id":"1391768479","filename":"file4"},{"photo_id":"1391768408","filename":"file1"},{"photo_id":"1391768371","filename":"file0"},{"photo_id":"1391768442","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391768442":["hashtag1","hashtag2"]},{"1391768439":["hashtag1","hashtag2"]},{"1391768408":["hashtag1","hashtag2"]},{"1391768516":["hashtag1","hashtag2"]},{"1391768479":["hashtag1","hashtag2"]},{"1391768371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391768442, 1391768439, 1391768408, 1391768516, 1391768479, 1391768371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52564811706543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:06:02.973737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/40/image_30102025_07_40_57_2617.jpg', '/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_01_3456.jpg', '/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_06_4921.jpg', '/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_17_11473.jpg', '/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_20_3016.jpg', '/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_22_1700.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/40/image_30102025_07_40_57_2617.jpg
/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_01_3456.jpg
/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_06_4921.jpg
/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_17_11473.jpg
/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_20_3016.jpg
/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_22_1700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391768562","1391768565","1391768573","1391768567","1391768576","1391768570"],"photo_ids_order":["1391768562","1391768565","1391768567","1391768570","1391768573","1391768576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0fad82902c661e7ff87f62562731cd5e.jpg","text":"TemporaryFile(/tmp/multipartBody5349862158588935408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045624990,"filename":"image_30102025_07_40_57_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/2/234a50f70bafc66bb7a3aa4d9b27fd92.jpg","text":"TemporaryFile(/tmp/multipartBody6421422225325594845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045624990,"filename":"image_30102025_07_41_01_3456.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b218a8f289645419d32ad41802d6efb2.jpg","text":"TemporaryFile(/tmp/multipartBody5239454692425075655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045624990,"filename":"image_30102025_07_41_20_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/2/1aee4c25b9cfd1619c73a93ec61bd249.jpg","text":"TemporaryFile(/tmp/multipartBody3574867577769162234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045624990,"filename":"image_30102025_07_41_06_4921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/498a627f369a0d57e638c3c917d09b15.jpg","text":"TemporaryFile(/tmp/multipartBody3684401100613912943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045624990,"filename":"image_30102025_07_41_22_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/425c0dd4d39287cf2c5349c57397dec5.jpg","text":"TemporaryFile(/tmp/multipartBody3270447203473219031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045624990,"filename":"image_30102025_07_41_17_11473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391768567","file1":"1391768565","file0":"1391768562","file4":"1391768573","file5":"1391768576","file3":"1391768570"},"map_files_photo_id_array":[{"photo_id":"1391768576","filename":"file5"},{"photo_id":"1391768567","filename":"file2"},{"photo_id":"1391768573","filename":"file4"},{"photo_id":"1391768565","filename":"file1"},{"photo_id":"1391768562","filename":"file0"},{"photo_id":"1391768570","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391768562":["hashtag1","hashtag2"]},{"1391768565":["hashtag1","hashtag2"]},{"1391768573":["hashtag1","hashtag2"]},{"1391768567":["hashtag1","hashtag2"]},{"1391768576":["hashtag1","hashtag2"]},{"1391768570":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391768562, 1391768565, 1391768573, 1391768567, 1391768576, 1391768570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.220951795578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 02:06:42.567322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/41/image_30102025_07_41_24_1622.jpg', '/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_25_1523.jpg', '/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_40_14442.jpg', '/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_46_6006.jpg', '/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_47_1636.jpg', '/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_51_3354.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/41/image_30102025_07_41_24_1622.jpg
/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_25_1523.jpg
/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_40_14442.jpg
/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_46_6006.jpg
/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_47_1636.jpg
/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_51_3354.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391768595","1391768598","1391768583","1391768590","1391768593","1391768587"],"photo_ids_order":["1391768583","1391768587","1391768590","1391768593","1391768595","1391768598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6d2e4d7d04ab7d6176923cc67cad51d0.jpg","text":"TemporaryFile(/tmp/multipartBody6570445607075342217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045663612,"filename":"image_30102025_07_41_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/2/3500f29fe173a3b1fca202d8acdf4368.jpg","text":"TemporaryFile(/tmp/multipartBody4515602309133838079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045663612,"filename":"image_30102025_07_41_51_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/2/d1f685894fa777cc55f7a1680145d54a.jpg","text":"TemporaryFile(/tmp/multipartBody7237691465585510472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045663612,"filename":"image_30102025_07_41_24_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/2/59a682f35435b3d4ea0c609987af491a.jpg","text":"TemporaryFile(/tmp/multipartBody6492254843866875329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045663612,"filename":"image_30102025_07_41_40_14442.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cbde506e4c531cba335fc40e6a840af0.jpg","text":"TemporaryFile(/tmp/multipartBody4870998749082539916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045663612,"filename":"image_30102025_07_41_46_6006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8802c6d6b18ac6c83d3c40ce9c3ab0bf.jpg","text":"TemporaryFile(/tmp/multipartBody7072150349264652668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045663612,"filename":"image_30102025_07_41_25_1523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391768590","file1":"1391768587","file0":"1391768583","file4":"1391768595","file5":"1391768598","file3":"1391768593"},"map_files_photo_id_array":[{"photo_id":"1391768598","filename":"file5"},{"photo_id":"1391768590","filename":"file2"},{"photo_id":"1391768595","filename":"file4"},{"photo_id":"1391768587","filename":"file1"},{"photo_id":"1391768583","filename":"file0"},{"photo_id":"1391768593","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391768595":["hashtag1","hashtag2"]},{"1391768598":["hashtag1","hashtag2"]},{"1391768583":["hashtag1","hashtag2"]},{"1391768590":["hashtag1","hashtag2"]},{"1391768593":["hashtag1","hashtag2"]},{"1391768587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391768595, 1391768598, 1391768583, 1391768590, 1391768593, 1391768587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.867631673812866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:07:22.651107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/41/image_30102025_07_41_52_1639.jpg', '/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_54_1529.jpg', '/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_56_1753.jpg', '/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_57_1557.jpg', '/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_59_1605.jpg', '/home/pi/Desktop/images/30102025/07/41/image_30102025_07_42_00_1619.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/41/image_30102025_07_41_52_1639.jpg
/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_54_1529.jpg
/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_56_1753.jpg
/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_57_1557.jpg
/home/pi/Desktop/images/30102025/07/41/image_30102025_07_41_59_1605.jpg
/home/pi/Desktop/images/30102025/07/41/image_30102025_07_42_00_1619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391768614","1391768608","1391768610","1391768612","1391768606","1391768609"],"photo_ids_order":["1391768606","1391768608","1391768609","1391768610","1391768612","1391768614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ea2f6ba6df032507b70320f08e3585c8.jpg","text":"TemporaryFile(/tmp/multipartBody8141383494728470888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045705279,"filename":"image_30102025_07_42_00_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/04861f1510a1f5b5d14689a7ab28ba9e.jpg","text":"TemporaryFile(/tmp/multipartBody7788141412274284523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045705279,"filename":"image_30102025_07_41_54_1529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fba624f7db8dce50404341812389b55f.jpg","text":"TemporaryFile(/tmp/multipartBody8476560668255811808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045705279,"filename":"image_30102025_07_41_57_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d2238b14f9eada0f7ca60173899dd8d1.jpg","text":"TemporaryFile(/tmp/multipartBody6984069614617960046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045705279,"filename":"image_30102025_07_41_59_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/2/4878f198879e09a02d030baf7e9039a0.jpg","text":"TemporaryFile(/tmp/multipartBody4381397684053923198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045705279,"filename":"image_30102025_07_41_52_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/2/9be3dbc92c8a1b4c7f1666f81c5cb81f.jpg","text":"TemporaryFile(/tmp/multipartBody6539779165996693829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045705279,"filename":"image_30102025_07_41_56_1753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391768609","file1":"1391768608","file0":"1391768606","file4":"1391768612","file5":"1391768614","file3":"1391768610"},"map_files_photo_id_array":[{"photo_id":"1391768614","filename":"file5"},{"photo_id":"1391768609","filename":"file2"},{"photo_id":"1391768612","filename":"file4"},{"photo_id":"1391768608","filename":"file1"},{"photo_id":"1391768606","filename":"file0"},{"photo_id":"1391768610","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391768614":["hashtag1","hashtag2"]},{"1391768608":["hashtag1","hashtag2"]},{"1391768610":["hashtag1","hashtag2"]},{"1391768612":["hashtag1","hashtag2"]},{"1391768606":["hashtag1","hashtag2"]},{"1391768609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391768614, 1391768608, 1391768610, 1391768612, 1391768606, 1391768609)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.51234745979309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:08:22.058413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/42/image_30102025_07_42_02_1780.jpg', '/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_04_1964.jpg', '/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_06_1583.jpg', '/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_07_1640.jpg', '/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_09_1802.jpg', '/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_11_1656.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/42/image_30102025_07_42_02_1780.jpg
/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_04_1964.jpg
/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_06_1583.jpg
/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_07_1640.jpg
/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_09_1802.jpg
/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_11_1656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391768646","1391768625","1391768640","1391768634","1391768630","1391768627"],"photo_ids_order":["1391768625","1391768627","1391768630","1391768634","1391768640","1391768646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/31d8634cfe764ddc0b60f391aca24130.jpg","text":"TemporaryFile(/tmp/multipartBody1170586902732129769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045764650,"filename":"image_30102025_07_42_11_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/2/9bfb943f3893b6ef2fa39d9f4ec0d3fe.jpg","text":"TemporaryFile(/tmp/multipartBody4504671066173569883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045764650,"filename":"image_30102025_07_42_02_1780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/170c99b5c3aaadaff5b12a4d59fc98e4.jpg","text":"TemporaryFile(/tmp/multipartBody4905555296831792251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045764650,"filename":"image_30102025_07_42_09_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/2/326b7a1333c131a845b477a32f61d483.jpg","text":"TemporaryFile(/tmp/multipartBody3591231563924144501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045764650,"filename":"image_30102025_07_42_07_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/2/45154d62a2a148506b6bf33624d27377.jpg","text":"TemporaryFile(/tmp/multipartBody7058912786752578084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045764650,"filename":"image_30102025_07_42_06_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/011bb2a3fd1e5a39d6d84b938d76252c.jpg","text":"TemporaryFile(/tmp/multipartBody8798034257994174084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045764650,"filename":"image_30102025_07_42_04_1964.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391768630","file1":"1391768627","file0":"1391768625","file4":"1391768640","file5":"1391768646","file3":"1391768634"},"map_files_photo_id_array":[{"photo_id":"1391768646","filename":"file5"},{"photo_id":"1391768630","filename":"file2"},{"photo_id":"1391768640","filename":"file4"},{"photo_id":"1391768627","filename":"file1"},{"photo_id":"1391768625","filename":"file0"},{"photo_id":"1391768634","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391768646":["hashtag1","hashtag2"]},{"1391768625":["hashtag1","hashtag2"]},{"1391768640":["hashtag1","hashtag2"]},{"1391768634":["hashtag1","hashtag2"]},{"1391768630":["hashtag1","hashtag2"]},{"1391768627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391768646, 1391768625, 1391768640, 1391768634, 1391768630, 1391768627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63425612449646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:09:02.895622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/42/image_30102025_07_42_12_1689.jpg', '/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_14_1598.jpg', '/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_21_7344.jpg', '/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_23_1551.jpg', '/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_25_1731.jpg', '/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_26_1632.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/42/image_30102025_07_42_12_1689.jpg
/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_14_1598.jpg
/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_21_7344.jpg
/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_23_1551.jpg
/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_25_1731.jpg
/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_26_1632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391768655","1391768652","1391768660","1391768657","1391768665","1391768668"],"photo_ids_order":["1391768652","1391768655","1391768657","1391768660","1391768665","1391768668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/22838ee3fcaf2e149660cdfac970cb3f.jpg","text":"TemporaryFile(/tmp/multipartBody8109676335348074299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045805380,"filename":"image_30102025_07_42_14_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/2/199575befbc320d908e936a8357ff225.jpg","text":"TemporaryFile(/tmp/multipartBody6800038191402233295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045805380,"filename":"image_30102025_07_42_12_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/2/9ad207e1b15298d3dffcac0e4ef7343b.jpg","text":"TemporaryFile(/tmp/multipartBody5285263406799301481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045805380,"filename":"image_30102025_07_42_23_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/2/ba81b12d40017475ba80e4f7791bb316.jpg","text":"TemporaryFile(/tmp/multipartBody7850865354713888618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045805380,"filename":"image_30102025_07_42_21_7344.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f7dab5f62c7e7eba387cd937b8b78297.jpg","text":"TemporaryFile(/tmp/multipartBody7957868157329518548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045805380,"filename":"image_30102025_07_42_25_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/2/7dd031cc295ebe874da12000703b4539.jpg","text":"TemporaryFile(/tmp/multipartBody4495233466715202154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045805380,"filename":"image_30102025_07_42_26_1632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391768657","file1":"1391768655","file0":"1391768652","file4":"1391768665","file5":"1391768668","file3":"1391768660"},"map_files_photo_id_array":[{"photo_id":"1391768668","filename":"file5"},{"photo_id":"1391768657","filename":"file2"},{"photo_id":"1391768665","filename":"file4"},{"photo_id":"1391768655","filename":"file1"},{"photo_id":"1391768652","filename":"file0"},{"photo_id":"1391768660","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391768655":["hashtag1","hashtag2"]},{"1391768652":["hashtag1","hashtag2"]},{"1391768660":["hashtag1","hashtag2"]},{"1391768657":["hashtag1","hashtag2"]},{"1391768665":["hashtag1","hashtag2"]},{"1391768668":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391768655, 1391768652, 1391768660, 1391768657, 1391768665, 1391768668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01178026199341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 02:09:42.092415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/42/image_30102025_07_42_28_1674.jpg', '/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_31_2688.jpg', '/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_46_15553.jpg', '/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_48_1550.jpg', '/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_52_4436.jpg', '/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_54_1824.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/42/image_30102025_07_42_28_1674.jpg
/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_31_2688.jpg
/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_46_15553.jpg
/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_48_1550.jpg
/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_52_4436.jpg
/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_54_1824.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391768690","1391768693","1391768687","1391768683","1391768677","1391768680"],"photo_ids_order":["1391768677","1391768680","1391768683","1391768687","1391768690","1391768693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0b2e0e4feb5cf7ca0f77b9479715a03e.jpg","text":"TemporaryFile(/tmp/multipartBody1494785753841720786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045843150,"filename":"image_30102025_07_42_52_4436.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0e171e3a12928c550f8e3b1d2fa3023e.jpg","text":"TemporaryFile(/tmp/multipartBody7485245916886484615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045843150,"filename":"image_30102025_07_42_54_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/2/8869fedfb1e5e2ae54a7244f30c150c3.jpg","text":"TemporaryFile(/tmp/multipartBody4784530045146553167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045843150,"filename":"image_30102025_07_42_48_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/2/961f9df7e479420086986c03a5b7b2d9.jpg","text":"TemporaryFile(/tmp/multipartBody3787814742806665132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045843150,"filename":"image_30102025_07_42_46_15553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fae1d5b93422944b131926ff000505df.jpg","text":"TemporaryFile(/tmp/multipartBody8294452010315237966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045843150,"filename":"image_30102025_07_42_28_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/2/67f2f440df984b9a3f9a3e110cd0a601.jpg","text":"TemporaryFile(/tmp/multipartBody6917698785770373405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045843150,"filename":"image_30102025_07_42_31_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391768683","file1":"1391768680","file0":"1391768677","file4":"1391768690","file5":"1391768693","file3":"1391768687"},"map_files_photo_id_array":[{"photo_id":"1391768693","filename":"file5"},{"photo_id":"1391768683","filename":"file2"},{"photo_id":"1391768690","filename":"file4"},{"photo_id":"1391768680","filename":"file1"},{"photo_id":"1391768677","filename":"file0"},{"photo_id":"1391768687","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391768690":["hashtag1","hashtag2"]},{"1391768693":["hashtag1","hashtag2"]},{"1391768687":["hashtag1","hashtag2"]},{"1391768683":["hashtag1","hashtag2"]},{"1391768677":["hashtag1","hashtag2"]},{"1391768680":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391768690, 1391768693, 1391768687, 1391768683, 1391768677, 1391768680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.744412660598755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:10:22.166416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/42/image_30102025_07_42_55_1495.jpg', '/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_57_1598.jpg', '/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_59_1717.jpg', '/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_05_6273.jpg', '/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_07_1640.jpg', '/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_09_1853.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/42/image_30102025_07_42_55_1495.jpg
/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_57_1598.jpg
/home/pi/Desktop/images/30102025/07/42/image_30102025_07_42_59_1717.jpg
/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_05_6273.jpg
/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_07_1640.jpg
/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_09_1853.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391768707","1391768715","1391768700","1391768703","1391768711","1391768705"],"photo_ids_order":["1391768700","1391768703","1391768705","1391768707","1391768711","1391768715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/21d3f04b9fa5ceba3ad15c88a79d2861.jpg","text":"TemporaryFile(/tmp/multipartBody5464653900041805685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045884775,"filename":"image_30102025_07_43_05_6273.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1f7d54f274c950c34bbb028fff9b00ab.jpg","text":"TemporaryFile(/tmp/multipartBody5085112611809408743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045884775,"filename":"image_30102025_07_43_09_1853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/56d98f86bd45629a4f7e627b9d1ea9f1.jpg","text":"TemporaryFile(/tmp/multipartBody5922671909509429432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045884775,"filename":"image_30102025_07_42_55_1495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/aa7374db6a2df7b53df78067eba4d4ca.jpg","text":"TemporaryFile(/tmp/multipartBody8249577650429949177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045884775,"filename":"image_30102025_07_42_57_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/2/1e32c50c2d3362d36f43fb759d141336.jpg","text":"TemporaryFile(/tmp/multipartBody4262134367531138248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045884775,"filename":"image_30102025_07_43_07_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/2/4a04d76ad590a00850926f3ba8fb0403.jpg","text":"TemporaryFile(/tmp/multipartBody3356772380722009853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045884775,"filename":"image_30102025_07_42_59_1717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391768705","file1":"1391768703","file0":"1391768700","file4":"1391768711","file5":"1391768715","file3":"1391768707"},"map_files_photo_id_array":[{"photo_id":"1391768715","filename":"file5"},{"photo_id":"1391768705","filename":"file2"},{"photo_id":"1391768711","filename":"file4"},{"photo_id":"1391768703","filename":"file1"},{"photo_id":"1391768700","filename":"file0"},{"photo_id":"1391768707","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391768707":["hashtag1","hashtag2"]},{"1391768715":["hashtag1","hashtag2"]},{"1391768700":["hashtag1","hashtag2"]},{"1391768703":["hashtag1","hashtag2"]},{"1391768711":["hashtag1","hashtag2"]},{"1391768705":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391768707, 1391768715, 1391768700, 1391768703, 1391768711, 1391768705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49640202522278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:11:03.085161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/43/image_30102025_07_43_10_1546.jpg', '/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_12_1692.jpg', '/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_13_1599.jpg', '/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_15_1764.jpg', '/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_17_1571.jpg', '/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_18_1614.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/43/image_30102025_07_43_10_1546.jpg
/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_12_1692.jpg
/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_13_1599.jpg
/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_15_1764.jpg
/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_17_1571.jpg
/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_18_1614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391768740","1391768743","1391768737","1391768733","1391768727","1391768731"],"photo_ids_order":["1391768727","1391768731","1391768733","1391768737","1391768740","1391768743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/523e917983169c4181a3aebc1fec02f7.jpg","text":"TemporaryFile(/tmp/multipartBody3485190067386419512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045925203,"filename":"image_30102025_07_43_17_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/2/56abd0c02c13e377c5ecd5c2c77e0c28.jpg","text":"TemporaryFile(/tmp/multipartBody1696239591581750380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045925203,"filename":"image_30102025_07_43_18_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/2/d4d147076c912e23de6498bd5f0fefd2.jpg","text":"TemporaryFile(/tmp/multipartBody474980055271054953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045925203,"filename":"image_30102025_07_43_15_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/2/43f9194e0edd696056da35df0a411574.jpg","text":"TemporaryFile(/tmp/multipartBody1877013010784167689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045925203,"filename":"image_30102025_07_43_13_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/2/0629f23ac52eec5ac5dd399dcfec294c.jpg","text":"TemporaryFile(/tmp/multipartBody7539074648263709686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045925203,"filename":"image_30102025_07_43_10_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/2/12764128047e7b8d76d0c81db39842c6.jpg","text":"TemporaryFile(/tmp/multipartBody3461365542420220073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762045925203,"filename":"image_30102025_07_43_12_1692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391768733","file1":"1391768731","file0":"1391768727","file4":"1391768740","file5":"1391768743","file3":"1391768737"},"map_files_photo_id_array":[{"photo_id":"1391768743","filename":"file5"},{"photo_id":"1391768733","filename":"file2"},{"photo_id":"1391768740","filename":"file4"},{"photo_id":"1391768731","filename":"file1"},{"photo_id":"1391768727","filename":"file0"},{"photo_id":"1391768737","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391768740":["hashtag1","hashtag2"]},{"1391768743":["hashtag1","hashtag2"]},{"1391768737":["hashtag1","hashtag2"]},{"1391768733":["hashtag1","hashtag2"]},{"1391768727":["hashtag1","hashtag2"]},{"1391768731":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391768740, 1391768743, 1391768737, 1391768733, 1391768727, 1391768731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.51031851768494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:12:03.089577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/43/image_30102025_07_43_21_2567.jpg', '/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_25_3696.jpg', '/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_34_9504.jpg', '/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_36_1766.jpg', '/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_42_6076.jpg', '/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_45_3068.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/43/image_30102025_07_43_21_2567.jpg
/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_25_3696.jpg
/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_34_9504.jpg
/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_36_1766.jpg
/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_42_6076.jpg
/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_45_3068.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.986393690109253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:12:22.692885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/43/image_30102025_07_43_21_2567.jpg', '/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_25_3696.jpg', '/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_34_9504.jpg', '/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_36_1766.jpg', '/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_42_6076.jpg', '/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_45_3068.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/43/image_30102025_07_43_21_2567.jpg
/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_25_3696.jpg
/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_34_9504.jpg
/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_36_1766.jpg
/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_42_6076.jpg
/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_45_3068.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391768787","1391768781","1391768783","1391768795","1391768791","1391768779"],"photo_ids_order":["1391768779","1391768781","1391768783","1391768787","1391768791","1391768795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e823cf3ca28bf8629113bd6e98e00ae1.jpg","text":"TemporaryFile(/tmp/multipartBody1739388077342646497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046005162,"filename":"image_30102025_07_43_36_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/2/ce7f738a51691f38935006ee423dff64.jpg","text":"TemporaryFile(/tmp/multipartBody8017777176393222047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046005162,"filename":"image_30102025_07_43_25_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/2/a378412ebeceda1fd52d4b6980ca06f0.jpg","text":"TemporaryFile(/tmp/multipartBody6669448412356325965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046005162,"filename":"image_30102025_07_43_34_9504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d474497b87c478b01242566d08715d9d.jpg","text":"TemporaryFile(/tmp/multipartBody2877834349505094390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046005162,"filename":"image_30102025_07_43_45_3068.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fd92bd40fbe1a90f1f7662831d2b7f30.jpg","text":"TemporaryFile(/tmp/multipartBody2982866158765520656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046005162,"filename":"image_30102025_07_43_42_6076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2d287ef13896ab25a7364dbe87bcd812.jpg","text":"TemporaryFile(/tmp/multipartBody754536746206451972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046005162,"filename":"image_30102025_07_43_21_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391768783","file1":"1391768781","file0":"1391768779","file4":"1391768791","file5":"1391768795","file3":"1391768787"},"map_files_photo_id_array":[{"photo_id":"1391768795","filename":"file5"},{"photo_id":"1391768783","filename":"file2"},{"photo_id":"1391768791","filename":"file4"},{"photo_id":"1391768781","filename":"file1"},{"photo_id":"1391768779","filename":"file0"},{"photo_id":"1391768787","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391768787":["hashtag1","hashtag2"]},{"1391768781":["hashtag1","hashtag2"]},{"1391768783":["hashtag1","hashtag2"]},{"1391768795":["hashtag1","hashtag2"]},{"1391768791":["hashtag1","hashtag2"]},{"1391768779":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391768787, 1391768781, 1391768783, 1391768795, 1391768791, 1391768779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.567418575286865 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-02 02:13:21.964416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/43/image_30102025_07_43_47_1706.jpg', '/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_54_7275.jpg', '/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_58_3667.jpg', '/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_59_1740.jpg', '/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_01_1536.jpg', '/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_03_1670.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/43/image_30102025_07_43_47_1706.jpg
/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_54_7275.jpg
/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_58_3667.jpg
/home/pi/Desktop/images/30102025/07/43/image_30102025_07_43_59_1740.jpg
/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_01_1536.jpg
/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_03_1670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391768833","1391768812","1391768815","1391768829","1391768825","1391768819"],"photo_ids_order":["1391768812","1391768815","1391768819","1391768825","1391768829","1391768833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1e33c2095a9caab587ed9576c12a21f5.jpg","text":"TemporaryFile(/tmp/multipartBody486791994437678660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046064569,"filename":"image_30102025_07_44_03_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/2/201dab27cd995d6edce929f6a51f171d.jpg","text":"TemporaryFile(/tmp/multipartBody5042537613924617909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046064569,"filename":"image_30102025_07_43_47_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e7d37db6a7bae16d0cf752f15ca69023.jpg","text":"TemporaryFile(/tmp/multipartBody93868308903818752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046064569,"filename":"image_30102025_07_43_54_7275.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c4fe8f48a6b4de31ca3b6e3daebb94df.jpg","text":"TemporaryFile(/tmp/multipartBody4882581723199977733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046064569,"filename":"image_30102025_07_44_01_1536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f15b70080c11c44f7e17d4660647498c.jpg","text":"TemporaryFile(/tmp/multipartBody7470374648086212883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046064569,"filename":"image_30102025_07_43_59_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/2/7ac408076afa0da23fc770cdf487b5d7.jpg","text":"TemporaryFile(/tmp/multipartBody7618604901583051151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046064569,"filename":"image_30102025_07_43_58_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391768819","file1":"1391768815","file0":"1391768812","file4":"1391768829","file5":"1391768833","file3":"1391768825"},"map_files_photo_id_array":[{"photo_id":"1391768833","filename":"file5"},{"photo_id":"1391768819","filename":"file2"},{"photo_id":"1391768829","filename":"file4"},{"photo_id":"1391768815","filename":"file1"},{"photo_id":"1391768812","filename":"file0"},{"photo_id":"1391768825","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391768833":["hashtag1","hashtag2"]},{"1391768812":["hashtag1","hashtag2"]},{"1391768815":["hashtag1","hashtag2"]},{"1391768829":["hashtag1","hashtag2"]},{"1391768825":["hashtag1","hashtag2"]},{"1391768819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391768833, 1391768812, 1391768815, 1391768829, 1391768825, 1391768819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.368890047073364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:14:22.158370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/44/image_30102025_07_44_04_1644.jpg', '/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_06_1739.jpg', '/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_10_3673.jpg', '/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_11_1720.jpg', '/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_13_2050.jpg', '/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_18_4236.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/44/image_30102025_07_44_04_1644.jpg
/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_06_1739.jpg
/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_10_3673.jpg
/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_11_1720.jpg
/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_13_2050.jpg
/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_18_4236.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391768854","1391768850","1391768870","1391768861","1391768857","1391768866"],"photo_ids_order":["1391768850","1391768854","1391768857","1391768861","1391768866","1391768870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5e6ef7239d3b174171bb189d1d6bed46.jpg","text":"TemporaryFile(/tmp/multipartBody5435711474914895739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046124592,"filename":"image_30102025_07_44_06_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/2/d7a957fda3c2e1596110feaa5e026761.jpg","text":"TemporaryFile(/tmp/multipartBody260070218146455235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046124592,"filename":"image_30102025_07_44_04_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/2/77b522d3c0fded5ea624dbcedc039932.jpg","text":"TemporaryFile(/tmp/multipartBody6892462815811248547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046124592,"filename":"image_30102025_07_44_18_4236.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e80dff887fabefd77843ddbf4491dae9.jpg","text":"TemporaryFile(/tmp/multipartBody8916819290894201984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046124592,"filename":"image_30102025_07_44_11_1720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4f65e65d56a3cc16605df339e0749e61.jpg","text":"TemporaryFile(/tmp/multipartBody5623633477858650736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046124592,"filename":"image_30102025_07_44_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/2/b4c46a74e35eea5c3dc1f2188a22ac36.jpg","text":"TemporaryFile(/tmp/multipartBody9162109792419824805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046124592,"filename":"image_30102025_07_44_13_2050.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391768857","file1":"1391768854","file0":"1391768850","file4":"1391768866","file5":"1391768870","file3":"1391768861"},"map_files_photo_id_array":[{"photo_id":"1391768870","filename":"file5"},{"photo_id":"1391768857","filename":"file2"},{"photo_id":"1391768866","filename":"file4"},{"photo_id":"1391768854","filename":"file1"},{"photo_id":"1391768850","filename":"file0"},{"photo_id":"1391768861","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391768854":["hashtag1","hashtag2"]},{"1391768850":["hashtag1","hashtag2"]},{"1391768870":["hashtag1","hashtag2"]},{"1391768861":["hashtag1","hashtag2"]},{"1391768857":["hashtag1","hashtag2"]},{"1391768866":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391768854, 1391768850, 1391768870, 1391768861, 1391768857, 1391768866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.01721262931824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:15:03.075810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/44/image_30102025_07_44_19_1545.jpg', '/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_21_1728.jpg', '/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_23_1612.jpg', '/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_24_1633.jpg', '/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_27_2613.jpg', '/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_30_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/07/44/image_30102025_07_44_19_1545.jpg
/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_21_1728.jpg
/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_23_1612.jpg
/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_24_1633.jpg
/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_27_2613.jpg
/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_30_2770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391768892","1391768886","1391768882","1391768879","1391768890","1391768878"],"photo_ids_order":["1391768878","1391768879","1391768882","1391768886","1391768890","1391768892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/83e823a1c6027d2db3e25a2a75d1f8be.jpg","text":"TemporaryFile(/tmp/multipartBody5169025538351678198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046165204,"filename":"image_30102025_07_44_30_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/2/a3c3b7fd0c7afc16335c2fc08635ce59.jpg","text":"TemporaryFile(/tmp/multipartBody2972831091744408996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046165204,"filename":"image_30102025_07_44_24_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/2/dd7c3e59923ce02e7cea9467221cd767.jpg","text":"TemporaryFile(/tmp/multipartBody8109692880785479153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046165204,"filename":"image_30102025_07_44_23_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/2/52055718b27d58f175ac1d06dd0671b2.jpg","text":"TemporaryFile(/tmp/multipartBody3553472805277398452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046165204,"filename":"image_30102025_07_44_21_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/2/70f490df73cd61fcda30ef3fc1188e3f.jpg","text":"TemporaryFile(/tmp/multipartBody2096561077925220261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046165204,"filename":"image_30102025_07_44_27_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/2/0db3fb27465a5b93411111769890df43.jpg","text":"TemporaryFile(/tmp/multipartBody148204436136230434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046165204,"filename":"image_30102025_07_44_19_1545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391768882","file1":"1391768879","file0":"1391768878","file4":"1391768890","file5":"1391768892","file3":"1391768886"},"map_files_photo_id_array":[{"photo_id":"1391768892","filename":"file5"},{"photo_id":"1391768882","filename":"file2"},{"photo_id":"1391768890","filename":"file4"},{"photo_id":"1391768879","filename":"file1"},{"photo_id":"1391768878","filename":"file0"},{"photo_id":"1391768886","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391768892":["hashtag1","hashtag2"]},{"1391768886":["hashtag1","hashtag2"]},{"1391768882":["hashtag1","hashtag2"]},{"1391768879":["hashtag1","hashtag2"]},{"1391768890":["hashtag1","hashtag2"]},{"1391768878":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391768892, 1391768886, 1391768882, 1391768879, 1391768890, 1391768878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91913294792175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 02:15:42.373752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/44/image_30102025_07_44_33_3639.jpg', '/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_36_2558.jpg', '/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_39_2834.jpg', '/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_42_3733.jpg', '/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_45_2646.jpg', '/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_48_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/07/44/image_30102025_07_44_33_3639.jpg
/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_36_2558.jpg
/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_39_2834.jpg
/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_42_3733.jpg
/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_45_2646.jpg
/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_48_2754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391768911","1391768914","1391768917","1391768913","1391768909","1391768906"],"photo_ids_order":["1391768906","1391768909","1391768911","1391768913","1391768914","1391768917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b204aad7279506ae9c3639c7f4eb709f.jpg","text":"TemporaryFile(/tmp/multipartBody6334020179945993957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046203450,"filename":"image_30102025_07_44_39_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/2/49bf9dd6db311ce42e1c39d13af6a681.jpg","text":"TemporaryFile(/tmp/multipartBody3777962306863653548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046203450,"filename":"image_30102025_07_44_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/2/5c6e21460d82af30e5bbc1f4485cd34f.jpg","text":"TemporaryFile(/tmp/multipartBody7180673774953840024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046203450,"filename":"image_30102025_07_44_48_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/2/10e0e8a6bea21df427a997f45f7c4558.jpg","text":"TemporaryFile(/tmp/multipartBody4611843897196784982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046203450,"filename":"image_30102025_07_44_42_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/2/40ba0ed9622d4e3d3b767a0a2091c34b.jpg","text":"TemporaryFile(/tmp/multipartBody34081190356380060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046203450,"filename":"image_30102025_07_44_36_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/2/c18b99e7c979ecac7226e13049618607.jpg","text":"TemporaryFile(/tmp/multipartBody6215412120889349260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046203450,"filename":"image_30102025_07_44_33_3639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391768911","file1":"1391768909","file0":"1391768906","file4":"1391768914","file5":"1391768917","file3":"1391768913"},"map_files_photo_id_array":[{"photo_id":"1391768917","filename":"file5"},{"photo_id":"1391768911","filename":"file2"},{"photo_id":"1391768914","filename":"file4"},{"photo_id":"1391768909","filename":"file1"},{"photo_id":"1391768906","filename":"file0"},{"photo_id":"1391768913","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391768911":["hashtag1","hashtag2"]},{"1391768914":["hashtag1","hashtag2"]},{"1391768917":["hashtag1","hashtag2"]},{"1391768913":["hashtag1","hashtag2"]},{"1391768909":["hashtag1","hashtag2"]},{"1391768906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391768911, 1391768914, 1391768917, 1391768913, 1391768909, 1391768906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31036591529846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:16:22.483258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/44/image_30102025_07_44_51_3336.jpg', '/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_54_2712.jpg', '/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_57_3615.jpg', '/home/pi/Desktop/images/30102025/07/44/image_30102025_07_45_00_2777.jpg', '/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_03_2595.jpg', '/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_06_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/07/44/image_30102025_07_44_51_3336.jpg
/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_54_2712.jpg
/home/pi/Desktop/images/30102025/07/44/image_30102025_07_44_57_3615.jpg
/home/pi/Desktop/images/30102025/07/44/image_30102025_07_45_00_2777.jpg
/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_03_2595.jpg
/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_06_2726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391768932","1391768940","1391768934","1391768928","1391768936","1391768944"],"photo_ids_order":["1391768928","1391768932","1391768934","1391768936","1391768940","1391768944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1f02d0e3ee0867e1171e9036b463ccc6.jpg","text":"TemporaryFile(/tmp/multipartBody6528574356892239212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046245150,"filename":"image_30102025_07_44_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/2/dfc50449cf20c32e8ca37abc3a9cdf22.jpg","text":"TemporaryFile(/tmp/multipartBody6481083438462168861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046245150,"filename":"image_30102025_07_45_03_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/2/7a4af18fbc07f1bf36689382f497de08.jpg","text":"TemporaryFile(/tmp/multipartBody8766966220752908344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046245150,"filename":"image_30102025_07_44_57_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/2/9656599c44c1bfe9bfa4c99e9ab3072e.jpg","text":"TemporaryFile(/tmp/multipartBody3646124937652048011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046245150,"filename":"image_30102025_07_44_51_3336.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2807f9d6ec8d5bd0bc15cd8a3960d1f5.jpg","text":"TemporaryFile(/tmp/multipartBody5474936046591346552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046245150,"filename":"image_30102025_07_45_00_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/2/d564ab34c69abf3797ba15f0ec03ac04.jpg","text":"TemporaryFile(/tmp/multipartBody3638018253911395870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046245150,"filename":"image_30102025_07_45_06_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391768934","file1":"1391768932","file0":"1391768928","file4":"1391768940","file5":"1391768944","file3":"1391768936"},"map_files_photo_id_array":[{"photo_id":"1391768944","filename":"file5"},{"photo_id":"1391768934","filename":"file2"},{"photo_id":"1391768940","filename":"file4"},{"photo_id":"1391768932","filename":"file1"},{"photo_id":"1391768928","filename":"file0"},{"photo_id":"1391768936","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391768932":["hashtag1","hashtag2"]},{"1391768940":["hashtag1","hashtag2"]},{"1391768934":["hashtag1","hashtag2"]},{"1391768928":["hashtag1","hashtag2"]},{"1391768936":["hashtag1","hashtag2"]},{"1391768944":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391768932, 1391768940, 1391768934, 1391768928, 1391768936, 1391768944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63639760017395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:17:03.444360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/45/image_30102025_07_45_09_3813.jpg', '/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_12_2628.jpg', '/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_15_2677.jpg', '/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_18_3737.jpg', '/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_21_2568.jpg', '/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_24_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/07/45/image_30102025_07_45_09_3813.jpg
/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_12_2628.jpg
/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_15_2677.jpg
/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_18_3737.jpg
/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_21_2568.jpg
/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_24_2622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391768953","1391768967","1391768963","1391768954","1391768956","1391768959"],"photo_ids_order":["1391768953","1391768954","1391768956","1391768959","1391768963","1391768967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/691ee758373d3e38e0f4a036ec64deb1.jpg","text":"TemporaryFile(/tmp/multipartBody5447050436636697639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046285545,"filename":"image_30102025_07_45_09_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/2/1d1485fdf2e6e8b93cb7f396b198a40b.jpg","text":"TemporaryFile(/tmp/multipartBody4781852638065563139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046285545,"filename":"image_30102025_07_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/2/e4d3629124a78ae8fc70565fee26e91f.jpg","text":"TemporaryFile(/tmp/multipartBody8944627814573320076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046285545,"filename":"image_30102025_07_45_21_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/2/0c48ed313f7f9e24ca2d1fa0f33d911a.jpg","text":"TemporaryFile(/tmp/multipartBody5387651997232149658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046285545,"filename":"image_30102025_07_45_12_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/2/3c0e9c707d1c489872ef20e9774314e0.jpg","text":"TemporaryFile(/tmp/multipartBody4858060293430772966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046285545,"filename":"image_30102025_07_45_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/2/c66703cd960116a6f3e7053ab621414f.jpg","text":"TemporaryFile(/tmp/multipartBody246576378232106394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046285545,"filename":"image_30102025_07_45_18_3737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391768956","file1":"1391768954","file0":"1391768953","file4":"1391768963","file5":"1391768967","file3":"1391768959"},"map_files_photo_id_array":[{"photo_id":"1391768967","filename":"file5"},{"photo_id":"1391768956","filename":"file2"},{"photo_id":"1391768963","filename":"file4"},{"photo_id":"1391768954","filename":"file1"},{"photo_id":"1391768953","filename":"file0"},{"photo_id":"1391768959","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391768953":["hashtag1","hashtag2"]},{"1391768967":["hashtag1","hashtag2"]},{"1391768963":["hashtag1","hashtag2"]},{"1391768954":["hashtag1","hashtag2"]},{"1391768956":["hashtag1","hashtag2"]},{"1391768959":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391768953, 1391768967, 1391768963, 1391768954, 1391768956, 1391768959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88229036331177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 02:17:42.813393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/45/image_30102025_07_45_27_3656.jpg', '/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_30_2606.jpg', '/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_33_2737.jpg', '/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_36_3613.jpg', '/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_39_2637.jpg', '/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_42_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/07/45/image_30102025_07_45_27_3656.jpg
/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_30_2606.jpg
/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_33_2737.jpg
/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_36_3613.jpg
/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_39_2637.jpg
/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_42_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391768979","1391768973","1391768982","1391768975","1391768986","1391768977"],"photo_ids_order":["1391768973","1391768975","1391768977","1391768979","1391768982","1391768986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/23365d13b30695b9df774b96077e8dfb.jpg","text":"TemporaryFile(/tmp/multipartBody1615003789053315894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046323868,"filename":"image_30102025_07_45_36_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/2/17336754de28336fd6005dba7ba7c49b.jpg","text":"TemporaryFile(/tmp/multipartBody1795064130546224330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046323868,"filename":"image_30102025_07_45_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/2/a0a872d9a113d5e772ebd4e956f48c83.jpg","text":"TemporaryFile(/tmp/multipartBody8606425454882624025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046323868,"filename":"image_30102025_07_45_39_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/2/970ba3605a460ae369f29ea5295c961a.jpg","text":"TemporaryFile(/tmp/multipartBody6359131975677165199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046323868,"filename":"image_30102025_07_45_30_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/2/f1cd7fbb780ed6ffa1e58c49251b1b76.jpg","text":"TemporaryFile(/tmp/multipartBody3761379847540391955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046323868,"filename":"image_30102025_07_45_42_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/2/1599a72e254fa855609e9beb8f829b53.jpg","text":"TemporaryFile(/tmp/multipartBody7160060434975433275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046323868,"filename":"image_30102025_07_45_33_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391768977","file1":"1391768975","file0":"1391768973","file4":"1391768982","file5":"1391768986","file3":"1391768979"},"map_files_photo_id_array":[{"photo_id":"1391768986","filename":"file5"},{"photo_id":"1391768977","filename":"file2"},{"photo_id":"1391768982","filename":"file4"},{"photo_id":"1391768975","filename":"file1"},{"photo_id":"1391768973","filename":"file0"},{"photo_id":"1391768979","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391768979":["hashtag1","hashtag2"]},{"1391768973":["hashtag1","hashtag2"]},{"1391768982":["hashtag1","hashtag2"]},{"1391768975":["hashtag1","hashtag2"]},{"1391768986":["hashtag1","hashtag2"]},{"1391768977":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391768979, 1391768973, 1391768982, 1391768975, 1391768986, 1391768977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.006431579589844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:18:21.903303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/45/image_30102025_07_45_45_3729.jpg', '/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_48_2576.jpg', '/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_51_2766.jpg', '/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_54_3705.jpg', '/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_57_2661.jpg', '/home/pi/Desktop/images/30102025/07/45/image_30102025_07_46_00_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/07/45/image_30102025_07_45_45_3729.jpg
/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_48_2576.jpg
/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_51_2766.jpg
/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_54_3705.jpg
/home/pi/Desktop/images/30102025/07/45/image_30102025_07_45_57_2661.jpg
/home/pi/Desktop/images/30102025/07/45/image_30102025_07_46_00_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769001","1391768999","1391768995","1391769004","1391768998","1391769007"],"photo_ids_order":["1391768995","1391768998","1391768999","1391769001","1391769004","1391769007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8effeba56a3cfb55f1b1aaeffc4d136d.jpg","text":"TemporaryFile(/tmp/multipartBody2279982561708689187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046364563,"filename":"image_30102025_07_45_54_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/2/1d02a437084fc0d127eaa62a47cd6a2e.jpg","text":"TemporaryFile(/tmp/multipartBody7980860593636510362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046364563,"filename":"image_30102025_07_45_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/2/76c5d32a05d5a8ee9094bb58b79146af.jpg","text":"TemporaryFile(/tmp/multipartBody8171177217387468229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046364563,"filename":"image_30102025_07_45_45_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/2/18b7964df6eb8fbebf6aab0c214d9387.jpg","text":"TemporaryFile(/tmp/multipartBody3016711509955155479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046364563,"filename":"image_30102025_07_45_57_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/2/69ab6d8e1bfba2222ecb4101c6b450be.jpg","text":"TemporaryFile(/tmp/multipartBody6326505472968493816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046364563,"filename":"image_30102025_07_45_48_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/2/e689d6e3fac225139f9186496a8765a8.jpg","text":"TemporaryFile(/tmp/multipartBody5768036547377371287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046364563,"filename":"image_30102025_07_46_00_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391768999","file1":"1391768998","file0":"1391768995","file4":"1391769004","file5":"1391769007","file3":"1391769001"},"map_files_photo_id_array":[{"photo_id":"1391769007","filename":"file5"},{"photo_id":"1391768999","filename":"file2"},{"photo_id":"1391769004","filename":"file4"},{"photo_id":"1391768998","filename":"file1"},{"photo_id":"1391768995","filename":"file0"},{"photo_id":"1391769001","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769001":["hashtag1","hashtag2"]},{"1391768999":["hashtag1","hashtag2"]},{"1391768995":["hashtag1","hashtag2"]},{"1391769004":["hashtag1","hashtag2"]},{"1391768998":["hashtag1","hashtag2"]},{"1391769007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769001, 1391768999, 1391768995, 1391769004, 1391768998, 1391769007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54547309875488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:19:03.032017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/46/image_30102025_07_46_02_2806.jpg', '/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_06_3569.jpg', '/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_09_2600.jpg', '/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_11_2792.jpg', '/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_15_3533.jpg', '/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_18_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/07/46/image_30102025_07_46_02_2806.jpg
/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_06_3569.jpg
/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_09_2600.jpg
/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_11_2792.jpg
/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_15_3533.jpg
/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_18_2707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769024","1391769026","1391769029","1391769023","1391769022","1391769019"],"photo_ids_order":["1391769019","1391769022","1391769023","1391769024","1391769026","1391769029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6d23ebbbb8dded0aa5515935eff765db.jpg","text":"TemporaryFile(/tmp/multipartBody8878829901956530003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046405361,"filename":"image_30102025_07_46_11_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/2/45557b4529c29e6df896e1de58a81a1b.jpg","text":"TemporaryFile(/tmp/multipartBody4014786937848169425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046405361,"filename":"image_30102025_07_46_15_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/2/9b07d6f894b2264ea0b226b8def5267e.jpg","text":"TemporaryFile(/tmp/multipartBody7589499504789367078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046405361,"filename":"image_30102025_07_46_18_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/2/e5ba16110d0e700df184d6502d9d2faa.jpg","text":"TemporaryFile(/tmp/multipartBody4237787994301356922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046405361,"filename":"image_30102025_07_46_09_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/2/7d91d1abc1f7222c47d60f66dd3f9e89.jpg","text":"TemporaryFile(/tmp/multipartBody7263122525239345785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046405361,"filename":"image_30102025_07_46_06_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/2/22a218870e67a88af0edbe07aed8c60c.jpg","text":"TemporaryFile(/tmp/multipartBody5285107792797091985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046405361,"filename":"image_30102025_07_46_02_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769023","file1":"1391769022","file0":"1391769019","file4":"1391769026","file5":"1391769029","file3":"1391769024"},"map_files_photo_id_array":[{"photo_id":"1391769029","filename":"file5"},{"photo_id":"1391769023","filename":"file2"},{"photo_id":"1391769026","filename":"file4"},{"photo_id":"1391769022","filename":"file1"},{"photo_id":"1391769019","filename":"file0"},{"photo_id":"1391769024","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769024":["hashtag1","hashtag2"]},{"1391769026":["hashtag1","hashtag2"]},{"1391769029":["hashtag1","hashtag2"]},{"1391769023":["hashtag1","hashtag2"]},{"1391769022":["hashtag1","hashtag2"]},{"1391769019":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769024, 1391769026, 1391769029, 1391769023, 1391769022, 1391769019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0425751209259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 02:19:42.114237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/46/image_30102025_07_46_21_3651.jpg', '/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_24_2630.jpg', '/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_27_2563.jpg', '/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_30_3679.jpg', '/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_33_2793.jpg', '/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_38_5144.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/46/image_30102025_07_46_21_3651.jpg
/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_24_2630.jpg
/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_27_2563.jpg
/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_30_3679.jpg
/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_33_2793.jpg
/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_38_5144.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769051","1391769054","1391769048","1391769044","1391769053","1391769055"],"photo_ids_order":["1391769044","1391769048","1391769051","1391769053","1391769054","1391769055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/07180a4cfcdc49e6137f8b25bf5ce533.jpg","text":"TemporaryFile(/tmp/multipartBody8115181097119600304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046443222,"filename":"image_30102025_07_46_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/2/71de9a718a91c6b0dd6a64467bf4b61b.jpg","text":"TemporaryFile(/tmp/multipartBody2811091793715063336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046443222,"filename":"image_30102025_07_46_33_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/2/f5b022271e75f089e9bec28541f44bf6.jpg","text":"TemporaryFile(/tmp/multipartBody5235609137057573367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046443222,"filename":"image_30102025_07_46_24_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/2/fe1a7ecb2f27175452bb78aaa8acae4a.jpg","text":"TemporaryFile(/tmp/multipartBody8624958882473082576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046443222,"filename":"image_30102025_07_46_21_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/2/cf83a67fcf9abae588a70bd081c0d51e.jpg","text":"TemporaryFile(/tmp/multipartBody4402979173497527479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046443222,"filename":"image_30102025_07_46_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/2/90937534c2f677f141a4c25a44d2a945.jpg","text":"TemporaryFile(/tmp/multipartBody9140364114931883540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046443222,"filename":"image_30102025_07_46_38_5144.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769051","file1":"1391769048","file0":"1391769044","file4":"1391769054","file5":"1391769055","file3":"1391769053"},"map_files_photo_id_array":[{"photo_id":"1391769055","filename":"file5"},{"photo_id":"1391769051","filename":"file2"},{"photo_id":"1391769054","filename":"file4"},{"photo_id":"1391769048","filename":"file1"},{"photo_id":"1391769044","filename":"file0"},{"photo_id":"1391769053","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769051":["hashtag1","hashtag2"]},{"1391769054":["hashtag1","hashtag2"]},{"1391769048":["hashtag1","hashtag2"]},{"1391769044":["hashtag1","hashtag2"]},{"1391769053":["hashtag1","hashtag2"]},{"1391769055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769051, 1391769054, 1391769048, 1391769044, 1391769053, 1391769055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89323878288269 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:20:22.247996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/46/image_30102025_07_46_40_1550.jpg', '/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_42_2614.jpg', '/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_45_2552.jpg', '/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_47_2595.jpg', '/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_51_3646.jpg', '/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_54_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/07/46/image_30102025_07_46_40_1550.jpg
/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_42_2614.jpg
/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_45_2552.jpg
/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_47_2595.jpg
/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_51_3646.jpg
/home/pi/Desktop/images/30102025/07/46/image_30102025_07_46_54_2589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769072","1391769066","1391769081","1391769085","1391769088","1391769076"],"photo_ids_order":["1391769066","1391769072","1391769076","1391769081","1391769085","1391769088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/124d6db14eeae283778078acea40e4bd.jpg","text":"TemporaryFile(/tmp/multipartBody4796442925631151277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046484926,"filename":"image_30102025_07_46_42_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/2/6106682a7d5fb6a5ea80284244ecf07b.jpg","text":"TemporaryFile(/tmp/multipartBody4475529631529924273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046484926,"filename":"image_30102025_07_46_40_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/2/58f2515ff6da2da6685b224ff1df490a.jpg","text":"TemporaryFile(/tmp/multipartBody5330490661729571391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046484926,"filename":"image_30102025_07_46_47_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/2/c60423b4af9284c965a094ac3ecb7611.jpg","text":"TemporaryFile(/tmp/multipartBody1333927340024746652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046484926,"filename":"image_30102025_07_46_51_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/2/2b7c616c1b2c813c958dd5edd82e14f8.jpg","text":"TemporaryFile(/tmp/multipartBody644550207948176200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046484926,"filename":"image_30102025_07_46_54_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/2/f1bd69f19dc5ebecf98d10f6f5981a60.jpg","text":"TemporaryFile(/tmp/multipartBody3029304933801549980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046484926,"filename":"image_30102025_07_46_45_2552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769076","file1":"1391769072","file0":"1391769066","file4":"1391769085","file5":"1391769088","file3":"1391769081"},"map_files_photo_id_array":[{"photo_id":"1391769088","filename":"file5"},{"photo_id":"1391769076","filename":"file2"},{"photo_id":"1391769085","filename":"file4"},{"photo_id":"1391769072","filename":"file1"},{"photo_id":"1391769066","filename":"file0"},{"photo_id":"1391769081","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769072":["hashtag1","hashtag2"]},{"1391769066":["hashtag1","hashtag2"]},{"1391769081":["hashtag1","hashtag2"]},{"1391769085":["hashtag1","hashtag2"]},{"1391769088":["hashtag1","hashtag2"]},{"1391769076":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769072, 1391769066, 1391769081, 1391769085, 1391769088, 1391769076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27434492111206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:21:03.308845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/46/image_30102025_07_46_56_2623.jpg', '/home/pi/Desktop/images/30102025/07/46/image_30102025_07_47_00_3655.jpg', '/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_03_2792.jpg', '/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_05_2672.jpg', '/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_09_3552.jpg', '/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_12_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/07/46/image_30102025_07_46_56_2623.jpg
/home/pi/Desktop/images/30102025/07/46/image_30102025_07_47_00_3655.jpg
/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_03_2792.jpg
/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_05_2672.jpg
/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_09_3552.jpg
/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_12_2821.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769100","1391769093","1391769107","1391769110","1391769104","1391769096"],"photo_ids_order":["1391769093","1391769096","1391769100","1391769104","1391769107","1391769110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/44197f22b182636ec9075db7315c1c17.jpg","text":"TemporaryFile(/tmp/multipartBody972657720360952142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046525391,"filename":"image_30102025_07_47_03_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/2/7e1781a0711ab8719b176f1fbc7ef3a7.jpg","text":"TemporaryFile(/tmp/multipartBody531067562042125500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046525391,"filename":"image_30102025_07_46_56_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/2/0ee36fe98d3b5965ae9dc4314f06aed8.jpg","text":"TemporaryFile(/tmp/multipartBody5659178089734200058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046525391,"filename":"image_30102025_07_47_09_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/2/66627475c1a424687b50bc3bcfaf571d.jpg","text":"TemporaryFile(/tmp/multipartBody8653274176131666550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046525391,"filename":"image_30102025_07_47_12_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/2/07acbd83a33951d17e18227e7a63d9bc.jpg","text":"TemporaryFile(/tmp/multipartBody3420923135283841557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046525391,"filename":"image_30102025_07_47_05_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/2/1349bebe32705b3b462c83af8e3d327e.jpg","text":"TemporaryFile(/tmp/multipartBody2113007249672995699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046525391,"filename":"image_30102025_07_47_00_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769100","file1":"1391769096","file0":"1391769093","file4":"1391769107","file5":"1391769110","file3":"1391769104"},"map_files_photo_id_array":[{"photo_id":"1391769110","filename":"file5"},{"photo_id":"1391769100","filename":"file2"},{"photo_id":"1391769107","filename":"file4"},{"photo_id":"1391769096","filename":"file1"},{"photo_id":"1391769093","filename":"file0"},{"photo_id":"1391769104","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769100":["hashtag1","hashtag2"]},{"1391769093":["hashtag1","hashtag2"]},{"1391769107":["hashtag1","hashtag2"]},{"1391769110":["hashtag1","hashtag2"]},{"1391769104":["hashtag1","hashtag2"]},{"1391769096":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769100, 1391769093, 1391769107, 1391769110, 1391769104, 1391769096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60875582695007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 02:21:42.536179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/47/image_30102025_07_47_14_2574.jpg', '/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_18_3568.jpg', '/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_20_2550.jpg', '/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_24_3544.jpg', '/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_27_2706.jpg', '/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_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/07/47/image_30102025_07_47_14_2574.jpg
/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_18_3568.jpg
/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_20_2550.jpg
/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_24_3544.jpg
/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_27_2706.jpg
/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_29_2573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769120","1391769131","1391769128","1391769116","1391769124","1391769133"],"photo_ids_order":["1391769116","1391769120","1391769124","1391769128","1391769131","1391769133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d8db80a65fb620c04fc6e4a9d2f3f1f9.jpg","text":"TemporaryFile(/tmp/multipartBody8653927794712825286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046563581,"filename":"image_30102025_07_47_18_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/2/46a351ac30e9ab61ba848bf4aac48da4.jpg","text":"TemporaryFile(/tmp/multipartBody4746954473956745005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046563581,"filename":"image_30102025_07_47_27_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/2/70e03b2630bfc7fb133fdda9e1511d6b.jpg","text":"TemporaryFile(/tmp/multipartBody7043940480812098503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046563581,"filename":"image_30102025_07_47_24_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/2/7bcb8b9cdba6b07f8517367941359f7c.jpg","text":"TemporaryFile(/tmp/multipartBody7204091204813575340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046563581,"filename":"image_30102025_07_47_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/2/966774adbe27a5f66da6d09affe0de78.jpg","text":"TemporaryFile(/tmp/multipartBody8605551104388489483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046563581,"filename":"image_30102025_07_47_20_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/2/fbc144b98cb6a87efd6857b63f191923.jpg","text":"TemporaryFile(/tmp/multipartBody4289987021651056169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046563581,"filename":"image_30102025_07_47_29_2573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769124","file1":"1391769120","file0":"1391769116","file4":"1391769131","file5":"1391769133","file3":"1391769128"},"map_files_photo_id_array":[{"photo_id":"1391769133","filename":"file5"},{"photo_id":"1391769124","filename":"file2"},{"photo_id":"1391769131","filename":"file4"},{"photo_id":"1391769120","filename":"file1"},{"photo_id":"1391769116","filename":"file0"},{"photo_id":"1391769128","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769120":["hashtag1","hashtag2"]},{"1391769131":["hashtag1","hashtag2"]},{"1391769128":["hashtag1","hashtag2"]},{"1391769116":["hashtag1","hashtag2"]},{"1391769124":["hashtag1","hashtag2"]},{"1391769133":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769120, 1391769131, 1391769128, 1391769116, 1391769124, 1391769133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13990139961243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:22:22.805091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/47/image_30102025_07_47_33_3656.jpg', '/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_36_2791.jpg', '/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_38_2668.jpg', '/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_42_3827.jpg', '/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_45_2647.jpg', '/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_48_3310.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/47/image_30102025_07_47_33_3656.jpg
/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_36_2791.jpg
/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_38_2668.jpg
/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_42_3827.jpg
/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_45_2647.jpg
/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_48_3310.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769141","1391769137","1391769154","1391769148","1391769151","1391769145"],"photo_ids_order":["1391769137","1391769141","1391769145","1391769148","1391769151","1391769154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a240ebeeeb31d206e3c9c0492e3666e6.jpg","text":"TemporaryFile(/tmp/multipartBody53219674081058836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046605389,"filename":"image_30102025_07_47_36_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/2/2aef5ab02f0fe1390f4286ff0d1d9690.jpg","text":"TemporaryFile(/tmp/multipartBody8490478286715216962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046605389,"filename":"image_30102025_07_47_33_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/2/d5c3c39edaaeb1712897f132f9f9b3f8.jpg","text":"TemporaryFile(/tmp/multipartBody782542067875770423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046605389,"filename":"image_30102025_07_47_48_3310.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/55b3a9ccfdd3c3236ff9189dd5b1749b.jpg","text":"TemporaryFile(/tmp/multipartBody3723108684887205469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046605389,"filename":"image_30102025_07_47_42_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/2/ef21438078d0b8ffddc7579bf9dfa6dd.jpg","text":"TemporaryFile(/tmp/multipartBody6622360152980452123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046605389,"filename":"image_30102025_07_47_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/2/77df9f6624fbd5d2369e9b038fc4f1a1.jpg","text":"TemporaryFile(/tmp/multipartBody6120671287800053107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046605389,"filename":"image_30102025_07_47_38_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769145","file1":"1391769141","file0":"1391769137","file4":"1391769151","file5":"1391769154","file3":"1391769148"},"map_files_photo_id_array":[{"photo_id":"1391769154","filename":"file5"},{"photo_id":"1391769145","filename":"file2"},{"photo_id":"1391769151","filename":"file4"},{"photo_id":"1391769141","filename":"file1"},{"photo_id":"1391769137","filename":"file0"},{"photo_id":"1391769148","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769141":["hashtag1","hashtag2"]},{"1391769137":["hashtag1","hashtag2"]},{"1391769154":["hashtag1","hashtag2"]},{"1391769148":["hashtag1","hashtag2"]},{"1391769151":["hashtag1","hashtag2"]},{"1391769145":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769141, 1391769137, 1391769154, 1391769148, 1391769151, 1391769145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.666786670684814 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-02 02:23:22.009238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/47/image_30102025_07_47_51_2598.jpg', '/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_54_2764.jpg', '/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_56_2616.jpg', '/home/pi/Desktop/images/30102025/07/47/image_30102025_07_48_00_3646.jpg', '/home/pi/Desktop/images/30102025/07/48/image_30102025_07_48_03_3120.jpg', '/home/pi/Desktop/images/30102025/07/48/image_30102025_07_48_11_7637.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/47/image_30102025_07_47_51_2598.jpg
/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_54_2764.jpg
/home/pi/Desktop/images/30102025/07/47/image_30102025_07_47_56_2616.jpg
/home/pi/Desktop/images/30102025/07/47/image_30102025_07_48_00_3646.jpg
/home/pi/Desktop/images/30102025/07/48/image_30102025_07_48_03_3120.jpg
/home/pi/Desktop/images/30102025/07/48/image_30102025_07_48_11_7637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769171","1391769180","1391769174","1391769188","1391769176","1391769184"],"photo_ids_order":["1391769171","1391769174","1391769176","1391769180","1391769184","1391769188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f6541459db8437046559cb8ae7c13e01.jpg","text":"TemporaryFile(/tmp/multipartBody2241077193198718988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046664587,"filename":"image_30102025_07_47_51_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/2/06f76925053d7cf3282e5636b87dcc8a.jpg","text":"TemporaryFile(/tmp/multipartBody2094579073502561493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046664587,"filename":"image_30102025_07_48_00_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/2/5a32dfa9fc1a3d5fa57c269f4fd2576b.jpg","text":"TemporaryFile(/tmp/multipartBody2734722083442644939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046664587,"filename":"image_30102025_07_47_54_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/2/eba266001f6a2fca1074da0d43d2028e.jpg","text":"TemporaryFile(/tmp/multipartBody581152295946491421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046664587,"filename":"image_30102025_07_48_11_7637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/037d81126269fb4dde311c3929a95c56.jpg","text":"TemporaryFile(/tmp/multipartBody7376735908011420964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046664587,"filename":"image_30102025_07_47_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/2/51fdfab0ca789b1da1ce86d6cd64bc54.jpg","text":"TemporaryFile(/tmp/multipartBody7351373888761697883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046664587,"filename":"image_30102025_07_48_03_3120.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769176","file1":"1391769174","file0":"1391769171","file4":"1391769184","file5":"1391769188","file3":"1391769180"},"map_files_photo_id_array":[{"photo_id":"1391769188","filename":"file5"},{"photo_id":"1391769176","filename":"file2"},{"photo_id":"1391769184","filename":"file4"},{"photo_id":"1391769174","filename":"file1"},{"photo_id":"1391769171","filename":"file0"},{"photo_id":"1391769180","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769171":["hashtag1","hashtag2"]},{"1391769180":["hashtag1","hashtag2"]},{"1391769174":["hashtag1","hashtag2"]},{"1391769188":["hashtag1","hashtag2"]},{"1391769176":["hashtag1","hashtag2"]},{"1391769184":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769171, 1391769180, 1391769174, 1391769188, 1391769176, 1391769184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55762052536011 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-02 02:24:22.078057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/48/image_30102025_07_48_12_1642.jpg', '/home/pi/Desktop/images/30102025/07/48/image_30102025_07_48_14_1655.jpg', '/home/pi/Desktop/images/30102025/07/48/image_30102025_07_48_16_1674.jpg', '/home/pi/Desktop/images/30102025/07/48/image_30102025_07_48_21_5937.jpg', '/home/pi/Desktop/images/30102025/07/48/image_30102025_07_48_36_14332.jpg', '/home/pi/Desktop/images/30102025/07/48/image_30102025_07_48_39_3129.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/48/image_30102025_07_48_12_1642.jpg
/home/pi/Desktop/images/30102025/07/48/image_30102025_07_48_14_1655.jpg
/home/pi/Desktop/images/30102025/07/48/image_30102025_07_48_16_1674.jpg
/home/pi/Desktop/images/30102025/07/48/image_30102025_07_48_21_5937.jpg
/home/pi/Desktop/images/30102025/07/48/image_30102025_07_48_36_14332.jpg
/home/pi/Desktop/images/30102025/07/48/image_30102025_07_48_39_3129.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769213","1391769210","1391769204","1391769207","1391769217","1391769202"],"photo_ids_order":["1391769202","1391769204","1391769207","1391769210","1391769213","1391769217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cb1661a90d4f786c7056d4fc18b011f3.jpg","text":"TemporaryFile(/tmp/multipartBody8091534119094769649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046724633,"filename":"image_30102025_07_48_36_14332.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/732b5c1d61160f721e0dd5f5c5574ee5.jpg","text":"TemporaryFile(/tmp/multipartBody7930275873132612972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046724633,"filename":"image_30102025_07_48_21_5937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bd7eb4d1191ddb9d7a6d6a3af676aa79.jpg","text":"TemporaryFile(/tmp/multipartBody7537106467941223923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046724633,"filename":"image_30102025_07_48_14_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/2/c6bc3570619e8727100222b817c7959c.jpg","text":"TemporaryFile(/tmp/multipartBody4055441340999864427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046724633,"filename":"image_30102025_07_48_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/2/c7fafd331697fbf0250c43ed559be698.jpg","text":"TemporaryFile(/tmp/multipartBody6181265796856474441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046724633,"filename":"image_30102025_07_48_39_3129.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/180dd7314eb3e34ad8c6db7de50f2dcb.jpg","text":"TemporaryFile(/tmp/multipartBody4648855643626801330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046724633,"filename":"image_30102025_07_48_12_1642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769207","file1":"1391769204","file0":"1391769202","file4":"1391769213","file5":"1391769217","file3":"1391769210"},"map_files_photo_id_array":[{"photo_id":"1391769217","filename":"file5"},{"photo_id":"1391769207","filename":"file2"},{"photo_id":"1391769213","filename":"file4"},{"photo_id":"1391769204","filename":"file1"},{"photo_id":"1391769202","filename":"file0"},{"photo_id":"1391769210","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769213":["hashtag1","hashtag2"]},{"1391769210":["hashtag1","hashtag2"]},{"1391769204":["hashtag1","hashtag2"]},{"1391769207":["hashtag1","hashtag2"]},{"1391769217":["hashtag1","hashtag2"]},{"1391769202":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769213, 1391769210, 1391769204, 1391769207, 1391769217, 1391769202)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.66581869125366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:25:22.404228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/48/image_30102025_07_48_41_1612.jpg', '/home/pi/Desktop/images/30102025/07/48/image_30102025_07_48_44_3548.jpg', '/home/pi/Desktop/images/30102025/07/48/image_30102025_07_48_46_1504.jpg', '/home/pi/Desktop/images/30102025/07/48/image_30102025_07_48_55_8909.jpg', '/home/pi/Desktop/images/30102025/07/48/image_30102025_07_48_56_1515.jpg', '/home/pi/Desktop/images/30102025/07/48/image_30102025_07_48_58_1548.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/48/image_30102025_07_48_41_1612.jpg
/home/pi/Desktop/images/30102025/07/48/image_30102025_07_48_44_3548.jpg
/home/pi/Desktop/images/30102025/07/48/image_30102025_07_48_46_1504.jpg
/home/pi/Desktop/images/30102025/07/48/image_30102025_07_48_55_8909.jpg
/home/pi/Desktop/images/30102025/07/48/image_30102025_07_48_56_1515.jpg
/home/pi/Desktop/images/30102025/07/48/image_30102025_07_48_58_1548.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769243","1391769236","1391769239","1391769230","1391769248","1391769233"],"photo_ids_order":["1391769230","1391769233","1391769236","1391769239","1391769243","1391769248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7f6df136f7f972c2d1ec14a0a478735c.jpg","text":"TemporaryFile(/tmp/multipartBody7120493978211491981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046784988,"filename":"image_30102025_07_48_56_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/2/e4895f8921c6e19b7137dcea405317f5.jpg","text":"TemporaryFile(/tmp/multipartBody3251460439801072862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046784988,"filename":"image_30102025_07_48_46_1504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8a46973a30652607c9dd7485c3e6483f.jpg","text":"TemporaryFile(/tmp/multipartBody2060455999184856653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046784988,"filename":"image_30102025_07_48_55_8909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/92349ea4bdff01fc69ef6f7c7a167f7e.jpg","text":"TemporaryFile(/tmp/multipartBody9172264289814978138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046784988,"filename":"image_30102025_07_48_41_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/2/877712f44117683710e1d8f77b5941f8.jpg","text":"TemporaryFile(/tmp/multipartBody3689418753995833830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046784988,"filename":"image_30102025_07_48_58_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/559b877033402f7cd47eeb03aa3e0803.jpg","text":"TemporaryFile(/tmp/multipartBody8314435018885487093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046784988,"filename":"image_30102025_07_48_44_3548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769236","file1":"1391769233","file0":"1391769230","file4":"1391769243","file5":"1391769248","file3":"1391769239"},"map_files_photo_id_array":[{"photo_id":"1391769248","filename":"file5"},{"photo_id":"1391769236","filename":"file2"},{"photo_id":"1391769243","filename":"file4"},{"photo_id":"1391769233","filename":"file1"},{"photo_id":"1391769230","filename":"file0"},{"photo_id":"1391769239","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769243":["hashtag1","hashtag2"]},{"1391769236":["hashtag1","hashtag2"]},{"1391769239":["hashtag1","hashtag2"]},{"1391769230":["hashtag1","hashtag2"]},{"1391769248":["hashtag1","hashtag2"]},{"1391769233":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769243, 1391769236, 1391769239, 1391769230, 1391769248, 1391769233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.58630704879761 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-02 02:26:23.713858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/48/image_30102025_07_48_59_1620.jpg', '/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_01_1638.jpg', '/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_02_1553.jpg', '/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_04_1629.jpg', '/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_06_1634.jpg', '/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_07_1668.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/48/image_30102025_07_48_59_1620.jpg
/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_01_1638.jpg
/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_02_1553.jpg
/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_04_1629.jpg
/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_06_1634.jpg
/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_07_1668.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.541416645050049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 02:26:43.611627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/48/image_30102025_07_48_59_1620.jpg', '/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_01_1638.jpg', '/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_02_1553.jpg', '/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_04_1629.jpg', '/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_06_1634.jpg', '/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_07_1668.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/48/image_30102025_07_48_59_1620.jpg
/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_01_1638.jpg
/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_02_1553.jpg
/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_04_1629.jpg
/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_06_1634.jpg
/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_07_1668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769281","1391769278","1391769283","1391769286","1391769274","1391769288"],"photo_ids_order":["1391769274","1391769278","1391769281","1391769283","1391769286","1391769288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/86da4e034eba759b2dce9d58b8d6e99a.jpg","text":"TemporaryFile(/tmp/multipartBody6327865721964765366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046864580,"filename":"image_30102025_07_49_02_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/2/99de3c2fa3d561efa2d5480707d4c190.jpg","text":"TemporaryFile(/tmp/multipartBody5709453294084624794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046864580,"filename":"image_30102025_07_49_01_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/90757bb8de2ddd68a3ab7d2a8a1525f0.jpg","text":"TemporaryFile(/tmp/multipartBody7158149497072505452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046864580,"filename":"image_30102025_07_49_04_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/2/9957d735fddf39eeab0a8607e7945ace.jpg","text":"TemporaryFile(/tmp/multipartBody7424386947917110618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046864580,"filename":"image_30102025_07_49_06_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/2/ee8d7244e0a8325b42fba7c475433ac0.jpg","text":"TemporaryFile(/tmp/multipartBody5746290520319887366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046864580,"filename":"image_30102025_07_48_59_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/2/97b508009bfda1aab37e208765552d40.jpg","text":"TemporaryFile(/tmp/multipartBody4346995917258262837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046864580,"filename":"image_30102025_07_49_07_1668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769281","file1":"1391769278","file0":"1391769274","file4":"1391769286","file5":"1391769288","file3":"1391769283"},"map_files_photo_id_array":[{"photo_id":"1391769288","filename":"file5"},{"photo_id":"1391769281","filename":"file2"},{"photo_id":"1391769286","filename":"file4"},{"photo_id":"1391769278","filename":"file1"},{"photo_id":"1391769274","filename":"file0"},{"photo_id":"1391769283","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769281":["hashtag1","hashtag2"]},{"1391769278":["hashtag1","hashtag2"]},{"1391769283":["hashtag1","hashtag2"]},{"1391769286":["hashtag1","hashtag2"]},{"1391769274":["hashtag1","hashtag2"]},{"1391769288":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769281, 1391769278, 1391769283, 1391769286, 1391769274, 1391769288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18078804016113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:27:22.803593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/49/image_30102025_07_49_09_1622.jpg', '/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_11_1623.jpg', '/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_12_1494.jpg', '/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_14_1558.jpg', '/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_15_1660.jpg', '/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_20_4625.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/49/image_30102025_07_49_09_1622.jpg
/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_11_1623.jpg
/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_12_1494.jpg
/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_14_1558.jpg
/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_15_1660.jpg
/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_20_4625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769306","1391769311","1391769298","1391769302","1391769295","1391769301"],"photo_ids_order":["1391769295","1391769298","1391769301","1391769302","1391769306","1391769311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/413186a8d140417ecb1cdcd4754c5634.jpg","text":"TemporaryFile(/tmp/multipartBody1354320176481006057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046905367,"filename":"image_30102025_07_49_15_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/2/63067d6542286f0586d58407d3678c72.jpg","text":"TemporaryFile(/tmp/multipartBody9087352149521727247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046905367,"filename":"image_30102025_07_49_20_4625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/22c018da898067b564a08460e04d6803.jpg","text":"TemporaryFile(/tmp/multipartBody4538983146933502719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046905367,"filename":"image_30102025_07_49_11_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/2/1fe11f9224c1d21dc1f98a860fcf2b76.jpg","text":"TemporaryFile(/tmp/multipartBody2344855393013185215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046905367,"filename":"image_30102025_07_49_14_1558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/09f20fe2883bb83a25e7afe682c8abcf.jpg","text":"TemporaryFile(/tmp/multipartBody5366219164951227232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046905367,"filename":"image_30102025_07_49_09_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/2/53303160f1e9ab710bca374b17db63e9.jpg","text":"TemporaryFile(/tmp/multipartBody3551888446874251245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046905367,"filename":"image_30102025_07_49_12_1494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769301","file1":"1391769298","file0":"1391769295","file4":"1391769306","file5":"1391769311","file3":"1391769302"},"map_files_photo_id_array":[{"photo_id":"1391769311","filename":"file5"},{"photo_id":"1391769301","filename":"file2"},{"photo_id":"1391769306","filename":"file4"},{"photo_id":"1391769298","filename":"file1"},{"photo_id":"1391769295","filename":"file0"},{"photo_id":"1391769302","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769306":["hashtag1","hashtag2"]},{"1391769311":["hashtag1","hashtag2"]},{"1391769298":["hashtag1","hashtag2"]},{"1391769302":["hashtag1","hashtag2"]},{"1391769295":["hashtag1","hashtag2"]},{"1391769301":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769306, 1391769311, 1391769298, 1391769302, 1391769295, 1391769301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.984208822250366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:28:23.899936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/49/image_30102025_07_49_22_1668.jpg', '/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_24_2618.jpg', '/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_27_2799.jpg', '/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_30_2690.jpg', '/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_32_2707.jpg', '/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_35_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/07/49/image_30102025_07_49_22_1668.jpg
/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_24_2618.jpg
/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_27_2799.jpg
/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_30_2690.jpg
/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_32_2707.jpg
/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_35_2707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769348","1391769336","1391769344","1391769340","1391769328","1391769331"],"photo_ids_order":["1391769328","1391769331","1391769336","1391769340","1391769344","1391769348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1342ed48c688015395064c1191d7e025.jpg","text":"TemporaryFile(/tmp/multipartBody560533461807110399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046966441,"filename":"image_30102025_07_49_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/2/2821578bb393224f79b781a3142259ab.jpg","text":"TemporaryFile(/tmp/multipartBody4207823097103262552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046966441,"filename":"image_30102025_07_49_27_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/2/1f587c57e4b4947338a3b10020027c6e.jpg","text":"TemporaryFile(/tmp/multipartBody8421861210004557628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046966441,"filename":"image_30102025_07_49_32_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/2/bc1eb84118ad60a4ae67571fddd3c710.jpg","text":"TemporaryFile(/tmp/multipartBody3360905875866538652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046966441,"filename":"image_30102025_07_49_30_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/2/aae77596473dbd1bf2e339cd3b591b32.jpg","text":"TemporaryFile(/tmp/multipartBody8430083847287183974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046966441,"filename":"image_30102025_07_49_22_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/2/927146234699407c501846f643849a5d.jpg","text":"TemporaryFile(/tmp/multipartBody4827513203074206020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762046966441,"filename":"image_30102025_07_49_24_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769336","file1":"1391769331","file0":"1391769328","file4":"1391769344","file5":"1391769348","file3":"1391769340"},"map_files_photo_id_array":[{"photo_id":"1391769348","filename":"file5"},{"photo_id":"1391769336","filename":"file2"},{"photo_id":"1391769344","filename":"file4"},{"photo_id":"1391769331","filename":"file1"},{"photo_id":"1391769328","filename":"file0"},{"photo_id":"1391769340","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769348":["hashtag1","hashtag2"]},{"1391769336":["hashtag1","hashtag2"]},{"1391769344":["hashtag1","hashtag2"]},{"1391769340":["hashtag1","hashtag2"]},{"1391769328":["hashtag1","hashtag2"]},{"1391769331":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769348, 1391769336, 1391769344, 1391769340, 1391769328, 1391769331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30210304260254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:29:03.081347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/49/image_30102025_07_49_47_11651.jpg', '/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_48_1635.jpg', '/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_13_24409.jpg', '/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_14_1536.jpg', '/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_36_21679.jpg', '/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_38_1787.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/49/image_30102025_07_49_47_11651.jpg
/home/pi/Desktop/images/30102025/07/49/image_30102025_07_49_48_1635.jpg
/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_13_24409.jpg
/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_14_1536.jpg
/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_36_21679.jpg
/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_38_1787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769357","1391769354","1391769374","1391769368","1391769364","1391769361"],"photo_ids_order":["1391769354","1391769357","1391769361","1391769364","1391769368","1391769374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/93dbb528e0df45f422310363277c7f91.jpg","text":"TemporaryFile(/tmp/multipartBody8074645231311185584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047009507,"filename":"image_30102025_07_49_48_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/2/e3016013933f88259f941e41f7de22ce.jpg","text":"TemporaryFile(/tmp/multipartBody3061928778303018177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047009507,"filename":"image_30102025_07_49_47_11651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/54a5b9e08d04b36f7ed732746ae3e53f.jpg","text":"TemporaryFile(/tmp/multipartBody6113765761101918558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047009507,"filename":"image_30102025_07_50_38_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/2/6c311ba7ddd02f347f3eea91501cbd4a.jpg","text":"TemporaryFile(/tmp/multipartBody2380699544458065243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047009507,"filename":"image_30102025_07_50_36_21679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cc43e83fdda9da2de67bf24020b50dc6.jpg","text":"TemporaryFile(/tmp/multipartBody2563158084493289393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047009507,"filename":"image_30102025_07_50_14_1536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d63247bbe62eafc2b5c7fc18baf375b9.jpg","text":"TemporaryFile(/tmp/multipartBody7325618896390471680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047009507,"filename":"image_30102025_07_50_13_24409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769361","file1":"1391769357","file0":"1391769354","file4":"1391769368","file5":"1391769374","file3":"1391769364"},"map_files_photo_id_array":[{"photo_id":"1391769374","filename":"file5"},{"photo_id":"1391769361","filename":"file2"},{"photo_id":"1391769368","filename":"file4"},{"photo_id":"1391769357","filename":"file1"},{"photo_id":"1391769354","filename":"file0"},{"photo_id":"1391769364","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769357":["hashtag1","hashtag2"]},{"1391769354":["hashtag1","hashtag2"]},{"1391769374":["hashtag1","hashtag2"]},{"1391769368":["hashtag1","hashtag2"]},{"1391769364":["hashtag1","hashtag2"]},{"1391769361":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769357, 1391769354, 1391769374, 1391769368, 1391769364, 1391769361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.769670248031616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:30:02.878980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/50/image_30102025_07_50_40_1836.jpg', '/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_41_1668.jpg', '/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_43_1562.jpg', '/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_44_1528.jpg', '/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_46_1657.jpg', '/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_48_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/07/50/image_30102025_07_50_40_1836.jpg
/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_41_1668.jpg
/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_43_1562.jpg
/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_44_1528.jpg
/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_46_1657.jpg
/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_48_1655.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.9077887535095215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:30:22.390289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/50/image_30102025_07_50_40_1836.jpg', '/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_41_1668.jpg', '/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_43_1562.jpg', '/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_44_1528.jpg', '/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_46_1657.jpg', '/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_48_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/07/50/image_30102025_07_50_40_1836.jpg
/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_41_1668.jpg
/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_43_1562.jpg
/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_44_1528.jpg
/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_46_1657.jpg
/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_48_1655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769405","1391769408","1391769410","1391769413","1391769401","1391769415"],"photo_ids_order":["1391769401","1391769405","1391769408","1391769410","1391769413","1391769415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5e59f5a019a8a1edd5963f6e1f043a13.jpg","text":"TemporaryFile(/tmp/multipartBody1094708980042043616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047084838,"filename":"image_30102025_07_50_41_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/2/d9746fc964e593db87579b5b934985ca.jpg","text":"TemporaryFile(/tmp/multipartBody1125410326905813447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047084838,"filename":"image_30102025_07_50_43_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/aa6380fab320a08f47c391f04b804026.jpg","text":"TemporaryFile(/tmp/multipartBody6623319959684918754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047084838,"filename":"image_30102025_07_50_44_1528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4e49719d2ae163454ec39b3e51711f48.jpg","text":"TemporaryFile(/tmp/multipartBody3960402241562957308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047084838,"filename":"image_30102025_07_50_46_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/2/e44626cf7bb034b13b0f4935bfd024e1.jpg","text":"TemporaryFile(/tmp/multipartBody978971917389086895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047084838,"filename":"image_30102025_07_50_40_1836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/af3c93c37fa9c5f1d6efab490847c8b0.jpg","text":"TemporaryFile(/tmp/multipartBody2726356495639415363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047084838,"filename":"image_30102025_07_50_48_1655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769408","file1":"1391769405","file0":"1391769401","file4":"1391769413","file5":"1391769415","file3":"1391769410"},"map_files_photo_id_array":[{"photo_id":"1391769415","filename":"file5"},{"photo_id":"1391769408","filename":"file2"},{"photo_id":"1391769413","filename":"file4"},{"photo_id":"1391769405","filename":"file1"},{"photo_id":"1391769401","filename":"file0"},{"photo_id":"1391769410","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769405":["hashtag1","hashtag2"]},{"1391769408":["hashtag1","hashtag2"]},{"1391769410":["hashtag1","hashtag2"]},{"1391769413":["hashtag1","hashtag2"]},{"1391769401":["hashtag1","hashtag2"]},{"1391769415":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769405, 1391769408, 1391769410, 1391769413, 1391769401, 1391769415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.32706618309021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:31:03.145753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/50/image_30102025_07_50_49_1690.jpg', '/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_51_1663.jpg', '/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_53_1560.jpg', '/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_54_1699.jpg', '/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_56_1591.jpg', '/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_58_1621.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/50/image_30102025_07_50_49_1690.jpg
/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_51_1663.jpg
/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_53_1560.jpg
/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_54_1699.jpg
/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_56_1591.jpg
/home/pi/Desktop/images/30102025/07/50/image_30102025_07_50_58_1621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769432","1391769429","1391769434","1391769425","1391769427","1391769430"],"photo_ids_order":["1391769425","1391769427","1391769429","1391769430","1391769432","1391769434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/753c585cd719fe51b85ba65a55460957.jpg","text":"TemporaryFile(/tmp/multipartBody3940756644810192077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047125321,"filename":"image_30102025_07_50_56_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/2/bfe9b195330ba8d9ec67f603f0977907.jpg","text":"TemporaryFile(/tmp/multipartBody973829417693786218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047125321,"filename":"image_30102025_07_50_53_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/2/77696c9b2bd3bcc1ebf37f73cdf0a0b9.jpg","text":"TemporaryFile(/tmp/multipartBody8588879909447845828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047125321,"filename":"image_30102025_07_50_58_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/2/5cb90cf1614ca97e114c2c7aa8bd91e9.jpg","text":"TemporaryFile(/tmp/multipartBody4706852369895912991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047125321,"filename":"image_30102025_07_50_49_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/67e003ab2665af149ca2e3562e78dafa.jpg","text":"TemporaryFile(/tmp/multipartBody5677135704461613618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047125321,"filename":"image_30102025_07_50_51_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/aa616c7af049a3f19f57b774501a5cec.jpg","text":"TemporaryFile(/tmp/multipartBody3080949255172220452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047125321,"filename":"image_30102025_07_50_54_1699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769429","file1":"1391769427","file0":"1391769425","file4":"1391769432","file5":"1391769434","file3":"1391769430"},"map_files_photo_id_array":[{"photo_id":"1391769434","filename":"file5"},{"photo_id":"1391769429","filename":"file2"},{"photo_id":"1391769432","filename":"file4"},{"photo_id":"1391769427","filename":"file1"},{"photo_id":"1391769425","filename":"file0"},{"photo_id":"1391769430","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769432":["hashtag1","hashtag2"]},{"1391769429":["hashtag1","hashtag2"]},{"1391769434":["hashtag1","hashtag2"]},{"1391769425":["hashtag1","hashtag2"]},{"1391769427":["hashtag1","hashtag2"]},{"1391769430":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769432, 1391769429, 1391769434, 1391769425, 1391769427, 1391769430)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.752480268478394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:32:03.322534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/50/image_30102025_07_50_59_1628.jpg', '/home/pi/Desktop/images/30102025/07/51/image_30102025_07_51_01_1555.jpg', '/home/pi/Desktop/images/30102025/07/51/image_30102025_07_51_02_1551.jpg', '/home/pi/Desktop/images/30102025/07/51/image_30102025_07_51_13_10750.jpg', '/home/pi/Desktop/images/30102025/07/51/image_30102025_07_51_15_1573.jpg', '/home/pi/Desktop/images/30102025/07/51/image_30102025_07_51_16_1735.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/50/image_30102025_07_50_59_1628.jpg
/home/pi/Desktop/images/30102025/07/51/image_30102025_07_51_01_1555.jpg
/home/pi/Desktop/images/30102025/07/51/image_30102025_07_51_02_1551.jpg
/home/pi/Desktop/images/30102025/07/51/image_30102025_07_51_13_10750.jpg
/home/pi/Desktop/images/30102025/07/51/image_30102025_07_51_15_1573.jpg
/home/pi/Desktop/images/30102025/07/51/image_30102025_07_51_16_1735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769462","1391769456","1391769465","1391769459","1391769451","1391769454"],"photo_ids_order":["1391769451","1391769454","1391769456","1391769459","1391769462","1391769465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/10c426b7148f34be94f53dc9cc113a5c.jpg","text":"TemporaryFile(/tmp/multipartBody6473586029153991541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047185398,"filename":"image_30102025_07_51_15_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/2/9790935397159548dc13522c795e4325.jpg","text":"TemporaryFile(/tmp/multipartBody2775411950221404221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047185398,"filename":"image_30102025_07_51_02_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/2/19c6a2f7835d1db606d7c625e4492f85.jpg","text":"TemporaryFile(/tmp/multipartBody6518831689930255589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047185398,"filename":"image_30102025_07_51_16_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/346c7f4ee0071d43144ef23f230f5bb8.jpg","text":"TemporaryFile(/tmp/multipartBody3411145766490381177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047185398,"filename":"image_30102025_07_51_13_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2569e3acf0702868ac8829381b2f01e1.jpg","text":"TemporaryFile(/tmp/multipartBody8297054251537341824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047185398,"filename":"image_30102025_07_50_59_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/2/86fed9a02ed14a822372d563f52d1c4f.jpg","text":"TemporaryFile(/tmp/multipartBody1832813986087827706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047185398,"filename":"image_30102025_07_51_01_1555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769456","file1":"1391769454","file0":"1391769451","file4":"1391769462","file5":"1391769465","file3":"1391769459"},"map_files_photo_id_array":[{"photo_id":"1391769465","filename":"file5"},{"photo_id":"1391769456","filename":"file2"},{"photo_id":"1391769462","filename":"file4"},{"photo_id":"1391769454","filename":"file1"},{"photo_id":"1391769451","filename":"file0"},{"photo_id":"1391769459","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769462":["hashtag1","hashtag2"]},{"1391769456":["hashtag1","hashtag2"]},{"1391769465":["hashtag1","hashtag2"]},{"1391769459":["hashtag1","hashtag2"]},{"1391769451":["hashtag1","hashtag2"]},{"1391769454":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769462, 1391769456, 1391769465, 1391769459, 1391769451, 1391769454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38476800918579 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 02:32:42.708946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/51/image_30102025_07_51_18_1585.jpg', '/home/pi/Desktop/images/30102025/07/51/image_30102025_07_51_42_24193.jpg', '/home/pi/Desktop/images/30102025/07/51/image_30102025_07_51_44_1572.jpg', '/home/pi/Desktop/images/30102025/07/51/image_30102025_07_51_45_1576.jpg', '/home/pi/Desktop/images/30102025/07/51/image_30102025_07_51_47_1664.jpg', '/home/pi/Desktop/images/30102025/07/51/image_30102025_07_51_56_9061.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/51/image_30102025_07_51_18_1585.jpg
/home/pi/Desktop/images/30102025/07/51/image_30102025_07_51_42_24193.jpg
/home/pi/Desktop/images/30102025/07/51/image_30102025_07_51_44_1572.jpg
/home/pi/Desktop/images/30102025/07/51/image_30102025_07_51_45_1576.jpg
/home/pi/Desktop/images/30102025/07/51/image_30102025_07_51_47_1664.jpg
/home/pi/Desktop/images/30102025/07/51/image_30102025_07_51_56_9061.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769480","1391769474","1391769477","1391769471","1391769482","1391769484"],"photo_ids_order":["1391769471","1391769474","1391769477","1391769480","1391769482","1391769484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c1a4b447b6dae71d3296e93d02f5d27c.jpg","text":"TemporaryFile(/tmp/multipartBody7480618742224750816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047223731,"filename":"image_30102025_07_51_45_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/2/bc5da23d19ab1b2195fd42bd12e78481.jpg","text":"TemporaryFile(/tmp/multipartBody7671130489413379478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047223731,"filename":"image_30102025_07_51_42_24193.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a2e65293be9814a9990120a845c4800e.jpg","text":"TemporaryFile(/tmp/multipartBody6081931231316943447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047223731,"filename":"image_30102025_07_51_44_1572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5a98dcc8bbdd6119f336cbc05f1ea2bc.jpg","text":"TemporaryFile(/tmp/multipartBody7572401054076634380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047223731,"filename":"image_30102025_07_51_18_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/2/059d841bf54f00822c3667ce5ba09c69.jpg","text":"TemporaryFile(/tmp/multipartBody9176894878159917815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047223731,"filename":"image_30102025_07_51_47_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/2/0360b82e726b8e3323f42aba1d3eb6cf.jpg","text":"TemporaryFile(/tmp/multipartBody6426901389254366055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047223731,"filename":"image_30102025_07_51_56_9061.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769477","file1":"1391769474","file0":"1391769471","file4":"1391769482","file5":"1391769484","file3":"1391769480"},"map_files_photo_id_array":[{"photo_id":"1391769484","filename":"file5"},{"photo_id":"1391769477","filename":"file2"},{"photo_id":"1391769482","filename":"file4"},{"photo_id":"1391769474","filename":"file1"},{"photo_id":"1391769471","filename":"file0"},{"photo_id":"1391769480","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769480":["hashtag1","hashtag2"]},{"1391769474":["hashtag1","hashtag2"]},{"1391769477":["hashtag1","hashtag2"]},{"1391769471":["hashtag1","hashtag2"]},{"1391769482":["hashtag1","hashtag2"]},{"1391769484":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769480, 1391769474, 1391769477, 1391769471, 1391769482, 1391769484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61319899559021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:33:21.796567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/51/image_30102025_07_51_58_1644.jpg', '/home/pi/Desktop/images/30102025/07/51/image_30102025_07_51_59_1534.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_01_1789.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_03_1535.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_04_1658.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_06_1556.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/51/image_30102025_07_51_58_1644.jpg
/home/pi/Desktop/images/30102025/07/51/image_30102025_07_51_59_1534.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_01_1789.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_03_1535.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_04_1658.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_06_1556.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769495","1391769504","1391769507","1391769494","1391769499","1391769492"],"photo_ids_order":["1391769492","1391769494","1391769495","1391769499","1391769504","1391769507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/76226e223633dbc793f2a7ae97393349.jpg","text":"TemporaryFile(/tmp/multipartBody1239616235610283201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047264357,"filename":"image_30102025_07_52_01_1789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8718bb80e028bf363b65944f247623d9.jpg","text":"TemporaryFile(/tmp/multipartBody2865633760617735809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047264357,"filename":"image_30102025_07_52_04_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/2/542f437cb4b837bf582206aef19a7c53.jpg","text":"TemporaryFile(/tmp/multipartBody673081990547316580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047264357,"filename":"image_30102025_07_52_06_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/2/3417ba140fbe6c9ae798d238b4976f36.jpg","text":"TemporaryFile(/tmp/multipartBody4426509541423061517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047264357,"filename":"image_30102025_07_51_59_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/2/382d0d14c4e86d3d4fb1871d53b2f045.jpg","text":"TemporaryFile(/tmp/multipartBody2194887730048565076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047264357,"filename":"image_30102025_07_52_03_1535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7e01069f03eff24565e5a73a9349f5e8.jpg","text":"TemporaryFile(/tmp/multipartBody2037318561456714542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047264357,"filename":"image_30102025_07_51_58_1644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769495","file1":"1391769494","file0":"1391769492","file4":"1391769504","file5":"1391769507","file3":"1391769499"},"map_files_photo_id_array":[{"photo_id":"1391769507","filename":"file5"},{"photo_id":"1391769495","filename":"file2"},{"photo_id":"1391769504","filename":"file4"},{"photo_id":"1391769494","filename":"file1"},{"photo_id":"1391769492","filename":"file0"},{"photo_id":"1391769499","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769495":["hashtag1","hashtag2"]},{"1391769504":["hashtag1","hashtag2"]},{"1391769507":["hashtag1","hashtag2"]},{"1391769494":["hashtag1","hashtag2"]},{"1391769499":["hashtag1","hashtag2"]},{"1391769492":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769495, 1391769504, 1391769507, 1391769494, 1391769499, 1391769492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38528919219971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:34:02.698590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/52/image_30102025_07_52_07_1565.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_09_1620.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_11_1971.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_13_1653.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_14_1709.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_16_1632.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/52/image_30102025_07_52_07_1565.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_09_1620.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_11_1971.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_13_1653.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_14_1709.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_16_1632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769522","1391769519","1391769516","1391769521","1391769524","1391769518"],"photo_ids_order":["1391769516","1391769518","1391769519","1391769521","1391769522","1391769524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/758b2a019d30b45f5b9c71983c13c184.jpg","text":"TemporaryFile(/tmp/multipartBody4559734376500656866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047304762,"filename":"image_30102025_07_52_14_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/2/2a5e6dc8a8a989f45e23d158b2949b0a.jpg","text":"TemporaryFile(/tmp/multipartBody5767429882789375494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047304762,"filename":"image_30102025_07_52_11_1971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/88b7b048b006b22cdb50e63a8b6cf61b.jpg","text":"TemporaryFile(/tmp/multipartBody4100566908636739614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047304762,"filename":"image_30102025_07_52_07_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/2/a9862cab9de988c559203faacb21c2ba.jpg","text":"TemporaryFile(/tmp/multipartBody4924192133402264121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047304762,"filename":"image_30102025_07_52_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/2/782a85c6bb9f085e13c6d989f8deee98.jpg","text":"TemporaryFile(/tmp/multipartBody1065088527556604292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047304762,"filename":"image_30102025_07_52_16_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/2/33142b6e972045da2ca8fe628b8f59b0.jpg","text":"TemporaryFile(/tmp/multipartBody7725466849935523680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047304762,"filename":"image_30102025_07_52_09_1620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769519","file1":"1391769518","file0":"1391769516","file4":"1391769522","file5":"1391769524","file3":"1391769521"},"map_files_photo_id_array":[{"photo_id":"1391769524","filename":"file5"},{"photo_id":"1391769519","filename":"file2"},{"photo_id":"1391769522","filename":"file4"},{"photo_id":"1391769518","filename":"file1"},{"photo_id":"1391769516","filename":"file0"},{"photo_id":"1391769521","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769522":["hashtag1","hashtag2"]},{"1391769519":["hashtag1","hashtag2"]},{"1391769516":["hashtag1","hashtag2"]},{"1391769521":["hashtag1","hashtag2"]},{"1391769524":["hashtag1","hashtag2"]},{"1391769518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769522, 1391769519, 1391769516, 1391769521, 1391769524, 1391769518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.569843769073486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 02:34:42.061153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/52/image_30102025_07_52_17_1609.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_19_1533.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_21_1739.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_22_1524.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_24_1719.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_26_1771.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/52/image_30102025_07_52_17_1609.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_19_1533.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_21_1739.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_22_1524.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_24_1719.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_26_1771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769548","1391769542","1391769545","1391769539","1391769547","1391769535"],"photo_ids_order":["1391769535","1391769539","1391769542","1391769545","1391769547","1391769548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/751c1900ba8dd9aa9a09851b2dc79fbc.jpg","text":"TemporaryFile(/tmp/multipartBody552964080575702803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047343101,"filename":"image_30102025_07_52_26_1771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cf25dac8f7b92dabf9472430d02382d3.jpg","text":"TemporaryFile(/tmp/multipartBody3730692217966165865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047343101,"filename":"image_30102025_07_52_21_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/2/a78c4d3d27dc92b6ca7e75030586ba5f.jpg","text":"TemporaryFile(/tmp/multipartBody6864942662778086728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047343101,"filename":"image_30102025_07_52_22_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/2/ec09b07fa1df8dc293ba830800899b1e.jpg","text":"TemporaryFile(/tmp/multipartBody4269801061645904150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047343101,"filename":"image_30102025_07_52_19_1533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b83cff524c8b5d2c8b02059ff577a018.jpg","text":"TemporaryFile(/tmp/multipartBody5346928322030125094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047343101,"filename":"image_30102025_07_52_24_1719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/98e06f7f284d968c7680babf5c6c0e46.jpg","text":"TemporaryFile(/tmp/multipartBody477232448076780785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047343101,"filename":"image_30102025_07_52_17_1609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769542","file1":"1391769539","file0":"1391769535","file4":"1391769547","file5":"1391769548","file3":"1391769545"},"map_files_photo_id_array":[{"photo_id":"1391769548","filename":"file5"},{"photo_id":"1391769542","filename":"file2"},{"photo_id":"1391769547","filename":"file4"},{"photo_id":"1391769539","filename":"file1"},{"photo_id":"1391769535","filename":"file0"},{"photo_id":"1391769545","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769548":["hashtag1","hashtag2"]},{"1391769542":["hashtag1","hashtag2"]},{"1391769545":["hashtag1","hashtag2"]},{"1391769539":["hashtag1","hashtag2"]},{"1391769547":["hashtag1","hashtag2"]},{"1391769535":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769548, 1391769542, 1391769545, 1391769539, 1391769547, 1391769535)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 50.835257053375244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 02:35:42.226577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/52/image_30102025_07_52_30_4002.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_31_1520.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_37_6129.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_41_3173.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_42_1680.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_44_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/07/52/image_30102025_07_52_30_4002.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_31_1520.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_37_6129.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_41_3173.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_42_1680.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_44_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":["1391769573","1391769567","1391769582","1391769576","1391769579","1391769571"],"photo_ids_order":["1391769567","1391769571","1391769573","1391769576","1391769579","1391769582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bf87426505a4c0a1b88943e4e79e0507.jpg","text":"TemporaryFile(/tmp/multipartBody710135849285801462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047410212,"filename":"image_30102025_07_52_37_6129.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c45a2b35f7daa476351fe701e841f754.jpg","text":"TemporaryFile(/tmp/multipartBody9186581032560746658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047410212,"filename":"image_30102025_07_52_30_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/2/d558098c07de465554b930fbc206b156.jpg","text":"TemporaryFile(/tmp/multipartBody3740931570757095373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047410212,"filename":"image_30102025_07_52_44_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/2/b2197653016056dc6e71e0e414a66fcf.jpg","text":"TemporaryFile(/tmp/multipartBody8457615010611224364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047410212,"filename":"image_30102025_07_52_41_3173.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d9c491500ee4da98b7712555359028fb.jpg","text":"TemporaryFile(/tmp/multipartBody4354316671961928430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047410212,"filename":"image_30102025_07_52_42_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5c6742c33a45f6950ddc1343babc7f6d.jpg","text":"TemporaryFile(/tmp/multipartBody1590326834528538336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047410212,"filename":"image_30102025_07_52_31_1520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769573","file1":"1391769571","file0":"1391769567","file4":"1391769579","file5":"1391769582","file3":"1391769576"},"map_files_photo_id_array":[{"photo_id":"1391769582","filename":"file5"},{"photo_id":"1391769573","filename":"file2"},{"photo_id":"1391769579","filename":"file4"},{"photo_id":"1391769571","filename":"file1"},{"photo_id":"1391769567","filename":"file0"},{"photo_id":"1391769576","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769573":["hashtag1","hashtag2"]},{"1391769567":["hashtag1","hashtag2"]},{"1391769582":["hashtag1","hashtag2"]},{"1391769576":["hashtag1","hashtag2"]},{"1391769579":["hashtag1","hashtag2"]},{"1391769571":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769573, 1391769567, 1391769582, 1391769576, 1391769579, 1391769571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.42934226989746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 02:36:42.546565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/52/image_30102025_07_52_45_1534.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_47_1630.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_49_1634.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_51_1876.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_52_1649.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_54_1746.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/52/image_30102025_07_52_45_1534.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_47_1630.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_49_1634.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_51_1876.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_52_1649.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_52_54_1746.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769594","1391769599","1391769605","1391769610","1391769607","1391769601"],"photo_ids_order":["1391769594","1391769599","1391769601","1391769605","1391769607","1391769610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a3fadaf450cf5b02ca3ab3f3ea45e7cc.jpg","text":"TemporaryFile(/tmp/multipartBody8409866493138031989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047463518,"filename":"image_30102025_07_52_45_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/2/71cf9ace098e2783da75ed9449afd554.jpg","text":"TemporaryFile(/tmp/multipartBody8137332161218605473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047463518,"filename":"image_30102025_07_52_47_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/2/27bae7b9f8371e27356969670d972d64.jpg","text":"TemporaryFile(/tmp/multipartBody4948755850902818664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047463518,"filename":"image_30102025_07_52_51_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/2/ea5dc103e036f050dc550673d14a733f.jpg","text":"TemporaryFile(/tmp/multipartBody6074192207087552477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047463518,"filename":"image_30102025_07_52_54_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/2/42b75e981c5b211cffd49bcf33149d51.jpg","text":"TemporaryFile(/tmp/multipartBody4354596543417765361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047463518,"filename":"image_30102025_07_52_52_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/2/a9af0ce358339b7ab329c019dc1e2a19.jpg","text":"TemporaryFile(/tmp/multipartBody8379133969903519548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047463518,"filename":"image_30102025_07_52_49_1634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769601","file1":"1391769599","file0":"1391769594","file4":"1391769607","file5":"1391769610","file3":"1391769605"},"map_files_photo_id_array":[{"photo_id":"1391769610","filename":"file5"},{"photo_id":"1391769601","filename":"file2"},{"photo_id":"1391769607","filename":"file4"},{"photo_id":"1391769599","filename":"file1"},{"photo_id":"1391769594","filename":"file0"},{"photo_id":"1391769605","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769594":["hashtag1","hashtag2"]},{"1391769599":["hashtag1","hashtag2"]},{"1391769605":["hashtag1","hashtag2"]},{"1391769610":["hashtag1","hashtag2"]},{"1391769607":["hashtag1","hashtag2"]},{"1391769601":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769594, 1391769599, 1391769605, 1391769610, 1391769607, 1391769601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31939482688904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:37:22.765126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/52/image_30102025_07_52_58_4162.jpg', '/home/pi/Desktop/images/30102025/07/52/image_30102025_07_53_00_1532.jpg', '/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_04_4160.jpg', '/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_05_1580.jpg', '/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_10_4198.jpg', '/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_13_3044.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/52/image_30102025_07_52_58_4162.jpg
/home/pi/Desktop/images/30102025/07/52/image_30102025_07_53_00_1532.jpg
/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_04_4160.jpg
/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_05_1580.jpg
/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_10_4198.jpg
/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_13_3044.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769624","1391769626","1391769629","1391769631","1391769634","1391769622"],"photo_ids_order":["1391769622","1391769624","1391769626","1391769629","1391769631","1391769634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d19c12114e1b2a4cf37dbc0bbbf48a31.jpg","text":"TemporaryFile(/tmp/multipartBody5253283359027460085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047507206,"filename":"image_30102025_07_53_00_1532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cf6f55d2717644056ba934ce34743e60.jpg","text":"TemporaryFile(/tmp/multipartBody5501725644700923263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047507206,"filename":"image_30102025_07_53_04_4160.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/29d342a8f82b919b48925820f5863676.jpg","text":"TemporaryFile(/tmp/multipartBody1432478696127516854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047507206,"filename":"image_30102025_07_53_05_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/aafb6262f7388902537aedce7154d052.jpg","text":"TemporaryFile(/tmp/multipartBody5271157409907111903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047507206,"filename":"image_30102025_07_53_10_4198.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/96d5ddbd3d4e9f926bef0be14fc1e6d8.jpg","text":"TemporaryFile(/tmp/multipartBody2814571809240225056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047507206,"filename":"image_30102025_07_53_13_3044.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e4e0f57e1d107d5428a7337047a3b324.jpg","text":"TemporaryFile(/tmp/multipartBody2491214915933092892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047507206,"filename":"image_30102025_07_52_58_4162.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769626","file1":"1391769624","file0":"1391769622","file4":"1391769631","file5":"1391769634","file3":"1391769629"},"map_files_photo_id_array":[{"photo_id":"1391769634","filename":"file5"},{"photo_id":"1391769626","filename":"file2"},{"photo_id":"1391769631","filename":"file4"},{"photo_id":"1391769624","filename":"file1"},{"photo_id":"1391769622","filename":"file0"},{"photo_id":"1391769629","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769624":["hashtag1","hashtag2"]},{"1391769626":["hashtag1","hashtag2"]},{"1391769629":["hashtag1","hashtag2"]},{"1391769631":["hashtag1","hashtag2"]},{"1391769634":["hashtag1","hashtag2"]},{"1391769622":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769624, 1391769626, 1391769629, 1391769631, 1391769634, 1391769622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.94727969169617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:38:21.994557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/53/image_30102025_07_53_14_1586.jpg', '/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_16_1745.jpg', '/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_18_1505.jpg', '/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_20_2938.jpg', '/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_22_1742.jpg', '/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_26_4002.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/53/image_30102025_07_53_14_1586.jpg
/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_16_1745.jpg
/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_18_1505.jpg
/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_20_2938.jpg
/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_22_1742.jpg
/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_26_4002.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769648","1391769645","1391769659","1391769650","1391769655","1391769652"],"photo_ids_order":["1391769645","1391769648","1391769650","1391769652","1391769655","1391769659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e2ed3a37a0c84b2e501ef54c0b66d981.jpg","text":"TemporaryFile(/tmp/multipartBody8149435516506761155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047564527,"filename":"image_30102025_07_53_16_1745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fe01ede705473b4dda32cdaaf8a18db8.jpg","text":"TemporaryFile(/tmp/multipartBody2703482398766018673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047564527,"filename":"image_30102025_07_53_14_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/2/da28c78cdee99068c9e1b41c3d5af37b.jpg","text":"TemporaryFile(/tmp/multipartBody8873379276008105285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047564527,"filename":"image_30102025_07_53_26_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/2/6f4a674d82cb05137e76cafe0a58f4d0.jpg","text":"TemporaryFile(/tmp/multipartBody1163990358969073304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047564527,"filename":"image_30102025_07_53_18_1505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/be253e9c3c5739647688651464c92e4b.jpg","text":"TemporaryFile(/tmp/multipartBody7337966306900867937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047564527,"filename":"image_30102025_07_53_22_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/2/e218f3786aea29d42de339b012dda41c.jpg","text":"TemporaryFile(/tmp/multipartBody8983318961778638955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047564527,"filename":"image_30102025_07_53_20_2938.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769650","file1":"1391769648","file0":"1391769645","file4":"1391769655","file5":"1391769659","file3":"1391769652"},"map_files_photo_id_array":[{"photo_id":"1391769659","filename":"file5"},{"photo_id":"1391769650","filename":"file2"},{"photo_id":"1391769655","filename":"file4"},{"photo_id":"1391769648","filename":"file1"},{"photo_id":"1391769645","filename":"file0"},{"photo_id":"1391769652","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769648":["hashtag1","hashtag2"]},{"1391769645":["hashtag1","hashtag2"]},{"1391769659":["hashtag1","hashtag2"]},{"1391769650":["hashtag1","hashtag2"]},{"1391769655":["hashtag1","hashtag2"]},{"1391769652":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769648, 1391769645, 1391769659, 1391769650, 1391769655, 1391769652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71522355079651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:39:03.071725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/53/image_30102025_07_53_28_1869.jpg', '/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_41_12620.jpg', '/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_44_3240.jpg', '/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_46_1949.jpg', '/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_47_1528.jpg', '/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_52_4111.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/53/image_30102025_07_53_28_1869.jpg
/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_41_12620.jpg
/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_44_3240.jpg
/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_46_1949.jpg
/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_47_1528.jpg
/home/pi/Desktop/images/30102025/07/53/image_30102025_07_53_52_4111.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769680","1391769688","1391769682","1391769676","1391769685","1391769679"],"photo_ids_order":["1391769676","1391769679","1391769680","1391769682","1391769685","1391769688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a1e3db70f63e23dc869fe08c3f0a0dbb.jpg","text":"TemporaryFile(/tmp/multipartBody7018192712411254723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047605574,"filename":"image_30102025_07_53_44_3240.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a239aba6abf5162d1116a81d13f97b61.jpg","text":"TemporaryFile(/tmp/multipartBody5118860766756877714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047605574,"filename":"image_30102025_07_53_52_4111.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/033c34c80ed6ea38ceca7df925cc1340.jpg","text":"TemporaryFile(/tmp/multipartBody3757594252006687510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047605574,"filename":"image_30102025_07_53_46_1949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f376cc63303d0a0c493b49f0592092cb.jpg","text":"TemporaryFile(/tmp/multipartBody2644691795123766379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047605574,"filename":"image_30102025_07_53_28_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/2/ee6bc2ae6fb0a93dc12cd259857f78ec.jpg","text":"TemporaryFile(/tmp/multipartBody3276819077875182932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047605574,"filename":"image_30102025_07_53_47_1528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c5dc2d68f07c0736bfc6ec01d7afa0a6.jpg","text":"TemporaryFile(/tmp/multipartBody8725912808063956082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047605574,"filename":"image_30102025_07_53_41_12620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769680","file1":"1391769679","file0":"1391769676","file4":"1391769685","file5":"1391769688","file3":"1391769682"},"map_files_photo_id_array":[{"photo_id":"1391769688","filename":"file5"},{"photo_id":"1391769680","filename":"file2"},{"photo_id":"1391769685","filename":"file4"},{"photo_id":"1391769679","filename":"file1"},{"photo_id":"1391769676","filename":"file0"},{"photo_id":"1391769682","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769680":["hashtag1","hashtag2"]},{"1391769688":["hashtag1","hashtag2"]},{"1391769682":["hashtag1","hashtag2"]},{"1391769676":["hashtag1","hashtag2"]},{"1391769685":["hashtag1","hashtag2"]},{"1391769679":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769680, 1391769688, 1391769682, 1391769676, 1391769685, 1391769679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87576961517334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:40:03.162329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/53/image_30102025_07_53_53_1559.jpg', '/home/pi/Desktop/images/30102025/07/53/image_30102025_07_54_00_7117.jpg', '/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_06_5846.jpg', '/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_08_1735.jpg', '/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_10_1961.jpg', '/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_11_1673.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/53/image_30102025_07_53_53_1559.jpg
/home/pi/Desktop/images/30102025/07/53/image_30102025_07_54_00_7117.jpg
/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_06_5846.jpg
/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_08_1735.jpg
/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_10_1961.jpg
/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_11_1673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769703","1391769720","1391769716","1391769712","1391769706","1391769709"],"photo_ids_order":["1391769703","1391769706","1391769709","1391769712","1391769716","1391769720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b02dddf8a73dfa8ee548735cbca9bec9.jpg","text":"TemporaryFile(/tmp/multipartBody6249804840309256094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047665307,"filename":"image_30102025_07_53_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/2/537800ad3d539d4d0758fe7da6a1ec81.jpg","text":"TemporaryFile(/tmp/multipartBody7092166509534502562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047665307,"filename":"image_30102025_07_54_11_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/2/8bd37e1ab6c91bfe21fe955b58134d5f.jpg","text":"TemporaryFile(/tmp/multipartBody3421419293431077053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047665307,"filename":"image_30102025_07_54_10_1961.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/55a1a2ffedc432080fd5a49fd0560936.jpg","text":"TemporaryFile(/tmp/multipartBody9212709901778027077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047665307,"filename":"image_30102025_07_54_08_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7a4586c8bcba0b3a025c1949dd3433e3.jpg","text":"TemporaryFile(/tmp/multipartBody7755367633086320612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047665307,"filename":"image_30102025_07_54_00_7117.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0f5f1ca4bb259b70feeedc963711f5c0.jpg","text":"TemporaryFile(/tmp/multipartBody1462599478303572774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047665307,"filename":"image_30102025_07_54_06_5846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769709","file1":"1391769706","file0":"1391769703","file4":"1391769716","file5":"1391769720","file3":"1391769712"},"map_files_photo_id_array":[{"photo_id":"1391769720","filename":"file5"},{"photo_id":"1391769709","filename":"file2"},{"photo_id":"1391769716","filename":"file4"},{"photo_id":"1391769706","filename":"file1"},{"photo_id":"1391769703","filename":"file0"},{"photo_id":"1391769712","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769703":["hashtag1","hashtag2"]},{"1391769720":["hashtag1","hashtag2"]},{"1391769716":["hashtag1","hashtag2"]},{"1391769712":["hashtag1","hashtag2"]},{"1391769706":["hashtag1","hashtag2"]},{"1391769709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769703, 1391769720, 1391769716, 1391769712, 1391769706, 1391769709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.336817026138306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 02:40:42.687794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/54/image_30102025_07_54_17_5463.jpg', '/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_28_11507.jpg', '/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_31_3098.jpg', '/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_33_1706.jpg', '/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_40_6910.jpg', '/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_46_5917.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/54/image_30102025_07_54_17_5463.jpg
/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_28_11507.jpg
/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_31_3098.jpg
/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_33_1706.jpg
/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_40_6910.jpg
/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_46_5917.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769731","1391769734","1391769737","1391769742","1391769739","1391769727"],"photo_ids_order":["1391769727","1391769731","1391769734","1391769737","1391769739","1391769742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a2287f95322ec1c3ccef6f02e2066436.jpg","text":"TemporaryFile(/tmp/multipartBody1518192025037570671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047703783,"filename":"image_30102025_07_54_28_11507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6f384246e21a6c65aca0ed3a2c3235c6.jpg","text":"TemporaryFile(/tmp/multipartBody8698130960967563217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047703783,"filename":"image_30102025_07_54_31_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/2/e155e4d1b90f324f55eed09ec1414cd6.jpg","text":"TemporaryFile(/tmp/multipartBody8508213998802194720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047703783,"filename":"image_30102025_07_54_33_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0be4796bfb2d7c3dc7b6dc31381abfcd.jpg","text":"TemporaryFile(/tmp/multipartBody5695172841101040360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047703783,"filename":"image_30102025_07_54_46_5917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e5b6a1bdae394736be28da534cf832c6.jpg","text":"TemporaryFile(/tmp/multipartBody4002363659951549488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047703783,"filename":"image_30102025_07_54_40_6910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2df36bbc4989ba18021bec1d7b497fb8.jpg","text":"TemporaryFile(/tmp/multipartBody8769100941676957873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047703783,"filename":"image_30102025_07_54_17_5463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769734","file1":"1391769731","file0":"1391769727","file4":"1391769739","file5":"1391769742","file3":"1391769737"},"map_files_photo_id_array":[{"photo_id":"1391769742","filename":"file5"},{"photo_id":"1391769734","filename":"file2"},{"photo_id":"1391769739","filename":"file4"},{"photo_id":"1391769731","filename":"file1"},{"photo_id":"1391769727","filename":"file0"},{"photo_id":"1391769737","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769731":["hashtag1","hashtag2"]},{"1391769734":["hashtag1","hashtag2"]},{"1391769737":["hashtag1","hashtag2"]},{"1391769742":["hashtag1","hashtag2"]},{"1391769739":["hashtag1","hashtag2"]},{"1391769727":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769731, 1391769734, 1391769737, 1391769742, 1391769739, 1391769727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60686278343201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:41:21.815709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/54/image_30102025_07_54_48_1608.jpg', '/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_49_1584.jpg', '/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_51_1605.jpg', '/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_52_1610.jpg', '/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_54_1659.jpg', '/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_56_1731.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/54/image_30102025_07_54_48_1608.jpg
/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_49_1584.jpg
/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_51_1605.jpg
/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_52_1610.jpg
/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_54_1659.jpg
/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_56_1731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769753","1391769756","1391769761","1391769764","1391769749","1391769751"],"photo_ids_order":["1391769749","1391769751","1391769753","1391769756","1391769761","1391769764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/92473e9e9bb2a0ba9e69f361ad7831b3.jpg","text":"TemporaryFile(/tmp/multipartBody240450978789433637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047744401,"filename":"image_30102025_07_54_51_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/2/bce09c4ff6c69cd6f63ee345be77ad31.jpg","text":"TemporaryFile(/tmp/multipartBody89213007689415035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047744401,"filename":"image_30102025_07_54_52_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/2/dfde395323fec8cd74bf0d3bed0668ef.jpg","text":"TemporaryFile(/tmp/multipartBody1362357809607404706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047744401,"filename":"image_30102025_07_54_54_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/2/ca13efbc7bede66fc3bff0ad6a35f3e2.jpg","text":"TemporaryFile(/tmp/multipartBody5803436729754617616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047744401,"filename":"image_30102025_07_54_56_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/2/67c838bb623721b154f47806b9c08a68.jpg","text":"TemporaryFile(/tmp/multipartBody3309412329740283160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047744401,"filename":"image_30102025_07_54_48_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/2/42fb8dcc5ab7e65b4e8d9b2614ad47bb.jpg","text":"TemporaryFile(/tmp/multipartBody2475107511716571495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047744401,"filename":"image_30102025_07_54_49_1584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769753","file1":"1391769751","file0":"1391769749","file4":"1391769761","file5":"1391769764","file3":"1391769756"},"map_files_photo_id_array":[{"photo_id":"1391769764","filename":"file5"},{"photo_id":"1391769753","filename":"file2"},{"photo_id":"1391769761","filename":"file4"},{"photo_id":"1391769751","filename":"file1"},{"photo_id":"1391769749","filename":"file0"},{"photo_id":"1391769756","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769753":["hashtag1","hashtag2"]},{"1391769756":["hashtag1","hashtag2"]},{"1391769761":["hashtag1","hashtag2"]},{"1391769764":["hashtag1","hashtag2"]},{"1391769749":["hashtag1","hashtag2"]},{"1391769751":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769753, 1391769756, 1391769761, 1391769764, 1391769749, 1391769751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55837607383728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:42:02.633771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/54/image_30102025_07_54_57_1672.jpg', '/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_59_1701.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_01_1556.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_03_1771.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_05_2034.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_06_1506.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/54/image_30102025_07_54_57_1672.jpg
/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_59_1701.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_01_1556.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_03_1771.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_05_2034.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_06_1506.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.951385259628296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:42:21.956204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/54/image_30102025_07_54_57_1672.jpg', '/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_59_1701.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_01_1556.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_03_1771.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_05_2034.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_06_1506.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/54/image_30102025_07_54_57_1672.jpg
/home/pi/Desktop/images/30102025/07/54/image_30102025_07_54_59_1701.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_01_1556.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_03_1771.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_05_2034.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_06_1506.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769792","1391769789","1391769799","1391769787","1391769784","1391769795"],"photo_ids_order":["1391769784","1391769787","1391769789","1391769792","1391769795","1391769799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d4cd3fc0f546c389c743b131cf205000.jpg","text":"TemporaryFile(/tmp/multipartBody6324368526103321168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047804411,"filename":"image_30102025_07_55_03_1771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/397849e760e80f933f4850524520f15d.jpg","text":"TemporaryFile(/tmp/multipartBody4713560246047185775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047804411,"filename":"image_30102025_07_55_01_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/2/649a392302c0be0413e1f3d086fc6401.jpg","text":"TemporaryFile(/tmp/multipartBody7834735278238881882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047804411,"filename":"image_30102025_07_55_06_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/2/6e2ab3b0ae74473c6c827bf0d1fe96b1.jpg","text":"TemporaryFile(/tmp/multipartBody9170608548239379832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047804411,"filename":"image_30102025_07_54_59_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ed3bcc5f089ed128805a1c7d124799f5.jpg","text":"TemporaryFile(/tmp/multipartBody8007011854925184525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047804411,"filename":"image_30102025_07_54_57_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/2/77938730880ed7e58a8aa10665749bf6.jpg","text":"TemporaryFile(/tmp/multipartBody7212021018446894610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047804411,"filename":"image_30102025_07_55_05_2034.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769789","file1":"1391769787","file0":"1391769784","file4":"1391769795","file5":"1391769799","file3":"1391769792"},"map_files_photo_id_array":[{"photo_id":"1391769799","filename":"file5"},{"photo_id":"1391769789","filename":"file2"},{"photo_id":"1391769795","filename":"file4"},{"photo_id":"1391769787","filename":"file1"},{"photo_id":"1391769784","filename":"file0"},{"photo_id":"1391769792","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769792":["hashtag1","hashtag2"]},{"1391769789":["hashtag1","hashtag2"]},{"1391769799":["hashtag1","hashtag2"]},{"1391769787":["hashtag1","hashtag2"]},{"1391769784":["hashtag1","hashtag2"]},{"1391769795":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769792, 1391769789, 1391769799, 1391769787, 1391769784, 1391769795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.498124837875366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:43:02.989826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/55/image_30102025_07_55_08_1749.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_09_1612.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_11_1557.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_13_1601.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_14_1759.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_16_1563.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/55/image_30102025_07_55_08_1749.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_09_1612.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_11_1557.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_13_1601.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_14_1759.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_16_1563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769816","1391769819","1391769813","1391769807","1391769809","1391769805"],"photo_ids_order":["1391769805","1391769807","1391769809","1391769813","1391769816","1391769819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a6026a4f83a16499e42a29b88bab3617.jpg","text":"TemporaryFile(/tmp/multipartBody9092109786387039450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047845076,"filename":"image_30102025_07_55_14_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/2/9be656e2be29824f051e66e83a7ba5b1.jpg","text":"TemporaryFile(/tmp/multipartBody5890675900910621412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047845076,"filename":"image_30102025_07_55_16_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/2/e956ff6e9f30fe2a956b17b845f8825b.jpg","text":"TemporaryFile(/tmp/multipartBody685333315486270462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047845076,"filename":"image_30102025_07_55_13_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/2/39422d041e3032df4b083352e51462c1.jpg","text":"TemporaryFile(/tmp/multipartBody8995845115588634498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047845076,"filename":"image_30102025_07_55_09_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/2/0e4a42d2fd3a47aa29228f4ebab8cb5a.jpg","text":"TemporaryFile(/tmp/multipartBody5348605046189972684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047845076,"filename":"image_30102025_07_55_11_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/34a395a5393bffb0703683fd0abc358c.jpg","text":"TemporaryFile(/tmp/multipartBody4833363139702494967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047845076,"filename":"image_30102025_07_55_08_1749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769809","file1":"1391769807","file0":"1391769805","file4":"1391769816","file5":"1391769819","file3":"1391769813"},"map_files_photo_id_array":[{"photo_id":"1391769819","filename":"file5"},{"photo_id":"1391769809","filename":"file2"},{"photo_id":"1391769816","filename":"file4"},{"photo_id":"1391769807","filename":"file1"},{"photo_id":"1391769805","filename":"file0"},{"photo_id":"1391769813","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769816":["hashtag1","hashtag2"]},{"1391769819":["hashtag1","hashtag2"]},{"1391769813":["hashtag1","hashtag2"]},{"1391769807":["hashtag1","hashtag2"]},{"1391769809":["hashtag1","hashtag2"]},{"1391769805":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769816, 1391769819, 1391769813, 1391769807, 1391769809, 1391769805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5870406627655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 02:43:42.232238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/55/image_30102025_07_55_18_1602.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_19_1615.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_21_1498.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_22_1827.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_24_1670.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_26_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/07/55/image_30102025_07_55_18_1602.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_19_1615.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_21_1498.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_22_1827.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_24_1670.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_26_1658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769839","1391769824","1391769827","1391769836","1391769841","1391769832"],"photo_ids_order":["1391769824","1391769827","1391769832","1391769836","1391769839","1391769841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ec5d59eaef3408dd1130811140fd6609.jpg","text":"TemporaryFile(/tmp/multipartBody4092747621861613801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047883260,"filename":"image_30102025_07_55_24_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/2/ac4949d0f4f237cc06e5d138d77d3433.jpg","text":"TemporaryFile(/tmp/multipartBody3068046005561022303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047883260,"filename":"image_30102025_07_55_18_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/2/883e7b8a29ab8716c9cd0b1276c2b544.jpg","text":"TemporaryFile(/tmp/multipartBody7475741424582836289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047883260,"filename":"image_30102025_07_55_19_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/2/b36ff1d949b94440f421b0a922b86702.jpg","text":"TemporaryFile(/tmp/multipartBody2640057138169420829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047883260,"filename":"image_30102025_07_55_22_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/2/96a37b4e39e22a7098b701cee564dd0b.jpg","text":"TemporaryFile(/tmp/multipartBody3319472252538147909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047883260,"filename":"image_30102025_07_55_26_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/2/b2693487df4acf3d6c79713fe0f1a2ee.jpg","text":"TemporaryFile(/tmp/multipartBody2214727998355910774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047883260,"filename":"image_30102025_07_55_21_1498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769832","file1":"1391769827","file0":"1391769824","file4":"1391769839","file5":"1391769841","file3":"1391769836"},"map_files_photo_id_array":[{"photo_id":"1391769841","filename":"file5"},{"photo_id":"1391769832","filename":"file2"},{"photo_id":"1391769839","filename":"file4"},{"photo_id":"1391769827","filename":"file1"},{"photo_id":"1391769824","filename":"file0"},{"photo_id":"1391769836","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769839":["hashtag1","hashtag2"]},{"1391769824":["hashtag1","hashtag2"]},{"1391769827":["hashtag1","hashtag2"]},{"1391769836":["hashtag1","hashtag2"]},{"1391769841":["hashtag1","hashtag2"]},{"1391769832":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769839, 1391769824, 1391769827, 1391769836, 1391769841, 1391769832)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.33259081840515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 02:44:42.375482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/55/image_30102025_07_55_27_1544.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_29_1746.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_31_1745.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_32_1509.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_34_1727.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_36_1665.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/55/image_30102025_07_55_27_1544.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_29_1746.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_31_1745.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_32_1509.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_34_1727.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_36_1665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769870","1391769867","1391769861","1391769860","1391769874","1391769862"],"photo_ids_order":["1391769860","1391769861","1391769862","1391769867","1391769870","1391769874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e204d4f371184ee6ad0215a5d9d5c0e2.jpg","text":"TemporaryFile(/tmp/multipartBody700066270063663079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047955811,"filename":"image_30102025_07_55_34_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/2/eee123de442eea9666b56d74aabd8ef6.jpg","text":"TemporaryFile(/tmp/multipartBody2106848536224619355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047955811,"filename":"image_30102025_07_55_32_1509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/230b5e361d76043a7f3f6706b8c958a1.jpg","text":"TemporaryFile(/tmp/multipartBody2105289401085871204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047955811,"filename":"image_30102025_07_55_29_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/2/d6cf37ba7d47e542d5d935072ab5ffa1.jpg","text":"TemporaryFile(/tmp/multipartBody8394985008022092360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047955811,"filename":"image_30102025_07_55_27_1544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/58743c0e3e38f1d4aaa5c3ab5ae52d20.jpg","text":"TemporaryFile(/tmp/multipartBody2038447498574583033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047955811,"filename":"image_30102025_07_55_36_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/2/94db11d48a9c34837534439acad2e75c.jpg","text":"TemporaryFile(/tmp/multipartBody6612273379481194081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762047955811,"filename":"image_30102025_07_55_31_1745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769862","file1":"1391769861","file0":"1391769860","file4":"1391769870","file5":"1391769874","file3":"1391769867"},"map_files_photo_id_array":[{"photo_id":"1391769874","filename":"file5"},{"photo_id":"1391769862","filename":"file2"},{"photo_id":"1391769870","filename":"file4"},{"photo_id":"1391769861","filename":"file1"},{"photo_id":"1391769860","filename":"file0"},{"photo_id":"1391769867","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769870":["hashtag1","hashtag2"]},{"1391769867":["hashtag1","hashtag2"]},{"1391769861":["hashtag1","hashtag2"]},{"1391769860":["hashtag1","hashtag2"]},{"1391769874":["hashtag1","hashtag2"]},{"1391769862":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769870, 1391769867, 1391769861, 1391769860, 1391769874, 1391769862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.89526653289795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 02:45:42.007302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/55/image_30102025_07_55_38_2562.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_41_2628.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_44_2632.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_47_3578.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_50_2683.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_52_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/07/55/image_30102025_07_55_38_2562.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_41_2628.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_44_2632.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_47_3578.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_50_2683.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_52_2637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769888","1391769893","1391769896","1391769899","1391769890","1391769897"],"photo_ids_order":["1391769888","1391769890","1391769893","1391769896","1391769897","1391769899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3685fb57baf1a41faa29c82eb9bc086c.jpg","text":"TemporaryFile(/tmp/multipartBody8393757624656846253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048002977,"filename":"image_30102025_07_55_38_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/2/16e938d24baca5b4e2569abce3604fd8.jpg","text":"TemporaryFile(/tmp/multipartBody2268597230997751486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048002977,"filename":"image_30102025_07_55_44_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/2/f2c818c73b7c71471d641c4998b4a16f.jpg","text":"TemporaryFile(/tmp/multipartBody8032344914145642341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048002977,"filename":"image_30102025_07_55_47_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/2/9721f64a37d3a46816c2a4b7fc77461b.jpg","text":"TemporaryFile(/tmp/multipartBody4936518558969674572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048002977,"filename":"image_30102025_07_55_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/2/f90714c9bd746d02154d3d74ce7c69f1.jpg","text":"TemporaryFile(/tmp/multipartBody9021077152237107555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048002977,"filename":"image_30102025_07_55_41_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/2/e468b07469973382dfd74525dba80b7b.jpg","text":"TemporaryFile(/tmp/multipartBody4744206315681097700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048002977,"filename":"image_30102025_07_55_50_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769893","file1":"1391769890","file0":"1391769888","file4":"1391769897","file5":"1391769899","file3":"1391769896"},"map_files_photo_id_array":[{"photo_id":"1391769899","filename":"file5"},{"photo_id":"1391769893","filename":"file2"},{"photo_id":"1391769897","filename":"file4"},{"photo_id":"1391769890","filename":"file1"},{"photo_id":"1391769888","filename":"file0"},{"photo_id":"1391769896","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769888":["hashtag1","hashtag2"]},{"1391769893":["hashtag1","hashtag2"]},{"1391769896":["hashtag1","hashtag2"]},{"1391769899":["hashtag1","hashtag2"]},{"1391769890":["hashtag1","hashtag2"]},{"1391769897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769888, 1391769893, 1391769896, 1391769899, 1391769890, 1391769897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15517616271973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:46:22.285622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/55/image_30102025_07_55_56_3643.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_59_2754.jpg', '/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_02_2823.jpg', '/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_05_3675.jpg', '/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_08_2643.jpg', '/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_11_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/07/55/image_30102025_07_55_56_3643.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_59_2754.jpg
/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_02_2823.jpg
/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_05_3675.jpg
/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_08_2643.jpg
/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_11_2861.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5013680458068848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 02:46:42.229412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/55/image_30102025_07_55_56_3643.jpg', '/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_59_2754.jpg', '/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_02_2823.jpg', '/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_05_3675.jpg', '/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_08_2643.jpg', '/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_11_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/07/55/image_30102025_07_55_56_3643.jpg
/home/pi/Desktop/images/30102025/07/55/image_30102025_07_55_59_2754.jpg
/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_02_2823.jpg
/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_05_3675.jpg
/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_08_2643.jpg
/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_11_2861.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769930","1391769933","1391769927","1391769923","1391769914","1391769919"],"photo_ids_order":["1391769914","1391769919","1391769923","1391769927","1391769930","1391769933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7b9a78c972a9e6ce73c7174d054e8cfd.jpg","text":"TemporaryFile(/tmp/multipartBody3444303509345412751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048063102,"filename":"image_30102025_07_56_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/2/e479138772f8e5591a700b3f99e541a8.jpg","text":"TemporaryFile(/tmp/multipartBody2476626555816441730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048063102,"filename":"image_30102025_07_56_11_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/2/8383b2ee6ab26927c14eec8676cf7bc4.jpg","text":"TemporaryFile(/tmp/multipartBody8640769488100397791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048063102,"filename":"image_30102025_07_56_05_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/2/21cf1bd311044e714a1acf4401e49ab4.jpg","text":"TemporaryFile(/tmp/multipartBody3456015576475535061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048063102,"filename":"image_30102025_07_56_02_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/2/36a029a5892423844f9724734e70a052.jpg","text":"TemporaryFile(/tmp/multipartBody5737606732135647871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048063102,"filename":"image_30102025_07_55_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/2/a9142524998425774e16def697f85dd0.jpg","text":"TemporaryFile(/tmp/multipartBody4894417245594472614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048063102,"filename":"image_30102025_07_55_59_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769923","file1":"1391769919","file0":"1391769914","file4":"1391769930","file5":"1391769933","file3":"1391769927"},"map_files_photo_id_array":[{"photo_id":"1391769933","filename":"file5"},{"photo_id":"1391769923","filename":"file2"},{"photo_id":"1391769930","filename":"file4"},{"photo_id":"1391769919","filename":"file1"},{"photo_id":"1391769914","filename":"file0"},{"photo_id":"1391769927","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769930":["hashtag1","hashtag2"]},{"1391769933":["hashtag1","hashtag2"]},{"1391769927":["hashtag1","hashtag2"]},{"1391769923":["hashtag1","hashtag2"]},{"1391769914":["hashtag1","hashtag2"]},{"1391769919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769930, 1391769933, 1391769927, 1391769923, 1391769914, 1391769919)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.65738344192505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 02:47:42.463523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/56/image_30102025_07_56_14_2670.jpg', '/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_17_3623.jpg', '/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_20_2837.jpg', '/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_23_2620.jpg', '/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_26_3645.jpg', '/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_29_2595.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/56/image_30102025_07_56_14_2670.jpg
/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_17_3623.jpg
/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_20_2837.jpg
/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_23_2620.jpg
/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_26_3645.jpg
/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_29_2595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769954","1391769956","1391769950","1391769961","1391769958","1391769946"],"photo_ids_order":["1391769946","1391769950","1391769954","1391769956","1391769958","1391769961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/12f0867b90519eacf4d4acf7269c9397.jpg","text":"TemporaryFile(/tmp/multipartBody2739646689209369915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048123579,"filename":"image_30102025_07_56_20_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/2/905ebb64ae49dda21fc168ea690f1202.jpg","text":"TemporaryFile(/tmp/multipartBody8483234167024666195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048123579,"filename":"image_30102025_07_56_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/2/ccd362cd7de6f9629a243cab33cfbfbe.jpg","text":"TemporaryFile(/tmp/multipartBody8937926305571152620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048123579,"filename":"image_30102025_07_56_17_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/2/cbea6366dc6e1acd0040dbd567fe66db.jpg","text":"TemporaryFile(/tmp/multipartBody5600324203486391698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048123579,"filename":"image_30102025_07_56_29_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/2/07d3c8c01db755cfaaa9d147ca45cad7.jpg","text":"TemporaryFile(/tmp/multipartBody146785668370165830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048123579,"filename":"image_30102025_07_56_26_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/2/f8289b112af19739832b9e8339677e24.jpg","text":"TemporaryFile(/tmp/multipartBody491873544742334962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048123579,"filename":"image_30102025_07_56_14_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769954","file1":"1391769950","file0":"1391769946","file4":"1391769958","file5":"1391769961","file3":"1391769956"},"map_files_photo_id_array":[{"photo_id":"1391769961","filename":"file5"},{"photo_id":"1391769954","filename":"file2"},{"photo_id":"1391769958","filename":"file4"},{"photo_id":"1391769950","filename":"file1"},{"photo_id":"1391769946","filename":"file0"},{"photo_id":"1391769956","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769954":["hashtag1","hashtag2"]},{"1391769956":["hashtag1","hashtag2"]},{"1391769950":["hashtag1","hashtag2"]},{"1391769961":["hashtag1","hashtag2"]},{"1391769958":["hashtag1","hashtag2"]},{"1391769946":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769954, 1391769956, 1391769950, 1391769961, 1391769958, 1391769946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49943709373474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:48:22.569293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/56/image_30102025_07_56_31_2641.jpg', '/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_35_3577.jpg', '/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_38_2740.jpg', '/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_40_2614.jpg', '/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_44_3573.jpg', '/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_47_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/07/56/image_30102025_07_56_31_2641.jpg
/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_35_3577.jpg
/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_38_2740.jpg
/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_40_2614.jpg
/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_44_3573.jpg
/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_47_2685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769972","1391769989","1391769977","1391769985","1391769976","1391769981"],"photo_ids_order":["1391769972","1391769976","1391769977","1391769981","1391769985","1391769989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/31af8c81e756931a9c8ff88a0a933400.jpg","text":"TemporaryFile(/tmp/multipartBody1394455720932741621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048165198,"filename":"image_30102025_07_56_31_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/2/887833ffc84b4e8748f10b01f3ab2ab6.jpg","text":"TemporaryFile(/tmp/multipartBody4760788975661753071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048165198,"filename":"image_30102025_07_56_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/2/664b03b3b7243a1dcbed24b03ab8a6a5.jpg","text":"TemporaryFile(/tmp/multipartBody6849784692529802318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048165198,"filename":"image_30102025_07_56_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/2/b94f87b672001bfaade59ce91fcf0324.jpg","text":"TemporaryFile(/tmp/multipartBody8481904850063109272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048165198,"filename":"image_30102025_07_56_44_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/2/210b05b933be9a615754f8eab6555456.jpg","text":"TemporaryFile(/tmp/multipartBody5581764945766634048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048165198,"filename":"image_30102025_07_56_35_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/2/3d62c546b60e60920f4f7011db122d30.jpg","text":"TemporaryFile(/tmp/multipartBody8569310947530862570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048165198,"filename":"image_30102025_07_56_40_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391769977","file1":"1391769976","file0":"1391769972","file4":"1391769985","file5":"1391769989","file3":"1391769981"},"map_files_photo_id_array":[{"photo_id":"1391769989","filename":"file5"},{"photo_id":"1391769977","filename":"file2"},{"photo_id":"1391769985","filename":"file4"},{"photo_id":"1391769976","filename":"file1"},{"photo_id":"1391769972","filename":"file0"},{"photo_id":"1391769981","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769972":["hashtag1","hashtag2"]},{"1391769989":["hashtag1","hashtag2"]},{"1391769977":["hashtag1","hashtag2"]},{"1391769985":["hashtag1","hashtag2"]},{"1391769976":["hashtag1","hashtag2"]},{"1391769981":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769972, 1391769989, 1391769977, 1391769985, 1391769976, 1391769981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.061923027038574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:49:03.817544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/56/image_30102025_07_56_49_2692.jpg', '/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_53_3611.jpg', '/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_56_2823.jpg', '/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_58_2642.jpg', '/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_01_2875.jpg', '/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_05_3515.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/56/image_30102025_07_56_49_2692.jpg
/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_53_3611.jpg
/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_56_2823.jpg
/home/pi/Desktop/images/30102025/07/56/image_30102025_07_56_58_2642.jpg
/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_01_2875.jpg
/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_05_3515.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391769999","1391770003","1391770014","1391770010","1391770007","1391770001"],"photo_ids_order":["1391769999","1391770001","1391770003","1391770007","1391770010","1391770014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/efd1a4a3406bff9e110503183fa27310.jpg","text":"TemporaryFile(/tmp/multipartBody5495654817897113841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048206107,"filename":"image_30102025_07_56_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/2/584b9c29c851ad10c43a6464f567f980.jpg","text":"TemporaryFile(/tmp/multipartBody2319476549388873174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048206107,"filename":"image_30102025_07_56_56_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/2/abeb8604eb5955df3f2f520b8f3b0494.jpg","text":"TemporaryFile(/tmp/multipartBody5795099832794020342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048206107,"filename":"image_30102025_07_57_05_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/2/588e5e6a00161c0556546855183c0e26.jpg","text":"TemporaryFile(/tmp/multipartBody6799048774875777900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048206107,"filename":"image_30102025_07_57_01_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/2/ce84c2db37c237d9812c8e936bdf6175.jpg","text":"TemporaryFile(/tmp/multipartBody6602054316698575300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048206107,"filename":"image_30102025_07_56_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/2/14b2cecf878148201063295af1b03364.jpg","text":"TemporaryFile(/tmp/multipartBody5266897407618167588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048206107,"filename":"image_30102025_07_56_53_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391770003","file1":"1391770001","file0":"1391769999","file4":"1391770010","file5":"1391770014","file3":"1391770007"},"map_files_photo_id_array":[{"photo_id":"1391770014","filename":"file5"},{"photo_id":"1391770003","filename":"file2"},{"photo_id":"1391770010","filename":"file4"},{"photo_id":"1391770001","filename":"file1"},{"photo_id":"1391769999","filename":"file0"},{"photo_id":"1391770007","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391769999":["hashtag1","hashtag2"]},{"1391770003":["hashtag1","hashtag2"]},{"1391770014":["hashtag1","hashtag2"]},{"1391770010":["hashtag1","hashtag2"]},{"1391770007":["hashtag1","hashtag2"]},{"1391770001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391769999, 1391770003, 1391770014, 1391770010, 1391770007, 1391770001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19420289993286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:50:02.420652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/57/image_30102025_07_57_07_2522.jpg', '/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_11_3546.jpg', '/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_14_2741.jpg', '/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_16_2713.jpg', '/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_20_3678.jpg', '/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_23_2708.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/57/image_30102025_07_57_07_2522.jpg
/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_11_3546.jpg
/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_14_2741.jpg
/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_16_2713.jpg
/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_20_3678.jpg
/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_23_2708.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.8937172889709473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:50:21.968800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/57/image_30102025_07_57_07_2522.jpg', '/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_11_3546.jpg', '/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_14_2741.jpg', '/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_16_2713.jpg', '/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_20_3678.jpg', '/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_23_2708.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/57/image_30102025_07_57_07_2522.jpg
/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_11_3546.jpg
/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_14_2741.jpg
/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_16_2713.jpg
/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_20_3678.jpg
/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_23_2708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391770051","1391770047","1391770056","1391770043","1391770040","1391770060"],"photo_ids_order":["1391770040","1391770043","1391770047","1391770051","1391770056","1391770060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ac1dc638ed6ce37ec55f94c91239a935.jpg","text":"TemporaryFile(/tmp/multipartBody8686488667674975279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048284126,"filename":"image_30102025_07_57_16_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/2/8e850c45eb6ff16c6b0c90667a00c593.jpg","text":"TemporaryFile(/tmp/multipartBody6786578059270061467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048284126,"filename":"image_30102025_07_57_14_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/2/b8a7d339b8308a6e22027757571bd4fe.jpg","text":"TemporaryFile(/tmp/multipartBody2000154757802447805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048284126,"filename":"image_30102025_07_57_20_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/2/ac5286815cff642fde00d9f219fe74c3.jpg","text":"TemporaryFile(/tmp/multipartBody22215959556586598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048284126,"filename":"image_30102025_07_57_11_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/2/d57bf65a9c983f6f4b2d12a770c5c00c.jpg","text":"TemporaryFile(/tmp/multipartBody4508511463603587111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048284126,"filename":"image_30102025_07_57_07_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/2/d32dcf3d9c15e1c2b00b587bed7544bd.jpg","text":"TemporaryFile(/tmp/multipartBody4437451554579288499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048284126,"filename":"image_30102025_07_57_23_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391770047","file1":"1391770043","file0":"1391770040","file4":"1391770056","file5":"1391770060","file3":"1391770051"},"map_files_photo_id_array":[{"photo_id":"1391770060","filename":"file5"},{"photo_id":"1391770047","filename":"file2"},{"photo_id":"1391770056","filename":"file4"},{"photo_id":"1391770043","filename":"file1"},{"photo_id":"1391770040","filename":"file0"},{"photo_id":"1391770051","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391770051":["hashtag1","hashtag2"]},{"1391770047":["hashtag1","hashtag2"]},{"1391770056":["hashtag1","hashtag2"]},{"1391770043":["hashtag1","hashtag2"]},{"1391770040":["hashtag1","hashtag2"]},{"1391770060":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391770051, 1391770047, 1391770056, 1391770043, 1391770040, 1391770060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.496333360672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:51:03.043562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/57/image_30102025_07_57_25_2657.jpg', '/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_29_3657.jpg', '/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_32_2565.jpg', '/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_34_2695.jpg', '/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_38_3707.jpg', '/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_41_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/07/57/image_30102025_07_57_25_2657.jpg
/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_29_3657.jpg
/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_32_2565.jpg
/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_34_2695.jpg
/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_38_3707.jpg
/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_41_2897.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391770080","1391770077","1391770071","1391770068","1391770073","1391770075"],"photo_ids_order":["1391770068","1391770071","1391770073","1391770075","1391770077","1391770080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b6ae3d2f59d8fa8b58a739c1948152d3.jpg","text":"TemporaryFile(/tmp/multipartBody123369985518307871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048324918,"filename":"image_30102025_07_57_41_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/2/e457b65b930673fb78ad6dcf57e98a32.jpg","text":"TemporaryFile(/tmp/multipartBody8830161280701572549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048324918,"filename":"image_30102025_07_57_38_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/2/b490310a139637c351e526aff19b2761.jpg","text":"TemporaryFile(/tmp/multipartBody3623269058168509673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048324918,"filename":"image_30102025_07_57_29_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/2/43b4d456ab4626f588b5dda22e729ace.jpg","text":"TemporaryFile(/tmp/multipartBody2384485240431407175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048324918,"filename":"image_30102025_07_57_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/2/87cfafd988c0875ab58348aac02f2f02.jpg","text":"TemporaryFile(/tmp/multipartBody8189569734211514164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048324918,"filename":"image_30102025_07_57_32_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/2/e3eb3eb53fda5ff294c69c4db2ce1c39.jpg","text":"TemporaryFile(/tmp/multipartBody6238390309357211635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048324918,"filename":"image_30102025_07_57_34_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391770073","file1":"1391770071","file0":"1391770068","file4":"1391770077","file5":"1391770080","file3":"1391770075"},"map_files_photo_id_array":[{"photo_id":"1391770080","filename":"file5"},{"photo_id":"1391770073","filename":"file2"},{"photo_id":"1391770077","filename":"file4"},{"photo_id":"1391770071","filename":"file1"},{"photo_id":"1391770068","filename":"file0"},{"photo_id":"1391770075","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391770080":["hashtag1","hashtag2"]},{"1391770077":["hashtag1","hashtag2"]},{"1391770071":["hashtag1","hashtag2"]},{"1391770068":["hashtag1","hashtag2"]},{"1391770073":["hashtag1","hashtag2"]},{"1391770075":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391770080, 1391770077, 1391770071, 1391770068, 1391770073, 1391770075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.130104780197144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 02:51:42.427647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/57/image_30102025_07_57_44_2675.jpg', '/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_47_3601.jpg', '/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_50_2594.jpg', '/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_53_2796.jpg', '/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_55_2713.jpg', '/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_59_3637.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/57/image_30102025_07_57_44_2675.jpg
/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_47_3601.jpg
/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_50_2594.jpg
/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_53_2796.jpg
/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_55_2713.jpg
/home/pi/Desktop/images/30102025/07/57/image_30102025_07_57_59_3637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391770095","1391770091","1391770088","1391770097","1391770096","1391770099"],"photo_ids_order":["1391770088","1391770091","1391770095","1391770096","1391770097","1391770099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a6f38bbce7b9f8ae349e68107d42f795.jpg","text":"TemporaryFile(/tmp/multipartBody2507799197027562352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048363426,"filename":"image_30102025_07_57_50_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/2/9de92090a9524c76c91fd81674b48cc7.jpg","text":"TemporaryFile(/tmp/multipartBody2378803036292881823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048363426,"filename":"image_30102025_07_57_47_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/2/0fcf8fc2126339f30cfcbf4f8228f914.jpg","text":"TemporaryFile(/tmp/multipartBody4239915448620011849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048363426,"filename":"image_30102025_07_57_44_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/2/0aabdaef56edb7f22fbc4117e8781455.jpg","text":"TemporaryFile(/tmp/multipartBody5196108669885729184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048363426,"filename":"image_30102025_07_57_55_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/2/7bfea835d35f6a05498d207989ed5c5e.jpg","text":"TemporaryFile(/tmp/multipartBody4553262817216300675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048363426,"filename":"image_30102025_07_57_53_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/2/1f64d288986fae4c72d71c101604d7f6.jpg","text":"TemporaryFile(/tmp/multipartBody8826553365325539655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048363426,"filename":"image_30102025_07_57_59_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391770095","file1":"1391770091","file0":"1391770088","file4":"1391770097","file5":"1391770099","file3":"1391770096"},"map_files_photo_id_array":[{"photo_id":"1391770099","filename":"file5"},{"photo_id":"1391770095","filename":"file2"},{"photo_id":"1391770097","filename":"file4"},{"photo_id":"1391770091","filename":"file1"},{"photo_id":"1391770088","filename":"file0"},{"photo_id":"1391770096","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391770095":["hashtag1","hashtag2"]},{"1391770091":["hashtag1","hashtag2"]},{"1391770088":["hashtag1","hashtag2"]},{"1391770097":["hashtag1","hashtag2"]},{"1391770096":["hashtag1","hashtag2"]},{"1391770099":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391770095, 1391770091, 1391770088, 1391770097, 1391770096, 1391770099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79226303100586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:52:22.575224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/58/image_30102025_07_58_02_2600.jpg', '/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_04_2671.jpg', '/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_08_3596.jpg', '/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_11_2771.jpg', '/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_13_2700.jpg', '/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_17_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/58/image_30102025_07_58_02_2600.jpg
/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_04_2671.jpg
/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_08_3596.jpg
/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_11_2771.jpg
/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_13_2700.jpg
/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_17_3645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391770114","1391770111","1391770122","1391770118","1391770106","1391770109"],"photo_ids_order":["1391770106","1391770109","1391770111","1391770114","1391770118","1391770122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9704470e7a4bc8c7d6cb6e6b2041bc18.jpg","text":"TemporaryFile(/tmp/multipartBody8183807660939452221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048405127,"filename":"image_30102025_07_58_11_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/2/98445d0cb130e4438ae082191c389bca.jpg","text":"TemporaryFile(/tmp/multipartBody5661920784447392312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048405127,"filename":"image_30102025_07_58_08_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/2/e0ee836fe2bab8dd9716f1f1d22e991b.jpg","text":"TemporaryFile(/tmp/multipartBody4432971405055095634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048405127,"filename":"image_30102025_07_58_17_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/2/0b28e4f30daa737e4f8893dba82059bf.jpg","text":"TemporaryFile(/tmp/multipartBody6400779902510931035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048405127,"filename":"image_30102025_07_58_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/2/9ceb7c881a1764806b2066a2e9b55829.jpg","text":"TemporaryFile(/tmp/multipartBody6144967541703210230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048405127,"filename":"image_30102025_07_58_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/2/6dd73690e98d28f32ac84b173156855b.jpg","text":"TemporaryFile(/tmp/multipartBody8776663459443402364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048405127,"filename":"image_30102025_07_58_04_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391770111","file1":"1391770109","file0":"1391770106","file4":"1391770118","file5":"1391770122","file3":"1391770114"},"map_files_photo_id_array":[{"photo_id":"1391770122","filename":"file5"},{"photo_id":"1391770111","filename":"file2"},{"photo_id":"1391770118","filename":"file4"},{"photo_id":"1391770109","filename":"file1"},{"photo_id":"1391770106","filename":"file0"},{"photo_id":"1391770114","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391770114":["hashtag1","hashtag2"]},{"1391770111":["hashtag1","hashtag2"]},{"1391770122":["hashtag1","hashtag2"]},{"1391770118":["hashtag1","hashtag2"]},{"1391770106":["hashtag1","hashtag2"]},{"1391770109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391770114, 1391770111, 1391770122, 1391770118, 1391770106, 1391770109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.029393911361694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:53:03.297211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/58/image_30102025_07_58_19_2545.jpg', '/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_23_3599.jpg', '/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_26_2636.jpg', '/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_28_2753.jpg', '/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_32_3575.jpg', '/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_35_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/07/58/image_30102025_07_58_19_2545.jpg
/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_23_3599.jpg
/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_26_2636.jpg
/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_28_2753.jpg
/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_32_3575.jpg
/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_35_2671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391770143","1391770131","1391770140","1391770134","1391770137","1391770147"],"photo_ids_order":["1391770131","1391770134","1391770137","1391770140","1391770143","1391770147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0c328c22acea5b0bfc2085939e041472.jpg","text":"TemporaryFile(/tmp/multipartBody5856177023208521374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048445466,"filename":"image_30102025_07_58_32_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/2/6bc945623ae413ee2f86b6b60707a2a7.jpg","text":"TemporaryFile(/tmp/multipartBody6082429747738521868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048445466,"filename":"image_30102025_07_58_19_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/2/d4f591058e036fcaf4064d2c91fc5446.jpg","text":"TemporaryFile(/tmp/multipartBody6102218013402719422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048445466,"filename":"image_30102025_07_58_28_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/2/3047345b3e039ebbb0ed703f148a11e0.jpg","text":"TemporaryFile(/tmp/multipartBody5483765751303771729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048445466,"filename":"image_30102025_07_58_23_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/2/e78ae0043d276757169d0e4685773c1c.jpg","text":"TemporaryFile(/tmp/multipartBody5579709413080081329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048445466,"filename":"image_30102025_07_58_26_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/2/db00e6d813656a6e67ecb332d26d055e.jpg","text":"TemporaryFile(/tmp/multipartBody823017658200368865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048445466,"filename":"image_30102025_07_58_35_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391770137","file1":"1391770134","file0":"1391770131","file4":"1391770143","file5":"1391770147","file3":"1391770140"},"map_files_photo_id_array":[{"photo_id":"1391770147","filename":"file5"},{"photo_id":"1391770137","filename":"file2"},{"photo_id":"1391770143","filename":"file4"},{"photo_id":"1391770134","filename":"file1"},{"photo_id":"1391770131","filename":"file0"},{"photo_id":"1391770140","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391770143":["hashtag1","hashtag2"]},{"1391770131":["hashtag1","hashtag2"]},{"1391770140":["hashtag1","hashtag2"]},{"1391770134":["hashtag1","hashtag2"]},{"1391770137":["hashtag1","hashtag2"]},{"1391770147":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391770143, 1391770131, 1391770140, 1391770134, 1391770137, 1391770147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.809019804000854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 02:53:42.718912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/58/image_30102025_07_58_37_2663.jpg', '/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_40_2835.jpg', '/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_44_3657.jpg', '/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_46_2570.jpg', '/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_49_2833.jpg', '/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_53_3635.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/58/image_30102025_07_58_37_2663.jpg
/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_40_2835.jpg
/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_44_3657.jpg
/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_46_2570.jpg
/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_49_2833.jpg
/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_53_3635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391770162","1391770155","1391770166","1391770165","1391770159","1391770168"],"photo_ids_order":["1391770155","1391770159","1391770162","1391770165","1391770166","1391770168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b85bbbc7de94a55da68a851de7b0bd69.jpg","text":"TemporaryFile(/tmp/multipartBody8876814802683713967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048483767,"filename":"image_30102025_07_58_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/2/cc20c135c200d160f62a651023c5b364.jpg","text":"TemporaryFile(/tmp/multipartBody7976188528311750193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048483767,"filename":"image_30102025_07_58_37_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/2/24816e87e47c5cefd7b82cc60bbd5af6.jpg","text":"TemporaryFile(/tmp/multipartBody893439002693889867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048483767,"filename":"image_30102025_07_58_49_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/2/2dfc0bee23c78c4a5e40356ef8e00074.jpg","text":"TemporaryFile(/tmp/multipartBody7660619505956508933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048483767,"filename":"image_30102025_07_58_46_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/2/dc3d90c720c054588e35308178033a42.jpg","text":"TemporaryFile(/tmp/multipartBody3387953010914601941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048483767,"filename":"image_30102025_07_58_40_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/2/2d0bcd8b619bd97798f73e22964012eb.jpg","text":"TemporaryFile(/tmp/multipartBody2219517730981100773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048483767,"filename":"image_30102025_07_58_53_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391770162","file1":"1391770159","file0":"1391770155","file4":"1391770166","file5":"1391770168","file3":"1391770165"},"map_files_photo_id_array":[{"photo_id":"1391770168","filename":"file5"},{"photo_id":"1391770162","filename":"file2"},{"photo_id":"1391770166","filename":"file4"},{"photo_id":"1391770159","filename":"file1"},{"photo_id":"1391770155","filename":"file0"},{"photo_id":"1391770165","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391770162":["hashtag1","hashtag2"]},{"1391770155":["hashtag1","hashtag2"]},{"1391770166":["hashtag1","hashtag2"]},{"1391770165":["hashtag1","hashtag2"]},{"1391770159":["hashtag1","hashtag2"]},{"1391770168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391770162, 1391770155, 1391770166, 1391770165, 1391770159, 1391770168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47259497642517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:54:21.878161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/58/image_30102025_07_58_56_2794.jpg', '/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_58_2669.jpg', '/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_02_3710.jpg', '/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_05_2731.jpg', '/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_07_2691.jpg', '/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_10_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/07/58/image_30102025_07_58_56_2794.jpg
/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_58_2669.jpg
/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_02_3710.jpg
/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_05_2731.jpg
/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_07_2691.jpg
/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_10_2695.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.490931987762451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 02:54:41.947814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/58/image_30102025_07_58_56_2794.jpg', '/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_58_2669.jpg', '/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_02_3710.jpg', '/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_05_2731.jpg', '/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_07_2691.jpg', '/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_10_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/07/58/image_30102025_07_58_56_2794.jpg
/home/pi/Desktop/images/30102025/07/58/image_30102025_07_58_58_2669.jpg
/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_02_3710.jpg
/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_05_2731.jpg
/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_07_2691.jpg
/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_10_2695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391770210","1391770194","1391770188","1391770206","1391770200","1391770214"],"photo_ids_order":["1391770188","1391770194","1391770200","1391770206","1391770210","1391770214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7ce056cb7d1bffdaf998ec4ea3662d70.jpg","text":"TemporaryFile(/tmp/multipartBody3252537585977890173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048542869,"filename":"image_30102025_07_59_07_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/2/1d60c61f2072ab74b90ef687131bf7e0.jpg","text":"TemporaryFile(/tmp/multipartBody1511818429010565172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048542869,"filename":"image_30102025_07_58_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/2/6a24a88119bcdf877f83e98175d48bfd.jpg","text":"TemporaryFile(/tmp/multipartBody2614256585093706212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048542869,"filename":"image_30102025_07_58_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/2/9a0510dec58f44358c02157c98402f1e.jpg","text":"TemporaryFile(/tmp/multipartBody3787161034618064649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048542869,"filename":"image_30102025_07_59_05_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/2/ce9f16b2c4f03c244d7ef9c017cf85af.jpg","text":"TemporaryFile(/tmp/multipartBody1690325038129008344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048542869,"filename":"image_30102025_07_59_02_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/2/b1679c7e07cba1eb22706b412b267758.jpg","text":"TemporaryFile(/tmp/multipartBody1054305200442094121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048542869,"filename":"image_30102025_07_59_10_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391770200","file1":"1391770194","file0":"1391770188","file4":"1391770210","file5":"1391770214","file3":"1391770206"},"map_files_photo_id_array":[{"photo_id":"1391770214","filename":"file5"},{"photo_id":"1391770200","filename":"file2"},{"photo_id":"1391770210","filename":"file4"},{"photo_id":"1391770194","filename":"file1"},{"photo_id":"1391770188","filename":"file0"},{"photo_id":"1391770206","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391770210":["hashtag1","hashtag2"]},{"1391770194":["hashtag1","hashtag2"]},{"1391770188":["hashtag1","hashtag2"]},{"1391770206":["hashtag1","hashtag2"]},{"1391770200":["hashtag1","hashtag2"]},{"1391770214":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391770210, 1391770194, 1391770188, 1391770206, 1391770200, 1391770214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55678391456604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:55:22.105966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/59/image_30102025_07_59_14_3588.jpg', '/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_16_2532.jpg', '/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_20_3700.jpg', '/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_23_2606.jpg', '/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_25_2762.jpg', '/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_28_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/07/59/image_30102025_07_59_14_3588.jpg
/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_16_2532.jpg
/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_20_3700.jpg
/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_23_2606.jpg
/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_25_2762.jpg
/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_28_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391770234","1391770228","1391770218","1391770223","1391770220","1391770231"],"photo_ids_order":["1391770218","1391770220","1391770223","1391770228","1391770231","1391770234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/38ddf4af0377d65ccfd4c7f0330d6c75.jpg","text":"TemporaryFile(/tmp/multipartBody532203199969816991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048584688,"filename":"image_30102025_07_59_28_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/2/9800e45bcd445dca44f8c6c3c6988fbc.jpg","text":"TemporaryFile(/tmp/multipartBody2189229038888179642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048584688,"filename":"image_30102025_07_59_23_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/2/e23dcc78036b7c8937fc529afc4bbb94.jpg","text":"TemporaryFile(/tmp/multipartBody9056316259953051816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048584688,"filename":"image_30102025_07_59_14_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/2/5412c6028cf5aacba669df049340b543.jpg","text":"TemporaryFile(/tmp/multipartBody2846644922817181618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048584688,"filename":"image_30102025_07_59_20_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/2/e938c4db0ebd32c89d705ba026497342.jpg","text":"TemporaryFile(/tmp/multipartBody9222861813536693905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048584688,"filename":"image_30102025_07_59_16_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/2/81ec7ea3a91ae5fe8cb7c7a7b8716516.jpg","text":"TemporaryFile(/tmp/multipartBody4132676199994814791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048584688,"filename":"image_30102025_07_59_25_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391770223","file1":"1391770220","file0":"1391770218","file4":"1391770231","file5":"1391770234","file3":"1391770228"},"map_files_photo_id_array":[{"photo_id":"1391770234","filename":"file5"},{"photo_id":"1391770223","filename":"file2"},{"photo_id":"1391770231","filename":"file4"},{"photo_id":"1391770220","filename":"file1"},{"photo_id":"1391770218","filename":"file0"},{"photo_id":"1391770228","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391770234":["hashtag1","hashtag2"]},{"1391770228":["hashtag1","hashtag2"]},{"1391770218":["hashtag1","hashtag2"]},{"1391770223":["hashtag1","hashtag2"]},{"1391770220":["hashtag1","hashtag2"]},{"1391770231":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391770234, 1391770228, 1391770218, 1391770223, 1391770220, 1391770231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06272768974304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:56:02.617326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/59/image_30102025_07_59_32_3823.jpg', '/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_35_2838.jpg', '/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_37_2652.jpg', '/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_40_2744.jpg', '/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_44_3711.jpg', '/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_46_2516.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/59/image_30102025_07_59_32_3823.jpg
/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_35_2838.jpg
/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_37_2652.jpg
/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_40_2744.jpg
/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_44_3711.jpg
/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_46_2516.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391770242","1391770251","1391770245","1391770254","1391770248","1391770238"],"photo_ids_order":["1391770238","1391770242","1391770245","1391770248","1391770251","1391770254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/50a6b1becdd117ab86ed58e46aecc119.jpg","text":"TemporaryFile(/tmp/multipartBody273226611445473555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048624627,"filename":"image_30102025_07_59_35_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/2/693593bac0680ae9803b60240100a066.jpg","text":"TemporaryFile(/tmp/multipartBody7038096305452873759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048624627,"filename":"image_30102025_07_59_44_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/2/caa3b42106971848bf5deb234aec16dd.jpg","text":"TemporaryFile(/tmp/multipartBody6024411078975006817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048624627,"filename":"image_30102025_07_59_37_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/2/1166aaf4cde69a82768c9f380a2f7479.jpg","text":"TemporaryFile(/tmp/multipartBody8696102644570091073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048624627,"filename":"image_30102025_07_59_46_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/2/70ce3c57e8c193f595d1dffd36c7a8f5.jpg","text":"TemporaryFile(/tmp/multipartBody7193642372996353009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048624627,"filename":"image_30102025_07_59_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/2/3c4036eff72ea19c67bcff5f8181bcaf.jpg","text":"TemporaryFile(/tmp/multipartBody1127853704768071850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048624627,"filename":"image_30102025_07_59_32_3823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391770245","file1":"1391770242","file0":"1391770238","file4":"1391770251","file5":"1391770254","file3":"1391770248"},"map_files_photo_id_array":[{"photo_id":"1391770254","filename":"file5"},{"photo_id":"1391770245","filename":"file2"},{"photo_id":"1391770251","filename":"file4"},{"photo_id":"1391770242","filename":"file1"},{"photo_id":"1391770238","filename":"file0"},{"photo_id":"1391770248","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391770242":["hashtag1","hashtag2"]},{"1391770251":["hashtag1","hashtag2"]},{"1391770245":["hashtag1","hashtag2"]},{"1391770254":["hashtag1","hashtag2"]},{"1391770248":["hashtag1","hashtag2"]},{"1391770238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391770242, 1391770251, 1391770245, 1391770254, 1391770248, 1391770238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.46249055862427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 02:56:42.276763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_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/59/image_30102025_07_59_49_2827.jpg', '/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_53_3522.jpg', '/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_55_2676.jpg', '/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_58_2616.jpg', '/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_07_3019.jpg', '/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_11_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/07/59/image_30102025_07_59_49_2827.jpg
/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_53_3522.jpg
/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_55_2676.jpg
/home/pi/Desktop/images/30102025/07/59/image_30102025_07_59_58_2616.jpg
/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_07_3019.jpg
/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_11_3598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391770261","1391770275","1391770265","1391770259","1391770270","1391770273"],"photo_ids_order":["1391770259","1391770261","1391770265","1391770270","1391770273","1391770275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/23ce535fd71c6b6e7316c80c52e94dea.jpg","text":"TemporaryFile(/tmp/multipartBody6352111538891421036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048663324,"filename":"image_30102025_07_59_53_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/2/d68a3ca12718a51ef191e433cd009880.jpg","text":"TemporaryFile(/tmp/multipartBody5475723427152368825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048663324,"filename":"image_30102025_08_00_11_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/2/aa7024d577bc2cfac36024f293379812.jpg","text":"TemporaryFile(/tmp/multipartBody24542597752445971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048663324,"filename":"image_30102025_07_59_55_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/2/1d6676dcc5c1250a1a1c1e67652adfef.jpg","text":"TemporaryFile(/tmp/multipartBody3503141236334469524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048663324,"filename":"image_30102025_07_59_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/2/b701e816988be242c1af9c665dd0dfa5.jpg","text":"TemporaryFile(/tmp/multipartBody2932265753945886560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048663324,"filename":"image_30102025_07_59_58_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/2/b3e25027932f504da39e60885bc70c3c.jpg","text":"TemporaryFile(/tmp/multipartBody2953633989868748268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048663324,"filename":"image_30102025_08_00_07_3019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391770265","file1":"1391770261","file0":"1391770259","file4":"1391770273","file5":"1391770275","file3":"1391770270"},"map_files_photo_id_array":[{"photo_id":"1391770275","filename":"file5"},{"photo_id":"1391770265","filename":"file2"},{"photo_id":"1391770273","filename":"file4"},{"photo_id":"1391770261","filename":"file1"},{"photo_id":"1391770259","filename":"file0"},{"photo_id":"1391770270","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391770261":["hashtag1","hashtag2"]},{"1391770275":["hashtag1","hashtag2"]},{"1391770265":["hashtag1","hashtag2"]},{"1391770259":["hashtag1","hashtag2"]},{"1391770270":["hashtag1","hashtag2"]},{"1391770273":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391770261, 1391770275, 1391770265, 1391770259, 1391770270, 1391770273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26357960700989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 02:57:22.467818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_13_2601.jpg', '/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_17_3602.jpg', '/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_20_2774.jpg', '/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_23_2801.jpg', '/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_26_3557.jpg', '/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_29_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/08/00/image_30102025_08_00_13_2601.jpg
/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_17_3602.jpg
/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_20_2774.jpg
/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_23_2801.jpg
/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_26_3557.jpg
/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_29_2644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391770284","1391770298","1391770286","1391770294","1391770291","1391770288"],"photo_ids_order":["1391770284","1391770286","1391770288","1391770291","1391770294","1391770298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ea28e7c006a988a0c12c34a45351866e.jpg","text":"TemporaryFile(/tmp/multipartBody8969240004364669370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048705058,"filename":"image_30102025_08_00_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/2/f6c8c9132d154d39457d86d731dc3fd7.jpg","text":"TemporaryFile(/tmp/multipartBody4343145389690242788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048705058,"filename":"image_30102025_08_00_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/2/b4f63eba67d188f6dbf7f3bc5e6fbb96.jpg","text":"TemporaryFile(/tmp/multipartBody6243982572612459157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048705058,"filename":"image_30102025_08_00_17_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/2/3f9253b791d09f8229037f3af1af2f64.jpg","text":"TemporaryFile(/tmp/multipartBody3427686180792004464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048705058,"filename":"image_30102025_08_00_26_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/2/6bbba9e2a89b523229a49750f0425ba6.jpg","text":"TemporaryFile(/tmp/multipartBody8794294259853330021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048705058,"filename":"image_30102025_08_00_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/2/ec8493ba4122b462dcc1606e1a67fe32.jpg","text":"TemporaryFile(/tmp/multipartBody7997501396226097375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048705058,"filename":"image_30102025_08_00_20_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391770288","file1":"1391770286","file0":"1391770284","file4":"1391770294","file5":"1391770298","file3":"1391770291"},"map_files_photo_id_array":[{"photo_id":"1391770298","filename":"file5"},{"photo_id":"1391770288","filename":"file2"},{"photo_id":"1391770294","filename":"file4"},{"photo_id":"1391770286","filename":"file1"},{"photo_id":"1391770284","filename":"file0"},{"photo_id":"1391770291","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391770284":["hashtag1","hashtag2"]},{"1391770298":["hashtag1","hashtag2"]},{"1391770286":["hashtag1","hashtag2"]},{"1391770294":["hashtag1","hashtag2"]},{"1391770291":["hashtag1","hashtag2"]},{"1391770288":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391770284, 1391770298, 1391770286, 1391770294, 1391770291, 1391770288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.459336042404175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 02:59:03.913265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_32_2724.jpg', '/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_34_2649.jpg', '/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_38_3691.jpg', '/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_41_2692.jpg', '/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_43_2594.jpg', '/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_47_3572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_32_2724.jpg
/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_34_2649.jpg
/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_38_3691.jpg
/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_41_2692.jpg
/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_43_2594.jpg
/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_47_3572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391770525","1391770540","1391770533","1391770536","1391770433","1391770474"],"photo_ids_order":["1391770433","1391770474","1391770525","1391770533","1391770536","1391770540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e8f78704b26d95c53321b5b102f616ab.jpg","text":"TemporaryFile(/tmp/multipartBody8371100332064950724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048805908,"filename":"image_30102025_08_00_38_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/2/739936e343029d69b649bd7c0716c7d6.jpg","text":"TemporaryFile(/tmp/multipartBody6126293017907229297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048805908,"filename":"image_30102025_08_00_47_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/2/2c38a4c37f15b81d554117a949738e3c.jpg","text":"TemporaryFile(/tmp/multipartBody6707557567084324513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048805908,"filename":"image_30102025_08_00_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/2/aebe71565f158b143c7bb6903e982416.jpg","text":"TemporaryFile(/tmp/multipartBody7205470387877118274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048805908,"filename":"image_30102025_08_00_43_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/2/68e5075922d6012044c31b4678a4cd13.jpg","text":"TemporaryFile(/tmp/multipartBody3728731837638447510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048805908,"filename":"image_30102025_08_00_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/2/9e996ce0078f7eab8c782741fb6ec731.jpg","text":"TemporaryFile(/tmp/multipartBody6257529743799558510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048805908,"filename":"image_30102025_08_00_34_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391770525","file1":"1391770474","file0":"1391770433","file4":"1391770536","file5":"1391770540","file3":"1391770533"},"map_files_photo_id_array":[{"photo_id":"1391770540","filename":"file5"},{"photo_id":"1391770525","filename":"file2"},{"photo_id":"1391770536","filename":"file4"},{"photo_id":"1391770474","filename":"file1"},{"photo_id":"1391770433","filename":"file0"},{"photo_id":"1391770533","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391770525":["hashtag1","hashtag2"]},{"1391770540":["hashtag1","hashtag2"]},{"1391770533":["hashtag1","hashtag2"]},{"1391770536":["hashtag1","hashtag2"]},{"1391770433":["hashtag1","hashtag2"]},{"1391770474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391770525, 1391770540, 1391770533, 1391770536, 1391770433, 1391770474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.585931062698364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:00:02.488710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_50_2809.jpg', '/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_52_2776.jpg', '/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_57_4319.jpg', '/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_58_1758.jpg', '/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_02_3599.jpg', '/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_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/08/00/image_30102025_08_00_50_2809.jpg
/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_52_2776.jpg
/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_57_4319.jpg
/home/pi/Desktop/images/30102025/08/00/image_30102025_08_00_58_1758.jpg
/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_02_3599.jpg
/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_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":["1391771043","1391770995","1391771120","1391771089","1391771122","1391770954"],"photo_ids_order":["1391770954","1391770995","1391771043","1391771089","1391771120","1391771122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e81c3f9adf19aa2d613829f93b56fc07.jpg","text":"TemporaryFile(/tmp/multipartBody4941213145903862436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048864578,"filename":"image_30102025_08_00_57_4319.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/abb54e7f935f174147cf4f26fb861a97.jpg","text":"TemporaryFile(/tmp/multipartBody2322024974241809062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048864578,"filename":"image_30102025_08_00_52_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/2/9c6f46653323b5585792801e2b3d25fd.jpg","text":"TemporaryFile(/tmp/multipartBody1661755227869737470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048864578,"filename":"image_30102025_08_01_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/2/7e0a27c5f8b07096150b0eda13e6ade1.jpg","text":"TemporaryFile(/tmp/multipartBody3481588051343876808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048864578,"filename":"image_30102025_08_00_58_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/2/6b3c65aa350a0749c1c3f032c936f961.jpg","text":"TemporaryFile(/tmp/multipartBody2174968790588400273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048864578,"filename":"image_30102025_08_01_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/2/84772a15167a26294b6e7f0d4672ec10.jpg","text":"TemporaryFile(/tmp/multipartBody4970089044010705965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048864578,"filename":"image_30102025_08_00_50_2809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391771043","file1":"1391770995","file0":"1391770954","file4":"1391771120","file5":"1391771122","file3":"1391771089"},"map_files_photo_id_array":[{"photo_id":"1391771122","filename":"file5"},{"photo_id":"1391771043","filename":"file2"},{"photo_id":"1391771120","filename":"file4"},{"photo_id":"1391770995","filename":"file1"},{"photo_id":"1391770954","filename":"file0"},{"photo_id":"1391771089","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391771043":["hashtag1","hashtag2"]},{"1391770995":["hashtag1","hashtag2"]},{"1391771120":["hashtag1","hashtag2"]},{"1391771089":["hashtag1","hashtag2"]},{"1391771122":["hashtag1","hashtag2"]},{"1391770954":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391771043, 1391770995, 1391771120, 1391771089, 1391771122, 1391770954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.540852308273315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:01:02.902659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_07_2521.jpg', '/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_11_3672.jpg', '/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_14_2820.jpg', '/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_16_2733.jpg', '/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_20_3658.jpg', '/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_23_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/08/01/image_30102025_08_01_07_2521.jpg
/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_11_3672.jpg
/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_14_2820.jpg
/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_16_2733.jpg
/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_20_3658.jpg
/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_23_2562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391771406","1391771279","1391771633","1391771812","1391771713","1391771521"],"photo_ids_order":["1391771279","1391771406","1391771521","1391771633","1391771713","1391771812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5565f78736d3b322852c78e9da97f848.jpg","text":"TemporaryFile(/tmp/multipartBody2831651522458900662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048925001,"filename":"image_30102025_08_01_11_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/2/ecc96b0bb706bb1a795b7dd9be49dadd.jpg","text":"TemporaryFile(/tmp/multipartBody7025898602870570301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048925001,"filename":"image_30102025_08_01_07_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/2/c5a633adcba548ac1954f3206d7b534b.jpg","text":"TemporaryFile(/tmp/multipartBody9114448197432836408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048925001,"filename":"image_30102025_08_01_16_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/2/731f320770e78533686d5e2e0db237d8.jpg","text":"TemporaryFile(/tmp/multipartBody7048356274768615258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048925001,"filename":"image_30102025_08_01_23_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/2/3035095a9d074bca805f266753e4467e.jpg","text":"TemporaryFile(/tmp/multipartBody7482303221483938911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048925001,"filename":"image_30102025_08_01_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/2/5f5b69a28111e24d4a5dced8c5d13957.jpg","text":"TemporaryFile(/tmp/multipartBody2156365308438235081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048925001,"filename":"image_30102025_08_01_14_2820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391771521","file1":"1391771406","file0":"1391771279","file4":"1391771713","file5":"1391771812","file3":"1391771633"},"map_files_photo_id_array":[{"photo_id":"1391771812","filename":"file5"},{"photo_id":"1391771521","filename":"file2"},{"photo_id":"1391771713","filename":"file4"},{"photo_id":"1391771406","filename":"file1"},{"photo_id":"1391771279","filename":"file0"},{"photo_id":"1391771633","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391771406":["hashtag1","hashtag2"]},{"1391771279":["hashtag1","hashtag2"]},{"1391771633":["hashtag1","hashtag2"]},{"1391771812":["hashtag1","hashtag2"]},{"1391771713":["hashtag1","hashtag2"]},{"1391771521":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391771406, 1391771279, 1391771633, 1391771812, 1391771713, 1391771521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.448692083358765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 03:01:42.174738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_25_2618.jpg', '/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_28_2837.jpg', '/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_32_3833.jpg', '/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_35_2770.jpg', '/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_37_2664.jpg', '/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_40_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/08/01/image_30102025_08_01_25_2618.jpg
/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_28_2837.jpg
/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_32_3833.jpg
/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_35_2770.jpg
/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_37_2664.jpg
/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_40_2776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391772455","1391772143","1391772221","1391772302","1391772540","1391772378"],"photo_ids_order":["1391772143","1391772221","1391772302","1391772378","1391772455","1391772540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1d443667ff1fc07cb1b213c886a142e4.jpg","text":"TemporaryFile(/tmp/multipartBody4867489232077335994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048964915,"filename":"image_30102025_08_01_37_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/2/0ecfca7f64f8ecbd125b5845a814fd2b.jpg","text":"TemporaryFile(/tmp/multipartBody68041521135222599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048964915,"filename":"image_30102025_08_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/2/edbd73bb2f693fdb447ba69a36c06851.jpg","text":"TemporaryFile(/tmp/multipartBody5049212962123328311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048964915,"filename":"image_30102025_08_01_28_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/2/a8d9dbffa38dee42cf0caf71aa43829d.jpg","text":"TemporaryFile(/tmp/multipartBody4719820131143613667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048964915,"filename":"image_30102025_08_01_32_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/2/9337f62afab216d34bbc82ff80bbb3af.jpg","text":"TemporaryFile(/tmp/multipartBody4417846490844866423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048964915,"filename":"image_30102025_08_01_40_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/2/e840030934dd08474c539312feeab691.jpg","text":"TemporaryFile(/tmp/multipartBody1644064512341454234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762048964915,"filename":"image_30102025_08_01_35_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391772302","file1":"1391772221","file0":"1391772143","file4":"1391772455","file5":"1391772540","file3":"1391772378"},"map_files_photo_id_array":[{"photo_id":"1391772540","filename":"file5"},{"photo_id":"1391772302","filename":"file2"},{"photo_id":"1391772455","filename":"file4"},{"photo_id":"1391772221","filename":"file1"},{"photo_id":"1391772143","filename":"file0"},{"photo_id":"1391772378","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391772455":["hashtag1","hashtag2"]},{"1391772143":["hashtag1","hashtag2"]},{"1391772221":["hashtag1","hashtag2"]},{"1391772302":["hashtag1","hashtag2"]},{"1391772540":["hashtag1","hashtag2"]},{"1391772378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391772455, 1391772143, 1391772221, 1391772302, 1391772540, 1391772378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60162925720215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 03:02:22.309335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_44_3552.jpg', '/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_46_2548.jpg', '/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_50_3677.jpg', '/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_53_2588.jpg', '/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_55_2761.jpg', '/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_59_3751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_44_3552.jpg
/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_46_2548.jpg
/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_50_3677.jpg
/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_53_2588.jpg
/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_55_2761.jpg
/home/pi/Desktop/images/30102025/08/01/image_30102025_08_01_59_3751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391773079","1391773001","1391773165","1391772929","1391773248","1391772849"],"photo_ids_order":["1391772849","1391772929","1391773001","1391773079","1391773165","1391773248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/dc2007036900127e5baa6352e219305c.jpg","text":"TemporaryFile(/tmp/multipartBody4795087806484247771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049004914,"filename":"image_30102025_08_01_53_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/2/2e175672d5927a14cfee8439c4a7e3bc.jpg","text":"TemporaryFile(/tmp/multipartBody9053361045398480320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049004914,"filename":"image_30102025_08_01_50_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/2/aaa642ca21d3ed79ef10ae68ad0b0210.jpg","text":"TemporaryFile(/tmp/multipartBody6229247052351973233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049004914,"filename":"image_30102025_08_01_55_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/2/1a7b1d4b392eb564824cb57558cac39a.jpg","text":"TemporaryFile(/tmp/multipartBody4177684169666275457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049004914,"filename":"image_30102025_08_01_46_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/2/5c3042dba0b50a48f0d520d6bc8cbabc.jpg","text":"TemporaryFile(/tmp/multipartBody233361692320883947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049004914,"filename":"image_30102025_08_01_59_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/2/0d0505748503b5867e1b001aede8fe46.jpg","text":"TemporaryFile(/tmp/multipartBody5692258163918335749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049004914,"filename":"image_30102025_08_01_44_3552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391773001","file1":"1391772929","file0":"1391772849","file4":"1391773165","file5":"1391773248","file3":"1391773079"},"map_files_photo_id_array":[{"photo_id":"1391773248","filename":"file5"},{"photo_id":"1391773001","filename":"file2"},{"photo_id":"1391773165","filename":"file4"},{"photo_id":"1391772929","filename":"file1"},{"photo_id":"1391772849","filename":"file0"},{"photo_id":"1391773079","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391773079":["hashtag1","hashtag2"]},{"1391773001":["hashtag1","hashtag2"]},{"1391773165":["hashtag1","hashtag2"]},{"1391772929":["hashtag1","hashtag2"]},{"1391773248":["hashtag1","hashtag2"]},{"1391772849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391773079, 1391773001, 1391773165, 1391772929, 1391773248, 1391772849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38971304893494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:03:03.234492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_02_2878.jpg', '/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_05_2829.jpg', '/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_07_2606.jpg', '/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_11_3651.jpg', '/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_14_2715.jpg', '/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_16_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/08/02/image_30102025_08_02_02_2878.jpg
/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_05_2829.jpg
/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_07_2606.jpg
/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_11_3651.jpg
/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_14_2715.jpg
/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_16_2671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391773598","1391773436","1391773594","1391773560","1391773518","1391773475"],"photo_ids_order":["1391773436","1391773475","1391773518","1391773560","1391773594","1391773598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b5cbcd1e86d8034592dcbc25e1c1cd4e.jpg","text":"TemporaryFile(/tmp/multipartBody3765592891409851641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049045404,"filename":"image_30102025_08_02_16_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/2/6393a6552ac748f278f24f2603c6a846.jpg","text":"TemporaryFile(/tmp/multipartBody52476905758959472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049045404,"filename":"image_30102025_08_02_02_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/2/e5e3f30d9af592ba53430829f8c647f3.jpg","text":"TemporaryFile(/tmp/multipartBody7949476354060189581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049045404,"filename":"image_30102025_08_02_14_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/2/133f1ce0cdf5f70945717c3881a6c56f.jpg","text":"TemporaryFile(/tmp/multipartBody6111492648598263375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049045404,"filename":"image_30102025_08_02_11_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/2/22a0557a9114fc22a0445e7ff49e1fc3.jpg","text":"TemporaryFile(/tmp/multipartBody8819524306798696009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049045404,"filename":"image_30102025_08_02_07_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/2/3d1797801489138934180e6c23444660.jpg","text":"TemporaryFile(/tmp/multipartBody7166698154796473923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049045404,"filename":"image_30102025_08_02_05_2829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391773518","file1":"1391773475","file0":"1391773436","file4":"1391773594","file5":"1391773598","file3":"1391773560"},"map_files_photo_id_array":[{"photo_id":"1391773598","filename":"file5"},{"photo_id":"1391773518","filename":"file2"},{"photo_id":"1391773594","filename":"file4"},{"photo_id":"1391773475","filename":"file1"},{"photo_id":"1391773436","filename":"file0"},{"photo_id":"1391773560","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391773598":["hashtag1","hashtag2"]},{"1391773436":["hashtag1","hashtag2"]},{"1391773594":["hashtag1","hashtag2"]},{"1391773560":["hashtag1","hashtag2"]},{"1391773518":["hashtag1","hashtag2"]},{"1391773475":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391773598, 1391773436, 1391773594, 1391773560, 1391773518, 1391773475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06437921524048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 03:03:42.667801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_19_2778.jpg', '/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_23_3588.jpg', '/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_26_2772.jpg', '/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_28_2558.jpg', '/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_32_3603.jpg', '/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_34_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/08/02/image_30102025_08_02_19_2778.jpg
/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_23_3588.jpg
/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_26_2772.jpg
/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_28_2558.jpg
/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_32_3603.jpg
/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_34_2674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391773796","1391773757","1391773717","1391773677","1391773851","1391773839"],"photo_ids_order":["1391773677","1391773717","1391773757","1391773796","1391773839","1391773851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5df3bdf64f64151c204a5d8cbb9c012b.jpg","text":"TemporaryFile(/tmp/multipartBody6070125810737567517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049083740,"filename":"image_30102025_08_02_28_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/2/4db2f3dae881f4e27126ececaf82d87f.jpg","text":"TemporaryFile(/tmp/multipartBody4558788544771401774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049083740,"filename":"image_30102025_08_02_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/2/d997fcebec2208d39595a750f38f56c6.jpg","text":"TemporaryFile(/tmp/multipartBody6974519414406008463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049083740,"filename":"image_30102025_08_02_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/2/0591bdc5535ca8b993b12d76227f92d9.jpg","text":"TemporaryFile(/tmp/multipartBody3909066884078695924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049083740,"filename":"image_30102025_08_02_19_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/2/aa6ecaf891e7d3df8a3a98f3797a2ea0.jpg","text":"TemporaryFile(/tmp/multipartBody5071076431376621983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049083740,"filename":"image_30102025_08_02_34_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/2/5d3b82542645580e553e49720b8f20b4.jpg","text":"TemporaryFile(/tmp/multipartBody4545598539986900872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049083740,"filename":"image_30102025_08_02_32_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391773757","file1":"1391773717","file0":"1391773677","file4":"1391773839","file5":"1391773851","file3":"1391773796"},"map_files_photo_id_array":[{"photo_id":"1391773851","filename":"file5"},{"photo_id":"1391773757","filename":"file2"},{"photo_id":"1391773839","filename":"file4"},{"photo_id":"1391773717","filename":"file1"},{"photo_id":"1391773677","filename":"file0"},{"photo_id":"1391773796","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391773796":["hashtag1","hashtag2"]},{"1391773757":["hashtag1","hashtag2"]},{"1391773717":["hashtag1","hashtag2"]},{"1391773677":["hashtag1","hashtag2"]},{"1391773851":["hashtag1","hashtag2"]},{"1391773839":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391773796, 1391773757, 1391773717, 1391773677, 1391773851, 1391773839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.545244455337524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 03:04:21.883416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_38_3566.jpg', '/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_41_2716.jpg', '/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_43_2824.jpg', '/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_46_2822.jpg', '/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_50_3582.jpg', '/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_53_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/08/02/image_30102025_08_02_38_3566.jpg
/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_41_2716.jpg
/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_43_2824.jpg
/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_46_2822.jpg
/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_50_3582.jpg
/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_53_2636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391773940","1391773934","1391773937","1391773944","1391773932","1391773914"],"photo_ids_order":["1391773914","1391773932","1391773934","1391773937","1391773940","1391773944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a828d2106420bbf6bc3ce57bbbf581cb.jpg","text":"TemporaryFile(/tmp/multipartBody3754748586867484288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049124499,"filename":"image_30102025_08_02_50_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/2/797f6a839f4f0dfc981ec20551c42790.jpg","text":"TemporaryFile(/tmp/multipartBody9217992328372847300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049124499,"filename":"image_30102025_08_02_43_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/2/64c1d1e5f4044fb7027e8abbd763b680.jpg","text":"TemporaryFile(/tmp/multipartBody6014189947592498706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049124499,"filename":"image_30102025_08_02_46_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/2/0eef42c8fb82ba8c0bac3a4e3e3d80ef.jpg","text":"TemporaryFile(/tmp/multipartBody6223783896444938136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049124499,"filename":"image_30102025_08_02_53_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/2/187c087b7d0803697ee3e7408576c53c.jpg","text":"TemporaryFile(/tmp/multipartBody8412152406071428560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049124499,"filename":"image_30102025_08_02_41_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/2/970cbcca654c2d18887624f6f8d89fbf.jpg","text":"TemporaryFile(/tmp/multipartBody5660154449070962580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049124499,"filename":"image_30102025_08_02_38_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391773934","file1":"1391773932","file0":"1391773914","file4":"1391773940","file5":"1391773944","file3":"1391773937"},"map_files_photo_id_array":[{"photo_id":"1391773944","filename":"file5"},{"photo_id":"1391773934","filename":"file2"},{"photo_id":"1391773940","filename":"file4"},{"photo_id":"1391773932","filename":"file1"},{"photo_id":"1391773914","filename":"file0"},{"photo_id":"1391773937","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391773940":["hashtag1","hashtag2"]},{"1391773934":["hashtag1","hashtag2"]},{"1391773937":["hashtag1","hashtag2"]},{"1391773944":["hashtag1","hashtag2"]},{"1391773932":["hashtag1","hashtag2"]},{"1391773914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391773940, 1391773934, 1391773937, 1391773944, 1391773932, 1391773914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2794406414032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:05:02.517103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_55_2615.jpg', '/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_59_3714.jpg', '/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_01_2530.jpg', '/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_04_2758.jpg', '/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_08_3610.jpg', '/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_10_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/08/02/image_30102025_08_02_55_2615.jpg
/home/pi/Desktop/images/30102025/08/02/image_30102025_08_02_59_3714.jpg
/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_01_2530.jpg
/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_04_2758.jpg
/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_08_3610.jpg
/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_10_2625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391774062","1391773975","1391773951","1391774017","1391773954","1391773953"],"photo_ids_order":["1391773951","1391773953","1391773954","1391773975","1391774017","1391774062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ccee82dc004ae7df534c1815632e0bad.jpg","text":"TemporaryFile(/tmp/multipartBody4303737475369184056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049164715,"filename":"image_30102025_08_03_10_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/2/36056d032acbed8266d601017080ac6b.jpg","text":"TemporaryFile(/tmp/multipartBody3530892296227804666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049164715,"filename":"image_30102025_08_03_04_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/2/90fac3b7b980288ee1c3a99ac9d5caa0.jpg","text":"TemporaryFile(/tmp/multipartBody139005019269065176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049164715,"filename":"image_30102025_08_02_55_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/2/e553967e09c8b41580331d90f4928556.jpg","text":"TemporaryFile(/tmp/multipartBody528236280148605550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049164715,"filename":"image_30102025_08_03_08_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/2/cf0fbb4999394b7488c24980675a0a7e.jpg","text":"TemporaryFile(/tmp/multipartBody7979879730415567186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049164715,"filename":"image_30102025_08_03_01_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/2/49b6c21f8f29723626c6ff605b860e1e.jpg","text":"TemporaryFile(/tmp/multipartBody1332983708415172341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049164715,"filename":"image_30102025_08_02_59_3714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391773954","file1":"1391773953","file0":"1391773951","file4":"1391774017","file5":"1391774062","file3":"1391773975"},"map_files_photo_id_array":[{"photo_id":"1391774062","filename":"file5"},{"photo_id":"1391773954","filename":"file2"},{"photo_id":"1391774017","filename":"file4"},{"photo_id":"1391773953","filename":"file1"},{"photo_id":"1391773951","filename":"file0"},{"photo_id":"1391773975","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391774062":["hashtag1","hashtag2"]},{"1391773975":["hashtag1","hashtag2"]},{"1391773951":["hashtag1","hashtag2"]},{"1391774017":["hashtag1","hashtag2"]},{"1391773954":["hashtag1","hashtag2"]},{"1391773953":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391774062, 1391773975, 1391773951, 1391774017, 1391773954, 1391773953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.019838094711304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:06:02.615539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_13_2647.jpg', '/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_17_3747.jpg', '/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_20_2763.jpg', '/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_22_2758.jpg', '/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_25_2670.jpg', '/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_29_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/08/03/image_30102025_08_03_13_2647.jpg
/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_17_3747.jpg
/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_20_2763.jpg
/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_22_2758.jpg
/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_25_2670.jpg
/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_29_3688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391774461","1391774425","1391774388","1391774502","1391774582","1391774540"],"photo_ids_order":["1391774388","1391774425","1391774461","1391774502","1391774540","1391774582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f5cc0b90a7872c623ffe1fd23efd1d69.jpg","text":"TemporaryFile(/tmp/multipartBody8502527668381116295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049224654,"filename":"image_30102025_08_03_20_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/2/913fb82853423ec55fa7559a30a34b01.jpg","text":"TemporaryFile(/tmp/multipartBody4398092649683129246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049224654,"filename":"image_30102025_08_03_17_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/2/1afb4a1f6a9e42a8da386997f9ce7227.jpg","text":"TemporaryFile(/tmp/multipartBody7210096954274541105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049224654,"filename":"image_30102025_08_03_13_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/2/16905fcebc73ed9434bf63121a02bf8b.jpg","text":"TemporaryFile(/tmp/multipartBody8654320079726132487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049224654,"filename":"image_30102025_08_03_22_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/2/d4ff48905846f03ef11abaf059c52f28.jpg","text":"TemporaryFile(/tmp/multipartBody925173455995101457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049224654,"filename":"image_30102025_08_03_29_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/2/e8debd296d84ad1724a80b17fa97412e.jpg","text":"TemporaryFile(/tmp/multipartBody6355534649125053368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049224654,"filename":"image_30102025_08_03_25_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391774461","file1":"1391774425","file0":"1391774388","file4":"1391774540","file5":"1391774582","file3":"1391774502"},"map_files_photo_id_array":[{"photo_id":"1391774582","filename":"file5"},{"photo_id":"1391774461","filename":"file2"},{"photo_id":"1391774540","filename":"file4"},{"photo_id":"1391774425","filename":"file1"},{"photo_id":"1391774388","filename":"file0"},{"photo_id":"1391774502","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391774461":["hashtag1","hashtag2"]},{"1391774425":["hashtag1","hashtag2"]},{"1391774388":["hashtag1","hashtag2"]},{"1391774502":["hashtag1","hashtag2"]},{"1391774582":["hashtag1","hashtag2"]},{"1391774540":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391774461, 1391774425, 1391774388, 1391774502, 1391774582, 1391774540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5078010559082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 03:06:42.157660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_31_2600.jpg', '/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_34_2740.jpg', '/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_38_3712.jpg', '/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_40_2754.jpg', '/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_43_2761.jpg', '/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_46_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/08/03/image_30102025_08_03_31_2600.jpg
/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_34_2740.jpg
/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_38_3712.jpg
/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_40_2754.jpg
/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_43_2761.jpg
/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_46_2693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391774785","1391775069","1391774917","1391774994","1391774832","1391774873"],"photo_ids_order":["1391774785","1391774832","1391774873","1391774917","1391774994","1391775069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/581162466c8e0ff53edd97f1b345aa4f.jpg","text":"TemporaryFile(/tmp/multipartBody3298864183522051242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049263217,"filename":"image_30102025_08_03_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/2/220d2f832696c089d88fa4327710f18c.jpg","text":"TemporaryFile(/tmp/multipartBody7143828370991576895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049263217,"filename":"image_30102025_08_03_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/2/a0395ab31c5d14f30b6de743431e604e.jpg","text":"TemporaryFile(/tmp/multipartBody3357759851033320277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049263217,"filename":"image_30102025_08_03_40_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/2/77981974f1d386a6c58b365bd354fbf3.jpg","text":"TemporaryFile(/tmp/multipartBody1675478770956520392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049263217,"filename":"image_30102025_08_03_43_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/2/4b13623eade17564904b72f2caf00743.jpg","text":"TemporaryFile(/tmp/multipartBody4742744493593237374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049263217,"filename":"image_30102025_08_03_34_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/2/a66df0895763c6e29e532d59fc542c90.jpg","text":"TemporaryFile(/tmp/multipartBody1665540746098031274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049263217,"filename":"image_30102025_08_03_38_3712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391774873","file1":"1391774832","file0":"1391774785","file4":"1391774994","file5":"1391775069","file3":"1391774917"},"map_files_photo_id_array":[{"photo_id":"1391775069","filename":"file5"},{"photo_id":"1391774873","filename":"file2"},{"photo_id":"1391774994","filename":"file4"},{"photo_id":"1391774832","filename":"file1"},{"photo_id":"1391774785","filename":"file0"},{"photo_id":"1391774917","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391774785":["hashtag1","hashtag2"]},{"1391775069":["hashtag1","hashtag2"]},{"1391774917":["hashtag1","hashtag2"]},{"1391774994":["hashtag1","hashtag2"]},{"1391774832":["hashtag1","hashtag2"]},{"1391774873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391774785, 1391775069, 1391774917, 1391774994, 1391774832, 1391774873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34891986846924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 03:07:22.404449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_49_3548.jpg', '/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_52_2823.jpg', '/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_55_2743.jpg', '/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_59_3615.jpg', '/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_01_2751.jpg', '/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_04_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/08/03/image_30102025_08_03_49_3548.jpg
/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_52_2823.jpg
/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_55_2743.jpg
/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_59_3615.jpg
/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_01_2751.jpg
/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_04_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.37345552444458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 03:07:42.477619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_49_3548.jpg', '/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_52_2823.jpg', '/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_55_2743.jpg', '/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_59_3615.jpg', '/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_01_2751.jpg', '/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_04_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/08/03/image_30102025_08_03_49_3548.jpg
/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_52_2823.jpg
/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_55_2743.jpg
/home/pi/Desktop/images/30102025/08/03/image_30102025_08_03_59_3615.jpg
/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_01_2751.jpg
/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_04_2651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391775478","1391775643","1391775436","1391775517","1391775561","1391775602"],"photo_ids_order":["1391775436","1391775478","1391775517","1391775561","1391775602","1391775643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/161aa9c3870c42e4dcc8738182b97f5f.jpg","text":"TemporaryFile(/tmp/multipartBody5691332484430907532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049323417,"filename":"image_30102025_08_03_52_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/2/db7d050b2d440aef685e22903c4b3256.jpg","text":"TemporaryFile(/tmp/multipartBody7380683461668690012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049323417,"filename":"image_30102025_08_04_04_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/2/38875bc4dceea3bfb77d5527068b3184.jpg","text":"TemporaryFile(/tmp/multipartBody6685259676937432806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049323417,"filename":"image_30102025_08_03_49_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/2/ee7fcc6383b069928ff9fbc6a42dc9df.jpg","text":"TemporaryFile(/tmp/multipartBody5631454403930960484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049323417,"filename":"image_30102025_08_03_55_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/2/475575b449853316d75adf55040627f3.jpg","text":"TemporaryFile(/tmp/multipartBody3560129436815162462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049323417,"filename":"image_30102025_08_03_59_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/2/24240d57535dbafbe940fe5c2d976a3c.jpg","text":"TemporaryFile(/tmp/multipartBody3750748022065691795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049323417,"filename":"image_30102025_08_04_01_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391775517","file1":"1391775478","file0":"1391775436","file4":"1391775602","file5":"1391775643","file3":"1391775561"},"map_files_photo_id_array":[{"photo_id":"1391775643","filename":"file5"},{"photo_id":"1391775517","filename":"file2"},{"photo_id":"1391775602","filename":"file4"},{"photo_id":"1391775478","filename":"file1"},{"photo_id":"1391775436","filename":"file0"},{"photo_id":"1391775561","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391775478":["hashtag1","hashtag2"]},{"1391775643":["hashtag1","hashtag2"]},{"1391775436":["hashtag1","hashtag2"]},{"1391775517":["hashtag1","hashtag2"]},{"1391775561":["hashtag1","hashtag2"]},{"1391775602":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391775478, 1391775643, 1391775436, 1391775517, 1391775561, 1391775602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64964485168457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 03:08:22.613237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_07_3353.jpg', '/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_10_2520.jpg', '/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_14_3733.jpg', '/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_16_2632.jpg', '/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_19_2825.jpg', '/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_22_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/08/04/image_30102025_08_04_07_3353.jpg
/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_10_2520.jpg
/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_14_3733.jpg
/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_16_2632.jpg
/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_19_2825.jpg
/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_22_2726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391775994","1391775817","1391776038","1391775951","1391775909","1391775863"],"photo_ids_order":["1391775817","1391775863","1391775909","1391775951","1391775994","1391776038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/023a50b9a9371e61813d667a582f7623.jpg","text":"TemporaryFile(/tmp/multipartBody2787600966665481335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049365236,"filename":"image_30102025_08_04_19_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/2/7e321755c0ff17f584a8db1db9db190b.jpg","text":"TemporaryFile(/tmp/multipartBody7237029354082687289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049365236,"filename":"image_30102025_08_04_07_3353.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a34b6920007fd96437e4643786dcea1c.jpg","text":"TemporaryFile(/tmp/multipartBody336405167644153699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049365236,"filename":"image_30102025_08_04_22_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/2/ef8e8de566e353942bc47c2214fa4398.jpg","text":"TemporaryFile(/tmp/multipartBody7678429505842711534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049365236,"filename":"image_30102025_08_04_16_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/2/6709567fc3df00738a7f7afa9e732ddb.jpg","text":"TemporaryFile(/tmp/multipartBody3703354225578591485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049365236,"filename":"image_30102025_08_04_14_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/2/9ae4d51861b08cd16c4419e30ec44110.jpg","text":"TemporaryFile(/tmp/multipartBody5399822826303415339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049365236,"filename":"image_30102025_08_04_10_2520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391775909","file1":"1391775863","file0":"1391775817","file4":"1391775994","file5":"1391776038","file3":"1391775951"},"map_files_photo_id_array":[{"photo_id":"1391776038","filename":"file5"},{"photo_id":"1391775909","filename":"file2"},{"photo_id":"1391775994","filename":"file4"},{"photo_id":"1391775863","filename":"file1"},{"photo_id":"1391775817","filename":"file0"},{"photo_id":"1391775951","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391775994":["hashtag1","hashtag2"]},{"1391775817":["hashtag1","hashtag2"]},{"1391776038":["hashtag1","hashtag2"]},{"1391775951":["hashtag1","hashtag2"]},{"1391775909":["hashtag1","hashtag2"]},{"1391775863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391775994, 1391775817, 1391776038, 1391775951, 1391775909, 1391775863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.34365725517273 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:09:03.722323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_26_3854.jpg', '/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_28_2593.jpg', '/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_31_2695.jpg', '/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_35_3778.jpg', '/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_38_2756.jpg', '/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_40_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/08/04/image_30102025_08_04_26_3854.jpg
/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_28_2593.jpg
/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_31_2695.jpg
/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_35_3778.jpg
/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_38_2756.jpg
/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_40_2690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391776170","1391776164","1391776172","1391776166","1391776169","1391776174"],"photo_ids_order":["1391776164","1391776166","1391776169","1391776170","1391776172","1391776174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/56092a7645ca75767f2eb8b84b5bdf37.jpg","text":"TemporaryFile(/tmp/multipartBody1045855692677407539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049405932,"filename":"image_30102025_08_04_35_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/2/a911bf619b71d0ff333234a3673766fe.jpg","text":"TemporaryFile(/tmp/multipartBody5364477238287999965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049405932,"filename":"image_30102025_08_04_26_3854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/47e53ff9b0f679ff23b4189c30ea8690.jpg","text":"TemporaryFile(/tmp/multipartBody4128532478136422506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049405932,"filename":"image_30102025_08_04_38_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/2/fb3b61e285ab6e07df6242c10d239863.jpg","text":"TemporaryFile(/tmp/multipartBody1178597165173068798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049405932,"filename":"image_30102025_08_04_28_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/2/268496fb569f2590fe5d640282331cdb.jpg","text":"TemporaryFile(/tmp/multipartBody2259194585703088438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049405932,"filename":"image_30102025_08_04_31_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/2/3820ee5cddc69c2b28f56172d3ddbb5f.jpg","text":"TemporaryFile(/tmp/multipartBody2808375511997571101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049405932,"filename":"image_30102025_08_04_40_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391776169","file1":"1391776166","file0":"1391776164","file4":"1391776172","file5":"1391776174","file3":"1391776170"},"map_files_photo_id_array":[{"photo_id":"1391776174","filename":"file5"},{"photo_id":"1391776169","filename":"file2"},{"photo_id":"1391776172","filename":"file4"},{"photo_id":"1391776166","filename":"file1"},{"photo_id":"1391776164","filename":"file0"},{"photo_id":"1391776170","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391776170":["hashtag1","hashtag2"]},{"1391776164":["hashtag1","hashtag2"]},{"1391776172":["hashtag1","hashtag2"]},{"1391776166":["hashtag1","hashtag2"]},{"1391776169":["hashtag1","hashtag2"]},{"1391776174":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391776170, 1391776164, 1391776172, 1391776166, 1391776169, 1391776174)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.71514081954956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:10:02.404423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_43_2652.jpg', '/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_47_3721.jpg', '/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_49_2692.jpg', '/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_52_2605.jpg', '/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_56_3768.jpg', '/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_58_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/08/04/image_30102025_08_04_43_2652.jpg
/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_47_3721.jpg
/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_49_2692.jpg
/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_52_2605.jpg
/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_56_3768.jpg
/home/pi/Desktop/images/30102025/08/04/image_30102025_08_04_58_2715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391776207","1391776201","1391776205","1391776195","1391776198","1391776192"],"photo_ids_order":["1391776192","1391776195","1391776198","1391776201","1391776205","1391776207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7424e93f109fd9f80ab7fffbb6fe4580.jpg","text":"TemporaryFile(/tmp/multipartBody2808566793890372538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049464438,"filename":"image_30102025_08_04_58_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/2/35f6dd8b7c12956f55d9f0eb34d4e11d.jpg","text":"TemporaryFile(/tmp/multipartBody2375406202140890178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049464438,"filename":"image_30102025_08_04_52_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/2/90c230ef0f25ef8a75b6509454bfc952.jpg","text":"TemporaryFile(/tmp/multipartBody4403548465483852038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049464438,"filename":"image_30102025_08_04_56_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/2/eee942877224be502fd487645570b480.jpg","text":"TemporaryFile(/tmp/multipartBody8381139339090753321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049464438,"filename":"image_30102025_08_04_47_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/2/91374a68e2c8e8a999751d19dbe2c9cb.jpg","text":"TemporaryFile(/tmp/multipartBody3505001416599882377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049464438,"filename":"image_30102025_08_04_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/2/747134bc72c1acb760e595201d7e5ee3.jpg","text":"TemporaryFile(/tmp/multipartBody7967499613446123864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049464438,"filename":"image_30102025_08_04_43_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391776198","file1":"1391776195","file0":"1391776192","file4":"1391776205","file5":"1391776207","file3":"1391776201"},"map_files_photo_id_array":[{"photo_id":"1391776207","filename":"file5"},{"photo_id":"1391776198","filename":"file2"},{"photo_id":"1391776205","filename":"file4"},{"photo_id":"1391776195","filename":"file1"},{"photo_id":"1391776192","filename":"file0"},{"photo_id":"1391776201","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391776207":["hashtag1","hashtag2"]},{"1391776201":["hashtag1","hashtag2"]},{"1391776205":["hashtag1","hashtag2"]},{"1391776195":["hashtag1","hashtag2"]},{"1391776198":["hashtag1","hashtag2"]},{"1391776192":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391776207, 1391776201, 1391776205, 1391776195, 1391776198, 1391776192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61657905578613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 03:10:42.017861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_01_2552.jpg', '/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_05_3652.jpg', '/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_07_2709.jpg', '/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_10_2606.jpg', '/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_14_3822.jpg', '/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_16_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/08/05/image_30102025_08_05_01_2552.jpg
/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_05_3652.jpg
/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_07_2709.jpg
/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_10_2606.jpg
/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_14_3822.jpg
/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_16_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: 0.9766027927398682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:11:02.794676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_01_2552.jpg', '/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_05_3652.jpg', '/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_07_2709.jpg', '/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_10_2606.jpg', '/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_14_3822.jpg', '/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_16_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/08/05/image_30102025_08_05_01_2552.jpg
/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_05_3652.jpg
/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_07_2709.jpg
/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_10_2606.jpg
/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_14_3822.jpg
/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_16_2576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391776639","1391776603","1391776685","1391776524","1391776676","1391776565"],"photo_ids_order":["1391776524","1391776565","1391776603","1391776639","1391776676","1391776685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/49547c45dde973e79b160c15d2b913ad.jpg","text":"TemporaryFile(/tmp/multipartBody143252627856311330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049524830,"filename":"image_30102025_08_05_10_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/2/095628a7ff27172ad84e3def38f771d7.jpg","text":"TemporaryFile(/tmp/multipartBody46206718922450466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049524830,"filename":"image_30102025_08_05_07_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/2/3bb25e03a175b78d3b5ebb9e17d9bd15.jpg","text":"TemporaryFile(/tmp/multipartBody5832102173258756981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049524830,"filename":"image_30102025_08_05_16_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/2/1897e3ccbf15ea5c6f01c69ca6a779dc.jpg","text":"TemporaryFile(/tmp/multipartBody5129348024044539671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049524830,"filename":"image_30102025_08_05_01_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/2/f9e5eb1c439678c151b5ad58327829a8.jpg","text":"TemporaryFile(/tmp/multipartBody6841799826384844663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049524830,"filename":"image_30102025_08_05_14_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/2/b779d72b73812037462f1f6365bbd6d7.jpg","text":"TemporaryFile(/tmp/multipartBody8472500550909658800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049524830,"filename":"image_30102025_08_05_05_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391776603","file1":"1391776565","file0":"1391776524","file4":"1391776676","file5":"1391776685","file3":"1391776639"},"map_files_photo_id_array":[{"photo_id":"1391776685","filename":"file5"},{"photo_id":"1391776603","filename":"file2"},{"photo_id":"1391776676","filename":"file4"},{"photo_id":"1391776565","filename":"file1"},{"photo_id":"1391776524","filename":"file0"},{"photo_id":"1391776639","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391776639":["hashtag1","hashtag2"]},{"1391776603":["hashtag1","hashtag2"]},{"1391776685":["hashtag1","hashtag2"]},{"1391776524":["hashtag1","hashtag2"]},{"1391776676":["hashtag1","hashtag2"]},{"1391776565":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391776639, 1391776603, 1391776685, 1391776524, 1391776676, 1391776565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62533640861511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 03:11:42.196275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_19_2758.jpg', '/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_23_3627.jpg', '/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_25_2609.jpg', '/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_28_2694.jpg', '/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_31_2724.jpg', '/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_34_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/08/05/image_30102025_08_05_19_2758.jpg
/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_23_3627.jpg
/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_25_2609.jpg
/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_28_2694.jpg
/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_31_2724.jpg
/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_34_3583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391776755","1391776758","1391776752","1391776769","1391776760","1391776739"],"photo_ids_order":["1391776739","1391776752","1391776755","1391776758","1391776760","1391776769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/66bf3de624921de2fe0eb4ab45307cab.jpg","text":"TemporaryFile(/tmp/multipartBody7569682930008396682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049563259,"filename":"image_30102025_08_05_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/2/705a1bd93aa2ad3e5c1bfbdff540dbf6.jpg","text":"TemporaryFile(/tmp/multipartBody3472311328094983823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049563259,"filename":"image_30102025_08_05_28_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/2/f31e5d56b9e4c395f580fa6f9995b4c5.jpg","text":"TemporaryFile(/tmp/multipartBody6762097515130307689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049563259,"filename":"image_30102025_08_05_23_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/2/4d2c1d0c6c716bd99643830b35713670.jpg","text":"TemporaryFile(/tmp/multipartBody7858921072966368188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049563259,"filename":"image_30102025_08_05_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/2/c214743d3be18612696e0b3442c260c7.jpg","text":"TemporaryFile(/tmp/multipartBody4150720321224776790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049563259,"filename":"image_30102025_08_05_31_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/2/dd65b46d61c608a302a3b0842a667336.jpg","text":"TemporaryFile(/tmp/multipartBody5500687026905562164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049563259,"filename":"image_30102025_08_05_19_2758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391776755","file1":"1391776752","file0":"1391776739","file4":"1391776760","file5":"1391776769","file3":"1391776758"},"map_files_photo_id_array":[{"photo_id":"1391776769","filename":"file5"},{"photo_id":"1391776755","filename":"file2"},{"photo_id":"1391776760","filename":"file4"},{"photo_id":"1391776752","filename":"file1"},{"photo_id":"1391776739","filename":"file0"},{"photo_id":"1391776758","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391776755":["hashtag1","hashtag2"]},{"1391776758":["hashtag1","hashtag2"]},{"1391776752":["hashtag1","hashtag2"]},{"1391776769":["hashtag1","hashtag2"]},{"1391776760":["hashtag1","hashtag2"]},{"1391776739":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391776755, 1391776758, 1391776752, 1391776769, 1391776760, 1391776739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.506144285202026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 03:12:22.353727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_37_2897.jpg', '/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_40_2510.jpg', '/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_43_3665.jpg', '/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_46_2582.jpg', '/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_50_3614.jpg', '/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_52_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/08/05/image_30102025_08_05_37_2897.jpg
/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_40_2510.jpg
/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_43_3665.jpg
/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_46_2582.jpg
/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_50_3614.jpg
/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_52_2574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391776893","1391776896","1391776889","1391776894","1391776897","1391776891"],"photo_ids_order":["1391776889","1391776891","1391776893","1391776894","1391776896","1391776897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1d31c606936f0b74ca7de36d0db512a4.jpg","text":"TemporaryFile(/tmp/multipartBody8794150202826952060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049604930,"filename":"image_30102025_08_05_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/2/e8929abfe4a55a9362b3941ace48e14c.jpg","text":"TemporaryFile(/tmp/multipartBody208865533466494778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049604930,"filename":"image_30102025_08_05_50_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/2/c66fbde0c0bb12900874231c028aa4d9.jpg","text":"TemporaryFile(/tmp/multipartBody3821903768815232344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049604930,"filename":"image_30102025_08_05_37_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/2/6f321485d8a6d0648acd34dbbd79f9a8.jpg","text":"TemporaryFile(/tmp/multipartBody2047287143956066063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049604930,"filename":"image_30102025_08_05_46_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/2/053784a39cb523ea3a09cbbfb76e6ea6.jpg","text":"TemporaryFile(/tmp/multipartBody9131309554604548112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049604930,"filename":"image_30102025_08_05_52_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/2/47a918124f3fece4042cb0ab167fa2bd.jpg","text":"TemporaryFile(/tmp/multipartBody2179412535218808321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049604930,"filename":"image_30102025_08_05_40_2510.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391776893","file1":"1391776891","file0":"1391776889","file4":"1391776896","file5":"1391776897","file3":"1391776894"},"map_files_photo_id_array":[{"photo_id":"1391776897","filename":"file5"},{"photo_id":"1391776893","filename":"file2"},{"photo_id":"1391776896","filename":"file4"},{"photo_id":"1391776891","filename":"file1"},{"photo_id":"1391776889","filename":"file0"},{"photo_id":"1391776894","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391776893":["hashtag1","hashtag2"]},{"1391776896":["hashtag1","hashtag2"]},{"1391776889":["hashtag1","hashtag2"]},{"1391776894":["hashtag1","hashtag2"]},{"1391776897":["hashtag1","hashtag2"]},{"1391776891":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391776893, 1391776896, 1391776889, 1391776894, 1391776897, 1391776891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15056753158569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:13:03.111254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_55_2535.jpg', '/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_58_3586.jpg', '/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_01_2791.jpg', '/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_04_2748.jpg', '/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_08_4310.jpg', '/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_10_1613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_55_2535.jpg
/home/pi/Desktop/images/30102025/08/05/image_30102025_08_05_58_3586.jpg
/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_01_2791.jpg
/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_04_2748.jpg
/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_08_4310.jpg
/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_10_1613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391776915","1391776918","1391776906","1391776908","1391776904","1391776912"],"photo_ids_order":["1391776904","1391776906","1391776908","1391776912","1391776915","1391776918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6d152519ee09615d62d47c3debd590a2.jpg","text":"TemporaryFile(/tmp/multipartBody522650860797370642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049646125,"filename":"image_30102025_08_06_08_4310.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2dc61bcdf2a933bb0d92c21f99f1afaa.jpg","text":"TemporaryFile(/tmp/multipartBody5635029017834578525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049646125,"filename":"image_30102025_08_06_10_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/2/4cf64fbdd06c13931ec422a62833285e.jpg","text":"TemporaryFile(/tmp/multipartBody7040768265166774170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049646125,"filename":"image_30102025_08_05_58_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/2/8308c0cc353fd27adf7c8e6aa1b7f370.jpg","text":"TemporaryFile(/tmp/multipartBody6790504968018486996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049646125,"filename":"image_30102025_08_06_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/2/c5fc5124f314ed7f13c8fa10dff24d0e.jpg","text":"TemporaryFile(/tmp/multipartBody1883050642172443412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049646125,"filename":"image_30102025_08_05_55_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/2/87358e00849bb47d017ae07064c2d8c3.jpg","text":"TemporaryFile(/tmp/multipartBody7353607538131722770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049646125,"filename":"image_30102025_08_06_04_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391776908","file1":"1391776906","file0":"1391776904","file4":"1391776915","file5":"1391776918","file3":"1391776912"},"map_files_photo_id_array":[{"photo_id":"1391776918","filename":"file5"},{"photo_id":"1391776908","filename":"file2"},{"photo_id":"1391776915","filename":"file4"},{"photo_id":"1391776906","filename":"file1"},{"photo_id":"1391776904","filename":"file0"},{"photo_id":"1391776912","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391776915":["hashtag1","hashtag2"]},{"1391776918":["hashtag1","hashtag2"]},{"1391776906":["hashtag1","hashtag2"]},{"1391776908":["hashtag1","hashtag2"]},{"1391776904":["hashtag1","hashtag2"]},{"1391776912":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391776915, 1391776918, 1391776906, 1391776908, 1391776904, 1391776912)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.906352043151855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:14:03.326017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_13_3772.jpg', '/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_16_2707.jpg', '/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_19_2675.jpg', '/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_23_4166.jpg', '/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_25_1684.jpg', '/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_31_6292.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_13_3772.jpg
/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_16_2707.jpg
/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_19_2675.jpg
/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_23_4166.jpg
/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_25_1684.jpg
/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_31_6292.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.0220205783843994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 03:14:22.639021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_13_3772.jpg', '/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_16_2707.jpg', '/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_19_2675.jpg', '/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_23_4166.jpg', '/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_25_1684.jpg', '/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_31_6292.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_13_3772.jpg
/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_16_2707.jpg
/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_19_2675.jpg
/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_23_4166.jpg
/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_25_1684.jpg
/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_31_6292.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391776947","1391776961","1391776955","1391776949","1391776958","1391776951"],"photo_ids_order":["1391776947","1391776949","1391776951","1391776955","1391776958","1391776961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e966a6badddaf4f96a9ba8d572c53f85.jpg","text":"TemporaryFile(/tmp/multipartBody305286564482259701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049725129,"filename":"image_30102025_08_06_13_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/2/50f43c9dc5cb59dc9bd57fc7cfe9fef9.jpg","text":"TemporaryFile(/tmp/multipartBody4717845983517910248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049725129,"filename":"image_30102025_08_06_31_6292.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c996b69271174f08641a1b75af25bc59.jpg","text":"TemporaryFile(/tmp/multipartBody5985328809407453307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049725129,"filename":"image_30102025_08_06_23_4166.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ae5fa925a8c9b0248b5bcd5ed5606d62.jpg","text":"TemporaryFile(/tmp/multipartBody1759701332091415042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049725129,"filename":"image_30102025_08_06_16_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/2/53cbe4814119e22e80b9a4f3830b3189.jpg","text":"TemporaryFile(/tmp/multipartBody8284198532660225381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049725129,"filename":"image_30102025_08_06_25_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/2/321f40f24d75357ec36601ec6b800942.jpg","text":"TemporaryFile(/tmp/multipartBody781756714642779059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049725129,"filename":"image_30102025_08_06_19_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391776951","file1":"1391776949","file0":"1391776947","file4":"1391776958","file5":"1391776961","file3":"1391776955"},"map_files_photo_id_array":[{"photo_id":"1391776961","filename":"file5"},{"photo_id":"1391776951","filename":"file2"},{"photo_id":"1391776958","filename":"file4"},{"photo_id":"1391776949","filename":"file1"},{"photo_id":"1391776947","filename":"file0"},{"photo_id":"1391776955","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391776947":["hashtag1","hashtag2"]},{"1391776961":["hashtag1","hashtag2"]},{"1391776955":["hashtag1","hashtag2"]},{"1391776949":["hashtag1","hashtag2"]},{"1391776958":["hashtag1","hashtag2"]},{"1391776951":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391776947, 1391776961, 1391776955, 1391776949, 1391776958, 1391776951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51481008529663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:15:03.436704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_33_1588.jpg', '/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_37_4410.jpg', '/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_39_1562.jpg', '/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_40_1654.jpg', '/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_43_2740.jpg', '/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_46_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/08/06/image_30102025_08_06_33_1588.jpg
/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_37_4410.jpg
/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_39_1562.jpg
/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_40_1654.jpg
/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_43_2740.jpg
/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_46_2616.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391776971","1391776982","1391776985","1391776973","1391776976","1391776978"],"photo_ids_order":["1391776971","1391776973","1391776976","1391776978","1391776982","1391776985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/930437f21ca3e2defd4055d036efc328.jpg","text":"TemporaryFile(/tmp/multipartBody9131404714576626787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049766854,"filename":"image_30102025_08_06_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/2/44ce67d812db4580f11689f6153dba3a.jpg","text":"TemporaryFile(/tmp/multipartBody2916386183713457387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049766854,"filename":"image_30102025_08_06_43_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/2/088f32ef77a4814c7ddcfebc043673b1.jpg","text":"TemporaryFile(/tmp/multipartBody3016220654180525549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049766854,"filename":"image_30102025_08_06_46_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/2/d6fd28e4973fcd6f669e03ca6ad1ca57.jpg","text":"TemporaryFile(/tmp/multipartBody1690366877114389781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049766854,"filename":"image_30102025_08_06_37_4410.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/90e7a10966ee6c7093af0a1e6fba6f31.jpg","text":"TemporaryFile(/tmp/multipartBody3164357809230893359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049766854,"filename":"image_30102025_08_06_39_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bac311706902c3a74cf7a11fa1f112f1.jpg","text":"TemporaryFile(/tmp/multipartBody2389864209293606696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049766854,"filename":"image_30102025_08_06_40_1654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391776976","file1":"1391776973","file0":"1391776971","file4":"1391776982","file5":"1391776985","file3":"1391776978"},"map_files_photo_id_array":[{"photo_id":"1391776985","filename":"file5"},{"photo_id":"1391776976","filename":"file2"},{"photo_id":"1391776982","filename":"file4"},{"photo_id":"1391776973","filename":"file1"},{"photo_id":"1391776971","filename":"file0"},{"photo_id":"1391776978","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391776971":["hashtag1","hashtag2"]},{"1391776982":["hashtag1","hashtag2"]},{"1391776985":["hashtag1","hashtag2"]},{"1391776973":["hashtag1","hashtag2"]},{"1391776976":["hashtag1","hashtag2"]},{"1391776978":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391776971, 1391776982, 1391776985, 1391776973, 1391776976, 1391776978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.00121784210205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:16:02.551060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_51_5169.jpg', '/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_52_1688.jpg', '/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_55_2629.jpg', '/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_01_6351.jpg', '/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_03_1602.jpg', '/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_05_1626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_51_5169.jpg
/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_52_1688.jpg
/home/pi/Desktop/images/30102025/08/06/image_30102025_08_06_55_2629.jpg
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_01_6351.jpg
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_03_1602.jpg
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_05_1626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777016","1391777010","1391777013","1391777007","1391777018","1391777006"],"photo_ids_order":["1391777006","1391777007","1391777010","1391777013","1391777016","1391777018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/17dba64fbd2626a462d27dba183eaeb0.jpg","text":"TemporaryFile(/tmp/multipartBody3735470661290319642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049824583,"filename":"image_30102025_08_07_03_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/2/9315f4ac37e11fbe64987ff5a3e6ac0e.jpg","text":"TemporaryFile(/tmp/multipartBody5242667005611338861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049824583,"filename":"image_30102025_08_06_55_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/2/b41a1ca522d90a31eb2ba00bb6cb72b6.jpg","text":"TemporaryFile(/tmp/multipartBody3835816202224045399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049824583,"filename":"image_30102025_08_07_01_6351.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d05879a0ed3555c32a41abbdec0f1000.jpg","text":"TemporaryFile(/tmp/multipartBody260723481277679264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049824583,"filename":"image_30102025_08_06_52_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/2/55802dc5ccfbf02975f5af80ad196209.jpg","text":"TemporaryFile(/tmp/multipartBody7263028147853007858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049824583,"filename":"image_30102025_08_07_05_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/2/72ebd2e751bf13c5105f47558cbc324b.jpg","text":"TemporaryFile(/tmp/multipartBody3061163404898198309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049824583,"filename":"image_30102025_08_06_51_5169.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777010","file1":"1391777007","file0":"1391777006","file4":"1391777016","file5":"1391777018","file3":"1391777013"},"map_files_photo_id_array":[{"photo_id":"1391777018","filename":"file5"},{"photo_id":"1391777010","filename":"file2"},{"photo_id":"1391777016","filename":"file4"},{"photo_id":"1391777007","filename":"file1"},{"photo_id":"1391777006","filename":"file0"},{"photo_id":"1391777013","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777016":["hashtag1","hashtag2"]},{"1391777010":["hashtag1","hashtag2"]},{"1391777013":["hashtag1","hashtag2"]},{"1391777007":["hashtag1","hashtag2"]},{"1391777018":["hashtag1","hashtag2"]},{"1391777006":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777016, 1391777010, 1391777013, 1391777007, 1391777018, 1391777006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11931920051575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 03:16:42.117208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_07_2837.jpg', '/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_12_4762.jpg', '/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_18_5899.jpg', '/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_20_1705.jpg', '/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_22_1655.jpg', '/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_23_1707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_07_2837.jpg
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_12_4762.jpg
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_18_5899.jpg
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_20_1705.jpg
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_22_1655.jpg
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_23_1707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777040","1391777043","1391777031","1391777027","1391777044","1391777035"],"photo_ids_order":["1391777027","1391777031","1391777035","1391777040","1391777043","1391777044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8445ec0f65a3ae58b4246feca86bb63d.jpg","text":"TemporaryFile(/tmp/multipartBody1094696261671008081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049863173,"filename":"image_30102025_08_07_20_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/2/5800c2ae336fc83d89e20701cfd5051a.jpg","text":"TemporaryFile(/tmp/multipartBody7665639848328681718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049863173,"filename":"image_30102025_08_07_22_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/2/01dd6d3c08d5939c7a4ee16e68dd22b9.jpg","text":"TemporaryFile(/tmp/multipartBody4208592416489137665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049863173,"filename":"image_30102025_08_07_12_4762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/62c68459d26cd3730da6b31c5815104e.jpg","text":"TemporaryFile(/tmp/multipartBody5650097688235844156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049863173,"filename":"image_30102025_08_07_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/2/604372edef7fa3566890949dfbf45901.jpg","text":"TemporaryFile(/tmp/multipartBody8070298738909986025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049863173,"filename":"image_30102025_08_07_23_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/2/c2c5ec3b5bf8ad24fc264a7c8eb2bff6.jpg","text":"TemporaryFile(/tmp/multipartBody6101318830371714899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049863173,"filename":"image_30102025_08_07_18_5899.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777035","file1":"1391777031","file0":"1391777027","file4":"1391777043","file5":"1391777044","file3":"1391777040"},"map_files_photo_id_array":[{"photo_id":"1391777044","filename":"file5"},{"photo_id":"1391777035","filename":"file2"},{"photo_id":"1391777043","filename":"file4"},{"photo_id":"1391777031","filename":"file1"},{"photo_id":"1391777027","filename":"file0"},{"photo_id":"1391777040","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777040":["hashtag1","hashtag2"]},{"1391777043":["hashtag1","hashtag2"]},{"1391777031":["hashtag1","hashtag2"]},{"1391777027":["hashtag1","hashtag2"]},{"1391777044":["hashtag1","hashtag2"]},{"1391777035":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777040, 1391777043, 1391777031, 1391777027, 1391777044, 1391777035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.164201498031616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 03:17:22.228117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_25_1632.jpg', '/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_28_3580.jpg', '/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_31_2891.jpg', '/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_34_2674.jpg', '/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_37_2612.jpg', '/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_40_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/08/07/image_30102025_08_07_25_1632.jpg
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_28_3580.jpg
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_31_2891.jpg
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_34_2674.jpg
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_37_2612.jpg
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_40_3687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777049","1391777064","1391777060","1391777056","1391777050","1391777053"],"photo_ids_order":["1391777049","1391777050","1391777053","1391777056","1391777060","1391777064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e79c85d9828d90500d4a1f673ca7fb22.jpg","text":"TemporaryFile(/tmp/multipartBody3422522629918234893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049907573,"filename":"image_30102025_08_07_25_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/2/7e6f84c70ff708a996efb72bd86fd9ba.jpg","text":"TemporaryFile(/tmp/multipartBody1516867246098717311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049907573,"filename":"image_30102025_08_07_40_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/2/0634b55742fffe38830fa263d4252d55.jpg","text":"TemporaryFile(/tmp/multipartBody8322327205990883350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049907573,"filename":"image_30102025_08_07_37_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/2/f184f933747843adb17c6344690dacaf.jpg","text":"TemporaryFile(/tmp/multipartBody5307435231727999533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049907573,"filename":"image_30102025_08_07_34_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/2/fe115a485b49d8561ac93a853bf3c57c.jpg","text":"TemporaryFile(/tmp/multipartBody7022699699998601578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049907573,"filename":"image_30102025_08_07_28_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/2/dbb3fdfe41d3ba4b4303d3b9a6a779e0.jpg","text":"TemporaryFile(/tmp/multipartBody4879686641482572489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049907573,"filename":"image_30102025_08_07_31_2891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777053","file1":"1391777050","file0":"1391777049","file4":"1391777060","file5":"1391777064","file3":"1391777056"},"map_files_photo_id_array":[{"photo_id":"1391777064","filename":"file5"},{"photo_id":"1391777053","filename":"file2"},{"photo_id":"1391777060","filename":"file4"},{"photo_id":"1391777050","filename":"file1"},{"photo_id":"1391777049","filename":"file0"},{"photo_id":"1391777056","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777049":["hashtag1","hashtag2"]},{"1391777064":["hashtag1","hashtag2"]},{"1391777060":["hashtag1","hashtag2"]},{"1391777056":["hashtag1","hashtag2"]},{"1391777050":["hashtag1","hashtag2"]},{"1391777053":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777049, 1391777064, 1391777060, 1391777056, 1391777050, 1391777053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.006035804748535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 03:18:22.317515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_43_2590.jpg', '/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_46_2753.jpg', '/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_49_3674.jpg', '/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_52_2533.jpg', '/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_54_2644.jpg', '/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_58_3770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_43_2590.jpg
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_46_2753.jpg
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_49_3674.jpg
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_52_2533.jpg
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_54_2644.jpg
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_58_3770.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.829427719116211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 03:18:42.383246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_43_2590.jpg', '/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_46_2753.jpg', '/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_49_3674.jpg', '/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_52_2533.jpg', '/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_54_2644.jpg', '/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_58_3770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_43_2590.jpg
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_46_2753.jpg
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_49_3674.jpg
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_52_2533.jpg
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_54_2644.jpg
/home/pi/Desktop/images/30102025/08/07/image_30102025_08_07_58_3770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777106","1391777102","1391777098","1391777110","1391777104","1391777107"],"photo_ids_order":["1391777098","1391777102","1391777104","1391777106","1391777107","1391777110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5aab98e688e95a66fae72eb864e4c9ab.jpg","text":"TemporaryFile(/tmp/multipartBody2306790181375420722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049983372,"filename":"image_30102025_08_07_52_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/2/8f33856017549ce99820f2b6a7defbe5.jpg","text":"TemporaryFile(/tmp/multipartBody6250152801135529768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049983372,"filename":"image_30102025_08_07_46_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/2/6317549a59e1805dcd07dd53b5834047.jpg","text":"TemporaryFile(/tmp/multipartBody9170716904811582205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049983372,"filename":"image_30102025_08_07_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/2/dd00d4db28549b1cd852b8a1a4c01279.jpg","text":"TemporaryFile(/tmp/multipartBody1487619340292193915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049983372,"filename":"image_30102025_08_07_58_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/2/4c38e2fe3390344ecfeeb1c20f5b0477.jpg","text":"TemporaryFile(/tmp/multipartBody7766690759798976235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049983372,"filename":"image_30102025_08_07_49_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/2/ace0f6a69f4025fc697ee2e953b33188.jpg","text":"TemporaryFile(/tmp/multipartBody9074759002537088464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762049983372,"filename":"image_30102025_08_07_54_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777104","file1":"1391777102","file0":"1391777098","file4":"1391777107","file5":"1391777110","file3":"1391777106"},"map_files_photo_id_array":[{"photo_id":"1391777110","filename":"file5"},{"photo_id":"1391777104","filename":"file2"},{"photo_id":"1391777107","filename":"file4"},{"photo_id":"1391777102","filename":"file1"},{"photo_id":"1391777098","filename":"file0"},{"photo_id":"1391777106","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777106":["hashtag1","hashtag2"]},{"1391777102":["hashtag1","hashtag2"]},{"1391777098":["hashtag1","hashtag2"]},{"1391777110":["hashtag1","hashtag2"]},{"1391777104":["hashtag1","hashtag2"]},{"1391777107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777106, 1391777102, 1391777098, 1391777110, 1391777104, 1391777107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17288541793823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 03:19:22.533337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_01_2664.jpg', '/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_04_2738.jpg', '/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_07_3686.jpg', '/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_10_2529.jpg', '/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_13_2655.jpg', '/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_16_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/08/08/image_30102025_08_08_01_2664.jpg
/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_04_2738.jpg
/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_07_3686.jpg
/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_10_2529.jpg
/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_13_2655.jpg
/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_16_3582.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777124","1391777127","1391777132","1391777135","1391777120","1391777138"],"photo_ids_order":["1391777120","1391777124","1391777127","1391777132","1391777135","1391777138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6524ed24321c1cfe374dd06b938ff9a7.jpg","text":"TemporaryFile(/tmp/multipartBody1490055857138045555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050024930,"filename":"image_30102025_08_08_04_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/2/079f3958710f44ffdac79e3d5f5deb5a.jpg","text":"TemporaryFile(/tmp/multipartBody2221982034640817850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050024930,"filename":"image_30102025_08_08_07_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/2/5d0192f201c4540476b54f02ab4b7782.jpg","text":"TemporaryFile(/tmp/multipartBody6326607582014612702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050024930,"filename":"image_30102025_08_08_10_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/2/bb14b30fad73a325c21cd0792c5f7ad7.jpg","text":"TemporaryFile(/tmp/multipartBody7948741610618415944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050024930,"filename":"image_30102025_08_08_13_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/2/d5b3f71cd1002eaf71e44a42d039398d.jpg","text":"TemporaryFile(/tmp/multipartBody7030233032794727100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050024930,"filename":"image_30102025_08_08_01_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/2/274718856413c78015ba869b5512fe05.jpg","text":"TemporaryFile(/tmp/multipartBody7019525398310265441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050024930,"filename":"image_30102025_08_08_16_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777127","file1":"1391777124","file0":"1391777120","file4":"1391777135","file5":"1391777138","file3":"1391777132"},"map_files_photo_id_array":[{"photo_id":"1391777138","filename":"file5"},{"photo_id":"1391777127","filename":"file2"},{"photo_id":"1391777135","filename":"file4"},{"photo_id":"1391777124","filename":"file1"},{"photo_id":"1391777120","filename":"file0"},{"photo_id":"1391777132","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777124":["hashtag1","hashtag2"]},{"1391777127":["hashtag1","hashtag2"]},{"1391777132":["hashtag1","hashtag2"]},{"1391777135":["hashtag1","hashtag2"]},{"1391777120":["hashtag1","hashtag2"]},{"1391777138":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777124, 1391777127, 1391777132, 1391777135, 1391777120, 1391777138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23469424247742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:20:03.347676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_19_2655.jpg', '/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_21_2671.jpg', '/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_25_3705.jpg', '/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_28_2535.jpg', '/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_31_3631.jpg', '/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_34_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/08/08/image_30102025_08_08_19_2655.jpg
/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_21_2671.jpg
/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_25_3705.jpg
/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_28_2535.jpg
/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_31_3631.jpg
/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_34_2576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777154","1391777157","1391777162","1391777159","1391777149","1391777152"],"photo_ids_order":["1391777149","1391777152","1391777154","1391777157","1391777159","1391777162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/07caae272a748f1fdcf01977e2f20ac6.jpg","text":"TemporaryFile(/tmp/multipartBody2059509959675028524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050065391,"filename":"image_30102025_08_08_25_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/2/fd666b0d42d73cc19a61fff91632523d.jpg","text":"TemporaryFile(/tmp/multipartBody7453547505594915711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050065391,"filename":"image_30102025_08_08_28_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/2/3ec69faf12555ac88ae4f8fbd9bfaddb.jpg","text":"TemporaryFile(/tmp/multipartBody6580138023471829377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050065391,"filename":"image_30102025_08_08_34_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/2/e9fe02dd95615d27f658388cce429179.jpg","text":"TemporaryFile(/tmp/multipartBody1788158116049935624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050065391,"filename":"image_30102025_08_08_31_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/2/19b3a324a54ad8e569931eb21ad4f1c9.jpg","text":"TemporaryFile(/tmp/multipartBody990932356308164459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050065391,"filename":"image_30102025_08_08_19_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/2/f3e270aa781e5c900378f3c2175415d1.jpg","text":"TemporaryFile(/tmp/multipartBody3807830943144137734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050065391,"filename":"image_30102025_08_08_21_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777154","file1":"1391777152","file0":"1391777149","file4":"1391777159","file5":"1391777162","file3":"1391777157"},"map_files_photo_id_array":[{"photo_id":"1391777162","filename":"file5"},{"photo_id":"1391777154","filename":"file2"},{"photo_id":"1391777159","filename":"file4"},{"photo_id":"1391777152","filename":"file1"},{"photo_id":"1391777149","filename":"file0"},{"photo_id":"1391777157","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777154":["hashtag1","hashtag2"]},{"1391777157":["hashtag1","hashtag2"]},{"1391777162":["hashtag1","hashtag2"]},{"1391777159":["hashtag1","hashtag2"]},{"1391777149":["hashtag1","hashtag2"]},{"1391777152":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777154, 1391777157, 1391777162, 1391777159, 1391777149, 1391777152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35499382019043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 03:20:42.853119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_36_2593.jpg', '/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_40_3533.jpg', '/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_43_2654.jpg', '/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_46_3649.jpg', '/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_49_2664.jpg', '/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_52_2855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_36_2593.jpg
/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_40_3533.jpg
/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_43_2654.jpg
/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_46_3649.jpg
/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_49_2664.jpg
/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_52_2855.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777187","1391777181","1391777174","1391777191","1391777184","1391777178"],"photo_ids_order":["1391777174","1391777178","1391777181","1391777184","1391777187","1391777191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cd0115ab94fabf1a2e56b72bac1a8d13.jpg","text":"TemporaryFile(/tmp/multipartBody8037799336454221156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050104056,"filename":"image_30102025_08_08_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/2/6538ad1c921ce2ee3ab317bc8bd2c379.jpg","text":"TemporaryFile(/tmp/multipartBody819553896526597494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050104056,"filename":"image_30102025_08_08_43_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/2/105f7449d60341d7e6784241ed312b17.jpg","text":"TemporaryFile(/tmp/multipartBody1205943976276833442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050104056,"filename":"image_30102025_08_08_36_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/2/1683de39152d177f7f2e27dcfc424ce2.jpg","text":"TemporaryFile(/tmp/multipartBody1994704182994814091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050104056,"filename":"image_30102025_08_08_52_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/2/fe215300787eb6f12a3f549c8f361b69.jpg","text":"TemporaryFile(/tmp/multipartBody375098570375153727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050104056,"filename":"image_30102025_08_08_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/2/f4a01706e69e2c252ee3b6593a080f7b.jpg","text":"TemporaryFile(/tmp/multipartBody5205194445559330499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050104056,"filename":"image_30102025_08_08_40_3533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777181","file1":"1391777178","file0":"1391777174","file4":"1391777187","file5":"1391777191","file3":"1391777184"},"map_files_photo_id_array":[{"photo_id":"1391777191","filename":"file5"},{"photo_id":"1391777181","filename":"file2"},{"photo_id":"1391777187","filename":"file4"},{"photo_id":"1391777178","filename":"file1"},{"photo_id":"1391777174","filename":"file0"},{"photo_id":"1391777184","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777187":["hashtag1","hashtag2"]},{"1391777181":["hashtag1","hashtag2"]},{"1391777174":["hashtag1","hashtag2"]},{"1391777191":["hashtag1","hashtag2"]},{"1391777184":["hashtag1","hashtag2"]},{"1391777178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777187, 1391777181, 1391777174, 1391777191, 1391777184, 1391777178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02319264411926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 03:21:22.005140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_55_2806.jpg', '/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_58_3582.jpg', '/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_01_2579.jpg', '/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_04_2694.jpg', '/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_07_3415.jpg', '/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_10_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_55_2806.jpg
/home/pi/Desktop/images/30102025/08/08/image_30102025_08_08_58_3582.jpg
/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_01_2579.jpg
/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_04_2694.jpg
/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_07_3415.jpg
/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_10_2732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777214","1391777217","1391777207","1391777204","1391777212","1391777209"],"photo_ids_order":["1391777204","1391777207","1391777209","1391777212","1391777214","1391777217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0ba0d317bb28a5b606337e45c13cec45.jpg","text":"TemporaryFile(/tmp/multipartBody4120483223479216168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050144645,"filename":"image_30102025_08_09_07_3415.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f5ca97dc578692a10946aa8312256dd5.jpg","text":"TemporaryFile(/tmp/multipartBody6871738118174976288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050144645,"filename":"image_30102025_08_09_10_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/2/9fc204baf8122ae21ac0287a7984fefa.jpg","text":"TemporaryFile(/tmp/multipartBody8528176789903919368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050144645,"filename":"image_30102025_08_08_58_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/2/f249f2a02a01ed591d1052b359a97368.jpg","text":"TemporaryFile(/tmp/multipartBody5825065372166211442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050144645,"filename":"image_30102025_08_08_55_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/2/54318b7616788178d927038450a22a2e.jpg","text":"TemporaryFile(/tmp/multipartBody7322163853603153469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050144645,"filename":"image_30102025_08_09_04_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/2/6e1a3f78ff4558fbd6cf3704f98b4f45.jpg","text":"TemporaryFile(/tmp/multipartBody6122031991434724032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050144645,"filename":"image_30102025_08_09_01_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777209","file1":"1391777207","file0":"1391777204","file4":"1391777214","file5":"1391777217","file3":"1391777212"},"map_files_photo_id_array":[{"photo_id":"1391777217","filename":"file5"},{"photo_id":"1391777209","filename":"file2"},{"photo_id":"1391777214","filename":"file4"},{"photo_id":"1391777207","filename":"file1"},{"photo_id":"1391777204","filename":"file0"},{"photo_id":"1391777212","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777214":["hashtag1","hashtag2"]},{"1391777217":["hashtag1","hashtag2"]},{"1391777207":["hashtag1","hashtag2"]},{"1391777204":["hashtag1","hashtag2"]},{"1391777212":["hashtag1","hashtag2"]},{"1391777209":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777214, 1391777217, 1391777207, 1391777204, 1391777212, 1391777209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.484277963638306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 03:22:21.831379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_12_2754.jpg', '/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_16_3671.jpg', '/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_19_2594.jpg', '/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_21_2761.jpg', '/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_25_3693.jpg', '/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_28_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/08/09/image_30102025_08_09_12_2754.jpg
/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_16_3671.jpg
/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_19_2594.jpg
/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_21_2761.jpg
/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_25_3693.jpg
/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_28_2689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777247","1391777241","1391777249","1391777236","1391777245","1391777233"],"photo_ids_order":["1391777233","1391777236","1391777241","1391777245","1391777247","1391777249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/84cfd12c25b4983281e21d2d1c0b2bdc.jpg","text":"TemporaryFile(/tmp/multipartBody2796838671951996117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050204460,"filename":"image_30102025_08_09_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/2/303774c4e2181ab83f79754a5fa51a2d.jpg","text":"TemporaryFile(/tmp/multipartBody4296793589541338081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050204460,"filename":"image_30102025_08_09_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/2/cba6e061aa0db1da5ed3cc78dfbf0b3c.jpg","text":"TemporaryFile(/tmp/multipartBody1552687521027960200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050204460,"filename":"image_30102025_08_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/2/9dbb54a97486c915a23022ec4e950f19.jpg","text":"TemporaryFile(/tmp/multipartBody229009865915520032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050204460,"filename":"image_30102025_08_09_16_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/2/3d7b6ff2f3bd51d88a8318ab50dd8302.jpg","text":"TemporaryFile(/tmp/multipartBody1597198094927613108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050204460,"filename":"image_30102025_08_09_21_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/2/532cda210fbe8faaba4bbbcaa95f055b.jpg","text":"TemporaryFile(/tmp/multipartBody8331848048837722164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050204460,"filename":"image_30102025_08_09_12_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777241","file1":"1391777236","file0":"1391777233","file4":"1391777247","file5":"1391777249","file3":"1391777245"},"map_files_photo_id_array":[{"photo_id":"1391777249","filename":"file5"},{"photo_id":"1391777241","filename":"file2"},{"photo_id":"1391777247","filename":"file4"},{"photo_id":"1391777236","filename":"file1"},{"photo_id":"1391777233","filename":"file0"},{"photo_id":"1391777245","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777247":["hashtag1","hashtag2"]},{"1391777241":["hashtag1","hashtag2"]},{"1391777249":["hashtag1","hashtag2"]},{"1391777236":["hashtag1","hashtag2"]},{"1391777245":["hashtag1","hashtag2"]},{"1391777233":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777247, 1391777241, 1391777249, 1391777236, 1391777245, 1391777233)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.76936435699463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 03:23:21.971953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_30_2594.jpg', '/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_34_3652.jpg', '/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_37_2638.jpg', '/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_39_2653.jpg', '/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_43_3613.jpg', '/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_46_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/08/09/image_30102025_08_09_30_2594.jpg
/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_34_3652.jpg
/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_37_2638.jpg
/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_39_2653.jpg
/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_43_3613.jpg
/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_46_2727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777265","1391777268","1391777273","1391777270","1391777266","1391777263"],"photo_ids_order":["1391777263","1391777265","1391777266","1391777268","1391777270","1391777273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7b120c3f4c1097f7670e66fed2b44958.jpg","text":"TemporaryFile(/tmp/multipartBody8854796594248453099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050264285,"filename":"image_30102025_08_09_34_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/2/f5b677a8f826be31b8c6c2250ed4903e.jpg","text":"TemporaryFile(/tmp/multipartBody6481565797390717290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050264285,"filename":"image_30102025_08_09_39_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/2/7d19de255c47bbe4cbe99710efaae735.jpg","text":"TemporaryFile(/tmp/multipartBody9134376472984967658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050264285,"filename":"image_30102025_08_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/2/d8eea200fda46aa5bd8cfee395e34448.jpg","text":"TemporaryFile(/tmp/multipartBody5972101071474776695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050264285,"filename":"image_30102025_08_09_43_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/2/711e68f4f30dabe82e66d11bd34fd038.jpg","text":"TemporaryFile(/tmp/multipartBody2515722344491978708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050264285,"filename":"image_30102025_08_09_37_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/2/23beb63a135ab4b394080bb03d00f6d4.jpg","text":"TemporaryFile(/tmp/multipartBody907480718491705421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050264285,"filename":"image_30102025_08_09_30_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777266","file1":"1391777265","file0":"1391777263","file4":"1391777270","file5":"1391777273","file3":"1391777268"},"map_files_photo_id_array":[{"photo_id":"1391777273","filename":"file5"},{"photo_id":"1391777266","filename":"file2"},{"photo_id":"1391777270","filename":"file4"},{"photo_id":"1391777265","filename":"file1"},{"photo_id":"1391777263","filename":"file0"},{"photo_id":"1391777268","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777265":["hashtag1","hashtag2"]},{"1391777268":["hashtag1","hashtag2"]},{"1391777273":["hashtag1","hashtag2"]},{"1391777270":["hashtag1","hashtag2"]},{"1391777266":["hashtag1","hashtag2"]},{"1391777263":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777265, 1391777268, 1391777273, 1391777270, 1391777266, 1391777263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22588634490967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:24:02.803821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_48_2684.jpg', '/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_52_3593.jpg', '/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_55_2752.jpg', '/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_57_2760.jpg', '/home/pi/Desktop/images/30102025/08/09/image_30102025_08_10_00_2778.jpg', '/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_04_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/08/09/image_30102025_08_09_48_2684.jpg
/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_52_3593.jpg
/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_55_2752.jpg
/home/pi/Desktop/images/30102025/08/09/image_30102025_08_09_57_2760.jpg
/home/pi/Desktop/images/30102025/08/09/image_30102025_08_10_00_2778.jpg
/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_04_3715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777291","1391777288","1391777293","1391777287","1391777295","1391777289"],"photo_ids_order":["1391777287","1391777288","1391777289","1391777291","1391777293","1391777295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/542c6d668b8fd229b6ec593e7bacd2d9.jpg","text":"TemporaryFile(/tmp/multipartBody5082205193484762250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050305114,"filename":"image_30102025_08_09_57_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/2/b36e1080423686fff386bfe9f382c047.jpg","text":"TemporaryFile(/tmp/multipartBody2155160613127192863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050305114,"filename":"image_30102025_08_09_52_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/2/c031c4f4488c4d76a38f4af2da9ee891.jpg","text":"TemporaryFile(/tmp/multipartBody4244456881298559915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050305114,"filename":"image_30102025_08_10_00_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/2/4676511f45f7a4207febdc967bbd5cd5.jpg","text":"TemporaryFile(/tmp/multipartBody6697799789295520421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050305114,"filename":"image_30102025_08_09_48_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/2/fd3e32844d118c64fc66a35ba5ca9179.jpg","text":"TemporaryFile(/tmp/multipartBody6456152137016615332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050305114,"filename":"image_30102025_08_10_04_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/2/7b03445f1a54d181698e27dda89c4d40.jpg","text":"TemporaryFile(/tmp/multipartBody5346219820611492841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050305114,"filename":"image_30102025_08_09_55_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777289","file1":"1391777288","file0":"1391777287","file4":"1391777293","file5":"1391777295","file3":"1391777291"},"map_files_photo_id_array":[{"photo_id":"1391777295","filename":"file5"},{"photo_id":"1391777289","filename":"file2"},{"photo_id":"1391777293","filename":"file4"},{"photo_id":"1391777288","filename":"file1"},{"photo_id":"1391777287","filename":"file0"},{"photo_id":"1391777291","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777291":["hashtag1","hashtag2"]},{"1391777288":["hashtag1","hashtag2"]},{"1391777293":["hashtag1","hashtag2"]},{"1391777287":["hashtag1","hashtag2"]},{"1391777295":["hashtag1","hashtag2"]},{"1391777289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777291, 1391777288, 1391777293, 1391777287, 1391777295, 1391777289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.610405921936035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 03:24:42.120740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_07_2661.jpg', '/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_09_2818.jpg', '/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_13_3691.jpg', '/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_16_2788.jpg', '/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_19_2751.jpg', '/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_21_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/08/10/image_30102025_08_10_07_2661.jpg
/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_09_2818.jpg
/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_13_3691.jpg
/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_16_2788.jpg
/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_19_2751.jpg
/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_21_2692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777322","1391777325","1391777319","1391777310","1391777315","1391777326"],"photo_ids_order":["1391777310","1391777315","1391777319","1391777322","1391777325","1391777326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c8dafb2fea26bb4872fb609b78ff55cb.jpg","text":"TemporaryFile(/tmp/multipartBody9029557337939829651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050343210,"filename":"image_30102025_08_10_16_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/2/c9c9877ca1a2b87648323d3300cfbfdc.jpg","text":"TemporaryFile(/tmp/multipartBody3386641469127977326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050343210,"filename":"image_30102025_08_10_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/2/02ba362a88f20b49e84874ba7d9ef420.jpg","text":"TemporaryFile(/tmp/multipartBody3190626303563872722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050343210,"filename":"image_30102025_08_10_13_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/2/5a5796dd9f50493bf5e6942fdd60a7a2.jpg","text":"TemporaryFile(/tmp/multipartBody3325679126679712319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050343210,"filename":"image_30102025_08_10_07_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/2/74cafa02c656b536e887b6b33d0ff1cf.jpg","text":"TemporaryFile(/tmp/multipartBody8660788567430693199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050343210,"filename":"image_30102025_08_10_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/2/1fe9da468a2e1b5b0231bb1e1f66919d.jpg","text":"TemporaryFile(/tmp/multipartBody2493765213493192844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050343210,"filename":"image_30102025_08_10_21_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777319","file1":"1391777315","file0":"1391777310","file4":"1391777325","file5":"1391777326","file3":"1391777322"},"map_files_photo_id_array":[{"photo_id":"1391777326","filename":"file5"},{"photo_id":"1391777319","filename":"file2"},{"photo_id":"1391777325","filename":"file4"},{"photo_id":"1391777315","filename":"file1"},{"photo_id":"1391777310","filename":"file0"},{"photo_id":"1391777322","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777322":["hashtag1","hashtag2"]},{"1391777325":["hashtag1","hashtag2"]},{"1391777319":["hashtag1","hashtag2"]},{"1391777310":["hashtag1","hashtag2"]},{"1391777315":["hashtag1","hashtag2"]},{"1391777326":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777322, 1391777325, 1391777319, 1391777310, 1391777315, 1391777326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.452630043029785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 03:25:22.149376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_25_3674.jpg', '/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_28_2718.jpg', '/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_30_2682.jpg', '/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_33_2745.jpg', '/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_37_3692.jpg', '/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_40_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/08/10/image_30102025_08_10_25_3674.jpg
/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_28_2718.jpg
/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_30_2682.jpg
/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_33_2745.jpg
/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_37_3692.jpg
/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_40_2662.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5555381774902344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 03:25:42.291622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_25_3674.jpg', '/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_28_2718.jpg', '/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_30_2682.jpg', '/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_33_2745.jpg', '/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_37_3692.jpg', '/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_40_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/08/10/image_30102025_08_10_25_3674.jpg
/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_28_2718.jpg
/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_30_2682.jpg
/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_33_2745.jpg
/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_37_3692.jpg
/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_40_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777358","1391777361","1391777354","1391777351","1391777348","1391777359"],"photo_ids_order":["1391777348","1391777351","1391777354","1391777358","1391777359","1391777361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e70c81dc146d9142b726dbb15dd6e283.jpg","text":"TemporaryFile(/tmp/multipartBody6210142165598713132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050403302,"filename":"image_30102025_08_10_33_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/2/ca99c6309409d0cef68f4351453f4a10.jpg","text":"TemporaryFile(/tmp/multipartBody7208020230354534790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050403302,"filename":"image_30102025_08_10_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/2/a1764f60470d9d73cea36edae2454671.jpg","text":"TemporaryFile(/tmp/multipartBody655654352375621508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050403302,"filename":"image_30102025_08_10_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/2/8d84a94206b1362511e7b3438f119c07.jpg","text":"TemporaryFile(/tmp/multipartBody4720074305398224872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050403302,"filename":"image_30102025_08_10_28_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/2/b4015499390da19abaab51531212a781.jpg","text":"TemporaryFile(/tmp/multipartBody2291906220786580179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050403302,"filename":"image_30102025_08_10_25_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/2/6d822da654388cac35287be3d3cc5799.jpg","text":"TemporaryFile(/tmp/multipartBody8916713079163360524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050403302,"filename":"image_30102025_08_10_37_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777354","file1":"1391777351","file0":"1391777348","file4":"1391777359","file5":"1391777361","file3":"1391777358"},"map_files_photo_id_array":[{"photo_id":"1391777361","filename":"file5"},{"photo_id":"1391777354","filename":"file2"},{"photo_id":"1391777359","filename":"file4"},{"photo_id":"1391777351","filename":"file1"},{"photo_id":"1391777348","filename":"file0"},{"photo_id":"1391777358","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777358":["hashtag1","hashtag2"]},{"1391777361":["hashtag1","hashtag2"]},{"1391777354":["hashtag1","hashtag2"]},{"1391777351":["hashtag1","hashtag2"]},{"1391777348":["hashtag1","hashtag2"]},{"1391777359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777358, 1391777361, 1391777354, 1391777351, 1391777348, 1391777359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56503415107727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 03:26:22.402628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_42_2695.jpg', '/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_46_3606.jpg', '/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_49_2631.jpg', '/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_51_2664.jpg', '/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_55_3803.jpg', '/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_58_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/08/10/image_30102025_08_10_42_2695.jpg
/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_46_3606.jpg
/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_49_2631.jpg
/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_51_2664.jpg
/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_55_3803.jpg
/home/pi/Desktop/images/30102025/08/10/image_30102025_08_10_58_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":["1391777370","1391777378","1391777383","1391777395","1391777374","1391777388"],"photo_ids_order":["1391777370","1391777374","1391777378","1391777383","1391777388","1391777395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ef5ec46b69dd4b9a0088771bf8ac6e9a.jpg","text":"TemporaryFile(/tmp/multipartBody729609996861030961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050452147,"filename":"image_30102025_08_10_42_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/2/8b67ea578250d56eb9e8939ba03655df.jpg","text":"TemporaryFile(/tmp/multipartBody4052357581769915225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050452147,"filename":"image_30102025_08_10_49_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/2/ff2344a73a3b092bfe75d18b3efcc51d.jpg","text":"TemporaryFile(/tmp/multipartBody6949046374037445177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050452147,"filename":"image_30102025_08_10_51_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/2/d2d731741ac2db34e18f3d6e06a39e97.jpg","text":"TemporaryFile(/tmp/multipartBody2537326052888666716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050452147,"filename":"image_30102025_08_10_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/2/a6969b1c579fb7e390fb08ee3c6c3d1c.jpg","text":"TemporaryFile(/tmp/multipartBody2066968106622975162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050452147,"filename":"image_30102025_08_10_46_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/2/b386451c3ea9db40fd4e39350b642a35.jpg","text":"TemporaryFile(/tmp/multipartBody6024544207332570163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050452147,"filename":"image_30102025_08_10_55_3803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777378","file1":"1391777374","file0":"1391777370","file4":"1391777388","file5":"1391777395","file3":"1391777383"},"map_files_photo_id_array":[{"photo_id":"1391777395","filename":"file5"},{"photo_id":"1391777378","filename":"file2"},{"photo_id":"1391777388","filename":"file4"},{"photo_id":"1391777374","filename":"file1"},{"photo_id":"1391777370","filename":"file0"},{"photo_id":"1391777383","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777370":["hashtag1","hashtag2"]},{"1391777378":["hashtag1","hashtag2"]},{"1391777383":["hashtag1","hashtag2"]},{"1391777395":["hashtag1","hashtag2"]},{"1391777374":["hashtag1","hashtag2"]},{"1391777388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777370, 1391777378, 1391777383, 1391777395, 1391777374, 1391777388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.327613830566406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 03:27:22.645961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/10/image_30102025_08_11_00_2706.jpg', '/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_04_3613.jpg', '/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_07_2682.jpg', '/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_10_2764.jpg', '/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_12_2724.jpg', '/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_16_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/10/image_30102025_08_11_00_2706.jpg
/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_04_3613.jpg
/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_07_2682.jpg
/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_10_2764.jpg
/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_12_2724.jpg
/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_16_3694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777430","1391777421","1391777417","1391777426","1391777410","1391777413"],"photo_ids_order":["1391777410","1391777413","1391777417","1391777421","1391777426","1391777430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ed922e7c6dc728fa9715077c89f92839.jpg","text":"TemporaryFile(/tmp/multipartBody2221792321890132976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050505318,"filename":"image_30102025_08_11_16_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/2/fdec9a50140bdfa231236e932aa9eec1.jpg","text":"TemporaryFile(/tmp/multipartBody6892208462493374578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050505318,"filename":"image_30102025_08_11_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/2/b9dc9d76e65683a98a8fc8cd77a62dd4.jpg","text":"TemporaryFile(/tmp/multipartBody6213409514839429662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050505318,"filename":"image_30102025_08_11_07_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/2/4b0e6d13222fae5b6f8def77bb14ae18.jpg","text":"TemporaryFile(/tmp/multipartBody746948896135817332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050505318,"filename":"image_30102025_08_11_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/2/b8c14da7477d3187ce82fe48f589d11b.jpg","text":"TemporaryFile(/tmp/multipartBody6314038759045107014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050505318,"filename":"image_30102025_08_11_00_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/2/50c7c42ed0664ed20ae74e99dda48d59.jpg","text":"TemporaryFile(/tmp/multipartBody7499808945167940242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050505318,"filename":"image_30102025_08_11_04_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777417","file1":"1391777413","file0":"1391777410","file4":"1391777426","file5":"1391777430","file3":"1391777421"},"map_files_photo_id_array":[{"photo_id":"1391777430","filename":"file5"},{"photo_id":"1391777417","filename":"file2"},{"photo_id":"1391777426","filename":"file4"},{"photo_id":"1391777413","filename":"file1"},{"photo_id":"1391777410","filename":"file0"},{"photo_id":"1391777421","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777430":["hashtag1","hashtag2"]},{"1391777421":["hashtag1","hashtag2"]},{"1391777417":["hashtag1","hashtag2"]},{"1391777426":["hashtag1","hashtag2"]},{"1391777410":["hashtag1","hashtag2"]},{"1391777413":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777430, 1391777421, 1391777417, 1391777426, 1391777410, 1391777413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47625374794006 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-02 03:28:21.791713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_19_2649.jpg', '/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_21_2660.jpg', '/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_25_3626.jpg', '/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_28_2635.jpg', '/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_30_2708.jpg', '/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_34_3746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_19_2649.jpg
/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_21_2660.jpg
/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_25_3626.jpg
/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_28_2635.jpg
/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_30_2708.jpg
/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_34_3746.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777442","1391777451","1391777445","1391777447","1391777455","1391777449"],"photo_ids_order":["1391777442","1391777445","1391777447","1391777449","1391777451","1391777455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/430c6fbe4a7e1a5c020d7752bd6eacea.jpg","text":"TemporaryFile(/tmp/multipartBody4155600355087327344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050564173,"filename":"image_30102025_08_11_19_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/2/9a437d631b4728615661965121fa5941.jpg","text":"TemporaryFile(/tmp/multipartBody7360592441086421334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050564173,"filename":"image_30102025_08_11_30_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/2/8f966bc9b9ec0a2d9477621381353ae6.jpg","text":"TemporaryFile(/tmp/multipartBody8514748402847703085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050564173,"filename":"image_30102025_08_11_21_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/2/09b02ca9d7ef11c0a165692ed069d0d1.jpg","text":"TemporaryFile(/tmp/multipartBody8670486173291590859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050564173,"filename":"image_30102025_08_11_25_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/2/f50ce206a361f9beebbb153442c30bad.jpg","text":"TemporaryFile(/tmp/multipartBody8343591871621611506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050564173,"filename":"image_30102025_08_11_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/2/de04c91d0bb1559082850ade89e06549.jpg","text":"TemporaryFile(/tmp/multipartBody547805575838884387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050564173,"filename":"image_30102025_08_11_28_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777447","file1":"1391777445","file0":"1391777442","file4":"1391777451","file5":"1391777455","file3":"1391777449"},"map_files_photo_id_array":[{"photo_id":"1391777455","filename":"file5"},{"photo_id":"1391777447","filename":"file2"},{"photo_id":"1391777451","filename":"file4"},{"photo_id":"1391777445","filename":"file1"},{"photo_id":"1391777442","filename":"file0"},{"photo_id":"1391777449","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777442":["hashtag1","hashtag2"]},{"1391777451":["hashtag1","hashtag2"]},{"1391777445":["hashtag1","hashtag2"]},{"1391777447":["hashtag1","hashtag2"]},{"1391777455":["hashtag1","hashtag2"]},{"1391777449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777442, 1391777451, 1391777445, 1391777447, 1391777455, 1391777449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.865113973617554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:29:03.028424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_37_2806.jpg', '/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_40_2730.jpg', '/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_42_2564.jpg', '/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_46_3619.jpg', '/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_48_2660.jpg', '/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_51_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/08/11/image_30102025_08_11_37_2806.jpg
/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_40_2730.jpg
/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_42_2564.jpg
/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_46_3619.jpg
/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_48_2660.jpg
/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_51_2933.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777472","1391777466","1391777471","1391777479","1391777475","1391777469"],"photo_ids_order":["1391777466","1391777469","1391777471","1391777472","1391777475","1391777479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b012d4540d09d2392774c140d5ba6e35.jpg","text":"TemporaryFile(/tmp/multipartBody8740327022170443919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050605291,"filename":"image_30102025_08_11_46_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/2/8a51f0806d59cd9d3e37931abf12cc1f.jpg","text":"TemporaryFile(/tmp/multipartBody6053792176152323610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050605291,"filename":"image_30102025_08_11_37_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/2/630a458469e14024ef974e3030074bd3.jpg","text":"TemporaryFile(/tmp/multipartBody5134455990704909340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050605291,"filename":"image_30102025_08_11_42_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/2/a2a85883fb1bf443e63014003b299d2e.jpg","text":"TemporaryFile(/tmp/multipartBody1302702064963428351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050605291,"filename":"image_30102025_08_11_51_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/2/5fb6e795095f2cf744c3f256df68603a.jpg","text":"TemporaryFile(/tmp/multipartBody3370597762466045967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050605291,"filename":"image_30102025_08_11_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/2/1417152f3e40906028c985ea56116e6f.jpg","text":"TemporaryFile(/tmp/multipartBody6565672951602199389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050605291,"filename":"image_30102025_08_11_40_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777471","file1":"1391777469","file0":"1391777466","file4":"1391777475","file5":"1391777479","file3":"1391777472"},"map_files_photo_id_array":[{"photo_id":"1391777479","filename":"file5"},{"photo_id":"1391777471","filename":"file2"},{"photo_id":"1391777475","filename":"file4"},{"photo_id":"1391777469","filename":"file1"},{"photo_id":"1391777466","filename":"file0"},{"photo_id":"1391777472","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777472":["hashtag1","hashtag2"]},{"1391777466":["hashtag1","hashtag2"]},{"1391777471":["hashtag1","hashtag2"]},{"1391777479":["hashtag1","hashtag2"]},{"1391777475":["hashtag1","hashtag2"]},{"1391777469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777472, 1391777466, 1391777471, 1391777479, 1391777475, 1391777469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19580030441284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:30:02.573626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_55_3657.jpg', '/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_58_2575.jpg', '/home/pi/Desktop/images/30102025/08/11/image_30102025_08_12_00_2730.jpg', '/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_04_3720.jpg', '/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_07_2719.jpg', '/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_09_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/08/11/image_30102025_08_11_55_3657.jpg
/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_58_2575.jpg
/home/pi/Desktop/images/30102025/08/11/image_30102025_08_12_00_2730.jpg
/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_04_3720.jpg
/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_07_2719.jpg
/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_09_2700.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.983884334564209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 03:30:22.051759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_55_3657.jpg', '/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_58_2575.jpg', '/home/pi/Desktop/images/30102025/08/11/image_30102025_08_12_00_2730.jpg', '/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_04_3720.jpg', '/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_07_2719.jpg', '/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_09_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/08/11/image_30102025_08_11_55_3657.jpg
/home/pi/Desktop/images/30102025/08/11/image_30102025_08_11_58_2575.jpg
/home/pi/Desktop/images/30102025/08/11/image_30102025_08_12_00_2730.jpg
/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_04_3720.jpg
/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_07_2719.jpg
/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_09_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777529","1391777520","1391777525","1391777507","1391777515","1391777512"],"photo_ids_order":["1391777507","1391777512","1391777515","1391777520","1391777525","1391777529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/580683832ba5a8d527c302c7faf81abd.jpg","text":"TemporaryFile(/tmp/multipartBody1848496482090392098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050684557,"filename":"image_30102025_08_12_09_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/2/b2483befe70d0a23953096629ec2b9d1.jpg","text":"TemporaryFile(/tmp/multipartBody1034565317419972743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050684557,"filename":"image_30102025_08_12_04_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/2/6ac32f1aa8f83e2cc00e308719334e91.jpg","text":"TemporaryFile(/tmp/multipartBody3210883012997630273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050684557,"filename":"image_30102025_08_12_07_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/2/8124ff9e19183e517181827496f231b2.jpg","text":"TemporaryFile(/tmp/multipartBody7753531081756136187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050684557,"filename":"image_30102025_08_11_55_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/2/5668fb9ebddd8d9b6dc53967349d4bcb.jpg","text":"TemporaryFile(/tmp/multipartBody17506187705922840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050684557,"filename":"image_30102025_08_12_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/2/67aa9ee66061f01803ac92b629c34b9e.jpg","text":"TemporaryFile(/tmp/multipartBody8724968982063013298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050684557,"filename":"image_30102025_08_11_58_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777515","file1":"1391777512","file0":"1391777507","file4":"1391777525","file5":"1391777529","file3":"1391777520"},"map_files_photo_id_array":[{"photo_id":"1391777529","filename":"file5"},{"photo_id":"1391777515","filename":"file2"},{"photo_id":"1391777525","filename":"file4"},{"photo_id":"1391777512","filename":"file1"},{"photo_id":"1391777507","filename":"file0"},{"photo_id":"1391777520","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777529":["hashtag1","hashtag2"]},{"1391777520":["hashtag1","hashtag2"]},{"1391777525":["hashtag1","hashtag2"]},{"1391777507":["hashtag1","hashtag2"]},{"1391777515":["hashtag1","hashtag2"]},{"1391777512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777529, 1391777520, 1391777525, 1391777507, 1391777515, 1391777512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.995107889175415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:31:02.926696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_12_2694.jpg', '/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_16_3664.jpg', '/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_18_2644.jpg', '/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_22_3592.jpg', '/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_25_2672.jpg', '/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_27_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/08/12/image_30102025_08_12_12_2694.jpg
/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_16_3664.jpg
/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_18_2644.jpg
/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_22_3592.jpg
/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_25_2672.jpg
/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_27_2734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777541","1391777538","1391777549","1391777543","1391777537","1391777546"],"photo_ids_order":["1391777537","1391777538","1391777541","1391777543","1391777546","1391777549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1bca901e298775875e2b3cbfa0a69ede.jpg","text":"TemporaryFile(/tmp/multipartBody5409634534948192826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050725107,"filename":"image_30102025_08_12_18_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/2/6ead6eea02e8799a32aa7bcb11e0ca60.jpg","text":"TemporaryFile(/tmp/multipartBody9099547716708799629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050725107,"filename":"image_30102025_08_12_16_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/2/c2c4c6454b1874a333caa5c0864afc34.jpg","text":"TemporaryFile(/tmp/multipartBody4627365724127284948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050725107,"filename":"image_30102025_08_12_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/2/732ccef2aef3c95e32700a11e75c5ab2.jpg","text":"TemporaryFile(/tmp/multipartBody7053017852921985813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050725107,"filename":"image_30102025_08_12_22_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/2/1aeb43149cad88e5be51a8276ca1be81.jpg","text":"TemporaryFile(/tmp/multipartBody6220901822231847151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050725107,"filename":"image_30102025_08_12_12_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/2/ccb0191dc6ecbb1f5d436a4002b53370.jpg","text":"TemporaryFile(/tmp/multipartBody3590936059861463488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050725107,"filename":"image_30102025_08_12_25_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777541","file1":"1391777538","file0":"1391777537","file4":"1391777546","file5":"1391777549","file3":"1391777543"},"map_files_photo_id_array":[{"photo_id":"1391777549","filename":"file5"},{"photo_id":"1391777541","filename":"file2"},{"photo_id":"1391777546","filename":"file4"},{"photo_id":"1391777538","filename":"file1"},{"photo_id":"1391777537","filename":"file0"},{"photo_id":"1391777543","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777541":["hashtag1","hashtag2"]},{"1391777538":["hashtag1","hashtag2"]},{"1391777549":["hashtag1","hashtag2"]},{"1391777543":["hashtag1","hashtag2"]},{"1391777537":["hashtag1","hashtag2"]},{"1391777546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777541, 1391777538, 1391777549, 1391777543, 1391777537, 1391777546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40922999382019 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 03:31:42.307693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_30_2749.jpg', '/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_34_3713.jpg', '/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_37_2884.jpg', '/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_39_2574.jpg', '/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_43_3636.jpg', '/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_45_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/08/12/image_30102025_08_12_30_2749.jpg
/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_34_3713.jpg
/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_37_2884.jpg
/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_39_2574.jpg
/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_43_3636.jpg
/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_45_2523.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777562","1391777556","1391777570","1391777575","1391777572","1391777566"],"photo_ids_order":["1391777556","1391777562","1391777566","1391777570","1391777572","1391777575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/192a097d054ea08edf836ffbc444f23c.jpg","text":"TemporaryFile(/tmp/multipartBody4383231216911068230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050763413,"filename":"image_30102025_08_12_34_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/2/059c6b4045d97e0252e53f467c55b92f.jpg","text":"TemporaryFile(/tmp/multipartBody323363190765913361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050763413,"filename":"image_30102025_08_12_30_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/2/9e8e22533f7a259fec3faca87348f896.jpg","text":"TemporaryFile(/tmp/multipartBody4837684212338779171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050763413,"filename":"image_30102025_08_12_39_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/2/9ca91d7bd79c4cdbdb72b8b0e2aaee2e.jpg","text":"TemporaryFile(/tmp/multipartBody8295730822702582199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050763413,"filename":"image_30102025_08_12_45_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/2/793a2b64a8a8f7ef8274a48848153ca2.jpg","text":"TemporaryFile(/tmp/multipartBody8807244133845677185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050763413,"filename":"image_30102025_08_12_43_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/2/b66f77f025a4e91983114459eee19866.jpg","text":"TemporaryFile(/tmp/multipartBody110529788321374877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050763413,"filename":"image_30102025_08_12_37_2884.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777566","file1":"1391777562","file0":"1391777556","file4":"1391777572","file5":"1391777575","file3":"1391777570"},"map_files_photo_id_array":[{"photo_id":"1391777575","filename":"file5"},{"photo_id":"1391777566","filename":"file2"},{"photo_id":"1391777572","filename":"file4"},{"photo_id":"1391777562","filename":"file1"},{"photo_id":"1391777556","filename":"file0"},{"photo_id":"1391777570","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777562":["hashtag1","hashtag2"]},{"1391777556":["hashtag1","hashtag2"]},{"1391777570":["hashtag1","hashtag2"]},{"1391777575":["hashtag1","hashtag2"]},{"1391777572":["hashtag1","hashtag2"]},{"1391777566":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777562, 1391777556, 1391777570, 1391777575, 1391777572, 1391777566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11000323295593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 03:32:22.422971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_48_2678.jpg', '/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_51_2810.jpg', '/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_55_3902.jpg', '/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_58_2639.jpg', '/home/pi/Desktop/images/30102025/08/12/image_30102025_08_13_00_2735.jpg', '/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_03_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/08/12/image_30102025_08_12_48_2678.jpg
/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_51_2810.jpg
/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_55_3902.jpg
/home/pi/Desktop/images/30102025/08/12/image_30102025_08_12_58_2639.jpg
/home/pi/Desktop/images/30102025/08/12/image_30102025_08_13_00_2735.jpg
/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_03_2731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777585","1391777588","1391777582","1391777590","1391777586","1391777595"],"photo_ids_order":["1391777582","1391777585","1391777586","1391777588","1391777590","1391777595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7bd98bc6f0cf855c87884acf34df26dd.jpg","text":"TemporaryFile(/tmp/multipartBody6337853035956031013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050805061,"filename":"image_30102025_08_12_51_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/2/0573deb7ff2bf46604f0269e9815511d.jpg","text":"TemporaryFile(/tmp/multipartBody8817847042726773791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050805061,"filename":"image_30102025_08_12_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/2/79f36d344abc3c5c06b88a4743f69c3f.jpg","text":"TemporaryFile(/tmp/multipartBody6576838535855564262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050805061,"filename":"image_30102025_08_12_48_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/2/3403a7f93ee9442a717b13094ff75573.jpg","text":"TemporaryFile(/tmp/multipartBody5770634140973325847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050805061,"filename":"image_30102025_08_13_00_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/2/1efc34de1eac38854a6dc81ba5aa90e1.jpg","text":"TemporaryFile(/tmp/multipartBody5893482483460269233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050805061,"filename":"image_30102025_08_12_55_3902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/196562f25429fcffe36bf520d9857a67.jpg","text":"TemporaryFile(/tmp/multipartBody8124515599287431399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050805061,"filename":"image_30102025_08_13_03_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777586","file1":"1391777585","file0":"1391777582","file4":"1391777590","file5":"1391777595","file3":"1391777588"},"map_files_photo_id_array":[{"photo_id":"1391777595","filename":"file5"},{"photo_id":"1391777586","filename":"file2"},{"photo_id":"1391777590","filename":"file4"},{"photo_id":"1391777585","filename":"file1"},{"photo_id":"1391777582","filename":"file0"},{"photo_id":"1391777588","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777585":["hashtag1","hashtag2"]},{"1391777588":["hashtag1","hashtag2"]},{"1391777582":["hashtag1","hashtag2"]},{"1391777590":["hashtag1","hashtag2"]},{"1391777586":["hashtag1","hashtag2"]},{"1391777595":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777585, 1391777588, 1391777582, 1391777590, 1391777586, 1391777595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16274118423462 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:33:03.248905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_07_3758.jpg', '/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_09_2679.jpg', '/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_12_2603.jpg', '/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_18_2607.jpg', '/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_25_3768.jpg', '/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_28_2820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_07_3758.jpg
/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_09_2679.jpg
/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_12_2603.jpg
/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_18_2607.jpg
/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_25_3768.jpg
/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_28_2820.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777619","1391777613","1391777616","1391777606","1391777609","1391777611"],"photo_ids_order":["1391777606","1391777609","1391777611","1391777613","1391777616","1391777619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c5b3fe70a1adaade563477247d8e5f13.jpg","text":"TemporaryFile(/tmp/multipartBody3591107151992566065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050845434,"filename":"image_30102025_08_13_28_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/2/f5746a6c79edc70ed05d6641035ad523.jpg","text":"TemporaryFile(/tmp/multipartBody3265217542335913983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050845434,"filename":"image_30102025_08_13_18_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/2/e725a17bf4203a6e909206b206c13340.jpg","text":"TemporaryFile(/tmp/multipartBody5232639724004365323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050845434,"filename":"image_30102025_08_13_25_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/2/989a8b911d147ae4cf77d03a2af22d69.jpg","text":"TemporaryFile(/tmp/multipartBody1070682339748999942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050845434,"filename":"image_30102025_08_13_07_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/2/d67ae4c148d64996606885672be134e0.jpg","text":"TemporaryFile(/tmp/multipartBody4548603621476765110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050845434,"filename":"image_30102025_08_13_09_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/2/4dbc4178ad24188744d4ded2c9601207.jpg","text":"TemporaryFile(/tmp/multipartBody213060910613443416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050845434,"filename":"image_30102025_08_13_12_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777611","file1":"1391777609","file0":"1391777606","file4":"1391777616","file5":"1391777619","file3":"1391777613"},"map_files_photo_id_array":[{"photo_id":"1391777619","filename":"file5"},{"photo_id":"1391777611","filename":"file2"},{"photo_id":"1391777616","filename":"file4"},{"photo_id":"1391777609","filename":"file1"},{"photo_id":"1391777606","filename":"file0"},{"photo_id":"1391777613","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777619":["hashtag1","hashtag2"]},{"1391777613":["hashtag1","hashtag2"]},{"1391777616":["hashtag1","hashtag2"]},{"1391777606":["hashtag1","hashtag2"]},{"1391777609":["hashtag1","hashtag2"]},{"1391777611":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777619, 1391777613, 1391777616, 1391777606, 1391777609, 1391777611)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.083914279937744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:34:03.453131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_30_2605.jpg', '/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_34_3685.jpg', '/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_37_2790.jpg', '/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_39_2673.jpg', '/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_45_2892.jpg', '/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_49_3533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_30_2605.jpg
/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_34_3685.jpg
/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_37_2790.jpg
/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_39_2673.jpg
/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_45_2892.jpg
/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_49_3533.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777651","1391777648","1391777642","1391777636","1391777645","1391777639"],"photo_ids_order":["1391777636","1391777639","1391777642","1391777645","1391777648","1391777651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5d109397959bc8ef7c1da7992ec05ebd.jpg","text":"TemporaryFile(/tmp/multipartBody8879154188958150896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050905640,"filename":"image_30102025_08_13_49_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/2/230ab97ea7aa2ae9273424cc53798505.jpg","text":"TemporaryFile(/tmp/multipartBody119634334092167565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050905640,"filename":"image_30102025_08_13_45_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/2/fea0db6ae2b12fa38f2642f57e6efb0c.jpg","text":"TemporaryFile(/tmp/multipartBody7987178664189462962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050905640,"filename":"image_30102025_08_13_37_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/2/98434546d3d991438fa247acc137f704.jpg","text":"TemporaryFile(/tmp/multipartBody4876512833344401442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050905640,"filename":"image_30102025_08_13_30_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/2/7ce49cc00f4ff5098e92a2e1776b76f0.jpg","text":"TemporaryFile(/tmp/multipartBody8223543203850248671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050905640,"filename":"image_30102025_08_13_39_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/2/d7d8379cab0eb46c23c798dfd38b6a08.jpg","text":"TemporaryFile(/tmp/multipartBody1408041907035148290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050905640,"filename":"image_30102025_08_13_34_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777642","file1":"1391777639","file0":"1391777636","file4":"1391777648","file5":"1391777651","file3":"1391777645"},"map_files_photo_id_array":[{"photo_id":"1391777651","filename":"file5"},{"photo_id":"1391777642","filename":"file2"},{"photo_id":"1391777648","filename":"file4"},{"photo_id":"1391777639","filename":"file1"},{"photo_id":"1391777636","filename":"file0"},{"photo_id":"1391777645","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777651":["hashtag1","hashtag2"]},{"1391777648":["hashtag1","hashtag2"]},{"1391777642":["hashtag1","hashtag2"]},{"1391777636":["hashtag1","hashtag2"]},{"1391777645":["hashtag1","hashtag2"]},{"1391777639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777651, 1391777648, 1391777642, 1391777636, 1391777645, 1391777639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42489266395569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 03:34:42.838636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_51_2839.jpg', '/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_58_3737.jpg', '/home/pi/Desktop/images/30102025/08/13/image_30102025_08_14_00_2732.jpg', '/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_03_2559.jpg', '/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_07_3634.jpg', '/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_09_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/08/13/image_30102025_08_13_51_2839.jpg
/home/pi/Desktop/images/30102025/08/13/image_30102025_08_13_58_3737.jpg
/home/pi/Desktop/images/30102025/08/13/image_30102025_08_14_00_2732.jpg
/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_03_2559.jpg
/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_07_3634.jpg
/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_09_2635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777676","1391777664","1391777669","1391777660","1391777656","1391777673"],"photo_ids_order":["1391777656","1391777660","1391777664","1391777669","1391777673","1391777676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b080655d0297cd69593346aa3e33f25b.jpg","text":"TemporaryFile(/tmp/multipartBody220732871406958580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050943884,"filename":"image_30102025_08_14_09_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/2/916c4865807ef346410d0aec058329ab.jpg","text":"TemporaryFile(/tmp/multipartBody221948837778936082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050943884,"filename":"image_30102025_08_14_00_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/2/49565a4bebd7dd8e9af39ef3a80193f3.jpg","text":"TemporaryFile(/tmp/multipartBody6397776853131459007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050943884,"filename":"image_30102025_08_14_03_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/2/86dc7da442988dcf87070159a74c71ce.jpg","text":"TemporaryFile(/tmp/multipartBody4144783722945455842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050943884,"filename":"image_30102025_08_13_58_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/2/aa9c4bb8d5f0d1866cc4caabcdcf70d5.jpg","text":"TemporaryFile(/tmp/multipartBody8981034751493705682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050943884,"filename":"image_30102025_08_13_51_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/2/f493e24f50537848891139d6a0c1f9ac.jpg","text":"TemporaryFile(/tmp/multipartBody3510643535468004474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050943884,"filename":"image_30102025_08_14_07_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777664","file1":"1391777660","file0":"1391777656","file4":"1391777673","file5":"1391777676","file3":"1391777669"},"map_files_photo_id_array":[{"photo_id":"1391777676","filename":"file5"},{"photo_id":"1391777664","filename":"file2"},{"photo_id":"1391777673","filename":"file4"},{"photo_id":"1391777660","filename":"file1"},{"photo_id":"1391777656","filename":"file0"},{"photo_id":"1391777669","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777676":["hashtag1","hashtag2"]},{"1391777664":["hashtag1","hashtag2"]},{"1391777669":["hashtag1","hashtag2"]},{"1391777660":["hashtag1","hashtag2"]},{"1391777656":["hashtag1","hashtag2"]},{"1391777673":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777676, 1391777664, 1391777669, 1391777660, 1391777656, 1391777673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.605326414108276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 03:35:21.999437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_12_2807.jpg', '/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_16_3613.jpg', '/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_18_2682.jpg', '/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_21_2651.jpg', '/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_25_3690.jpg', '/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_28_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/08/14/image_30102025_08_14_12_2807.jpg
/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_16_3613.jpg
/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_18_2682.jpg
/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_21_2651.jpg
/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_25_3690.jpg
/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_28_2747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777684","1391777681","1391777692","1391777695","1391777689","1391777686"],"photo_ids_order":["1391777681","1391777684","1391777686","1391777689","1391777692","1391777695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/67a3f8f7be66f2ba0306d1350c03a80f.jpg","text":"TemporaryFile(/tmp/multipartBody4650409255493643654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050984684,"filename":"image_30102025_08_14_16_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/2/c2de0562295a5bc10a8e5cdb19dac143.jpg","text":"TemporaryFile(/tmp/multipartBody6435158733803243590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050984684,"filename":"image_30102025_08_14_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/2/02535d00303f65af0e3f924a481e936f.jpg","text":"TemporaryFile(/tmp/multipartBody1939869007417693164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050984684,"filename":"image_30102025_08_14_25_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/2/f93e2c49ccd753c272a89a25058df705.jpg","text":"TemporaryFile(/tmp/multipartBody6027211873830492556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050984684,"filename":"image_30102025_08_14_28_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/2/492dc2da559c93a028c25193fa8be8ab.jpg","text":"TemporaryFile(/tmp/multipartBody6827031867677475562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050984684,"filename":"image_30102025_08_14_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/2/fd91cc341d86d19c959b6b3e5322f94b.jpg","text":"TemporaryFile(/tmp/multipartBody7848419821269381531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762050984684,"filename":"image_30102025_08_14_18_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777686","file1":"1391777684","file0":"1391777681","file4":"1391777692","file5":"1391777695","file3":"1391777689"},"map_files_photo_id_array":[{"photo_id":"1391777695","filename":"file5"},{"photo_id":"1391777686","filename":"file2"},{"photo_id":"1391777692","filename":"file4"},{"photo_id":"1391777684","filename":"file1"},{"photo_id":"1391777681","filename":"file0"},{"photo_id":"1391777689","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777684":["hashtag1","hashtag2"]},{"1391777681":["hashtag1","hashtag2"]},{"1391777692":["hashtag1","hashtag2"]},{"1391777695":["hashtag1","hashtag2"]},{"1391777689":["hashtag1","hashtag2"]},{"1391777686":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777684, 1391777681, 1391777692, 1391777695, 1391777689, 1391777686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09022665023804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:36:02.770459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_30_2704.jpg', '/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_33_2603.jpg', '/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_37_3823.jpg', '/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_39_2737.jpg', '/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_42_2818.jpg', '/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_45_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/08/14/image_30102025_08_14_30_2704.jpg
/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_33_2603.jpg
/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_37_3823.jpg
/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_39_2737.jpg
/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_42_2818.jpg
/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_45_2637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777721","1391777706","1391777720","1391777714","1391777717","1391777710"],"photo_ids_order":["1391777706","1391777710","1391777714","1391777717","1391777720","1391777721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5e1db6549b2be2ad985e52af129f9675.jpg","text":"TemporaryFile(/tmp/multipartBody8518623921683544235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051024856,"filename":"image_30102025_08_14_45_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/2/52a6568acf6e013ae25ce2a12b92edce.jpg","text":"TemporaryFile(/tmp/multipartBody9187207386053023910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051024856,"filename":"image_30102025_08_14_30_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/2/f26a80aff59cb60c8bf953e1e9a5cf22.jpg","text":"TemporaryFile(/tmp/multipartBody8330100724487070455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051024856,"filename":"image_30102025_08_14_42_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/2/8ee8437f80cbd25e3f21675efeb2cecd.jpg","text":"TemporaryFile(/tmp/multipartBody8643331630823329074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051024856,"filename":"image_30102025_08_14_37_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/2/3fc01504356146706981ab874f6e2a04.jpg","text":"TemporaryFile(/tmp/multipartBody6854664056776592514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051024856,"filename":"image_30102025_08_14_39_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/2/780d2217af4009d778a9decd682a953b.jpg","text":"TemporaryFile(/tmp/multipartBody4209566921621220292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051024856,"filename":"image_30102025_08_14_33_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777714","file1":"1391777710","file0":"1391777706","file4":"1391777720","file5":"1391777721","file3":"1391777717"},"map_files_photo_id_array":[{"photo_id":"1391777721","filename":"file5"},{"photo_id":"1391777714","filename":"file2"},{"photo_id":"1391777720","filename":"file4"},{"photo_id":"1391777710","filename":"file1"},{"photo_id":"1391777706","filename":"file0"},{"photo_id":"1391777717","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777721":["hashtag1","hashtag2"]},{"1391777706":["hashtag1","hashtag2"]},{"1391777720":["hashtag1","hashtag2"]},{"1391777714":["hashtag1","hashtag2"]},{"1391777717":["hashtag1","hashtag2"]},{"1391777710":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777721, 1391777706, 1391777720, 1391777714, 1391777717, 1391777710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79352807998657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 03:36:42.287733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_48_2989.jpg', '/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_51_3609.jpg', '/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_54_2736.jpg', '/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_58_3565.jpg', '/home/pi/Desktop/images/30102025/08/14/image_30102025_08_15_00_2560.jpg', '/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_03_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/08/14/image_30102025_08_14_48_2989.jpg
/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_51_3609.jpg
/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_54_2736.jpg
/home/pi/Desktop/images/30102025/08/14/image_30102025_08_14_58_3565.jpg
/home/pi/Desktop/images/30102025/08/14/image_30102025_08_15_00_2560.jpg
/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_03_2702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777732","1391777735","1391777729","1391777744","1391777738","1391777740"],"photo_ids_order":["1391777729","1391777732","1391777735","1391777738","1391777740","1391777744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bc9fa517ecb287f034071608a90df5fb.jpg","text":"TemporaryFile(/tmp/multipartBody5867606015914503072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051063395,"filename":"image_30102025_08_14_51_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/2/03c39a855ec66c37bd7736f4be75c325.jpg","text":"TemporaryFile(/tmp/multipartBody5628509067023014338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051063395,"filename":"image_30102025_08_14_54_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/2/7ac355babcde97432814c5b9dc6c97ea.jpg","text":"TemporaryFile(/tmp/multipartBody3022059162821746041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051063395,"filename":"image_30102025_08_14_48_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/2/3899c59933f854e019c93761bf687bc5.jpg","text":"TemporaryFile(/tmp/multipartBody1742101535205768745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051063395,"filename":"image_30102025_08_15_03_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/2/873b96a2086a176df4b8488fadc8980a.jpg","text":"TemporaryFile(/tmp/multipartBody6719061284152416249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051063395,"filename":"image_30102025_08_14_58_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/2/6f8209cb9eef101d63361d3865958269.jpg","text":"TemporaryFile(/tmp/multipartBody3693635686729361233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051063395,"filename":"image_30102025_08_15_00_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777735","file1":"1391777732","file0":"1391777729","file4":"1391777740","file5":"1391777744","file3":"1391777738"},"map_files_photo_id_array":[{"photo_id":"1391777744","filename":"file5"},{"photo_id":"1391777735","filename":"file2"},{"photo_id":"1391777740","filename":"file4"},{"photo_id":"1391777732","filename":"file1"},{"photo_id":"1391777729","filename":"file0"},{"photo_id":"1391777738","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777732":["hashtag1","hashtag2"]},{"1391777735":["hashtag1","hashtag2"]},{"1391777729":["hashtag1","hashtag2"]},{"1391777744":["hashtag1","hashtag2"]},{"1391777738":["hashtag1","hashtag2"]},{"1391777740":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777732, 1391777735, 1391777729, 1391777744, 1391777738, 1391777740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74699258804321 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 03:37:22.523620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_07_3599.jpg', '/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_09_2594.jpg', '/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_12_2824.jpg', '/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_16_3647.jpg', '/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_18_2589.jpg', '/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_21_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/08/15/image_30102025_08_15_07_3599.jpg
/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_09_2594.jpg
/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_12_2824.jpg
/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_16_3647.jpg
/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_18_2589.jpg
/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_21_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":["1391777769","1391777754","1391777757","1391777765","1391777774","1391777762"],"photo_ids_order":["1391777754","1391777757","1391777762","1391777765","1391777769","1391777774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/237441c604ea087ff70cec7c32f59f6f.jpg","text":"TemporaryFile(/tmp/multipartBody3950484965955921366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051105190,"filename":"image_30102025_08_15_18_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/2/de2746190bd16e7a107f745f9ba78098.jpg","text":"TemporaryFile(/tmp/multipartBody414566148081690776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051105190,"filename":"image_30102025_08_15_07_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/2/78dba53b985d0c31f35af3fd6b24d920.jpg","text":"TemporaryFile(/tmp/multipartBody7881920875520935931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051105190,"filename":"image_30102025_08_15_09_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/2/afb5c5e19ac744d45ceaed8a8a78e2c5.jpg","text":"TemporaryFile(/tmp/multipartBody8344183702413068076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051105190,"filename":"image_30102025_08_15_16_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/2/eb49c396179bbeaf46c588dc4d106589.jpg","text":"TemporaryFile(/tmp/multipartBody96985454859402840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051105190,"filename":"image_30102025_08_15_21_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/2/f8a16afd71e791cf6fb846e71a21f74a.jpg","text":"TemporaryFile(/tmp/multipartBody795053153821321555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051105190,"filename":"image_30102025_08_15_12_2824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777762","file1":"1391777757","file0":"1391777754","file4":"1391777769","file5":"1391777774","file3":"1391777765"},"map_files_photo_id_array":[{"photo_id":"1391777774","filename":"file5"},{"photo_id":"1391777762","filename":"file2"},{"photo_id":"1391777769","filename":"file4"},{"photo_id":"1391777757","filename":"file1"},{"photo_id":"1391777754","filename":"file0"},{"photo_id":"1391777765","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777769":["hashtag1","hashtag2"]},{"1391777754":["hashtag1","hashtag2"]},{"1391777757":["hashtag1","hashtag2"]},{"1391777765":["hashtag1","hashtag2"]},{"1391777774":["hashtag1","hashtag2"]},{"1391777762":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777769, 1391777754, 1391777757, 1391777765, 1391777774, 1391777762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.892261028289795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 03:38:22.653750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_24_2794.jpg', '/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_27_3597.jpg', '/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_30_2611.jpg', '/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_33_2824.jpg', '/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_39_2688.jpg', '/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_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/08/15/image_30102025_08_15_24_2794.jpg
/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_27_3597.jpg
/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_30_2611.jpg
/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_33_2824.jpg
/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_39_2688.jpg
/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_42_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777796","1391777811","1391777789","1391777792","1391777801","1391777806"],"photo_ids_order":["1391777789","1391777792","1391777796","1391777801","1391777806","1391777811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/36abd816e045725d67ecc598c17082ac.jpg","text":"TemporaryFile(/tmp/multipartBody588222975974030696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051165277,"filename":"image_30102025_08_15_30_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/2/ea821892898312abe7c6f30426bc9afd.jpg","text":"TemporaryFile(/tmp/multipartBody2503126412699432643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051165277,"filename":"image_30102025_08_15_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/2/03a0f45a2c19e299a61eac569e01c745.jpg","text":"TemporaryFile(/tmp/multipartBody6902550976363568094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051165277,"filename":"image_30102025_08_15_24_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/2/e4aba1a2ac16c45664868cb81f333a94.jpg","text":"TemporaryFile(/tmp/multipartBody1174517717201298624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051165277,"filename":"image_30102025_08_15_27_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/2/d3365daa788acb23078c1f832af42c6e.jpg","text":"TemporaryFile(/tmp/multipartBody2227030189142321186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051165277,"filename":"image_30102025_08_15_33_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/2/72753a8c4bfc5f5db9bca572e953e11a.jpg","text":"TemporaryFile(/tmp/multipartBody7120212048673010718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051165277,"filename":"image_30102025_08_15_39_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777796","file1":"1391777792","file0":"1391777789","file4":"1391777806","file5":"1391777811","file3":"1391777801"},"map_files_photo_id_array":[{"photo_id":"1391777811","filename":"file5"},{"photo_id":"1391777796","filename":"file2"},{"photo_id":"1391777806","filename":"file4"},{"photo_id":"1391777792","filename":"file1"},{"photo_id":"1391777789","filename":"file0"},{"photo_id":"1391777801","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777796":["hashtag1","hashtag2"]},{"1391777811":["hashtag1","hashtag2"]},{"1391777789":["hashtag1","hashtag2"]},{"1391777792":["hashtag1","hashtag2"]},{"1391777801":["hashtag1","hashtag2"]},{"1391777806":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777796, 1391777811, 1391777789, 1391777792, 1391777801, 1391777806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.001622676849365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:39:02.943853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_46_3700.jpg', '/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_51_2638.jpg', '/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_55_3677.jpg', '/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_57_2629.jpg', '/home/pi/Desktop/images/30102025/08/15/image_30102025_08_16_00_2859.jpg', '/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_03_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/08/15/image_30102025_08_15_46_3700.jpg
/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_51_2638.jpg
/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_55_3677.jpg
/home/pi/Desktop/images/30102025/08/15/image_30102025_08_15_57_2629.jpg
/home/pi/Desktop/images/30102025/08/15/image_30102025_08_16_00_2859.jpg
/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_03_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":["1391777820","1391777823","1391777817","1391777832","1391777826","1391777830"],"photo_ids_order":["1391777817","1391777820","1391777823","1391777826","1391777830","1391777832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5ae12414f08f640cd4b8f1eab3663e30.jpg","text":"TemporaryFile(/tmp/multipartBody5042790655663119832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051207483,"filename":"image_30102025_08_15_51_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/2/ef2002825d22dad5b19d4ad6e3958706.jpg","text":"TemporaryFile(/tmp/multipartBody6693972409730946835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051207483,"filename":"image_30102025_08_15_55_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/2/bb09a5bfa8e9e8b219755ec46de3d52c.jpg","text":"TemporaryFile(/tmp/multipartBody3617191701816111590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051207483,"filename":"image_30102025_08_15_46_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/2/67ee8f10570a174318bacf10cf5c1309.jpg","text":"TemporaryFile(/tmp/multipartBody3678146568708381028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051207483,"filename":"image_30102025_08_16_03_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/2/1a1d2ac2a28835e3846d07bcef5b1e9f.jpg","text":"TemporaryFile(/tmp/multipartBody4433603475491992271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051207483,"filename":"image_30102025_08_15_57_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/2/31694d19c9f8b9112b9ee1a2f21624d6.jpg","text":"TemporaryFile(/tmp/multipartBody1134258584719102621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051207483,"filename":"image_30102025_08_16_00_2859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777823","file1":"1391777820","file0":"1391777817","file4":"1391777830","file5":"1391777832","file3":"1391777826"},"map_files_photo_id_array":[{"photo_id":"1391777832","filename":"file5"},{"photo_id":"1391777823","filename":"file2"},{"photo_id":"1391777830","filename":"file4"},{"photo_id":"1391777820","filename":"file1"},{"photo_id":"1391777817","filename":"file0"},{"photo_id":"1391777826","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777820":["hashtag1","hashtag2"]},{"1391777823":["hashtag1","hashtag2"]},{"1391777817":["hashtag1","hashtag2"]},{"1391777832":["hashtag1","hashtag2"]},{"1391777826":["hashtag1","hashtag2"]},{"1391777830":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777820, 1391777823, 1391777817, 1391777832, 1391777826, 1391777830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.874173402786255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:40:02.430860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_06_3603.jpg', '/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_09_2616.jpg', '/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_13_3654.jpg', '/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_15_2789.jpg', '/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_18_2667.jpg', '/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_21_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/08/16/image_30102025_08_16_06_3603.jpg
/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_09_2616.jpg
/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_13_3654.jpg
/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_15_2789.jpg
/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_18_2667.jpg
/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_21_2623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777847","1391777850","1391777858","1391777852","1391777855","1391777849"],"photo_ids_order":["1391777847","1391777849","1391777850","1391777852","1391777855","1391777858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e051c8cd55509481ed27ab763ed3e993.jpg","text":"TemporaryFile(/tmp/multipartBody3492362035747681252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051264539,"filename":"image_30102025_08_16_06_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/2/2213ecbd597c0ee8de883b3761617353.jpg","text":"TemporaryFile(/tmp/multipartBody8650346785914789034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051264539,"filename":"image_30102025_08_16_13_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/2/e1f3d9d27e32abe5dcbf8d9d1171f09f.jpg","text":"TemporaryFile(/tmp/multipartBody5829724572733997548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051264539,"filename":"image_30102025_08_16_21_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/2/e7a0967a7342d67da403ee2c8ff7f9cd.jpg","text":"TemporaryFile(/tmp/multipartBody4393230593703303547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051264539,"filename":"image_30102025_08_16_15_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/2/1166a13d350148018007918eff9de9c5.jpg","text":"TemporaryFile(/tmp/multipartBody6781189979196989339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051264539,"filename":"image_30102025_08_16_18_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/2/c6fd38cf555b5c624b424595b98e295f.jpg","text":"TemporaryFile(/tmp/multipartBody7480403097392428176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051264539,"filename":"image_30102025_08_16_09_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777850","file1":"1391777849","file0":"1391777847","file4":"1391777855","file5":"1391777858","file3":"1391777852"},"map_files_photo_id_array":[{"photo_id":"1391777858","filename":"file5"},{"photo_id":"1391777850","filename":"file2"},{"photo_id":"1391777855","filename":"file4"},{"photo_id":"1391777849","filename":"file1"},{"photo_id":"1391777847","filename":"file0"},{"photo_id":"1391777852","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777847":["hashtag1","hashtag2"]},{"1391777850":["hashtag1","hashtag2"]},{"1391777858":["hashtag1","hashtag2"]},{"1391777852":["hashtag1","hashtag2"]},{"1391777855":["hashtag1","hashtag2"]},{"1391777849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777847, 1391777850, 1391777858, 1391777852, 1391777855, 1391777849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.768303632736206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 03:40:42.019665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_24_3775.jpg', '/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_27_2595.jpg', '/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_30_2663.jpg', '/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_33_3726.jpg', '/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_36_2764.jpg', '/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_39_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/08/16/image_30102025_08_16_24_3775.jpg
/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_27_2595.jpg
/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_30_2663.jpg
/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_33_3726.jpg
/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_36_2764.jpg
/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_39_2670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777880","1391777873","1391777875","1391777869","1391777866","1391777877"],"photo_ids_order":["1391777866","1391777869","1391777873","1391777875","1391777877","1391777880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0cbced522fd78a193273d35ad0f7ddd7.jpg","text":"TemporaryFile(/tmp/multipartBody406097665831625141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051305311,"filename":"image_30102025_08_16_39_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/2/79d2360dc9f5890f770aee6c1fd50a37.jpg","text":"TemporaryFile(/tmp/multipartBody4363220955086518200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051305311,"filename":"image_30102025_08_16_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/2/314e1f8e2492091c68d9ee9a7174470a.jpg","text":"TemporaryFile(/tmp/multipartBody7920088955106819860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051305311,"filename":"image_30102025_08_16_33_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/2/8de39761105fe450fa59b6e354d8f330.jpg","text":"TemporaryFile(/tmp/multipartBody3387680761905412727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051305311,"filename":"image_30102025_08_16_27_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/2/d9e05b3f32056787ebe32af4645a4f3d.jpg","text":"TemporaryFile(/tmp/multipartBody2918350729733293906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051305311,"filename":"image_30102025_08_16_24_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ab67373f33596d2cd57bd8020270aa58.jpg","text":"TemporaryFile(/tmp/multipartBody3170590555648705685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051305311,"filename":"image_30102025_08_16_36_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777873","file1":"1391777869","file0":"1391777866","file4":"1391777877","file5":"1391777880","file3":"1391777875"},"map_files_photo_id_array":[{"photo_id":"1391777880","filename":"file5"},{"photo_id":"1391777873","filename":"file2"},{"photo_id":"1391777877","filename":"file4"},{"photo_id":"1391777869","filename":"file1"},{"photo_id":"1391777866","filename":"file0"},{"photo_id":"1391777875","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777880":["hashtag1","hashtag2"]},{"1391777873":["hashtag1","hashtag2"]},{"1391777875":["hashtag1","hashtag2"]},{"1391777869":["hashtag1","hashtag2"]},{"1391777866":["hashtag1","hashtag2"]},{"1391777877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777880, 1391777873, 1391777875, 1391777869, 1391777866, 1391777877)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.621511936187744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 03:41:42.188516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_42_3589.jpg', '/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_45_2720.jpg', '/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_48_2846.jpg', '/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_51_2801.jpg', '/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_54_2762.jpg', '/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_57_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/08/16/image_30102025_08_16_42_3589.jpg
/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_45_2720.jpg
/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_48_2846.jpg
/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_51_2801.jpg
/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_54_2762.jpg
/home/pi/Desktop/images/30102025/08/16/image_30102025_08_16_57_3819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777910","1391777913","1391777907","1391777905","1391777898","1391777902"],"photo_ids_order":["1391777898","1391777902","1391777905","1391777907","1391777910","1391777913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ce53cf664dc90bf84de731d1c6d92c76.jpg","text":"TemporaryFile(/tmp/multipartBody4391385890603900200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051366987,"filename":"image_30102025_08_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/2/cefed84fb204199de3985bc4f54b94e1.jpg","text":"TemporaryFile(/tmp/multipartBody2227988011949740479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051366987,"filename":"image_30102025_08_16_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/2/94303442785dafd75846740f33df83cd.jpg","text":"TemporaryFile(/tmp/multipartBody1505056589465147752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051366987,"filename":"image_30102025_08_16_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/2/f7d64c2637151aceccd3c20147992c46.jpg","text":"TemporaryFile(/tmp/multipartBody2975067531765639422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051366987,"filename":"image_30102025_08_16_48_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/2/27e5b2ff9cfd1e7a22e82da271f22aaf.jpg","text":"TemporaryFile(/tmp/multipartBody6445147155392010843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051366987,"filename":"image_30102025_08_16_42_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/2/f35631f8ddf7bc34f64e39612402a8dd.jpg","text":"TemporaryFile(/tmp/multipartBody3700124200181373456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051366987,"filename":"image_30102025_08_16_45_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777905","file1":"1391777902","file0":"1391777898","file4":"1391777910","file5":"1391777913","file3":"1391777907"},"map_files_photo_id_array":[{"photo_id":"1391777913","filename":"file5"},{"photo_id":"1391777905","filename":"file2"},{"photo_id":"1391777910","filename":"file4"},{"photo_id":"1391777902","filename":"file1"},{"photo_id":"1391777898","filename":"file0"},{"photo_id":"1391777907","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777910":["hashtag1","hashtag2"]},{"1391777913":["hashtag1","hashtag2"]},{"1391777907":["hashtag1","hashtag2"]},{"1391777905":["hashtag1","hashtag2"]},{"1391777898":["hashtag1","hashtag2"]},{"1391777902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777910, 1391777913, 1391777907, 1391777905, 1391777898, 1391777902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.857298851013184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 03:42:45.981506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/16/image_30102025_08_17_00_2534.jpg', '/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_03_2637.jpg', '/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_06_3727.jpg', '/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_09_2733.jpg', '/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_15_3547.jpg', '/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_18_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/08/16/image_30102025_08_17_00_2534.jpg
/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_03_2637.jpg
/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_06_3727.jpg
/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_09_2733.jpg
/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_15_3547.jpg
/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_18_2584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391777955","1391777963","1391777951","1391777968","1391777947","1391777958"],"photo_ids_order":["1391777947","1391777951","1391777955","1391777958","1391777963","1391777968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0bd428e59cc5e557d7b71c39b98abd76.jpg","text":"TemporaryFile(/tmp/multipartBody2325336488709849608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051486925,"filename":"image_30102025_08_17_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/2/ebac12a24f0eaa85ce6afa129e949c56.jpg","text":"TemporaryFile(/tmp/multipartBody7907327028164679933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051486925,"filename":"image_30102025_08_17_15_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/2/467dd988794202d5b5ef684f251567a7.jpg","text":"TemporaryFile(/tmp/multipartBody7542254217621640331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051486925,"filename":"image_30102025_08_17_03_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/2/adb93fd97655e75ee3527c702f38940b.jpg","text":"TemporaryFile(/tmp/multipartBody5563958311113109267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051486925,"filename":"image_30102025_08_17_18_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/2/f0a22943dd068509b113ff265c45c120.jpg","text":"TemporaryFile(/tmp/multipartBody7785831432557783988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051486925,"filename":"image_30102025_08_17_00_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/2/9d8b099ef69828055dd4d422969f3825.jpg","text":"TemporaryFile(/tmp/multipartBody2975505849069419953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051486925,"filename":"image_30102025_08_17_09_2733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391777955","file1":"1391777951","file0":"1391777947","file4":"1391777963","file5":"1391777968","file3":"1391777958"},"map_files_photo_id_array":[{"photo_id":"1391777968","filename":"file5"},{"photo_id":"1391777955","filename":"file2"},{"photo_id":"1391777963","filename":"file4"},{"photo_id":"1391777951","filename":"file1"},{"photo_id":"1391777947","filename":"file0"},{"photo_id":"1391777958","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391777955":["hashtag1","hashtag2"]},{"1391777963":["hashtag1","hashtag2"]},{"1391777951":["hashtag1","hashtag2"]},{"1391777968":["hashtag1","hashtag2"]},{"1391777947":["hashtag1","hashtag2"]},{"1391777958":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391777955, 1391777963, 1391777951, 1391777968, 1391777947, 1391777958)","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 = 1391777955 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_06_3727.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 127.49044823646545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:45:27.329141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 03:45:39.623055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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
 val : 1 : upload photos already in processing! 
2025-11-02 03:46:04.264697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_21_2714.jpg', '/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_24_3580.jpg', '/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_27_2810.jpg', '/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_30_2754.jpg', '/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_36_3686.jpg', '/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_39_2809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_21_2714.jpg
/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_24_3580.jpg
/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_27_2810.jpg
/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_30_2754.jpg
/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_36_3686.jpg
/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_39_2809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391778021","1391778024","1391778017","1391778031","1391778019","1391778028"],"photo_ids_order":["1391778017","1391778019","1391778021","1391778024","1391778028","1391778031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/396b2a9ba56066a4d7fde8049d7de3f0.jpg","text":"TemporaryFile(/tmp/multipartBody7555934242629135555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051628349,"filename":"image_30102025_08_17_27_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/2/aaf6f04c8668e6eb3b40be9283bae711.jpg","text":"TemporaryFile(/tmp/multipartBody4389943767243098743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051628349,"filename":"image_30102025_08_17_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/2/fe7bfc3ec15d1c8f4cf550ed3ae41cfb.jpg","text":"TemporaryFile(/tmp/multipartBody5700987203579850076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051628349,"filename":"image_30102025_08_17_21_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/2/b5e61ea246dcea117d57cb47f8dfbb6f.jpg","text":"TemporaryFile(/tmp/multipartBody7955633174780490224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051628349,"filename":"image_30102025_08_17_39_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/2/d08fd070f1aa41c52fb1c1f1dbf32544.jpg","text":"TemporaryFile(/tmp/multipartBody9213792577137556802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051628349,"filename":"image_30102025_08_17_24_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/2/6f361ce569e8a872e6ecc4db811ac5ce.jpg","text":"TemporaryFile(/tmp/multipartBody5978344732951875876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051628349,"filename":"image_30102025_08_17_36_3686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391778021","file1":"1391778019","file0":"1391778017","file4":"1391778028","file5":"1391778031","file3":"1391778024"},"map_files_photo_id_array":[{"photo_id":"1391778031","filename":"file5"},{"photo_id":"1391778021","filename":"file2"},{"photo_id":"1391778028","filename":"file4"},{"photo_id":"1391778019","filename":"file1"},{"photo_id":"1391778017","filename":"file0"},{"photo_id":"1391778024","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391778021":["hashtag1","hashtag2"]},{"1391778024":["hashtag1","hashtag2"]},{"1391778017":["hashtag1","hashtag2"]},{"1391778031":["hashtag1","hashtag2"]},{"1391778019":["hashtag1","hashtag2"]},{"1391778028":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391778021, 1391778024, 1391778017, 1391778031, 1391778019, 1391778028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22288727760315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:47:11.964737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_42_2674.jpg', '/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_45_2889.jpg', '/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_48_3654.jpg', '/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_51_2624.jpg', '/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_54_2640.jpg', '/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_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/08/17/image_30102025_08_17_42_2674.jpg
/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_45_2889.jpg
/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_48_3654.jpg
/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_51_2624.jpg
/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_54_2640.jpg
/home/pi/Desktop/images/30102025/08/17/image_30102025_08_17_57_3641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391778056","1391778065","1391778053","1391778061","1391778058","1391778051"],"photo_ids_order":["1391778051","1391778053","1391778056","1391778058","1391778061","1391778065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a47b6dc27482ae98e0e3d1e6cf682347.jpg","text":"TemporaryFile(/tmp/multipartBody6036054602790862958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051694176,"filename":"image_30102025_08_17_48_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/2/1e23002ee1899388b264f5a4caf5530a.jpg","text":"TemporaryFile(/tmp/multipartBody346065163850499744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051694176,"filename":"image_30102025_08_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/2/b9d4a33cb530ccd58a8440cddd2164dd.jpg","text":"TemporaryFile(/tmp/multipartBody7477031023671619033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051694176,"filename":"image_30102025_08_17_45_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/2/e8acdf9a785aebd95ec69b5315eebc80.jpg","text":"TemporaryFile(/tmp/multipartBody7490377744068786457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051694176,"filename":"image_30102025_08_17_54_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/2/18e2d4c9f60869c8c445c6e758f7c580.jpg","text":"TemporaryFile(/tmp/multipartBody4561922946262506285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051694176,"filename":"image_30102025_08_17_51_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/2/ccaea2fce7caa9a8fbcc907418ff77d8.jpg","text":"TemporaryFile(/tmp/multipartBody2608159090490980299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051694176,"filename":"image_30102025_08_17_42_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391778056","file1":"1391778053","file0":"1391778051","file4":"1391778061","file5":"1391778065","file3":"1391778058"},"map_files_photo_id_array":[{"photo_id":"1391778065","filename":"file5"},{"photo_id":"1391778056","filename":"file2"},{"photo_id":"1391778061","filename":"file4"},{"photo_id":"1391778053","filename":"file1"},{"photo_id":"1391778051","filename":"file0"},{"photo_id":"1391778058","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391778056":["hashtag1","hashtag2"]},{"1391778065":["hashtag1","hashtag2"]},{"1391778053":["hashtag1","hashtag2"]},{"1391778061":["hashtag1","hashtag2"]},{"1391778058":["hashtag1","hashtag2"]},{"1391778051":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391778056, 1391778065, 1391778053, 1391778061, 1391778058, 1391778051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50924229621887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 03:47:51.439638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/17/image_30102025_08_18_00_2595.jpg', '/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_03_2670.jpg', '/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_06_3762.jpg', '/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_09_2648.jpg', '/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_12_2540.jpg', '/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_15_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/08/17/image_30102025_08_18_00_2595.jpg
/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_03_2670.jpg
/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_06_3762.jpg
/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_09_2648.jpg
/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_12_2540.jpg
/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_15_3732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391778077","1391778081","1391778075","1391778084","1391778078","1391778087"],"photo_ids_order":["1391778075","1391778077","1391778078","1391778081","1391778084","1391778087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/462d0f4744eed8e0fea7cdf33bfc4f0a.jpg","text":"TemporaryFile(/tmp/multipartBody3262604436233594546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051732547,"filename":"image_30102025_08_18_03_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/2/5162224863dd95a11d8d67af6dbcdf46.jpg","text":"TemporaryFile(/tmp/multipartBody4418998290783161175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051732547,"filename":"image_30102025_08_18_09_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/2/65e20f2b16882b8d90006b97d8dfbcfd.jpg","text":"TemporaryFile(/tmp/multipartBody282634206933015211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051732547,"filename":"image_30102025_08_18_00_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/2/3b86f6213c580d52386db5462f000424.jpg","text":"TemporaryFile(/tmp/multipartBody2741968838143368236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051732547,"filename":"image_30102025_08_18_12_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/2/56274567aa99ed2b91d0a605bfab28d7.jpg","text":"TemporaryFile(/tmp/multipartBody1305694916416296982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051732547,"filename":"image_30102025_08_18_06_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/2/68dd62c424db1c2855cbbe0d95e691eb.jpg","text":"TemporaryFile(/tmp/multipartBody4148030087323962168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051732547,"filename":"image_30102025_08_18_15_3732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391778078","file1":"1391778077","file0":"1391778075","file4":"1391778084","file5":"1391778087","file3":"1391778081"},"map_files_photo_id_array":[{"photo_id":"1391778087","filename":"file5"},{"photo_id":"1391778078","filename":"file2"},{"photo_id":"1391778084","filename":"file4"},{"photo_id":"1391778077","filename":"file1"},{"photo_id":"1391778075","filename":"file0"},{"photo_id":"1391778081","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391778077":["hashtag1","hashtag2"]},{"1391778081":["hashtag1","hashtag2"]},{"1391778075":["hashtag1","hashtag2"]},{"1391778084":["hashtag1","hashtag2"]},{"1391778078":["hashtag1","hashtag2"]},{"1391778087":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391778077, 1391778081, 1391778075, 1391778084, 1391778078, 1391778087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84198212623596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 03:48:42.745096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_18_2701.jpg', '/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_21_2676.jpg', '/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_24_3697.jpg', '/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_27_2684.jpg', '/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_30_2637.jpg', '/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_33_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/08/18/image_30102025_08_18_18_2701.jpg
/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_21_2676.jpg
/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_24_3697.jpg
/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_27_2684.jpg
/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_30_2637.jpg
/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_33_3604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391778105","1391778119","1391778110","1391778113","1391778116","1391778101"],"photo_ids_order":["1391778101","1391778105","1391778110","1391778113","1391778116","1391778119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/43ff40c3869efd5177ca0f523620cf0d.jpg","text":"TemporaryFile(/tmp/multipartBody7252891343778858277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051783912,"filename":"image_30102025_08_18_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/2/688fc6755387335c8e0c710a08301a9d.jpg","text":"TemporaryFile(/tmp/multipartBody3856412946190730039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051783912,"filename":"image_30102025_08_18_33_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/2/921550030d49158455cffe683d4e2837.jpg","text":"TemporaryFile(/tmp/multipartBody3384198858080245374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051783912,"filename":"image_30102025_08_18_24_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/2/d98baedb6fef67af060558d7759e2a54.jpg","text":"TemporaryFile(/tmp/multipartBody8703603151609794989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051783912,"filename":"image_30102025_08_18_27_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/2/767e213fcc148bdb5354a3101bc72933.jpg","text":"TemporaryFile(/tmp/multipartBody8590429479237591526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051783912,"filename":"image_30102025_08_18_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/2/1fbd8a2b071ba4fb20907631c8a12f94.jpg","text":"TemporaryFile(/tmp/multipartBody5087758648154112735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051783912,"filename":"image_30102025_08_18_18_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391778110","file1":"1391778105","file0":"1391778101","file4":"1391778116","file5":"1391778119","file3":"1391778113"},"map_files_photo_id_array":[{"photo_id":"1391778119","filename":"file5"},{"photo_id":"1391778110","filename":"file2"},{"photo_id":"1391778116","filename":"file4"},{"photo_id":"1391778105","filename":"file1"},{"photo_id":"1391778101","filename":"file0"},{"photo_id":"1391778113","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391778105":["hashtag1","hashtag2"]},{"1391778119":["hashtag1","hashtag2"]},{"1391778110":["hashtag1","hashtag2"]},{"1391778113":["hashtag1","hashtag2"]},{"1391778116":["hashtag1","hashtag2"]},{"1391778101":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391778105, 1391778119, 1391778110, 1391778113, 1391778116, 1391778101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49811911582947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 03:49:21.877792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_36_2809.jpg', '/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_39_2632.jpg', '/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_42_3659.jpg', '/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_45_2656.jpg', '/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_48_2763.jpg', '/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_50_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/08/18/image_30102025_08_18_36_2809.jpg
/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_39_2632.jpg
/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_42_3659.jpg
/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_45_2656.jpg
/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_48_2763.jpg
/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_50_2620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391778135","1391778131","1391778142","1391778124","1391778127","1391778138"],"photo_ids_order":["1391778124","1391778127","1391778131","1391778135","1391778138","1391778142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8b2f0fd52c770b56d33cbbd969d13131.jpg","text":"TemporaryFile(/tmp/multipartBody6473858121501332605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051824509,"filename":"image_30102025_08_18_45_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/2/878e53271234cbdcd9b8ebad70303ed2.jpg","text":"TemporaryFile(/tmp/multipartBody7964891795060538630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051824509,"filename":"image_30102025_08_18_42_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/2/49e06681d0c2322e3f49d39578b4d036.jpg","text":"TemporaryFile(/tmp/multipartBody6712878834754783895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051824509,"filename":"image_30102025_08_18_50_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/2/c0bb672268187c0cfd6c15cc92bfc115.jpg","text":"TemporaryFile(/tmp/multipartBody8706110895061552282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051824509,"filename":"image_30102025_08_18_36_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/2/2939d6cb98640c841b3e9a9f54fd10de.jpg","text":"TemporaryFile(/tmp/multipartBody1599314491608135332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051824509,"filename":"image_30102025_08_18_39_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/2/91adf273961622f8a174c4e01f75aa91.jpg","text":"TemporaryFile(/tmp/multipartBody7911073957137736059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051824509,"filename":"image_30102025_08_18_48_2763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391778131","file1":"1391778127","file0":"1391778124","file4":"1391778138","file5":"1391778142","file3":"1391778135"},"map_files_photo_id_array":[{"photo_id":"1391778142","filename":"file5"},{"photo_id":"1391778131","filename":"file2"},{"photo_id":"1391778138","filename":"file4"},{"photo_id":"1391778127","filename":"file1"},{"photo_id":"1391778124","filename":"file0"},{"photo_id":"1391778135","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391778135":["hashtag1","hashtag2"]},{"1391778131":["hashtag1","hashtag2"]},{"1391778142":["hashtag1","hashtag2"]},{"1391778124":["hashtag1","hashtag2"]},{"1391778127":["hashtag1","hashtag2"]},{"1391778138":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391778135, 1391778131, 1391778142, 1391778124, 1391778127, 1391778138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07539486885071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:50:02.437299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_54_3838.jpg', '/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_57_2619.jpg', '/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_59_2602.jpg', '/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_03_3747.jpg', '/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_06_2686.jpg', '/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_08_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/08/18/image_30102025_08_18_54_3838.jpg
/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_57_2619.jpg
/home/pi/Desktop/images/30102025/08/18/image_30102025_08_18_59_2602.jpg
/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_03_3747.jpg
/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_06_2686.jpg
/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_08_2590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391778161","1391778155","1391778152","1391778163","1391778159","1391778150"],"photo_ids_order":["1391778150","1391778152","1391778155","1391778159","1391778161","1391778163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/02f887ffb2c08b115fd728256e221319.jpg","text":"TemporaryFile(/tmp/multipartBody4144669479977189499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051864502,"filename":"image_30102025_08_19_06_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/2/fa28ebd37fb3cb04f9c0b5bc9126d971.jpg","text":"TemporaryFile(/tmp/multipartBody8263631653575214764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051864502,"filename":"image_30102025_08_18_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/2/6d3f7209136cd907580845e83eeda54a.jpg","text":"TemporaryFile(/tmp/multipartBody3642766913305997591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051864502,"filename":"image_30102025_08_18_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/2/ff8e7fb06514c0e75b9aeec05a1c2efb.jpg","text":"TemporaryFile(/tmp/multipartBody2202381818347709407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051864502,"filename":"image_30102025_08_19_08_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/2/7d9f3455e122a9f0f29ba95aa3cc339c.jpg","text":"TemporaryFile(/tmp/multipartBody8900974662904810067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051864502,"filename":"image_30102025_08_19_03_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/2/81588ed0ce821e9bf1263ba8ad21ed07.jpg","text":"TemporaryFile(/tmp/multipartBody6237941882166796821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051864502,"filename":"image_30102025_08_18_54_3838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391778155","file1":"1391778152","file0":"1391778150","file4":"1391778161","file5":"1391778163","file3":"1391778159"},"map_files_photo_id_array":[{"photo_id":"1391778163","filename":"file5"},{"photo_id":"1391778155","filename":"file2"},{"photo_id":"1391778161","filename":"file4"},{"photo_id":"1391778152","filename":"file1"},{"photo_id":"1391778150","filename":"file0"},{"photo_id":"1391778159","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391778161":["hashtag1","hashtag2"]},{"1391778155":["hashtag1","hashtag2"]},{"1391778152":["hashtag1","hashtag2"]},{"1391778163":["hashtag1","hashtag2"]},{"1391778159":["hashtag1","hashtag2"]},{"1391778150":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391778161, 1391778155, 1391778152, 1391778163, 1391778159, 1391778150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.246163845062256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 03:50:41.905180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_15_2713.jpg', '/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_17_2647.jpg', '/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_21_3681.jpg', '/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_24_2699.jpg', '/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_27_2898.jpg', '/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_30_3533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_15_2713.jpg
/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_17_2647.jpg
/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_21_3681.jpg
/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_24_2699.jpg
/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_27_2898.jpg
/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_30_3533.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391778182","1391778170","1391778184","1391778180","1391778174","1391778177"],"photo_ids_order":["1391778170","1391778174","1391778177","1391778180","1391778182","1391778184"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b3ea45b8a86f0fbdd98bc47904c4cb3e.jpg","text":"TemporaryFile(/tmp/multipartBody3809820777626478226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051903006,"filename":"image_30102025_08_19_27_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/2/4895ea483e1ddeaa20dc96076997a0ed.jpg","text":"TemporaryFile(/tmp/multipartBody901470493026334176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051903006,"filename":"image_30102025_08_19_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/2/419bf52af2ed1c63e8e5598e4634f431.jpg","text":"TemporaryFile(/tmp/multipartBody9195275234482448606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051903006,"filename":"image_30102025_08_19_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/2/d2683b62721ab45e305e020684ff31e1.jpg","text":"TemporaryFile(/tmp/multipartBody7627342032343720086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051903006,"filename":"image_30102025_08_19_24_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/2/97c93cfdf521bc88a38f46779d677146.jpg","text":"TemporaryFile(/tmp/multipartBody8756045195665813316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051903006,"filename":"image_30102025_08_19_17_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/2/401f6561a1f5d5a4a52ecb14face612f.jpg","text":"TemporaryFile(/tmp/multipartBody167603334765119071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762051903006,"filename":"image_30102025_08_19_21_3681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391778177","file1":"1391778174","file0":"1391778170","file4":"1391778182","file5":"1391778184","file3":"1391778180"},"map_files_photo_id_array":[{"photo_id":"1391778184","filename":"file5"},{"photo_id":"1391778177","filename":"file2"},{"photo_id":"1391778182","filename":"file4"},{"photo_id":"1391778174","filename":"file1"},{"photo_id":"1391778170","filename":"file0"},{"photo_id":"1391778180","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391778182":["hashtag1","hashtag2"]},{"1391778170":["hashtag1","hashtag2"]},{"1391778184":["hashtag1","hashtag2"]},{"1391778180":["hashtag1","hashtag2"]},{"1391778174":["hashtag1","hashtag2"]},{"1391778177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391778182, 1391778170, 1391778184, 1391778180, 1391778174, 1391778177)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.62388730049133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 03:51:45.062992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_33_2797.jpg', '/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_36_2630.jpg', '/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_39_2861.jpg', '/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_42_3729.jpg', '/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_45_2737.jpg', '/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_48_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/08/19/image_30102025_08_19_33_2797.jpg
/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_36_2630.jpg
/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_39_2861.jpg
/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_42_3729.jpg
/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_45_2737.jpg
/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_48_2786.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8968782424926758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:52:05.610840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 03:52:23.066055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_33_2797.jpg', '/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_36_2630.jpg', '/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_39_2861.jpg', '/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_42_3729.jpg', '/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_45_2737.jpg', '/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_48_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/08/19/image_30102025_08_19_33_2797.jpg
/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_36_2630.jpg
/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_39_2861.jpg
/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_42_3729.jpg
/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_45_2737.jpg
/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_48_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":["1391778232","1391778241","1391778235","1391778229","1391778238","1391778246"],"photo_ids_order":["1391778229","1391778232","1391778235","1391778238","1391778241","1391778246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d7b6333f9df98c3a50a5cc6fe95a9543.jpg","text":"TemporaryFile(/tmp/multipartBody2038778826503721299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052010645,"filename":"image_30102025_08_19_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/2/0e88fc7c2ce49544d820ff3fb2f8394e.jpg","text":"TemporaryFile(/tmp/multipartBody6158940328418390654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052010645,"filename":"image_30102025_08_19_45_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/2/4ab54539e7005da477f1f1fd781a4fea.jpg","text":"TemporaryFile(/tmp/multipartBody1488792144762987106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052010645,"filename":"image_30102025_08_19_39_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/2/9eb2f843a3ffae0ff6bf968799d5d0d0.jpg","text":"TemporaryFile(/tmp/multipartBody5668773677960105022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052010645,"filename":"image_30102025_08_19_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/2/1c8fe250da442b1f38a3ce6d62c741ce.jpg","text":"TemporaryFile(/tmp/multipartBody4308238193178633164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052010645,"filename":"image_30102025_08_19_42_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/2/88cd77d281d1843f93a73e02c532e4df.jpg","text":"TemporaryFile(/tmp/multipartBody6790169751154853159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052010645,"filename":"image_30102025_08_19_48_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391778235","file1":"1391778232","file0":"1391778229","file4":"1391778241","file5":"1391778246","file3":"1391778238"},"map_files_photo_id_array":[{"photo_id":"1391778246","filename":"file5"},{"photo_id":"1391778235","filename":"file2"},{"photo_id":"1391778241","filename":"file4"},{"photo_id":"1391778232","filename":"file1"},{"photo_id":"1391778229","filename":"file0"},{"photo_id":"1391778238","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391778232":["hashtag1","hashtag2"]},{"1391778241":["hashtag1","hashtag2"]},{"1391778235":["hashtag1","hashtag2"]},{"1391778229":["hashtag1","hashtag2"]},{"1391778238":["hashtag1","hashtag2"]},{"1391778246":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391778232, 1391778241, 1391778235, 1391778229, 1391778238, 1391778246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.27782225608826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 03:53:22.275339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_51_2743.jpg', '/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_54_3696.jpg', '/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_57_2759.jpg', '/home/pi/Desktop/images/30102025/08/19/image_30102025_08_20_00_2613.jpg', '/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_09_6748.jpg', '/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_11_1766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_51_2743.jpg
/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_54_3696.jpg
/home/pi/Desktop/images/30102025/08/19/image_30102025_08_19_57_2759.jpg
/home/pi/Desktop/images/30102025/08/19/image_30102025_08_20_00_2613.jpg
/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_09_6748.jpg
/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_11_1766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391778275","1391778260","1391778265","1391778268","1391778262","1391778258"],"photo_ids_order":["1391778258","1391778260","1391778262","1391778265","1391778268","1391778275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0a27464add44f5bce0d3b3630726ca3f.jpg","text":"TemporaryFile(/tmp/multipartBody9116477702541801926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052064921,"filename":"image_30102025_08_20_11_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/2/6de22516bdad78e2a9a380fbff445ee2.jpg","text":"TemporaryFile(/tmp/multipartBody1997954608007550643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052064921,"filename":"image_30102025_08_19_54_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/2/888d5bf27eace0b1f4f75076ce011afd.jpg","text":"TemporaryFile(/tmp/multipartBody1547003056296516658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052064921,"filename":"image_30102025_08_20_00_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/2/e4600805462057fe136b0fb20fb9954c.jpg","text":"TemporaryFile(/tmp/multipartBody6794714023992871523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052064921,"filename":"image_30102025_08_20_09_6748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6225aa6ba74c0235b19f5a97ce1a45ef.jpg","text":"TemporaryFile(/tmp/multipartBody772240615444776152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052064921,"filename":"image_30102025_08_19_57_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/2/61ddd9c960f84d893c096f7adfbd3915.jpg","text":"TemporaryFile(/tmp/multipartBody6071671933859334371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052064921,"filename":"image_30102025_08_19_51_2743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391778262","file1":"1391778260","file0":"1391778258","file4":"1391778268","file5":"1391778275","file3":"1391778265"},"map_files_photo_id_array":[{"photo_id":"1391778275","filename":"file5"},{"photo_id":"1391778262","filename":"file2"},{"photo_id":"1391778268","filename":"file4"},{"photo_id":"1391778260","filename":"file1"},{"photo_id":"1391778258","filename":"file0"},{"photo_id":"1391778265","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391778275":["hashtag1","hashtag2"]},{"1391778260":["hashtag1","hashtag2"]},{"1391778265":["hashtag1","hashtag2"]},{"1391778268":["hashtag1","hashtag2"]},{"1391778262":["hashtag1","hashtag2"]},{"1391778258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391778275, 1391778260, 1391778265, 1391778268, 1391778262, 1391778258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60631847381592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:54:03.097361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_13_1853.jpg', '/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_14_1522.jpg', '/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_18_3665.jpg', '/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_21_2637.jpg', '/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_23_2901.jpg', '/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_27_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/08/20/image_30102025_08_20_13_1853.jpg
/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_14_1522.jpg
/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_18_3665.jpg
/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_21_2637.jpg
/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_23_2901.jpg
/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_27_3555.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391778283","1391778286","1391778291","1391778294","1391778288","1391778297"],"photo_ids_order":["1391778283","1391778286","1391778288","1391778291","1391778294","1391778297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4a3af2ae3b5745e5f4ed82d31914982d.jpg","text":"TemporaryFile(/tmp/multipartBody7585654561736103792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052105235,"filename":"image_30102025_08_20_13_1853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8c962d5dc0d8161c5fe92ad2ba4e5cba.jpg","text":"TemporaryFile(/tmp/multipartBody4425469617412216834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052105235,"filename":"image_30102025_08_20_14_1522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f3105600676edb16713c01e504833390.jpg","text":"TemporaryFile(/tmp/multipartBody7560953475348920334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052105235,"filename":"image_30102025_08_20_21_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/2/363d04b7644ab6c11f4001295de24a55.jpg","text":"TemporaryFile(/tmp/multipartBody7603694161257451511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052105235,"filename":"image_30102025_08_20_23_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/2/02262b2ddd263368f4ad25da89d29f29.jpg","text":"TemporaryFile(/tmp/multipartBody8453854873415109973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052105235,"filename":"image_30102025_08_20_18_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/2/0445f2dce3c60fe2240c9770537a974f.jpg","text":"TemporaryFile(/tmp/multipartBody4767461301781571215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052105235,"filename":"image_30102025_08_20_27_3555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391778288","file1":"1391778286","file0":"1391778283","file4":"1391778294","file5":"1391778297","file3":"1391778291"},"map_files_photo_id_array":[{"photo_id":"1391778297","filename":"file5"},{"photo_id":"1391778288","filename":"file2"},{"photo_id":"1391778294","filename":"file4"},{"photo_id":"1391778286","filename":"file1"},{"photo_id":"1391778283","filename":"file0"},{"photo_id":"1391778291","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391778283":["hashtag1","hashtag2"]},{"1391778286":["hashtag1","hashtag2"]},{"1391778291":["hashtag1","hashtag2"]},{"1391778294":["hashtag1","hashtag2"]},{"1391778288":["hashtag1","hashtag2"]},{"1391778297":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391778283, 1391778286, 1391778291, 1391778294, 1391778288, 1391778297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46524238586426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 03:54:42.479038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_30_2961.jpg', '/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_33_2668.jpg', '/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_35_2738.jpg', '/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_38_2924.jpg', '/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_42_3697.jpg', '/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_45_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/08/20/image_30102025_08_20_30_2961.jpg
/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_33_2668.jpg
/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_35_2738.jpg
/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_38_2924.jpg
/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_42_3697.jpg
/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_45_2664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391778309","1391778302","1391778305","1391778313","1391778316","1391778319"],"photo_ids_order":["1391778302","1391778305","1391778309","1391778313","1391778316","1391778319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/dc6fc9a207e3711183ff3861600b962d.jpg","text":"TemporaryFile(/tmp/multipartBody5913737480531273181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052143582,"filename":"image_30102025_08_20_35_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/2/77aacbe229f20529324695a38f6ef032.jpg","text":"TemporaryFile(/tmp/multipartBody2621553774432836948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052143582,"filename":"image_30102025_08_20_30_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/2/c80848d0f5509208055cd4fc3e9c4f67.jpg","text":"TemporaryFile(/tmp/multipartBody8988884631631239264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052143582,"filename":"image_30102025_08_20_33_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/2/05ce22b0faeeebbfcf2f7db1ff5ba4be.jpg","text":"TemporaryFile(/tmp/multipartBody5003050950022155312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052143582,"filename":"image_30102025_08_20_38_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/2/6e2fb900ab34eb74b13050f801ed5be4.jpg","text":"TemporaryFile(/tmp/multipartBody3149655459833380178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052143582,"filename":"image_30102025_08_20_42_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/2/4587ff61d7e4348065dc1af4d52a40b3.jpg","text":"TemporaryFile(/tmp/multipartBody1393120986236811005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052143582,"filename":"image_30102025_08_20_45_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391778309","file1":"1391778305","file0":"1391778302","file4":"1391778316","file5":"1391778319","file3":"1391778313"},"map_files_photo_id_array":[{"photo_id":"1391778319","filename":"file5"},{"photo_id":"1391778309","filename":"file2"},{"photo_id":"1391778316","filename":"file4"},{"photo_id":"1391778305","filename":"file1"},{"photo_id":"1391778302","filename":"file0"},{"photo_id":"1391778313","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391778309":["hashtag1","hashtag2"]},{"1391778302":["hashtag1","hashtag2"]},{"1391778305":["hashtag1","hashtag2"]},{"1391778313":["hashtag1","hashtag2"]},{"1391778316":["hashtag1","hashtag2"]},{"1391778319":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391778309, 1391778302, 1391778305, 1391778313, 1391778316, 1391778319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61299514770508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 03:55:22.605315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_47_2678.jpg', '/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_51_3613.jpg', '/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_54_2763.jpg', '/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_56_2597.jpg', '/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_59_2861.jpg', '/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_03_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/08/20/image_30102025_08_20_47_2678.jpg
/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_51_3613.jpg
/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_54_2763.jpg
/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_56_2597.jpg
/home/pi/Desktop/images/30102025/08/20/image_30102025_08_20_59_2861.jpg
/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_03_3592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391778327","1391778341","1391778335","1391778338","1391778332","1391778324"],"photo_ids_order":["1391778324","1391778327","1391778332","1391778335","1391778338","1391778341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b83a1d43edf3cd97e0f27e3942a43f9d.jpg","text":"TemporaryFile(/tmp/multipartBody4768062020949322072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052185278,"filename":"image_30102025_08_20_51_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/2/eea609d60db811c84ae9268086c90a4b.jpg","text":"TemporaryFile(/tmp/multipartBody7279505121514540459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052185278,"filename":"image_30102025_08_21_03_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/2/c203a455f821406e999fea56a5362545.jpg","text":"TemporaryFile(/tmp/multipartBody2812699883384023210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052185278,"filename":"image_30102025_08_20_56_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/2/2d3eb5fd71eac33a3d418e66c29b2063.jpg","text":"TemporaryFile(/tmp/multipartBody8904657296587028801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052185278,"filename":"image_30102025_08_20_59_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/2/624596805a0339d414cd02e14ddee175.jpg","text":"TemporaryFile(/tmp/multipartBody4502817027689881356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052185278,"filename":"image_30102025_08_20_54_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/2/776212a2564bd2d6265892ab622e4446.jpg","text":"TemporaryFile(/tmp/multipartBody7096199234130210246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052185278,"filename":"image_30102025_08_20_47_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391778332","file1":"1391778327","file0":"1391778324","file4":"1391778338","file5":"1391778341","file3":"1391778335"},"map_files_photo_id_array":[{"photo_id":"1391778341","filename":"file5"},{"photo_id":"1391778332","filename":"file2"},{"photo_id":"1391778338","filename":"file4"},{"photo_id":"1391778327","filename":"file1"},{"photo_id":"1391778324","filename":"file0"},{"photo_id":"1391778335","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391778327":["hashtag1","hashtag2"]},{"1391778341":["hashtag1","hashtag2"]},{"1391778335":["hashtag1","hashtag2"]},{"1391778338":["hashtag1","hashtag2"]},{"1391778332":["hashtag1","hashtag2"]},{"1391778324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391778327, 1391778341, 1391778335, 1391778338, 1391778332, 1391778324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19660210609436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:56:02.131227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_05_2631.jpg', '/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_08_2803.jpg', '/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_12_3725.jpg', '/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_15_2555.jpg', '/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_21_3753.jpg', '/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_24_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/08/21/image_30102025_08_21_05_2631.jpg
/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_08_2803.jpg
/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_12_3725.jpg
/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_15_2555.jpg
/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_21_3753.jpg
/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_24_2753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391778359","1391778361","1391778352","1391778355","1391778349","1391778357"],"photo_ids_order":["1391778349","1391778352","1391778355","1391778357","1391778359","1391778361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/903c5eadba8d58d78c56cfd0dcc18347.jpg","text":"TemporaryFile(/tmp/multipartBody5808414366395572765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052224215,"filename":"image_30102025_08_21_21_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/2/4b8d261c47831b3344f997c0a8731abf.jpg","text":"TemporaryFile(/tmp/multipartBody8609722357754051736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052224215,"filename":"image_30102025_08_21_24_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/2/4ef82c4859ccd94477edde82ab7ee7e8.jpg","text":"TemporaryFile(/tmp/multipartBody7891886674005715339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052224215,"filename":"image_30102025_08_21_08_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/2/5bc4efba9422bdbb44fd8016212f6b33.jpg","text":"TemporaryFile(/tmp/multipartBody9035282401822482562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052224215,"filename":"image_30102025_08_21_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/2/125e4c8a74fbeeed34d100567b0d8ffb.jpg","text":"TemporaryFile(/tmp/multipartBody8341185331397795008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052224215,"filename":"image_30102025_08_21_05_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/2/f9f65ca017fe03c395e257f921285342.jpg","text":"TemporaryFile(/tmp/multipartBody2494280457765000523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052224215,"filename":"image_30102025_08_21_15_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391778355","file1":"1391778352","file0":"1391778349","file4":"1391778359","file5":"1391778361","file3":"1391778357"},"map_files_photo_id_array":[{"photo_id":"1391778361","filename":"file5"},{"photo_id":"1391778355","filename":"file2"},{"photo_id":"1391778359","filename":"file4"},{"photo_id":"1391778352","filename":"file1"},{"photo_id":"1391778349","filename":"file0"},{"photo_id":"1391778357","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391778359":["hashtag1","hashtag2"]},{"1391778361":["hashtag1","hashtag2"]},{"1391778352":["hashtag1","hashtag2"]},{"1391778355":["hashtag1","hashtag2"]},{"1391778349":["hashtag1","hashtag2"]},{"1391778357":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391778359, 1391778361, 1391778352, 1391778355, 1391778349, 1391778357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01087927818298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 03:56:41.828138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_33_3799.jpg', '/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_36_2575.jpg', '/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_42_3628.jpg', '/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_45_2774.jpg', '/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_48_2796.jpg', '/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_50_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/08/21/image_30102025_08_21_33_3799.jpg
/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_36_2575.jpg
/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_42_3628.jpg
/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_45_2774.jpg
/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_48_2796.jpg
/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_50_2715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391778377","1391778389","1391778374","1391778385","1391778370","1391778381"],"photo_ids_order":["1391778370","1391778374","1391778377","1391778381","1391778385","1391778389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5198ac6b523a57382810be2f204a229a.jpg","text":"TemporaryFile(/tmp/multipartBody5939033664689266387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052262943,"filename":"image_30102025_08_21_42_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/2/8f64fd7a61ca3f3d624712039100cffc.jpg","text":"TemporaryFile(/tmp/multipartBody6460500596317520165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052262943,"filename":"image_30102025_08_21_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/2/ab2bae268a32712e698938fa8e9dfefe.jpg","text":"TemporaryFile(/tmp/multipartBody968334153627241259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052262943,"filename":"image_30102025_08_21_36_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/2/bc9d1636fcc09a9a930fb2a632d8f20f.jpg","text":"TemporaryFile(/tmp/multipartBody7602518995857540886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052262943,"filename":"image_30102025_08_21_48_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/2/395d8b003db0eb246c93824600671dd4.jpg","text":"TemporaryFile(/tmp/multipartBody7015941546424274763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052262943,"filename":"image_30102025_08_21_33_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/2/a9737152deea5c8d9eca66a693877394.jpg","text":"TemporaryFile(/tmp/multipartBody6333427704976691751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052262943,"filename":"image_30102025_08_21_45_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391778377","file1":"1391778374","file0":"1391778370","file4":"1391778385","file5":"1391778389","file3":"1391778381"},"map_files_photo_id_array":[{"photo_id":"1391778389","filename":"file5"},{"photo_id":"1391778377","filename":"file2"},{"photo_id":"1391778385","filename":"file4"},{"photo_id":"1391778374","filename":"file1"},{"photo_id":"1391778370","filename":"file0"},{"photo_id":"1391778381","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391778377":["hashtag1","hashtag2"]},{"1391778389":["hashtag1","hashtag2"]},{"1391778374":["hashtag1","hashtag2"]},{"1391778385":["hashtag1","hashtag2"]},{"1391778370":["hashtag1","hashtag2"]},{"1391778381":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391778377, 1391778389, 1391778374, 1391778385, 1391778370, 1391778381)","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 = 1391778377 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_42_3628.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 66.10180020332336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 03:59:03.529680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_53_2783.jpg', '/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_57_3779.jpg', '/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_59_2543.jpg', '/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_02_2767.jpg', '/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_06_3679.jpg', '/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_09_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/08/21/image_30102025_08_21_53_2783.jpg
/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_57_3779.jpg
/home/pi/Desktop/images/30102025/08/21/image_30102025_08_21_59_2543.jpg
/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_02_2767.jpg
/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_06_3679.jpg
/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_09_2857.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391779052","1391778964","1391778886","1391778844","1391778925","1391779005"],"photo_ids_order":["1391778844","1391778886","1391778925","1391778964","1391779005","1391779052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/96d30171e48da8b9d3595c21b2c9a921.jpg","text":"TemporaryFile(/tmp/multipartBody6341189718537162738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052407997,"filename":"image_30102025_08_22_09_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/2/e933c603429349deeadcaa53a1bcbe61.jpg","text":"TemporaryFile(/tmp/multipartBody3760963405375337367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052407997,"filename":"image_30102025_08_22_02_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/2/10a4929723ea7b04c6e2cd6b22a75fec.jpg","text":"TemporaryFile(/tmp/multipartBody3149921317337816622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052407997,"filename":"image_30102025_08_21_57_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/2/2632ad33bbf344de57218eea6de9c6c5.jpg","text":"TemporaryFile(/tmp/multipartBody4571312496985832688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052407997,"filename":"image_30102025_08_21_53_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/2/538ad552207c7bb99b8288830799ccd2.jpg","text":"TemporaryFile(/tmp/multipartBody4004194918084972263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052407997,"filename":"image_30102025_08_21_59_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/2/a1fb2fc05dd5daa55e3896e2a808f75e.jpg","text":"TemporaryFile(/tmp/multipartBody3115014571905774506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052407997,"filename":"image_30102025_08_22_06_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391778925","file1":"1391778886","file0":"1391778844","file4":"1391779005","file5":"1391779052","file3":"1391778964"},"map_files_photo_id_array":[{"photo_id":"1391779052","filename":"file5"},{"photo_id":"1391778925","filename":"file2"},{"photo_id":"1391779005","filename":"file4"},{"photo_id":"1391778886","filename":"file1"},{"photo_id":"1391778844","filename":"file0"},{"photo_id":"1391778964","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391779052":["hashtag1","hashtag2"]},{"1391778964":["hashtag1","hashtag2"]},{"1391778886":["hashtag1","hashtag2"]},{"1391778844":["hashtag1","hashtag2"]},{"1391778925":["hashtag1","hashtag2"]},{"1391779005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391779052, 1391778964, 1391778886, 1391778844, 1391778925, 1391779005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.65636587142944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:00:02.472634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_11_2602.jpg', '/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_14_2776.jpg', '/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_18_3793.jpg', '/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_21_2614.jpg', '/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_23_2568.jpg', '/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_27_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/08/22/image_30102025_08_22_11_2602.jpg
/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_14_2776.jpg
/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_18_3793.jpg
/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_21_2614.jpg
/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_23_2568.jpg
/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_27_3578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391779250","1391779322","1391779211","1391779152","1391779110","1391779190"],"photo_ids_order":["1391779110","1391779152","1391779190","1391779211","1391779250","1391779322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ebaf32426c5927ac825d375bab2d78fd.jpg","text":"TemporaryFile(/tmp/multipartBody4166060829677461393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052464581,"filename":"image_30102025_08_22_23_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/2/8b3198b0a95e4d26b25a0888c1a3e148.jpg","text":"TemporaryFile(/tmp/multipartBody5261508998110609656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052464581,"filename":"image_30102025_08_22_27_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/2/c15de77f8fa4b63e063dc813dc6a7e2b.jpg","text":"TemporaryFile(/tmp/multipartBody2510466856072825485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052464581,"filename":"image_30102025_08_22_21_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/2/b2ec06fa26016ecf7057064a536fd692.jpg","text":"TemporaryFile(/tmp/multipartBody4027922466474018765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052464581,"filename":"image_30102025_08_22_14_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/2/9fa35aa74688590cec7d3efdd8a6663e.jpg","text":"TemporaryFile(/tmp/multipartBody3386021986695752762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052464581,"filename":"image_30102025_08_22_11_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/2/aceb7297b544ce6b3bdd45843abe6a32.jpg","text":"TemporaryFile(/tmp/multipartBody775761276817015001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052464581,"filename":"image_30102025_08_22_18_3793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391779190","file1":"1391779152","file0":"1391779110","file4":"1391779250","file5":"1391779322","file3":"1391779211"},"map_files_photo_id_array":[{"photo_id":"1391779322","filename":"file5"},{"photo_id":"1391779190","filename":"file2"},{"photo_id":"1391779250","filename":"file4"},{"photo_id":"1391779152","filename":"file1"},{"photo_id":"1391779110","filename":"file0"},{"photo_id":"1391779211","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391779250":["hashtag1","hashtag2"]},{"1391779322":["hashtag1","hashtag2"]},{"1391779211":["hashtag1","hashtag2"]},{"1391779152":["hashtag1","hashtag2"]},{"1391779110":["hashtag1","hashtag2"]},{"1391779190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391779250, 1391779322, 1391779211, 1391779152, 1391779110, 1391779190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94330668449402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:00:42.106672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_29_2654.jpg', '/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_33_3646.jpg', '/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_36_2572.jpg', '/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_38_2792.jpg', '/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_41_2677.jpg', '/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_45_3695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_29_2654.jpg
/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_33_3646.jpg
/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_36_2572.jpg
/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_38_2792.jpg
/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_41_2677.jpg
/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_45_3695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391779607","1391779567","1391779648","1391779691","1391779524","1391779481"],"photo_ids_order":["1391779481","1391779524","1391779567","1391779607","1391779648","1391779691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/72e3bcc4c860c7931082338a7dd1c667.jpg","text":"TemporaryFile(/tmp/multipartBody3748232449189966503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052503219,"filename":"image_30102025_08_22_38_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/2/b43a169edfa018960b02983282d7a204.jpg","text":"TemporaryFile(/tmp/multipartBody6257754453041440191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052503219,"filename":"image_30102025_08_22_36_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/2/c9608a6012731ebb825488d327e486f4.jpg","text":"TemporaryFile(/tmp/multipartBody1668187808442770574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052503219,"filename":"image_30102025_08_22_41_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/2/62224febb7d2b212781995cd048997ed.jpg","text":"TemporaryFile(/tmp/multipartBody1949944905008510838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052503219,"filename":"image_30102025_08_22_45_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/2/0bcd38280a266d37da4e5564176d8d03.jpg","text":"TemporaryFile(/tmp/multipartBody3987494658197985047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052503219,"filename":"image_30102025_08_22_33_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/2/a852f3161d5b77ba18641723d04ad75f.jpg","text":"TemporaryFile(/tmp/multipartBody3467540566320486922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052503219,"filename":"image_30102025_08_22_29_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391779567","file1":"1391779524","file0":"1391779481","file4":"1391779648","file5":"1391779691","file3":"1391779607"},"map_files_photo_id_array":[{"photo_id":"1391779691","filename":"file5"},{"photo_id":"1391779567","filename":"file2"},{"photo_id":"1391779648","filename":"file4"},{"photo_id":"1391779524","filename":"file1"},{"photo_id":"1391779481","filename":"file0"},{"photo_id":"1391779607","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391779607":["hashtag1","hashtag2"]},{"1391779567":["hashtag1","hashtag2"]},{"1391779648":["hashtag1","hashtag2"]},{"1391779691":["hashtag1","hashtag2"]},{"1391779524":["hashtag1","hashtag2"]},{"1391779481":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391779607, 1391779567, 1391779648, 1391779691, 1391779524, 1391779481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.729331731796265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 04:01:22.225431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_47_2569.jpg', '/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_51_3652.jpg', '/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_54_2677.jpg', '/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_56_2611.jpg', '/home/pi/Desktop/images/30102025/08/22/image_30102025_08_23_00_3673.jpg', '/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_03_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/08/22/image_30102025_08_22_47_2569.jpg
/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_51_3652.jpg
/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_54_2677.jpg
/home/pi/Desktop/images/30102025/08/22/image_30102025_08_22_56_2611.jpg
/home/pi/Desktop/images/30102025/08/22/image_30102025_08_23_00_3673.jpg
/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_03_2836.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391779861","1391779942","1391779945","1391779935","1391779950","1391779898"],"photo_ids_order":["1391779861","1391779898","1391779935","1391779942","1391779945","1391779950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c0e699c8ef71e620c419753b7f05e403.jpg","text":"TemporaryFile(/tmp/multipartBody3570831111216168463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052544867,"filename":"image_30102025_08_22_47_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/2/e77572cebf61760ee4844e5915ed984a.jpg","text":"TemporaryFile(/tmp/multipartBody4858385872916490460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052544867,"filename":"image_30102025_08_22_56_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/2/4126287601685c58dca7829d00a17234.jpg","text":"TemporaryFile(/tmp/multipartBody4161640533255052969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052544867,"filename":"image_30102025_08_23_00_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/2/3e3926efe74027ced56ca5fed9a6bf40.jpg","text":"TemporaryFile(/tmp/multipartBody2169354347334013128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052544867,"filename":"image_30102025_08_22_54_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/2/3f2c3fc978e3c007efb6ceae00d3ceb0.jpg","text":"TemporaryFile(/tmp/multipartBody2827166296265985249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052544867,"filename":"image_30102025_08_23_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/2/364ec227d37019b5401d7e7d16294ba1.jpg","text":"TemporaryFile(/tmp/multipartBody3402004201404464935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052544867,"filename":"image_30102025_08_22_51_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391779935","file1":"1391779898","file0":"1391779861","file4":"1391779945","file5":"1391779950","file3":"1391779942"},"map_files_photo_id_array":[{"photo_id":"1391779950","filename":"file5"},{"photo_id":"1391779935","filename":"file2"},{"photo_id":"1391779945","filename":"file4"},{"photo_id":"1391779898","filename":"file1"},{"photo_id":"1391779861","filename":"file0"},{"photo_id":"1391779942","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391779861":["hashtag1","hashtag2"]},{"1391779942":["hashtag1","hashtag2"]},{"1391779945":["hashtag1","hashtag2"]},{"1391779935":["hashtag1","hashtag2"]},{"1391779950":["hashtag1","hashtag2"]},{"1391779898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391779861, 1391779942, 1391779945, 1391779935, 1391779950, 1391779898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12537622451782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:02:02.851083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_05_2728.jpg', '/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_08_2721.jpg', '/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_12_3735.jpg', '/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_17_2677.jpg', '/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_21_3646.jpg', '/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_24_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/08/23/image_30102025_08_23_05_2728.jpg
/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_08_2721.jpg
/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_12_3735.jpg
/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_17_2677.jpg
/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_21_3646.jpg
/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_24_2678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391779996","1391780114","1391780074","1391780152","1391780196","1391780037"],"photo_ids_order":["1391779996","1391780037","1391780074","1391780114","1391780152","1391780196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b7048e834b64d336c26217d5045193c4.jpg","text":"TemporaryFile(/tmp/multipartBody7686191669903468334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052585017,"filename":"image_30102025_08_23_05_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/2/2b9047d5837551c17cc8bcee2cb7307c.jpg","text":"TemporaryFile(/tmp/multipartBody4050988394843620921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052585017,"filename":"image_30102025_08_23_17_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/2/48a068ddb19e1d01aae030458b8186bd.jpg","text":"TemporaryFile(/tmp/multipartBody1009401746817846697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052585017,"filename":"image_30102025_08_23_12_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/2/4f092408f00ce34e1b19e6fe3af21d90.jpg","text":"TemporaryFile(/tmp/multipartBody4479124734813352182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052585017,"filename":"image_30102025_08_23_21_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/2/07d8c41ebd83acfbf4bfc5e28b1470c0.jpg","text":"TemporaryFile(/tmp/multipartBody8117832670924413112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052585017,"filename":"image_30102025_08_23_24_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/2/531726089cddeeec6314495e80081977.jpg","text":"TemporaryFile(/tmp/multipartBody1842891549930672937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052585017,"filename":"image_30102025_08_23_08_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391780074","file1":"1391780037","file0":"1391779996","file4":"1391780152","file5":"1391780196","file3":"1391780114"},"map_files_photo_id_array":[{"photo_id":"1391780196","filename":"file5"},{"photo_id":"1391780074","filename":"file2"},{"photo_id":"1391780152","filename":"file4"},{"photo_id":"1391780037","filename":"file1"},{"photo_id":"1391779996","filename":"file0"},{"photo_id":"1391780114","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391779996":["hashtag1","hashtag2"]},{"1391780114":["hashtag1","hashtag2"]},{"1391780074":["hashtag1","hashtag2"]},{"1391780152":["hashtag1","hashtag2"]},{"1391780196":["hashtag1","hashtag2"]},{"1391780037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391779996, 1391780114, 1391780074, 1391780152, 1391780196, 1391780037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0750253200531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:02:42.541651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_26_2639.jpg', '/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_30_3591.jpg', '/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_32_2607.jpg', '/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_35_2562.jpg', '/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_39_3591.jpg', '/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_41_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/08/23/image_30102025_08_23_26_2639.jpg
/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_30_3591.jpg
/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_32_2607.jpg
/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_35_2562.jpg
/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_39_3591.jpg
/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_41_2716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391780765","1391780444","1391780603","1391780686","1391780806","1391780526"],"photo_ids_order":["1391780444","1391780526","1391780603","1391780686","1391780765","1391780806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8f9bef4924354651068070f71d2fcd4c.jpg","text":"TemporaryFile(/tmp/multipartBody4256888634676175466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052623643,"filename":"image_30102025_08_23_39_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/2/8d924e11a1c530b8282cf638634335f2.jpg","text":"TemporaryFile(/tmp/multipartBody2458160048325325350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052623643,"filename":"image_30102025_08_23_26_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/2/f583eade316b9462b64fd9efd674f7f2.jpg","text":"TemporaryFile(/tmp/multipartBody1915921521075687732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052623643,"filename":"image_30102025_08_23_32_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/2/f849a8ef880ec8559b27211c31fa2ea2.jpg","text":"TemporaryFile(/tmp/multipartBody6137070176332084778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052623643,"filename":"image_30102025_08_23_35_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/2/438a32fcbc54ee288e1ccadc77b1b623.jpg","text":"TemporaryFile(/tmp/multipartBody7978505110144145095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052623643,"filename":"image_30102025_08_23_41_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/2/205db6750863b7ec8ad6b324b8d24173.jpg","text":"TemporaryFile(/tmp/multipartBody4233555759232090232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052623643,"filename":"image_30102025_08_23_30_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391780603","file1":"1391780526","file0":"1391780444","file4":"1391780765","file5":"1391780806","file3":"1391780686"},"map_files_photo_id_array":[{"photo_id":"1391780806","filename":"file5"},{"photo_id":"1391780603","filename":"file2"},{"photo_id":"1391780765","filename":"file4"},{"photo_id":"1391780526","filename":"file1"},{"photo_id":"1391780444","filename":"file0"},{"photo_id":"1391780686","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391780765":["hashtag1","hashtag2"]},{"1391780444":["hashtag1","hashtag2"]},{"1391780603":["hashtag1","hashtag2"]},{"1391780686":["hashtag1","hashtag2"]},{"1391780806":["hashtag1","hashtag2"]},{"1391780526":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391780765, 1391780444, 1391780603, 1391780686, 1391780806, 1391780526)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.86371922492981 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:03:42.687824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_44_2606.jpg', '/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_48_3742.jpg', '/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_51_2915.jpg', '/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_53_2657.jpg', '/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_57_3636.jpg', '/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_59_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/08/23/image_30102025_08_23_44_2606.jpg
/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_48_3742.jpg
/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_51_2915.jpg
/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_53_2657.jpg
/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_57_3636.jpg
/home/pi/Desktop/images/30102025/08/23/image_30102025_08_23_59_2560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391781380","1391781341","1391781422","1391781262","1391781304","1391781465"],"photo_ids_order":["1391781262","1391781304","1391781341","1391781380","1391781422","1391781465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/14ae82ada90a952ff7ef0600161e9544.jpg","text":"TemporaryFile(/tmp/multipartBody5785063998569217164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052689841,"filename":"image_30102025_08_23_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/2/ef5821600f346435558f3c0d9aef4436.jpg","text":"TemporaryFile(/tmp/multipartBody3955589327038252061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052689841,"filename":"image_30102025_08_23_51_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/2/a924b74cd43d6143003d922551c9accb.jpg","text":"TemporaryFile(/tmp/multipartBody7944912313371970915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052689841,"filename":"image_30102025_08_23_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/2/ce4a41022306ec0513e72e2cc4154dc7.jpg","text":"TemporaryFile(/tmp/multipartBody2430048157206562516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052689841,"filename":"image_30102025_08_23_44_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/2/4ef221b3748667ceae5d80dc115d0add.jpg","text":"TemporaryFile(/tmp/multipartBody6260178303437531551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052689841,"filename":"image_30102025_08_23_48_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/2/6cfb373ff5d7a19bdd8b637f1bc31066.jpg","text":"TemporaryFile(/tmp/multipartBody1826377999611910528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052689841,"filename":"image_30102025_08_23_59_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391781341","file1":"1391781304","file0":"1391781262","file4":"1391781422","file5":"1391781465","file3":"1391781380"},"map_files_photo_id_array":[{"photo_id":"1391781465","filename":"file5"},{"photo_id":"1391781341","filename":"file2"},{"photo_id":"1391781422","filename":"file4"},{"photo_id":"1391781304","filename":"file1"},{"photo_id":"1391781262","filename":"file0"},{"photo_id":"1391781380","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391781380":["hashtag1","hashtag2"]},{"1391781341":["hashtag1","hashtag2"]},{"1391781422":["hashtag1","hashtag2"]},{"1391781262":["hashtag1","hashtag2"]},{"1391781304":["hashtag1","hashtag2"]},{"1391781465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391781380, 1391781341, 1391781422, 1391781262, 1391781304, 1391781465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.27399969100952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:04:42.021762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_02_2580.jpg', '/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_06_3598.jpg', '/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_08_2814.jpg', '/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_11_2627.jpg', '/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_15_3741.jpg', '/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_17_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/08/24/image_30102025_08_24_02_2580.jpg
/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_06_3598.jpg
/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_08_2814.jpg
/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_11_2627.jpg
/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_15_3741.jpg
/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_17_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391781506","1391781523","1391781511","1391781514","1391781517","1391781519"],"photo_ids_order":["1391781506","1391781511","1391781514","1391781517","1391781519","1391781523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2e9d71ac3d89a83d5ab562dc706aab7a.jpg","text":"TemporaryFile(/tmp/multipartBody8667067067450877980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052743120,"filename":"image_30102025_08_24_02_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/2/341ae708ae61110273ce8091628a9830.jpg","text":"TemporaryFile(/tmp/multipartBody8425034174054783783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052743120,"filename":"image_30102025_08_24_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/2/ad1bb3380c6f47b3bd22a117488442b9.jpg","text":"TemporaryFile(/tmp/multipartBody2960384171349622815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052743120,"filename":"image_30102025_08_24_06_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/2/1b1949abeb12872d5bd9dffc15202248.jpg","text":"TemporaryFile(/tmp/multipartBody6490047065759798037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052743120,"filename":"image_30102025_08_24_08_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/2/ba8ebc64cc25076537ff1587d9ec8ecb.jpg","text":"TemporaryFile(/tmp/multipartBody533887548334993715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052743120,"filename":"image_30102025_08_24_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/2/bb3f1e6d10e3dc9350ef3c44212213fb.jpg","text":"TemporaryFile(/tmp/multipartBody8295890756332252228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052743120,"filename":"image_30102025_08_24_15_3741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391781514","file1":"1391781511","file0":"1391781506","file4":"1391781519","file5":"1391781523","file3":"1391781517"},"map_files_photo_id_array":[{"photo_id":"1391781523","filename":"file5"},{"photo_id":"1391781514","filename":"file2"},{"photo_id":"1391781519","filename":"file4"},{"photo_id":"1391781511","filename":"file1"},{"photo_id":"1391781506","filename":"file0"},{"photo_id":"1391781517","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391781506":["hashtag1","hashtag2"]},{"1391781523":["hashtag1","hashtag2"]},{"1391781511":["hashtag1","hashtag2"]},{"1391781514":["hashtag1","hashtag2"]},{"1391781517":["hashtag1","hashtag2"]},{"1391781519":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391781506, 1391781523, 1391781511, 1391781514, 1391781517, 1391781519)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.78571009635925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:05:42.201339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_20_2673.jpg', '/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_24_3597.jpg', '/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_26_2763.jpg', '/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_33_3574.jpg', '/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_35_2667.jpg', '/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_38_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/08/24/image_30102025_08_24_20_2673.jpg
/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_24_3597.jpg
/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_26_2763.jpg
/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_33_3574.jpg
/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_35_2667.jpg
/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_38_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391781665","1391781548","1391781542","1391781538","1391781619","1391781578"],"photo_ids_order":["1391781538","1391781542","1391781548","1391781578","1391781619","1391781665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/21e565b47ae829b2b1061fda9d8c0729.jpg","text":"TemporaryFile(/tmp/multipartBody2825137998569590235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052803291,"filename":"image_30102025_08_24_38_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/2/b28b408fd1021221497899ecea0eb0d0.jpg","text":"TemporaryFile(/tmp/multipartBody8748778722228635238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052803291,"filename":"image_30102025_08_24_26_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/2/ccb56fe6853bc797cd32319edae4ef58.jpg","text":"TemporaryFile(/tmp/multipartBody4885935986546680747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052803291,"filename":"image_30102025_08_24_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/2/16ad4be1e10a0e85029ecf545df2339c.jpg","text":"TemporaryFile(/tmp/multipartBody918470420922628027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052803291,"filename":"image_30102025_08_24_20_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/2/6fc5f10740537e0c50c5dd60ee70483c.jpg","text":"TemporaryFile(/tmp/multipartBody7774901064184778171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052803291,"filename":"image_30102025_08_24_35_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/2/aebecb784938838898459a6114c9a7e6.jpg","text":"TemporaryFile(/tmp/multipartBody1708795420853196627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052803291,"filename":"image_30102025_08_24_33_3574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391781548","file1":"1391781542","file0":"1391781538","file4":"1391781619","file5":"1391781665","file3":"1391781578"},"map_files_photo_id_array":[{"photo_id":"1391781665","filename":"file5"},{"photo_id":"1391781548","filename":"file2"},{"photo_id":"1391781619","filename":"file4"},{"photo_id":"1391781542","filename":"file1"},{"photo_id":"1391781538","filename":"file0"},{"photo_id":"1391781578","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391781665":["hashtag1","hashtag2"]},{"1391781548":["hashtag1","hashtag2"]},{"1391781542":["hashtag1","hashtag2"]},{"1391781538":["hashtag1","hashtag2"]},{"1391781619":["hashtag1","hashtag2"]},{"1391781578":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391781665, 1391781548, 1391781542, 1391781538, 1391781619, 1391781578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.894848585128784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 04:06:22.348286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_42_3536.jpg', '/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_44_2735.jpg', '/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_47_2818.jpg', '/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_50_2777.jpg', '/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_54_3731.jpg', '/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_56_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/08/24/image_30102025_08_24_42_3536.jpg
/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_44_2735.jpg
/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_47_2818.jpg
/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_50_2777.jpg
/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_54_3731.jpg
/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_56_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391781866","1391781905","1391782041","1391781999","1391781957","1391781825"],"photo_ids_order":["1391781825","1391781866","1391781905","1391781957","1391781999","1391782041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/023780544ade2478d843880b1e66d6d6.jpg","text":"TemporaryFile(/tmp/multipartBody7193891232949226881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052845047,"filename":"image_30102025_08_24_44_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/2/6d6211b37145eb091ab52a3a2b6d82ba.jpg","text":"TemporaryFile(/tmp/multipartBody4025818596263003191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052845047,"filename":"image_30102025_08_24_47_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/2/764af6206fca9725a038386141ec8716.jpg","text":"TemporaryFile(/tmp/multipartBody8856182522521242881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052845047,"filename":"image_30102025_08_24_56_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/2/59252d86e6072176e81cc4adda75911e.jpg","text":"TemporaryFile(/tmp/multipartBody2629617576863509916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052845047,"filename":"image_30102025_08_24_54_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/2/6502c15fa1e9fe49a95ebf4a23a27cb4.jpg","text":"TemporaryFile(/tmp/multipartBody3786368116492876536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052845047,"filename":"image_30102025_08_24_50_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/2/dc547ab7e9f27f2d20590730e3552af8.jpg","text":"TemporaryFile(/tmp/multipartBody7157978681528637478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052845047,"filename":"image_30102025_08_24_42_3536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391781905","file1":"1391781866","file0":"1391781825","file4":"1391781999","file5":"1391782041","file3":"1391781957"},"map_files_photo_id_array":[{"photo_id":"1391782041","filename":"file5"},{"photo_id":"1391781905","filename":"file2"},{"photo_id":"1391781999","filename":"file4"},{"photo_id":"1391781866","filename":"file1"},{"photo_id":"1391781825","filename":"file0"},{"photo_id":"1391781957","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391781866":["hashtag1","hashtag2"]},{"1391781905":["hashtag1","hashtag2"]},{"1391782041":["hashtag1","hashtag2"]},{"1391781999":["hashtag1","hashtag2"]},{"1391781957":["hashtag1","hashtag2"]},{"1391781825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391781866, 1391781905, 1391782041, 1391781999, 1391781957, 1391781825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.277156829833984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:07:03.327896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/24/image_30102025_08_24_59_2638.jpg', '/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_03_3794.jpg', '/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_05_2683.jpg', '/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_11_2634.jpg', '/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_15_3721.jpg', '/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_17_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/08/24/image_30102025_08_24_59_2638.jpg
/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_03_3794.jpg
/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_05_2683.jpg
/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_11_2634.jpg
/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_15_3721.jpg
/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_17_2578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782078","1391782144","1391782138","1391782147","1391782141","1391782117"],"photo_ids_order":["1391782078","1391782117","1391782138","1391782141","1391782144","1391782147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/df2d42dcb1d79e4c5bd1eb7a4efd4856.jpg","text":"TemporaryFile(/tmp/multipartBody8251033475881123044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052885527,"filename":"image_30102025_08_24_59_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/2/d4ff9162db878221f2bf71b4b6a3ee4f.jpg","text":"TemporaryFile(/tmp/multipartBody2583405982477148869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052885527,"filename":"image_30102025_08_25_15_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/2/f2a014d26e7359d62cc3b25c479ad37e.jpg","text":"TemporaryFile(/tmp/multipartBody5847253950351533937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052885527,"filename":"image_30102025_08_25_05_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/2/8faf910369dc7d7e1fb875655e86dc33.jpg","text":"TemporaryFile(/tmp/multipartBody3291541823547034874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052885527,"filename":"image_30102025_08_25_17_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/2/2599f2ccc6b4c2c02e4fee4ec32e8d24.jpg","text":"TemporaryFile(/tmp/multipartBody3926494058462346409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052885527,"filename":"image_30102025_08_25_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/2/65b0eb867b33fc056eafbb418f70934f.jpg","text":"TemporaryFile(/tmp/multipartBody7379935367376517095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052885527,"filename":"image_30102025_08_25_03_3794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782138","file1":"1391782117","file0":"1391782078","file4":"1391782144","file5":"1391782147","file3":"1391782141"},"map_files_photo_id_array":[{"photo_id":"1391782147","filename":"file5"},{"photo_id":"1391782138","filename":"file2"},{"photo_id":"1391782144","filename":"file4"},{"photo_id":"1391782117","filename":"file1"},{"photo_id":"1391782078","filename":"file0"},{"photo_id":"1391782141","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782078":["hashtag1","hashtag2"]},{"1391782144":["hashtag1","hashtag2"]},{"1391782138":["hashtag1","hashtag2"]},{"1391782147":["hashtag1","hashtag2"]},{"1391782141":["hashtag1","hashtag2"]},{"1391782117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782078, 1391782144, 1391782138, 1391782147, 1391782141, 1391782117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4864866733551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:07:42.574257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_20_2665.jpg', '/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_24_3728.jpg', '/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_29_2563.jpg', '/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_35_2589.jpg', '/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_38_2666.jpg', '/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_41_3568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_20_2665.jpg
/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_24_3728.jpg
/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_29_2563.jpg
/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_35_2589.jpg
/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_38_2666.jpg
/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_41_3568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782276","1391782258","1391782236","1391782295","1391782298","1391782292"],"photo_ids_order":["1391782236","1391782258","1391782276","1391782292","1391782295","1391782298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/735054148db62597fe7d94ded89e1095.jpg","text":"TemporaryFile(/tmp/multipartBody2356660703242332977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052923825,"filename":"image_30102025_08_25_29_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/2/68dfc046ab6aa3d2a028626a03ff45dd.jpg","text":"TemporaryFile(/tmp/multipartBody5167984987053919983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052923825,"filename":"image_30102025_08_25_24_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/2/369e9ed9e545032c3f8539cdc7c819e4.jpg","text":"TemporaryFile(/tmp/multipartBody1676981509557528186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052923825,"filename":"image_30102025_08_25_20_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/2/be9baa7ec4364384de1268d94a75041c.jpg","text":"TemporaryFile(/tmp/multipartBody3057434428774606540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052923825,"filename":"image_30102025_08_25_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/2/c9f245cecd949261e70ff2611f5398a2.jpg","text":"TemporaryFile(/tmp/multipartBody5474273002049904693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052923825,"filename":"image_30102025_08_25_41_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/2/2dd1f10eeddc4bb79354e8b002d3e7b8.jpg","text":"TemporaryFile(/tmp/multipartBody5378845686837991508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052923825,"filename":"image_30102025_08_25_35_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782276","file1":"1391782258","file0":"1391782236","file4":"1391782295","file5":"1391782298","file3":"1391782292"},"map_files_photo_id_array":[{"photo_id":"1391782298","filename":"file5"},{"photo_id":"1391782276","filename":"file2"},{"photo_id":"1391782295","filename":"file4"},{"photo_id":"1391782258","filename":"file1"},{"photo_id":"1391782236","filename":"file0"},{"photo_id":"1391782292","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782276":["hashtag1","hashtag2"]},{"1391782258":["hashtag1","hashtag2"]},{"1391782236":["hashtag1","hashtag2"]},{"1391782295":["hashtag1","hashtag2"]},{"1391782298":["hashtag1","hashtag2"]},{"1391782292":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782276, 1391782258, 1391782236, 1391782295, 1391782298, 1391782292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.40322971343994 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-02 04:08:42.730147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_44_2580.jpg', '/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_47_3594.jpg', '/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_50_2597.jpg', '/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_53_2612.jpg', '/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_56_3660.jpg', '/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_59_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/08/25/image_30102025_08_25_44_2580.jpg
/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_47_3594.jpg
/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_50_2597.jpg
/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_53_2612.jpg
/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_56_3660.jpg
/home/pi/Desktop/images/30102025/08/25/image_30102025_08_25_59_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782322","1391782316","1391782335","1391782343","1391782340","1391782328"],"photo_ids_order":["1391782316","1391782322","1391782328","1391782335","1391782340","1391782343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/47a487df81d17e7a91a113f63973b92e.jpg","text":"TemporaryFile(/tmp/multipartBody2197984070087415318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052983978,"filename":"image_30102025_08_25_47_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/2/488cbc418fce867414fb78e8eb2b6c0a.jpg","text":"TemporaryFile(/tmp/multipartBody5845803846875840802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052983978,"filename":"image_30102025_08_25_44_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/2/6b563eae57ca87094741e45f1dc72f99.jpg","text":"TemporaryFile(/tmp/multipartBody3311908025550507626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052983978,"filename":"image_30102025_08_25_53_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/2/770e82feef9af67432b5fdf6612c1887.jpg","text":"TemporaryFile(/tmp/multipartBody1281911440321637163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052983978,"filename":"image_30102025_08_25_59_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/2/f96ffdc29364e71d262e06e3147f9b2b.jpg","text":"TemporaryFile(/tmp/multipartBody5946174945786207510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052983978,"filename":"image_30102025_08_25_56_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/2/5ebdf0df7c4000b4408adb75e23cf0ff.jpg","text":"TemporaryFile(/tmp/multipartBody6208696176820951241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762052983978,"filename":"image_30102025_08_25_50_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782328","file1":"1391782322","file0":"1391782316","file4":"1391782340","file5":"1391782343","file3":"1391782335"},"map_files_photo_id_array":[{"photo_id":"1391782343","filename":"file5"},{"photo_id":"1391782328","filename":"file2"},{"photo_id":"1391782340","filename":"file4"},{"photo_id":"1391782322","filename":"file1"},{"photo_id":"1391782316","filename":"file0"},{"photo_id":"1391782335","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782322":["hashtag1","hashtag2"]},{"1391782316":["hashtag1","hashtag2"]},{"1391782335":["hashtag1","hashtag2"]},{"1391782343":["hashtag1","hashtag2"]},{"1391782340":["hashtag1","hashtag2"]},{"1391782328":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782322, 1391782316, 1391782335, 1391782343, 1391782340, 1391782328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16990351676941 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 04:09:21.846931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_02_2844.jpg', '/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_05_3593.jpg', '/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_11_2585.jpg', '/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_14_3720.jpg', '/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_17_2806.jpg', '/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_20_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/08/26/image_30102025_08_26_02_2844.jpg
/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_05_3593.jpg
/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_11_2585.jpg
/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_14_3720.jpg
/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_17_2806.jpg
/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_20_2638.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.586484670639038 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:09:41.886283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_02_2844.jpg', '/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_05_3593.jpg', '/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_11_2585.jpg', '/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_14_3720.jpg', '/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_17_2806.jpg', '/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_20_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/08/26/image_30102025_08_26_02_2844.jpg
/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_05_3593.jpg
/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_11_2585.jpg
/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_14_3720.jpg
/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_17_2806.jpg
/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_20_2638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782372","1391782383","1391782377","1391782380","1391782374","1391782364"],"photo_ids_order":["1391782364","1391782372","1391782374","1391782377","1391782380","1391782383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b2c6651ff4611db10fb0bc12128812ee.jpg","text":"TemporaryFile(/tmp/multipartBody144237129019067741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053042914,"filename":"image_30102025_08_26_05_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/2/08655e25f67ac411b6e54b83cab45fcd.jpg","text":"TemporaryFile(/tmp/multipartBody8698138551696257191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053042914,"filename":"image_30102025_08_26_20_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/2/e0303a484b6ff61b0003cf45db4423e9.jpg","text":"TemporaryFile(/tmp/multipartBody2414651701667389986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053042914,"filename":"image_30102025_08_26_14_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/2/1f55bb56bdcc295530455658230d660a.jpg","text":"TemporaryFile(/tmp/multipartBody6371000341097398665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053042914,"filename":"image_30102025_08_26_17_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/2/e535cf4672c4a3d3bcb63f9b44830479.jpg","text":"TemporaryFile(/tmp/multipartBody563562592032731699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053042914,"filename":"image_30102025_08_26_11_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/2/8d0b26affd36c2ead1cc994a0450befd.jpg","text":"TemporaryFile(/tmp/multipartBody8704769715999030706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053042914,"filename":"image_30102025_08_26_02_2844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782374","file1":"1391782372","file0":"1391782364","file4":"1391782380","file5":"1391782383","file3":"1391782377"},"map_files_photo_id_array":[{"photo_id":"1391782383","filename":"file5"},{"photo_id":"1391782374","filename":"file2"},{"photo_id":"1391782380","filename":"file4"},{"photo_id":"1391782372","filename":"file1"},{"photo_id":"1391782364","filename":"file0"},{"photo_id":"1391782377","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782372":["hashtag1","hashtag2"]},{"1391782383":["hashtag1","hashtag2"]},{"1391782377":["hashtag1","hashtag2"]},{"1391782380":["hashtag1","hashtag2"]},{"1391782374":["hashtag1","hashtag2"]},{"1391782364":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782372, 1391782383, 1391782377, 1391782380, 1391782374, 1391782364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05760908126831 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 04:10:22.019422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_23_2764.jpg', '/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_26_3694.jpg', '/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_29_2667.jpg', '/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_32_2772.jpg', '/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_38_2569.jpg', '/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_42_3564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_23_2764.jpg
/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_26_3694.jpg
/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_29_2667.jpg
/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_32_2772.jpg
/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_38_2569.jpg
/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_42_3564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782400","1391782390","1391782396","1391782398","1391782392","1391782394"],"photo_ids_order":["1391782390","1391782392","1391782394","1391782396","1391782398","1391782400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8d8610dcb0d5a27dbd99f8ef7d9827ca.jpg","text":"TemporaryFile(/tmp/multipartBody8353883387117193870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053084663,"filename":"image_30102025_08_26_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/2/9bfed17e215d7e1088fc367bcb823696.jpg","text":"TemporaryFile(/tmp/multipartBody2929198246812660129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053084663,"filename":"image_30102025_08_26_23_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/2/83a0d6eb4eb93abe3e9a1bc2a9d599e1.jpg","text":"TemporaryFile(/tmp/multipartBody9165246860630517317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053084663,"filename":"image_30102025_08_26_32_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/2/e1f5fc9bce5be1cb91d459d3697eda26.jpg","text":"TemporaryFile(/tmp/multipartBody474046906733300883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053084663,"filename":"image_30102025_08_26_38_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/2/a26a60f346ac5a442e6b17b14246363d.jpg","text":"TemporaryFile(/tmp/multipartBody478648279536936170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053084663,"filename":"image_30102025_08_26_26_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/2/ec3aac493bddc892a85aeeffc7f28c70.jpg","text":"TemporaryFile(/tmp/multipartBody5030350057376288181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053084663,"filename":"image_30102025_08_26_29_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782394","file1":"1391782392","file0":"1391782390","file4":"1391782398","file5":"1391782400","file3":"1391782396"},"map_files_photo_id_array":[{"photo_id":"1391782400","filename":"file5"},{"photo_id":"1391782394","filename":"file2"},{"photo_id":"1391782398","filename":"file4"},{"photo_id":"1391782392","filename":"file1"},{"photo_id":"1391782390","filename":"file0"},{"photo_id":"1391782396","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782400":["hashtag1","hashtag2"]},{"1391782390":["hashtag1","hashtag2"]},{"1391782396":["hashtag1","hashtag2"]},{"1391782398":["hashtag1","hashtag2"]},{"1391782392":["hashtag1","hashtag2"]},{"1391782394":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782400, 1391782390, 1391782396, 1391782398, 1391782392, 1391782394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7760214805603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:11:02.900556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_44_2698.jpg', '/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_51_3661.jpg', '/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_53_2617.jpg', '/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_56_2754.jpg', '/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_59_2655.jpg', '/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_05_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/08/26/image_30102025_08_26_44_2698.jpg
/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_51_3661.jpg
/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_53_2617.jpg
/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_56_2754.jpg
/home/pi/Desktop/images/30102025/08/26/image_30102025_08_26_59_2655.jpg
/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_05_2683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782421","1391782415","1391782418","1391782426","1391782430","1391782412"],"photo_ids_order":["1391782412","1391782415","1391782418","1391782421","1391782426","1391782430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/aadbb5de9039d9ecd30e77cf0dc5eff1.jpg","text":"TemporaryFile(/tmp/multipartBody3209962066556599673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053125097,"filename":"image_30102025_08_26_56_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/2/826faf6f7b41a8ede699099790511d5e.jpg","text":"TemporaryFile(/tmp/multipartBody3848343105195275166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053125097,"filename":"image_30102025_08_26_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/2/70681adb1b81c77204a82ea67882f522.jpg","text":"TemporaryFile(/tmp/multipartBody3535977385855980242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053125097,"filename":"image_30102025_08_26_53_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/2/60aa7297d974a242fd5d1f46dfb63077.jpg","text":"TemporaryFile(/tmp/multipartBody7751949430147154589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053125097,"filename":"image_30102025_08_26_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/2/3f13e179d07e1d32cc7565f536d1630e.jpg","text":"TemporaryFile(/tmp/multipartBody1023028333671549616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053125097,"filename":"image_30102025_08_27_05_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/2/14ee2f375fae12fc6dbd88f063b6e322.jpg","text":"TemporaryFile(/tmp/multipartBody4209855185154929376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053125097,"filename":"image_30102025_08_26_44_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782418","file1":"1391782415","file0":"1391782412","file4":"1391782426","file5":"1391782430","file3":"1391782421"},"map_files_photo_id_array":[{"photo_id":"1391782430","filename":"file5"},{"photo_id":"1391782418","filename":"file2"},{"photo_id":"1391782426","filename":"file4"},{"photo_id":"1391782415","filename":"file1"},{"photo_id":"1391782412","filename":"file0"},{"photo_id":"1391782421","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782421":["hashtag1","hashtag2"]},{"1391782415":["hashtag1","hashtag2"]},{"1391782418":["hashtag1","hashtag2"]},{"1391782426":["hashtag1","hashtag2"]},{"1391782430":["hashtag1","hashtag2"]},{"1391782412":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782421, 1391782415, 1391782418, 1391782426, 1391782430, 1391782412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35622954368591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:11:42.279976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_08_2902.jpg', '/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_12_3678.jpg', '/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_17_2758.jpg', '/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_20_2795.jpg', '/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_23_3657.jpg', '/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_26_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/08/27/image_30102025_08_27_08_2902.jpg
/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_12_3678.jpg
/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_17_2758.jpg
/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_20_2795.jpg
/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_23_3657.jpg
/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_26_2659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782441","1391782446","1391782455","1391782437","1391782460","1391782451"],"photo_ids_order":["1391782437","1391782441","1391782446","1391782451","1391782455","1391782460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4f1e540a9d25ffc038be85bb098d65f1.jpg","text":"TemporaryFile(/tmp/multipartBody868047610960137687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053163395,"filename":"image_30102025_08_27_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/2/c3b576d205bd582c3f59d2c1a9e90696.jpg","text":"TemporaryFile(/tmp/multipartBody2242256005880436675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053163395,"filename":"image_30102025_08_27_17_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/2/b5aa9f809412f020f3960e9fc901de0f.jpg","text":"TemporaryFile(/tmp/multipartBody5563228133388032475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053163395,"filename":"image_30102025_08_27_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/2/a4d1a2ecd844b45b846fb969ed9b39cb.jpg","text":"TemporaryFile(/tmp/multipartBody8486163596457944640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053163395,"filename":"image_30102025_08_27_08_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/2/b02dd5ebbff0bf648568a983b0deef3a.jpg","text":"TemporaryFile(/tmp/multipartBody3643719678531693342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053163395,"filename":"image_30102025_08_27_26_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/2/a519e4124ac9dfe5eb1058c237565481.jpg","text":"TemporaryFile(/tmp/multipartBody5787880371760618167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053163395,"filename":"image_30102025_08_27_20_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782446","file1":"1391782441","file0":"1391782437","file4":"1391782455","file5":"1391782460","file3":"1391782451"},"map_files_photo_id_array":[{"photo_id":"1391782460","filename":"file5"},{"photo_id":"1391782446","filename":"file2"},{"photo_id":"1391782455","filename":"file4"},{"photo_id":"1391782441","filename":"file1"},{"photo_id":"1391782437","filename":"file0"},{"photo_id":"1391782451","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782441":["hashtag1","hashtag2"]},{"1391782446":["hashtag1","hashtag2"]},{"1391782455":["hashtag1","hashtag2"]},{"1391782437":["hashtag1","hashtag2"]},{"1391782460":["hashtag1","hashtag2"]},{"1391782451":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782441, 1391782446, 1391782455, 1391782437, 1391782460, 1391782451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54148507118225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 04:12:22.379079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_29_2542.jpg', '/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_32_3776.jpg', '/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_38_2823.jpg', '/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_41_3601.jpg', '/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_44_2259.jpg', '/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_49_5727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_29_2542.jpg
/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_32_3776.jpg
/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_38_2823.jpg
/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_41_3601.jpg
/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_44_2259.jpg
/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_49_5727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782474","1391782479","1391782464","1391782469","1391782484","1391782466"],"photo_ids_order":["1391782464","1391782466","1391782469","1391782474","1391782479","1391782484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/240c3ac1d0e7786420b611bfdfc30ea8.jpg","text":"TemporaryFile(/tmp/multipartBody4665444140879184421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053205007,"filename":"image_30102025_08_27_41_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/2/5a12084d49cb15928c7457ecbac13d10.jpg","text":"TemporaryFile(/tmp/multipartBody623195897312519176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053205007,"filename":"image_30102025_08_27_44_2259.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/afeb68f8a56257baae5fbf433e92d5f1.jpg","text":"TemporaryFile(/tmp/multipartBody1425065230818618977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053205007,"filename":"image_30102025_08_27_29_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/2/686c02833bacac1cc1ffa2c914aef814.jpg","text":"TemporaryFile(/tmp/multipartBody4407903491731191791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053205007,"filename":"image_30102025_08_27_38_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/2/c82c9ef2be6cc107fb9340ef208209c1.jpg","text":"TemporaryFile(/tmp/multipartBody4026264266250242853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053205007,"filename":"image_30102025_08_27_49_5727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/def8113b375c27fa59be5850de3985b3.jpg","text":"TemporaryFile(/tmp/multipartBody7385319661334213388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053205007,"filename":"image_30102025_08_27_32_3776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782469","file1":"1391782466","file0":"1391782464","file4":"1391782479","file5":"1391782484","file3":"1391782474"},"map_files_photo_id_array":[{"photo_id":"1391782484","filename":"file5"},{"photo_id":"1391782469","filename":"file2"},{"photo_id":"1391782479","filename":"file4"},{"photo_id":"1391782466","filename":"file1"},{"photo_id":"1391782464","filename":"file0"},{"photo_id":"1391782474","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782474":["hashtag1","hashtag2"]},{"1391782479":["hashtag1","hashtag2"]},{"1391782464":["hashtag1","hashtag2"]},{"1391782469":["hashtag1","hashtag2"]},{"1391782484":["hashtag1","hashtag2"]},{"1391782466":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782474, 1391782479, 1391782464, 1391782469, 1391782484, 1391782466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3017635345459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:13:03.289736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_51_1816.jpg', '/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_53_1650.jpg', '/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_56_3576.jpg', '/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_59_2792.jpg', '/home/pi/Desktop/images/30102025/08/28/image_30102025_08_28_02_2565.jpg', '/home/pi/Desktop/images/30102025/08/28/image_30102025_08_28_05_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/08/27/image_30102025_08_27_51_1816.jpg
/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_53_1650.jpg
/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_56_3576.jpg
/home/pi/Desktop/images/30102025/08/27/image_30102025_08_27_59_2792.jpg
/home/pi/Desktop/images/30102025/08/28/image_30102025_08_28_02_2565.jpg
/home/pi/Desktop/images/30102025/08/28/image_30102025_08_28_05_2773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782495","1391782512","1391782509","1391782500","1391782503","1391782506"],"photo_ids_order":["1391782495","1391782500","1391782503","1391782506","1391782509","1391782512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d2197976fcc5dfb39500de692936db1d.jpg","text":"TemporaryFile(/tmp/multipartBody3657184021401937458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053245409,"filename":"image_30102025_08_27_51_1816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9475002811e7f05d48553604cc2255af.jpg","text":"TemporaryFile(/tmp/multipartBody8401983239813806004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053245409,"filename":"image_30102025_08_28_05_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/2/2def5eff7997616ff342098c92a61e83.jpg","text":"TemporaryFile(/tmp/multipartBody1604990300477608979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053245409,"filename":"image_30102025_08_28_02_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/2/e51cf514de4699724e3d229b63056981.jpg","text":"TemporaryFile(/tmp/multipartBody7194733154958678956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053245409,"filename":"image_30102025_08_27_53_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/2/24df88bdf4f83fca7c8d4f8d3a1af019.jpg","text":"TemporaryFile(/tmp/multipartBody8631114754085661463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053245409,"filename":"image_30102025_08_27_56_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/2/ae6125232614d52a4414afbefe736f68.jpg","text":"TemporaryFile(/tmp/multipartBody8709371698696722113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053245409,"filename":"image_30102025_08_27_59_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782503","file1":"1391782500","file0":"1391782495","file4":"1391782509","file5":"1391782512","file3":"1391782506"},"map_files_photo_id_array":[{"photo_id":"1391782512","filename":"file5"},{"photo_id":"1391782503","filename":"file2"},{"photo_id":"1391782509","filename":"file4"},{"photo_id":"1391782500","filename":"file1"},{"photo_id":"1391782495","filename":"file0"},{"photo_id":"1391782506","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782495":["hashtag1","hashtag2"]},{"1391782512":["hashtag1","hashtag2"]},{"1391782509":["hashtag1","hashtag2"]},{"1391782500":["hashtag1","hashtag2"]},{"1391782503":["hashtag1","hashtag2"]},{"1391782506":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782495, 1391782512, 1391782509, 1391782500, 1391782503, 1391782506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.989824056625366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:13:42.627325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/28/image_30102025_08_28_08_3558.jpg', '/home/pi/Desktop/images/30102025/08/28/image_30102025_08_28_14_1791.jpg', '/home/pi/Desktop/images/30102025/08/28/image_30102025_08_28_19_5198.jpg', '/home/pi/Desktop/images/30102025/08/28/image_30102025_08_28_30_8937.jpg', '/home/pi/Desktop/images/30102025/08/28/image_30102025_08_28_32_1762.jpg', '/home/pi/Desktop/images/30102025/08/28/image_30102025_08_28_36_4177.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/28/image_30102025_08_28_08_3558.jpg
/home/pi/Desktop/images/30102025/08/28/image_30102025_08_28_14_1791.jpg
/home/pi/Desktop/images/30102025/08/28/image_30102025_08_28_19_5198.jpg
/home/pi/Desktop/images/30102025/08/28/image_30102025_08_28_30_8937.jpg
/home/pi/Desktop/images/30102025/08/28/image_30102025_08_28_32_1762.jpg
/home/pi/Desktop/images/30102025/08/28/image_30102025_08_28_36_4177.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782537","1391782522","1391782528","1391782533","1391782542","1391782518"],"photo_ids_order":["1391782518","1391782522","1391782528","1391782533","1391782537","1391782542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/042636754060d82e21bb619f55b66818.jpg","text":"TemporaryFile(/tmp/multipartBody4741147986564921733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053283726,"filename":"image_30102025_08_28_32_1762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f46414a206a175f6e382ad2c24c44996.jpg","text":"TemporaryFile(/tmp/multipartBody5905048957547037592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053283726,"filename":"image_30102025_08_28_14_1791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8b19d5fae63c003b1f520892ce49e2e8.jpg","text":"TemporaryFile(/tmp/multipartBody6657167809528046516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053283726,"filename":"image_30102025_08_28_19_5198.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a1f8b249e8a7d74e7c1ac868011cac26.jpg","text":"TemporaryFile(/tmp/multipartBody6136924679630642527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053283726,"filename":"image_30102025_08_28_30_8937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/aee89687650b9113ece65835a8001c10.jpg","text":"TemporaryFile(/tmp/multipartBody1364832931718820576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053283726,"filename":"image_30102025_08_28_36_4177.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/78dd2b6c30aa1993f1514d04a117f30c.jpg","text":"TemporaryFile(/tmp/multipartBody6561659438940346911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053283726,"filename":"image_30102025_08_28_08_3558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782528","file1":"1391782522","file0":"1391782518","file4":"1391782537","file5":"1391782542","file3":"1391782533"},"map_files_photo_id_array":[{"photo_id":"1391782542","filename":"file5"},{"photo_id":"1391782528","filename":"file2"},{"photo_id":"1391782537","filename":"file4"},{"photo_id":"1391782522","filename":"file1"},{"photo_id":"1391782518","filename":"file0"},{"photo_id":"1391782533","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782537":["hashtag1","hashtag2"]},{"1391782522":["hashtag1","hashtag2"]},{"1391782528":["hashtag1","hashtag2"]},{"1391782533":["hashtag1","hashtag2"]},{"1391782542":["hashtag1","hashtag2"]},{"1391782518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782537, 1391782522, 1391782528, 1391782533, 1391782542, 1391782518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65580701828003 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 04:14:22.725719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/28/image_30102025_08_28_42_5963.jpg', '/home/pi/Desktop/images/30102025/08/28/image_30102025_08_28_43_1517.jpg', '/home/pi/Desktop/images/30102025/08/28/image_30102025_08_28_45_1772.jpg', '/home/pi/Desktop/images/30102025/08/28/image_30102025_08_28_47_1681.jpg', '/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_01_14449.jpg', '/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_03_1727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/28/image_30102025_08_28_42_5963.jpg
/home/pi/Desktop/images/30102025/08/28/image_30102025_08_28_43_1517.jpg
/home/pi/Desktop/images/30102025/08/28/image_30102025_08_28_45_1772.jpg
/home/pi/Desktop/images/30102025/08/28/image_30102025_08_28_47_1681.jpg
/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_01_14449.jpg
/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_03_1727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782569","1391782554","1391782548","1391782565","1391782559","1391782550"],"photo_ids_order":["1391782548","1391782550","1391782554","1391782559","1391782565","1391782569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0eae5fd153e2b8c3f81ec1496fbbccd0.jpg","text":"TemporaryFile(/tmp/multipartBody8581901253265310250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053325360,"filename":"image_30102025_08_29_03_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/2/39505e0bfc6cbb44ed156ef67a8541bf.jpg","text":"TemporaryFile(/tmp/multipartBody639558211309205339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053325360,"filename":"image_30102025_08_28_45_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/2/5c1da04b6eb6ddc99b79331904755821.jpg","text":"TemporaryFile(/tmp/multipartBody5813771452362029036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053325360,"filename":"image_30102025_08_28_42_5963.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f23d6ec818e457e28c1151d977fecc4d.jpg","text":"TemporaryFile(/tmp/multipartBody621027737485751078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053325360,"filename":"image_30102025_08_29_01_14449.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/88507f6e971604b6e830322acda1a4ff.jpg","text":"TemporaryFile(/tmp/multipartBody1767082479561168146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053325360,"filename":"image_30102025_08_28_47_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/2/4df8f4deeea57dad8af37ccea0252e8d.jpg","text":"TemporaryFile(/tmp/multipartBody3660124051024013452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053325360,"filename":"image_30102025_08_28_43_1517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782554","file1":"1391782550","file0":"1391782548","file4":"1391782565","file5":"1391782569","file3":"1391782559"},"map_files_photo_id_array":[{"photo_id":"1391782569","filename":"file5"},{"photo_id":"1391782554","filename":"file2"},{"photo_id":"1391782565","filename":"file4"},{"photo_id":"1391782550","filename":"file1"},{"photo_id":"1391782548","filename":"file0"},{"photo_id":"1391782559","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782569":["hashtag1","hashtag2"]},{"1391782554":["hashtag1","hashtag2"]},{"1391782548":["hashtag1","hashtag2"]},{"1391782565":["hashtag1","hashtag2"]},{"1391782559":["hashtag1","hashtag2"]},{"1391782550":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782569, 1391782554, 1391782548, 1391782565, 1391782559, 1391782550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83836770057678 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-02 04:15:21.921254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_05_1678.jpg', '/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_06_1781.jpg', '/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_11_5074.jpg', '/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_13_1656.jpg', '/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_15_1740.jpg', '/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_22_7508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_05_1678.jpg
/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_06_1781.jpg
/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_11_5074.jpg
/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_13_1656.jpg
/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_15_1740.jpg
/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_22_7508.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782597","1391782591","1391782594","1391782588","1391782586","1391782583"],"photo_ids_order":["1391782583","1391782586","1391782588","1391782591","1391782594","1391782597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f4a799bd61f26ee9c9a1d80fa764c80c.jpg","text":"TemporaryFile(/tmp/multipartBody5082810933849959360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053384551,"filename":"image_30102025_08_29_22_7508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ced43937876e767e4f879922477a62c6.jpg","text":"TemporaryFile(/tmp/multipartBody8145635324989491756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053384551,"filename":"image_30102025_08_29_13_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/2/19bcf5e3e28f01d01080ef34f0572070.jpg","text":"TemporaryFile(/tmp/multipartBody2413341851780296211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053384551,"filename":"image_30102025_08_29_15_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/2/d8b59bb44a38faee72f7217e9c200136.jpg","text":"TemporaryFile(/tmp/multipartBody1231492994234105968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053384551,"filename":"image_30102025_08_29_11_5074.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b23318bdca1f5aed967a943b772228be.jpg","text":"TemporaryFile(/tmp/multipartBody5721940030406878756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053384551,"filename":"image_30102025_08_29_06_1781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9cfcd7cee71ae194d07ec5b1730f6e9f.jpg","text":"TemporaryFile(/tmp/multipartBody4806552332061830863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053384551,"filename":"image_30102025_08_29_05_1678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782588","file1":"1391782586","file0":"1391782583","file4":"1391782594","file5":"1391782597","file3":"1391782591"},"map_files_photo_id_array":[{"photo_id":"1391782597","filename":"file5"},{"photo_id":"1391782588","filename":"file2"},{"photo_id":"1391782594","filename":"file4"},{"photo_id":"1391782586","filename":"file1"},{"photo_id":"1391782583","filename":"file0"},{"photo_id":"1391782591","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782597":["hashtag1","hashtag2"]},{"1391782591":["hashtag1","hashtag2"]},{"1391782594":["hashtag1","hashtag2"]},{"1391782588":["hashtag1","hashtag2"]},{"1391782586":["hashtag1","hashtag2"]},{"1391782583":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782597, 1391782591, 1391782594, 1391782588, 1391782586, 1391782583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.776092529296875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:16:02.626681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_24_1702.jpg', '/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_26_1700.jpg', '/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_28_1821.jpg', '/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_29_1657.jpg', '/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_31_1521.jpg', '/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_43_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/08/29/image_30102025_08_29_24_1702.jpg
/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_26_1700.jpg
/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_28_1821.jpg
/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_29_1657.jpg
/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_31_1521.jpg
/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_43_1636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782616","1391782612","1391782620","1391782614","1391782623","1391782610"],"photo_ids_order":["1391782610","1391782612","1391782614","1391782616","1391782620","1391782623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4c0ec5a1dad7c00de3f7e504bba20b6d.jpg","text":"TemporaryFile(/tmp/multipartBody2786388913906129660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053424704,"filename":"image_30102025_08_29_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/2/bae03107a1d1c85ecf46d10d78e635f8.jpg","text":"TemporaryFile(/tmp/multipartBody8801978716136119291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053424704,"filename":"image_30102025_08_29_26_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1a743d29de3a8c669b41448200633a81.jpg","text":"TemporaryFile(/tmp/multipartBody7643410402166817446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053424704,"filename":"image_30102025_08_29_31_1521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9bc73b2271c058ad49d68595dc8fa388.jpg","text":"TemporaryFile(/tmp/multipartBody3132497733311982431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053424704,"filename":"image_30102025_08_29_28_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/2/67b7082b0b94139b99a69ede3ce9c9aa.jpg","text":"TemporaryFile(/tmp/multipartBody1987021916671284406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053424704,"filename":"image_30102025_08_29_43_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/2/7f72ca40a9de1aa56cdf0c2f9ef77a30.jpg","text":"TemporaryFile(/tmp/multipartBody5967477205040755047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053424704,"filename":"image_30102025_08_29_24_1702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782614","file1":"1391782612","file0":"1391782610","file4":"1391782620","file5":"1391782623","file3":"1391782616"},"map_files_photo_id_array":[{"photo_id":"1391782623","filename":"file5"},{"photo_id":"1391782614","filename":"file2"},{"photo_id":"1391782620","filename":"file4"},{"photo_id":"1391782612","filename":"file1"},{"photo_id":"1391782610","filename":"file0"},{"photo_id":"1391782616","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782616":["hashtag1","hashtag2"]},{"1391782612":["hashtag1","hashtag2"]},{"1391782620":["hashtag1","hashtag2"]},{"1391782614":["hashtag1","hashtag2"]},{"1391782623":["hashtag1","hashtag2"]},{"1391782610":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782616, 1391782612, 1391782620, 1391782614, 1391782623, 1391782610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26656985282898 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:16:42.152100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_47_4509.jpg', '/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_49_1666.jpg', '/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_59_9630.jpg', '/home/pi/Desktop/images/30102025/08/29/image_30102025_08_30_00_1596.jpg', '/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_07_3013.jpg', '/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_11_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_47_4509.jpg
/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_49_1666.jpg
/home/pi/Desktop/images/30102025/08/29/image_30102025_08_29_59_9630.jpg
/home/pi/Desktop/images/30102025/08/29/image_30102025_08_30_00_1596.jpg
/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_07_3013.jpg
/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_11_3679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782645","1391782648","1391782636","1391782650","1391782653","1391782641"],"photo_ids_order":["1391782636","1391782641","1391782645","1391782648","1391782650","1391782653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/16e036d4bc603cca28d40e49676cfbfa.jpg","text":"TemporaryFile(/tmp/multipartBody1114336612863326129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053463340,"filename":"image_30102025_08_29_59_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/755b48362d9b026f06bb61f8e90abaad.jpg","text":"TemporaryFile(/tmp/multipartBody3360525965919634187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053463340,"filename":"image_30102025_08_30_00_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bd9ceff48212ff6229cc0e199d684045.jpg","text":"TemporaryFile(/tmp/multipartBody7794271712540905721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053463340,"filename":"image_30102025_08_29_47_4509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f0e74291fff7a7fc2c9e61780b65ba57.jpg","text":"TemporaryFile(/tmp/multipartBody8810751636019052007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053463340,"filename":"image_30102025_08_30_07_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a8c0a8641fe01637611b8dfe99665699.jpg","text":"TemporaryFile(/tmp/multipartBody2561579186282712177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053463340,"filename":"image_30102025_08_30_11_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/2/329c67e8f71fe540610612d7553ee9c2.jpg","text":"TemporaryFile(/tmp/multipartBody4813328377575461621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053463340,"filename":"image_30102025_08_29_49_1666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782645","file1":"1391782641","file0":"1391782636","file4":"1391782650","file5":"1391782653","file3":"1391782648"},"map_files_photo_id_array":[{"photo_id":"1391782653","filename":"file5"},{"photo_id":"1391782645","filename":"file2"},{"photo_id":"1391782650","filename":"file4"},{"photo_id":"1391782641","filename":"file1"},{"photo_id":"1391782636","filename":"file0"},{"photo_id":"1391782648","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782645":["hashtag1","hashtag2"]},{"1391782648":["hashtag1","hashtag2"]},{"1391782636":["hashtag1","hashtag2"]},{"1391782650":["hashtag1","hashtag2"]},{"1391782653":["hashtag1","hashtag2"]},{"1391782641":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782645, 1391782648, 1391782636, 1391782650, 1391782653, 1391782641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52429008483887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 04:17:22.317633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_14_2736.jpg', '/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_18_4451.jpg', '/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_20_1810.jpg', '/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_32_1785.jpg', '/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_33_1655.jpg', '/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_35_1714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_14_2736.jpg
/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_18_4451.jpg
/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_20_1810.jpg
/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_32_1785.jpg
/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_33_1655.jpg
/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_35_1714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782678","1391782672","1391782666","1391782668","1391782667","1391782664"],"photo_ids_order":["1391782664","1391782666","1391782667","1391782668","1391782672","1391782678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d9e04736a39d02fe78bd9422709ab8d0.jpg","text":"TemporaryFile(/tmp/multipartBody4109908576050216645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053504949,"filename":"image_30102025_08_30_35_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/2/6846275235307f076ab8bf8d08dadf84.jpg","text":"TemporaryFile(/tmp/multipartBody4967489746700221283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053504949,"filename":"image_30102025_08_30_33_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/2/dc1c7afd651851d5d9c81daabeed4034.jpg","text":"TemporaryFile(/tmp/multipartBody391910227791533944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053504949,"filename":"image_30102025_08_30_18_4451.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5b076d936b8713bec8a1d947534f397d.jpg","text":"TemporaryFile(/tmp/multipartBody622642593578415773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053504949,"filename":"image_30102025_08_30_32_1785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9353c844721f05cda8fb9955a5ff4ca5.jpg","text":"TemporaryFile(/tmp/multipartBody628576652299437689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053504949,"filename":"image_30102025_08_30_20_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/2/d8569cb456ad02e4e6cf62b7bfa964de.jpg","text":"TemporaryFile(/tmp/multipartBody1664999005970820705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053504949,"filename":"image_30102025_08_30_14_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782667","file1":"1391782666","file0":"1391782664","file4":"1391782672","file5":"1391782678","file3":"1391782668"},"map_files_photo_id_array":[{"photo_id":"1391782678","filename":"file5"},{"photo_id":"1391782667","filename":"file2"},{"photo_id":"1391782672","filename":"file4"},{"photo_id":"1391782666","filename":"file1"},{"photo_id":"1391782664","filename":"file0"},{"photo_id":"1391782668","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782678":["hashtag1","hashtag2"]},{"1391782672":["hashtag1","hashtag2"]},{"1391782666":["hashtag1","hashtag2"]},{"1391782668":["hashtag1","hashtag2"]},{"1391782667":["hashtag1","hashtag2"]},{"1391782664":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782678, 1391782672, 1391782666, 1391782668, 1391782667, 1391782664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.870994329452515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:18:02.887260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_37_1678.jpg', '/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_38_1667.jpg', '/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_44_1666.jpg', '/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_48_4104.jpg', '/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_49_1815.jpg', '/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_52_2788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_37_1678.jpg
/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_38_1667.jpg
/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_44_1666.jpg
/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_48_4104.jpg
/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_49_1815.jpg
/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_52_2788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782693","1391782695","1391782698","1391782701","1391782691","1391782694"],"photo_ids_order":["1391782691","1391782693","1391782694","1391782695","1391782698","1391782701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ac8ff798d6171d878481b4daf15b2d3b.jpg","text":"TemporaryFile(/tmp/multipartBody5297381278135469413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053544963,"filename":"image_30102025_08_30_38_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/2/4cb327a4de5b7904728fe2c88be88fda.jpg","text":"TemporaryFile(/tmp/multipartBody311382606242185193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053544963,"filename":"image_30102025_08_30_48_4104.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0833b0bc5e7fa49c878ec6e5bd1c6627.jpg","text":"TemporaryFile(/tmp/multipartBody2288569626425841651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053544963,"filename":"image_30102025_08_30_49_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/2/3352cec49ecbdac4b5a44540a0e54305.jpg","text":"TemporaryFile(/tmp/multipartBody9176175005148590202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053544963,"filename":"image_30102025_08_30_52_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/2/ec281b1e06d9919a83fd887958762802.jpg","text":"TemporaryFile(/tmp/multipartBody6748053033109268671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053544963,"filename":"image_30102025_08_30_37_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fa6484bf581730ecdd94ce3dc8426da5.jpg","text":"TemporaryFile(/tmp/multipartBody310600175878436318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053544963,"filename":"image_30102025_08_30_44_1666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782694","file1":"1391782693","file0":"1391782691","file4":"1391782698","file5":"1391782701","file3":"1391782695"},"map_files_photo_id_array":[{"photo_id":"1391782701","filename":"file5"},{"photo_id":"1391782694","filename":"file2"},{"photo_id":"1391782698","filename":"file4"},{"photo_id":"1391782693","filename":"file1"},{"photo_id":"1391782691","filename":"file0"},{"photo_id":"1391782695","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782693":["hashtag1","hashtag2"]},{"1391782695":["hashtag1","hashtag2"]},{"1391782698":["hashtag1","hashtag2"]},{"1391782701":["hashtag1","hashtag2"]},{"1391782691":["hashtag1","hashtag2"]},{"1391782694":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782693, 1391782695, 1391782698, 1391782701, 1391782691, 1391782694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50000858306885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:18:42.398591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_56_3687.jpg', '/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_59_2718.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_01_2658.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_05_3255.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_11_3536.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_14_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/08/30/image_30102025_08_30_56_3687.jpg
/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_59_2718.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_01_2658.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_05_3255.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_11_3536.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_14_2692.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.0016121864318848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:19:03.422992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_56_3687.jpg', '/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_59_2718.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_01_2658.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_05_3255.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_11_3536.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_14_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/08/30/image_30102025_08_30_56_3687.jpg
/home/pi/Desktop/images/30102025/08/30/image_30102025_08_30_59_2718.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_01_2658.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_05_3255.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_11_3536.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_14_2692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782732","1391782741","1391782735","1391782743","1391782737","1391782739"],"photo_ids_order":["1391782732","1391782735","1391782737","1391782739","1391782741","1391782743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/499237b672b7fae7b0eb265be47ad0a8.jpg","text":"TemporaryFile(/tmp/multipartBody911638977205651526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053605625,"filename":"image_30102025_08_30_56_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/2/18f3f5d65d3b35bc466f653b5bb46fca.jpg","text":"TemporaryFile(/tmp/multipartBody256047342939746596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053605625,"filename":"image_30102025_08_31_11_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/2/b047ddbf0365c9a911de8fb4db3c45f6.jpg","text":"TemporaryFile(/tmp/multipartBody6779849804265531038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053605625,"filename":"image_30102025_08_30_59_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/2/e43bacaa11d4a1b6a1c4ccd833ee6799.jpg","text":"TemporaryFile(/tmp/multipartBody5073229359952753060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053605625,"filename":"image_30102025_08_31_14_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/2/37656c6f5952253e6e02dcaa80b9ce0b.jpg","text":"TemporaryFile(/tmp/multipartBody7655465789919466106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053605625,"filename":"image_30102025_08_31_01_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/2/c409e16cecc6691c25fad7ede4a8d821.jpg","text":"TemporaryFile(/tmp/multipartBody8476163842807470662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053605625,"filename":"image_30102025_08_31_05_3255.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782737","file1":"1391782735","file0":"1391782732","file4":"1391782741","file5":"1391782743","file3":"1391782739"},"map_files_photo_id_array":[{"photo_id":"1391782743","filename":"file5"},{"photo_id":"1391782737","filename":"file2"},{"photo_id":"1391782741","filename":"file4"},{"photo_id":"1391782735","filename":"file1"},{"photo_id":"1391782732","filename":"file0"},{"photo_id":"1391782739","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782732":["hashtag1","hashtag2"]},{"1391782741":["hashtag1","hashtag2"]},{"1391782735":["hashtag1","hashtag2"]},{"1391782743":["hashtag1","hashtag2"]},{"1391782737":["hashtag1","hashtag2"]},{"1391782739":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782732, 1391782741, 1391782735, 1391782743, 1391782737, 1391782739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.298739194869995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:19:42.570028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_22_8466.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_24_1810.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_25_1571.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_27_1735.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_29_1630.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_31_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_22_8466.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_24_1810.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_25_1571.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_27_1735.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_29_1630.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_31_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.002711534500122 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:20:03.236569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_22_8466.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_24_1810.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_25_1571.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_27_1735.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_29_1630.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_31_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_22_8466.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_24_1810.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_25_1571.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_27_1735.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_29_1630.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_31_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782780","1391782783","1391782777","1391782786","1391782771","1391782774"],"photo_ids_order":["1391782771","1391782774","1391782777","1391782780","1391782783","1391782786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/afaf0ff53221c934f5913a15747c7042.jpg","text":"TemporaryFile(/tmp/multipartBody5441450468705731887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053665168,"filename":"image_30102025_08_31_27_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e0c6b29e2961dabc50c7ba90eae32989.jpg","text":"TemporaryFile(/tmp/multipartBody4550851203112745496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053665168,"filename":"image_30102025_08_31_29_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/2/5b9ef500fae6c9fb044eb4e4dafb5ce2.jpg","text":"TemporaryFile(/tmp/multipartBody8103030448650569711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053665168,"filename":"image_30102025_08_31_25_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/2/fd3cca9e56ec09779beb8eff06158767.jpg","text":"TemporaryFile(/tmp/multipartBody8302438874137515676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053665168,"filename":"image_30102025_08_31_31_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/2/4a73e082bacaeb500fd57b7e471b6c60.jpg","text":"TemporaryFile(/tmp/multipartBody3809446092575327598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053665168,"filename":"image_30102025_08_31_22_8466.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/be1039b5e1f25dd49da560de41062781.jpg","text":"TemporaryFile(/tmp/multipartBody7985751983540501763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053665168,"filename":"image_30102025_08_31_24_1810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782777","file1":"1391782774","file0":"1391782771","file4":"1391782783","file5":"1391782786","file3":"1391782780"},"map_files_photo_id_array":[{"photo_id":"1391782786","filename":"file5"},{"photo_id":"1391782777","filename":"file2"},{"photo_id":"1391782783","filename":"file4"},{"photo_id":"1391782774","filename":"file1"},{"photo_id":"1391782771","filename":"file0"},{"photo_id":"1391782780","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782780":["hashtag1","hashtag2"]},{"1391782783":["hashtag1","hashtag2"]},{"1391782777":["hashtag1","hashtag2"]},{"1391782786":["hashtag1","hashtag2"]},{"1391782771":["hashtag1","hashtag2"]},{"1391782774":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782780, 1391782783, 1391782777, 1391782786, 1391782771, 1391782774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80962109565735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:20:42.709276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_34_2676.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_38_3617.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_40_2690.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_43_2760.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_47_3541.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_49_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/08/31/image_30102025_08_31_34_2676.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_38_3617.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_40_2690.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_43_2760.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_47_3541.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_49_2716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782798","1391782807","1391782810","1391782794","1391782814","1391782802"],"photo_ids_order":["1391782794","1391782798","1391782802","1391782807","1391782810","1391782814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fe00a91358fa74fe6e9520fba96b0b44.jpg","text":"TemporaryFile(/tmp/multipartBody1895395515019233563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053703805,"filename":"image_30102025_08_31_38_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/2/c7d39e6f5a7a6e759b2159a3f7cf434c.jpg","text":"TemporaryFile(/tmp/multipartBody1214138398450712953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053703805,"filename":"image_30102025_08_31_43_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/2/137b8327b5af3226dcbe65378862291e.jpg","text":"TemporaryFile(/tmp/multipartBody4346432162128366744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053703805,"filename":"image_30102025_08_31_47_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/2/c9c211d1d843038067bd17696b732f3f.jpg","text":"TemporaryFile(/tmp/multipartBody2094015500665522206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053703805,"filename":"image_30102025_08_31_34_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/2/f66f8f3235a5e31e07b3677787c33643.jpg","text":"TemporaryFile(/tmp/multipartBody330358067730747997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053703805,"filename":"image_30102025_08_31_49_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/2/4018b146aa61c33f36782cd864854a08.jpg","text":"TemporaryFile(/tmp/multipartBody5412903873173436205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053703805,"filename":"image_30102025_08_31_40_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782802","file1":"1391782798","file0":"1391782794","file4":"1391782810","file5":"1391782814","file3":"1391782807"},"map_files_photo_id_array":[{"photo_id":"1391782814","filename":"file5"},{"photo_id":"1391782802","filename":"file2"},{"photo_id":"1391782810","filename":"file4"},{"photo_id":"1391782798","filename":"file1"},{"photo_id":"1391782794","filename":"file0"},{"photo_id":"1391782807","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782798":["hashtag1","hashtag2"]},{"1391782807":["hashtag1","hashtag2"]},{"1391782810":["hashtag1","hashtag2"]},{"1391782794":["hashtag1","hashtag2"]},{"1391782814":["hashtag1","hashtag2"]},{"1391782802":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782798, 1391782807, 1391782810, 1391782794, 1391782814, 1391782802)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.179316997528076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:21:41.940817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_52_2621.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_56_3679.jpg', '/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_58_2671.jpg', '/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_01_2693.jpg', '/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_05_3864.jpg', '/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_08_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/08/31/image_30102025_08_31_52_2621.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_56_3679.jpg
/home/pi/Desktop/images/30102025/08/31/image_30102025_08_31_58_2671.jpg
/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_01_2693.jpg
/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_05_3864.jpg
/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_08_2612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782849","1391782845","1391782839","1391782833","1391782853","1391782829"],"photo_ids_order":["1391782829","1391782833","1391782839","1391782845","1391782849","1391782853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cea6a8b9f7d7b5a58b4383327be0a038.jpg","text":"TemporaryFile(/tmp/multipartBody4971629805187393426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053763377,"filename":"image_30102025_08_32_05_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/2/d4264ec07a11dd5eaac7564023224a90.jpg","text":"TemporaryFile(/tmp/multipartBody6518894927036733683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053763377,"filename":"image_30102025_08_32_01_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/2/1284ba11a265d2298ac0bf66138e8c39.jpg","text":"TemporaryFile(/tmp/multipartBody454347629215597240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053763377,"filename":"image_30102025_08_31_58_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/2/8825ae3ff7d54ece53c62f70ac990972.jpg","text":"TemporaryFile(/tmp/multipartBody3328448059502186053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053763377,"filename":"image_30102025_08_31_56_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/2/fd5de6f479a30455d81394614095e9fc.jpg","text":"TemporaryFile(/tmp/multipartBody2282096839471451862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053763377,"filename":"image_30102025_08_32_08_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/2/8e77fc5eff291a0147dda11975918e1e.jpg","text":"TemporaryFile(/tmp/multipartBody5756517646947923831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053763377,"filename":"image_30102025_08_31_52_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782839","file1":"1391782833","file0":"1391782829","file4":"1391782849","file5":"1391782853","file3":"1391782845"},"map_files_photo_id_array":[{"photo_id":"1391782853","filename":"file5"},{"photo_id":"1391782839","filename":"file2"},{"photo_id":"1391782849","filename":"file4"},{"photo_id":"1391782833","filename":"file1"},{"photo_id":"1391782829","filename":"file0"},{"photo_id":"1391782845","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782849":["hashtag1","hashtag2"]},{"1391782845":["hashtag1","hashtag2"]},{"1391782839":["hashtag1","hashtag2"]},{"1391782833":["hashtag1","hashtag2"]},{"1391782853":["hashtag1","hashtag2"]},{"1391782829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782849, 1391782845, 1391782839, 1391782833, 1391782853, 1391782829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32400631904602 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:22:42.179025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_10_2618.jpg', '/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_13_2798.jpg', '/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_17_3769.jpg', '/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_20_2799.jpg', '/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_22_2744.jpg', '/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_25_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/08/32/image_30102025_08_32_10_2618.jpg
/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_13_2798.jpg
/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_17_3769.jpg
/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_20_2799.jpg
/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_22_2744.jpg
/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_25_2672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782888","1391782872","1391782884","1391782877","1391782886","1391782880"],"photo_ids_order":["1391782872","1391782877","1391782880","1391782884","1391782886","1391782888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8d985f134234bd79272b1f18ef444b0e.jpg","text":"TemporaryFile(/tmp/multipartBody6179094351993195687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053823374,"filename":"image_30102025_08_32_25_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/2/0a571d3371ac426b85d5f28d3852ec74.jpg","text":"TemporaryFile(/tmp/multipartBody7755259626106819928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053823374,"filename":"image_30102025_08_32_10_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/2/3c38dd470859f2dd139f0e67c6472523.jpg","text":"TemporaryFile(/tmp/multipartBody5880511283026062417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053823374,"filename":"image_30102025_08_32_20_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/2/bdf44bf8462dbc3415de68ffeb63e8be.jpg","text":"TemporaryFile(/tmp/multipartBody4109943725541367969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053823374,"filename":"image_30102025_08_32_13_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/2/01b8e97c6e2ea00197d43394a2b00bfa.jpg","text":"TemporaryFile(/tmp/multipartBody1361790934099540173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053823374,"filename":"image_30102025_08_32_22_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/2/88b39d13195b5d5c532eee6a52941444.jpg","text":"TemporaryFile(/tmp/multipartBody1647088653363576214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053823374,"filename":"image_30102025_08_32_17_3769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782880","file1":"1391782877","file0":"1391782872","file4":"1391782886","file5":"1391782888","file3":"1391782884"},"map_files_photo_id_array":[{"photo_id":"1391782888","filename":"file5"},{"photo_id":"1391782880","filename":"file2"},{"photo_id":"1391782886","filename":"file4"},{"photo_id":"1391782877","filename":"file1"},{"photo_id":"1391782872","filename":"file0"},{"photo_id":"1391782884","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782888":["hashtag1","hashtag2"]},{"1391782872":["hashtag1","hashtag2"]},{"1391782884":["hashtag1","hashtag2"]},{"1391782877":["hashtag1","hashtag2"]},{"1391782886":["hashtag1","hashtag2"]},{"1391782880":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782888, 1391782872, 1391782884, 1391782877, 1391782886, 1391782880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29852867126465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 04:23:22.265070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_28_3545.jpg', '/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_31_2580.jpg', '/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_35_3726.jpg', '/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_38_2732.jpg', '/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_40_2729.jpg', '/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_43_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/08/32/image_30102025_08_32_28_3545.jpg
/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_31_2580.jpg
/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_35_3726.jpg
/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_38_2732.jpg
/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_40_2729.jpg
/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_43_2747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782897","1391782906","1391782911","1391782895","1391782892","1391782901"],"photo_ids_order":["1391782892","1391782895","1391782897","1391782901","1391782906","1391782911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c3ba9aecbddff0f0684f449785ffc25a.jpg","text":"TemporaryFile(/tmp/multipartBody6004032376149928799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053864916,"filename":"image_30102025_08_32_35_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/2/45efb370a4116974c7a99be7296e6725.jpg","text":"TemporaryFile(/tmp/multipartBody6980065656648162929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053864916,"filename":"image_30102025_08_32_40_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/2/eec34f8756f8c8506f8a0f5a67aebe1a.jpg","text":"TemporaryFile(/tmp/multipartBody4941458376816410795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053864916,"filename":"image_30102025_08_32_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/2/bee681ea3bbfbf1c29fe069fec7c3e47.jpg","text":"TemporaryFile(/tmp/multipartBody6139885908207771512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053864916,"filename":"image_30102025_08_32_31_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/2/3c08a7568586b24fb4bb79abe48e262e.jpg","text":"TemporaryFile(/tmp/multipartBody5387882768533844020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053864916,"filename":"image_30102025_08_32_28_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/2/d3503d96f1f1fbf9f5d94d2639ad7941.jpg","text":"TemporaryFile(/tmp/multipartBody4989450418025130249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053864916,"filename":"image_30102025_08_32_38_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782897","file1":"1391782895","file0":"1391782892","file4":"1391782906","file5":"1391782911","file3":"1391782901"},"map_files_photo_id_array":[{"photo_id":"1391782911","filename":"file5"},{"photo_id":"1391782897","filename":"file2"},{"photo_id":"1391782906","filename":"file4"},{"photo_id":"1391782895","filename":"file1"},{"photo_id":"1391782892","filename":"file0"},{"photo_id":"1391782901","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782897":["hashtag1","hashtag2"]},{"1391782906":["hashtag1","hashtag2"]},{"1391782911":["hashtag1","hashtag2"]},{"1391782895":["hashtag1","hashtag2"]},{"1391782892":["hashtag1","hashtag2"]},{"1391782901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782897, 1391782906, 1391782911, 1391782895, 1391782892, 1391782901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.73133373260498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:24:03.083764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_47_3717.jpg', '/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_49_2712.jpg', '/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_52_2599.jpg', '/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_56_3598.jpg', '/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_58_2705.jpg', '/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_01_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_47_3717.jpg
/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_49_2712.jpg
/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_52_2599.jpg
/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_56_3598.jpg
/home/pi/Desktop/images/30102025/08/32/image_30102025_08_32_58_2705.jpg
/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_01_2732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782925","1391782935","1391782929","1391782938","1391782932","1391782940"],"photo_ids_order":["1391782925","1391782929","1391782932","1391782935","1391782938","1391782940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2296f53dc7fee8e9b0e131efc3442df3.jpg","text":"TemporaryFile(/tmp/multipartBody733882032408910684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053905215,"filename":"image_30102025_08_32_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/2/ae0edbb65635e9cd127cb13ea89829a2.jpg","text":"TemporaryFile(/tmp/multipartBody7060488114166781550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053905215,"filename":"image_30102025_08_32_56_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/2/08bf2d36c45029e88a48b2fbf6b67d7a.jpg","text":"TemporaryFile(/tmp/multipartBody2081816236463908157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053905215,"filename":"image_30102025_08_32_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/2/ad22062a23951f3953cbd6d4e3ba71c6.jpg","text":"TemporaryFile(/tmp/multipartBody656289409270478191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053905215,"filename":"image_30102025_08_32_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/2/b46e55acf5f567085beee9a2e3cc2e32.jpg","text":"TemporaryFile(/tmp/multipartBody2582594934494999998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053905215,"filename":"image_30102025_08_32_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/2/c3e4e490b2135d7a4eb4f230d7ac33d1.jpg","text":"TemporaryFile(/tmp/multipartBody5732302044330070688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053905215,"filename":"image_30102025_08_33_01_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782932","file1":"1391782929","file0":"1391782925","file4":"1391782938","file5":"1391782940","file3":"1391782935"},"map_files_photo_id_array":[{"photo_id":"1391782940","filename":"file5"},{"photo_id":"1391782932","filename":"file2"},{"photo_id":"1391782938","filename":"file4"},{"photo_id":"1391782929","filename":"file1"},{"photo_id":"1391782925","filename":"file0"},{"photo_id":"1391782935","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782925":["hashtag1","hashtag2"]},{"1391782935":["hashtag1","hashtag2"]},{"1391782929":["hashtag1","hashtag2"]},{"1391782938":["hashtag1","hashtag2"]},{"1391782932":["hashtag1","hashtag2"]},{"1391782940":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782925, 1391782935, 1391782929, 1391782938, 1391782932, 1391782940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.854968786239624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:24:42.404864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_05_3596.jpg', '/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_07_2603.jpg', '/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_10_2833.jpg', '/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_14_3682.jpg', '/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_17_2785.jpg', '/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_19_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/08/33/image_30102025_08_33_05_3596.jpg
/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_07_2603.jpg
/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_10_2833.jpg
/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_14_3682.jpg
/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_17_2785.jpg
/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_19_2627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782954","1391782968","1391782962","1391782950","1391782964","1391782958"],"photo_ids_order":["1391782950","1391782954","1391782958","1391782962","1391782964","1391782968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5ffd3e301729a43a28dff623c24f27f3.jpg","text":"TemporaryFile(/tmp/multipartBody6894518839999842892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053943501,"filename":"image_30102025_08_33_07_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/2/b9a3aa4cf08eee19168a0cebc8caf161.jpg","text":"TemporaryFile(/tmp/multipartBody7883499429160156172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053943501,"filename":"image_30102025_08_33_19_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/2/49904d9c0f0ff6e3ef62ac4903e7e2d8.jpg","text":"TemporaryFile(/tmp/multipartBody6539635473933489428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053943501,"filename":"image_30102025_08_33_14_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/2/3d583ca27e2d0e8be8bd3206c4efb387.jpg","text":"TemporaryFile(/tmp/multipartBody3283148309178537032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053943501,"filename":"image_30102025_08_33_05_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/2/055cea930a75033f1218cd3bb054c535.jpg","text":"TemporaryFile(/tmp/multipartBody3299625170678556097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053943501,"filename":"image_30102025_08_33_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/2/dbe428d2a455762e898388106aef050a.jpg","text":"TemporaryFile(/tmp/multipartBody347618852589245290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053943501,"filename":"image_30102025_08_33_10_2833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782958","file1":"1391782954","file0":"1391782950","file4":"1391782964","file5":"1391782968","file3":"1391782962"},"map_files_photo_id_array":[{"photo_id":"1391782968","filename":"file5"},{"photo_id":"1391782958","filename":"file2"},{"photo_id":"1391782964","filename":"file4"},{"photo_id":"1391782954","filename":"file1"},{"photo_id":"1391782950","filename":"file0"},{"photo_id":"1391782962","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782954":["hashtag1","hashtag2"]},{"1391782968":["hashtag1","hashtag2"]},{"1391782962":["hashtag1","hashtag2"]},{"1391782950":["hashtag1","hashtag2"]},{"1391782964":["hashtag1","hashtag2"]},{"1391782958":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782954, 1391782968, 1391782962, 1391782950, 1391782964, 1391782958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54499316215515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 04:25:22.636870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_22_2653.jpg', '/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_26_3701.jpg', '/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_28_2760.jpg', '/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_31_2623.jpg', '/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_35_3679.jpg', '/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_37_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/08/33/image_30102025_08_33_22_2653.jpg
/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_26_3701.jpg
/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_28_2760.jpg
/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_31_2623.jpg
/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_35_3679.jpg
/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_37_2846.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391782993","1391783005","1391782982","1391782985","1391782988","1391782999"],"photo_ids_order":["1391782982","1391782985","1391782988","1391782993","1391782999","1391783005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c9cec932ee10663917ed60c34f15fb9b.jpg","text":"TemporaryFile(/tmp/multipartBody2505626257171001402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053985261,"filename":"image_30102025_08_33_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/2/b44d9fc627e9339593bcaa54521bb491.jpg","text":"TemporaryFile(/tmp/multipartBody3405437189698628124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053985261,"filename":"image_30102025_08_33_37_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/2/8a382849155ced46c8a0ad788ef26f00.jpg","text":"TemporaryFile(/tmp/multipartBody2501106522250427374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053985261,"filename":"image_30102025_08_33_22_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/2/6dab1cf87e76b4dd9167d2fff35d80df.jpg","text":"TemporaryFile(/tmp/multipartBody9070748918712649303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053985261,"filename":"image_30102025_08_33_26_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/2/45fbef64509c9ba4af8ae8892b2c7ddb.jpg","text":"TemporaryFile(/tmp/multipartBody9134169991946168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053985261,"filename":"image_30102025_08_33_28_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/2/e5a22c940fb631dec005fc875edede97.jpg","text":"TemporaryFile(/tmp/multipartBody3907218061905264894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762053985261,"filename":"image_30102025_08_33_35_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391782988","file1":"1391782985","file0":"1391782982","file4":"1391782999","file5":"1391783005","file3":"1391782993"},"map_files_photo_id_array":[{"photo_id":"1391783005","filename":"file5"},{"photo_id":"1391782988","filename":"file2"},{"photo_id":"1391782999","filename":"file4"},{"photo_id":"1391782985","filename":"file1"},{"photo_id":"1391782982","filename":"file0"},{"photo_id":"1391782993","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391782993":["hashtag1","hashtag2"]},{"1391783005":["hashtag1","hashtag2"]},{"1391782982":["hashtag1","hashtag2"]},{"1391782985":["hashtag1","hashtag2"]},{"1391782988":["hashtag1","hashtag2"]},{"1391782999":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391782993, 1391783005, 1391782982, 1391782985, 1391782988, 1391782999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40347504615784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:26:03.270621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_40_2588.jpg', '/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_44_3688.jpg', '/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_47_2844.jpg', '/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_49_2651.jpg', '/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_52_2771.jpg', '/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_56_3567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_40_2588.jpg
/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_44_3688.jpg
/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_47_2844.jpg
/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_49_2651.jpg
/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_52_2771.jpg
/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_56_3567.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783026","1391783029","1391783037","1391783022","1391783033","1391783024"],"photo_ids_order":["1391783022","1391783024","1391783026","1391783029","1391783033","1391783037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6c138a4907ef8cd55af490fafccee213.jpg","text":"TemporaryFile(/tmp/multipartBody1185113319418509676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054025441,"filename":"image_30102025_08_33_47_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/2/37bdfee9121af7b00059e3be71a490f6.jpg","text":"TemporaryFile(/tmp/multipartBody3812516051168262780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054025441,"filename":"image_30102025_08_33_49_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/2/8b0efd9eb7cf46d614c507ca334712c3.jpg","text":"TemporaryFile(/tmp/multipartBody1993965278821384869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054025441,"filename":"image_30102025_08_33_56_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/2/e690cefde7b9bef22b0ab66d6ee7039b.jpg","text":"TemporaryFile(/tmp/multipartBody858859359272956922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054025441,"filename":"image_30102025_08_33_40_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/2/22a81d3a17d67c383200fd04365bf44a.jpg","text":"TemporaryFile(/tmp/multipartBody4805706292054163031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054025441,"filename":"image_30102025_08_33_52_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/2/f8bf1f935b867be192da5437b890c375.jpg","text":"TemporaryFile(/tmp/multipartBody8105940864701656648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054025441,"filename":"image_30102025_08_33_44_3688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783026","file1":"1391783024","file0":"1391783022","file4":"1391783033","file5":"1391783037","file3":"1391783029"},"map_files_photo_id_array":[{"photo_id":"1391783037","filename":"file5"},{"photo_id":"1391783026","filename":"file2"},{"photo_id":"1391783033","filename":"file4"},{"photo_id":"1391783024","filename":"file1"},{"photo_id":"1391783022","filename":"file0"},{"photo_id":"1391783029","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783026":["hashtag1","hashtag2"]},{"1391783029":["hashtag1","hashtag2"]},{"1391783037":["hashtag1","hashtag2"]},{"1391783022":["hashtag1","hashtag2"]},{"1391783033":["hashtag1","hashtag2"]},{"1391783024":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783026, 1391783029, 1391783037, 1391783022, 1391783033, 1391783024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.533459424972534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:26:42.748345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_58_2691.jpg', '/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_01_2640.jpg', '/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_05_3642.jpg', '/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_07_2521.jpg', '/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_10_2807.jpg', '/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_14_3751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/33/image_30102025_08_33_58_2691.jpg
/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_01_2640.jpg
/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_05_3642.jpg
/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_07_2521.jpg
/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_10_2807.jpg
/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_14_3751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783059","1391783050","1391783067","1391783046","1391783063","1391783054"],"photo_ids_order":["1391783046","1391783050","1391783054","1391783059","1391783063","1391783067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2b85a98a5314e4f99013a68a14eb38a3.jpg","text":"TemporaryFile(/tmp/multipartBody8126827192325032190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054063854,"filename":"image_30102025_08_34_07_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/2/b7aa45d1805ea2c456f5874a72f783f4.jpg","text":"TemporaryFile(/tmp/multipartBody1539200299626006621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054063854,"filename":"image_30102025_08_34_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/2/43b2e0d1b7749c6ee2e6f61c8ba426a8.jpg","text":"TemporaryFile(/tmp/multipartBody1145122774157949347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054063854,"filename":"image_30102025_08_34_14_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/2/2252344c3681c8ecfc22caaea099f64e.jpg","text":"TemporaryFile(/tmp/multipartBody2930100663355043768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054063854,"filename":"image_30102025_08_33_58_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/2/9b9df725f7f6d53c1976043c59bb9965.jpg","text":"TemporaryFile(/tmp/multipartBody745129293683561689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054063854,"filename":"image_30102025_08_34_10_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/2/011d780c3934f78fdb4c97d11dd35a7c.jpg","text":"TemporaryFile(/tmp/multipartBody3249427266614514488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054063854,"filename":"image_30102025_08_34_05_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783054","file1":"1391783050","file0":"1391783046","file4":"1391783063","file5":"1391783067","file3":"1391783059"},"map_files_photo_id_array":[{"photo_id":"1391783067","filename":"file5"},{"photo_id":"1391783054","filename":"file2"},{"photo_id":"1391783063","filename":"file4"},{"photo_id":"1391783050","filename":"file1"},{"photo_id":"1391783046","filename":"file0"},{"photo_id":"1391783059","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783059":["hashtag1","hashtag2"]},{"1391783050":["hashtag1","hashtag2"]},{"1391783067":["hashtag1","hashtag2"]},{"1391783046":["hashtag1","hashtag2"]},{"1391783063":["hashtag1","hashtag2"]},{"1391783054":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783059, 1391783050, 1391783067, 1391783046, 1391783063, 1391783054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62342286109924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 04:27:21.891225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_16_2717.jpg', '/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_19_2805.jpg', '/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_26_3671.jpg', '/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_28_2710.jpg', '/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_31_2670.jpg', '/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_35_3650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_16_2717.jpg
/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_19_2805.jpg
/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_26_3671.jpg
/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_28_2710.jpg
/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_31_2670.jpg
/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_35_3650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783083","1391783077","1391783073","1391783075","1391783089","1391783080"],"photo_ids_order":["1391783073","1391783075","1391783077","1391783080","1391783083","1391783089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/85c8279337eacf96cc1d3faeb09c9de3.jpg","text":"TemporaryFile(/tmp/multipartBody7247705243800292396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054104645,"filename":"image_30102025_08_34_31_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/2/2c81b81dca62f333d05d28a771459e6c.jpg","text":"TemporaryFile(/tmp/multipartBody4808634322861664190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054104645,"filename":"image_30102025_08_34_26_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/2/e3f4741593a2aad95fc780dcb6170f05.jpg","text":"TemporaryFile(/tmp/multipartBody8016429079797549520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054104645,"filename":"image_30102025_08_34_16_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/2/cb18a890a7d022a006546188a608225a.jpg","text":"TemporaryFile(/tmp/multipartBody6107113475832893066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054104645,"filename":"image_30102025_08_34_19_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/2/cb94bca8d57bf1f2118dc5011a09762f.jpg","text":"TemporaryFile(/tmp/multipartBody7237567091434068176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054104645,"filename":"image_30102025_08_34_35_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/2/220a6ce683d0458f949566b0393b9a57.jpg","text":"TemporaryFile(/tmp/multipartBody125832808998499661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054104645,"filename":"image_30102025_08_34_28_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783077","file1":"1391783075","file0":"1391783073","file4":"1391783083","file5":"1391783089","file3":"1391783080"},"map_files_photo_id_array":[{"photo_id":"1391783089","filename":"file5"},{"photo_id":"1391783077","filename":"file2"},{"photo_id":"1391783083","filename":"file4"},{"photo_id":"1391783075","filename":"file1"},{"photo_id":"1391783073","filename":"file0"},{"photo_id":"1391783080","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783083":["hashtag1","hashtag2"]},{"1391783077":["hashtag1","hashtag2"]},{"1391783073":["hashtag1","hashtag2"]},{"1391783075":["hashtag1","hashtag2"]},{"1391783089":["hashtag1","hashtag2"]},{"1391783080":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783083, 1391783077, 1391783073, 1391783075, 1391783089, 1391783080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76402497291565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:28:02.727763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_37_2615.jpg', '/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_40_2844.jpg', '/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_43_2693.jpg', '/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_47_3663.jpg', '/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_49_2810.jpg', '/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_52_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_37_2615.jpg
/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_40_2844.jpg
/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_43_2693.jpg
/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_47_3663.jpg
/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_49_2810.jpg
/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_52_2639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783113","1391783107","1391783116","1391783109","1391783111","1391783102"],"photo_ids_order":["1391783102","1391783107","1391783109","1391783111","1391783113","1391783116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/562efc32d49c94f3da0f8eb5500b5c41.jpg","text":"TemporaryFile(/tmp/multipartBody5277131952393693739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054144839,"filename":"image_30102025_08_34_49_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/2/e5f38dab959d30bdf61611ef7d11e8d5.jpg","text":"TemporaryFile(/tmp/multipartBody8695052987648567921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054144839,"filename":"image_30102025_08_34_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/2/df37d15d503f11d42a56d6eedece224a.jpg","text":"TemporaryFile(/tmp/multipartBody8677434874394275726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054144839,"filename":"image_30102025_08_34_52_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/2/e5ffc05d5e261850f208cb4131cb1ab4.jpg","text":"TemporaryFile(/tmp/multipartBody1829740811268971132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054144839,"filename":"image_30102025_08_34_43_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/2/1396fdfbe39ce10ad6e524b31e2809d5.jpg","text":"TemporaryFile(/tmp/multipartBody4023365133702607008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054144839,"filename":"image_30102025_08_34_47_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/2/282efd726397b21230b4cd7fcbc203c4.jpg","text":"TemporaryFile(/tmp/multipartBody9188545727839236086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054144839,"filename":"image_30102025_08_34_37_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783109","file1":"1391783107","file0":"1391783102","file4":"1391783113","file5":"1391783116","file3":"1391783111"},"map_files_photo_id_array":[{"photo_id":"1391783116","filename":"file5"},{"photo_id":"1391783109","filename":"file2"},{"photo_id":"1391783113","filename":"file4"},{"photo_id":"1391783107","filename":"file1"},{"photo_id":"1391783102","filename":"file0"},{"photo_id":"1391783111","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783113":["hashtag1","hashtag2"]},{"1391783107":["hashtag1","hashtag2"]},{"1391783116":["hashtag1","hashtag2"]},{"1391783109":["hashtag1","hashtag2"]},{"1391783111":["hashtag1","hashtag2"]},{"1391783102":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783113, 1391783107, 1391783116, 1391783109, 1391783111, 1391783102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63214373588562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:28:42.230669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/34/image_30102025_08_34_56_3701.jpg', '/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_01_2586.jpg', '/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_04_3604.jpg', '/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_07_2811.jpg', '/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_10_2702.jpg', '/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_13_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/08/34/image_30102025_08_34_56_3701.jpg
/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_01_2586.jpg
/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_04_3604.jpg
/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_07_2811.jpg
/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_10_2702.jpg
/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_13_2663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783137","1391783146","1391783125","1391783128","1391783132","1391783141"],"photo_ids_order":["1391783125","1391783128","1391783132","1391783137","1391783141","1391783146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c059e1bef323c5871a823ff37b4db57f.jpg","text":"TemporaryFile(/tmp/multipartBody1269508644505262896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054183341,"filename":"image_30102025_08_35_07_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/2/b8a15c8dba499e25e42f97e2ea7aabbf.jpg","text":"TemporaryFile(/tmp/multipartBody4495826445449851773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054183341,"filename":"image_30102025_08_35_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/2/d5143f53dd0aa86b21ca014389fe703e.jpg","text":"TemporaryFile(/tmp/multipartBody5304901257965143504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054183341,"filename":"image_30102025_08_34_56_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/2/477702337b220eec1d00fcf0d28d9953.jpg","text":"TemporaryFile(/tmp/multipartBody4080254604722170142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054183341,"filename":"image_30102025_08_35_01_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/2/40ac47d4c4a921708d4387abaac5751b.jpg","text":"TemporaryFile(/tmp/multipartBody7001442030751834667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054183341,"filename":"image_30102025_08_35_04_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/2/cd392860748f5f6db65f9c1c53817219.jpg","text":"TemporaryFile(/tmp/multipartBody5465152638834097918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054183341,"filename":"image_30102025_08_35_10_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783132","file1":"1391783128","file0":"1391783125","file4":"1391783141","file5":"1391783146","file3":"1391783137"},"map_files_photo_id_array":[{"photo_id":"1391783146","filename":"file5"},{"photo_id":"1391783132","filename":"file2"},{"photo_id":"1391783141","filename":"file4"},{"photo_id":"1391783128","filename":"file1"},{"photo_id":"1391783125","filename":"file0"},{"photo_id":"1391783137","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783137":["hashtag1","hashtag2"]},{"1391783146":["hashtag1","hashtag2"]},{"1391783125":["hashtag1","hashtag2"]},{"1391783128":["hashtag1","hashtag2"]},{"1391783132":["hashtag1","hashtag2"]},{"1391783141":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783137, 1391783146, 1391783125, 1391783128, 1391783132, 1391783141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16089177131653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 04:29:22.338213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_16_3613.jpg', '/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_19_2706.jpg', '/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_22_2872.jpg', '/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_25_3597.jpg', '/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_28_2740.jpg', '/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_31_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/08/35/image_30102025_08_35_16_3613.jpg
/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_19_2706.jpg
/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_22_2872.jpg
/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_25_3597.jpg
/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_28_2740.jpg
/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_31_2755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783163","1391783166","1391783174","1391783171","1391783159","1391783168"],"photo_ids_order":["1391783159","1391783163","1391783166","1391783168","1391783171","1391783174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8f54a3f240fc99f13690c0d11cdeccb2.jpg","text":"TemporaryFile(/tmp/multipartBody2899053028837799634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054224976,"filename":"image_30102025_08_35_19_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/2/65dcb3c57899876b8e2cef5c445bffa4.jpg","text":"TemporaryFile(/tmp/multipartBody7120389925466699960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054224976,"filename":"image_30102025_08_35_22_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/2/e65c2e502e4f58d934831318c3c5f2f6.jpg","text":"TemporaryFile(/tmp/multipartBody4814213381281063472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054224976,"filename":"image_30102025_08_35_31_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/2/041d41b53bbfa192be1454b6d6742d81.jpg","text":"TemporaryFile(/tmp/multipartBody3852373267229175292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054224976,"filename":"image_30102025_08_35_28_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/2/9286246cee3eb78b8084033d2693a225.jpg","text":"TemporaryFile(/tmp/multipartBody2804875056008738127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054224976,"filename":"image_30102025_08_35_16_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/2/c713eb83b3805c10839413b6b308034a.jpg","text":"TemporaryFile(/tmp/multipartBody9001421737177775124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054224976,"filename":"image_30102025_08_35_25_3597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783166","file1":"1391783163","file0":"1391783159","file4":"1391783171","file5":"1391783174","file3":"1391783168"},"map_files_photo_id_array":[{"photo_id":"1391783174","filename":"file5"},{"photo_id":"1391783166","filename":"file2"},{"photo_id":"1391783171","filename":"file4"},{"photo_id":"1391783163","filename":"file1"},{"photo_id":"1391783159","filename":"file0"},{"photo_id":"1391783168","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783163":["hashtag1","hashtag2"]},{"1391783166":["hashtag1","hashtag2"]},{"1391783174":["hashtag1","hashtag2"]},{"1391783171":["hashtag1","hashtag2"]},{"1391783159":["hashtag1","hashtag2"]},{"1391783168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783163, 1391783166, 1391783174, 1391783171, 1391783159, 1391783168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.02018189430237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:30:02.921953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_34_2951.jpg', '/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_43_2595.jpg', '/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_46_3695.jpg', '/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_49_2609.jpg', '/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_52_2644.jpg', '/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_55_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_34_2951.jpg
/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_43_2595.jpg
/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_46_3695.jpg
/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_49_2609.jpg
/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_52_2644.jpg
/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_55_3679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783193","1391783195","1391783198","1391783186","1391783201","1391783191"],"photo_ids_order":["1391783186","1391783191","1391783193","1391783195","1391783198","1391783201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/83dbc81135bc434e3da12c895c46dd0c.jpg","text":"TemporaryFile(/tmp/multipartBody7915504823828554649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054265012,"filename":"image_30102025_08_35_46_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/2/aff3872640d4e9c44cbe4d30030a2305.jpg","text":"TemporaryFile(/tmp/multipartBody6865531573911551158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054265012,"filename":"image_30102025_08_35_49_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/2/ebbbe85c6db44e50f247c8205f09cb1c.jpg","text":"TemporaryFile(/tmp/multipartBody3735598429139548798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054265012,"filename":"image_30102025_08_35_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/2/8773f59b8c0136fb17891f8b593ba96d.jpg","text":"TemporaryFile(/tmp/multipartBody7309209049028046693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054265012,"filename":"image_30102025_08_35_34_2951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c902da38122b71678236b6c57a1ef906.jpg","text":"TemporaryFile(/tmp/multipartBody1057922678251862691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054265012,"filename":"image_30102025_08_35_55_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/2/7632bbd3f0b31f3b24393a383f59ad76.jpg","text":"TemporaryFile(/tmp/multipartBody9043106556533283350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054265012,"filename":"image_30102025_08_35_43_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783193","file1":"1391783191","file0":"1391783186","file4":"1391783198","file5":"1391783201","file3":"1391783195"},"map_files_photo_id_array":[{"photo_id":"1391783201","filename":"file5"},{"photo_id":"1391783193","filename":"file2"},{"photo_id":"1391783198","filename":"file4"},{"photo_id":"1391783191","filename":"file1"},{"photo_id":"1391783186","filename":"file0"},{"photo_id":"1391783195","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783193":["hashtag1","hashtag2"]},{"1391783195":["hashtag1","hashtag2"]},{"1391783198":["hashtag1","hashtag2"]},{"1391783186":["hashtag1","hashtag2"]},{"1391783201":["hashtag1","hashtag2"]},{"1391783191":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783193, 1391783195, 1391783198, 1391783186, 1391783201, 1391783191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.41303205490112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:31:03.290975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/35/image_30102025_08_35_58_2677.jpg', '/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_01_2590.jpg', '/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_04_3739.jpg', '/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_07_2861.jpg', '/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_10_2618.jpg', '/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_13_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/08/35/image_30102025_08_35_58_2677.jpg
/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_01_2590.jpg
/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_04_3739.jpg
/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_07_2861.jpg
/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_10_2618.jpg
/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_13_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":["1391783224","1391783232","1391783226","1391783229","1391783234","1391783222"],"photo_ids_order":["1391783222","1391783224","1391783226","1391783229","1391783232","1391783234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b752c7c41c87820231ef0d41b3f91b14.jpg","text":"TemporaryFile(/tmp/multipartBody7621392316094517731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054325509,"filename":"image_30102025_08_36_01_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/2/2aacc5b97c89a1d5cf9921d124b48572.jpg","text":"TemporaryFile(/tmp/multipartBody924603494994124849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054325509,"filename":"image_30102025_08_36_10_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/2/901ee206675bb3f552f11e6a099af578.jpg","text":"TemporaryFile(/tmp/multipartBody2385562672212400051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054325509,"filename":"image_30102025_08_36_04_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/2/d7738814a37fcc722763d10ff0f7db57.jpg","text":"TemporaryFile(/tmp/multipartBody69290438087384745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054325509,"filename":"image_30102025_08_36_07_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/2/1573c35b08b5a154c88888092c5dd279.jpg","text":"TemporaryFile(/tmp/multipartBody7108596554197456679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054325509,"filename":"image_30102025_08_36_13_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/2/cfd9742d85eb272562f9e2a615e9f016.jpg","text":"TemporaryFile(/tmp/multipartBody1820717831889084237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054325509,"filename":"image_30102025_08_35_58_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783226","file1":"1391783224","file0":"1391783222","file4":"1391783232","file5":"1391783234","file3":"1391783229"},"map_files_photo_id_array":[{"photo_id":"1391783234","filename":"file5"},{"photo_id":"1391783226","filename":"file2"},{"photo_id":"1391783232","filename":"file4"},{"photo_id":"1391783224","filename":"file1"},{"photo_id":"1391783222","filename":"file0"},{"photo_id":"1391783229","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783224":["hashtag1","hashtag2"]},{"1391783232":["hashtag1","hashtag2"]},{"1391783226":["hashtag1","hashtag2"]},{"1391783229":["hashtag1","hashtag2"]},{"1391783234":["hashtag1","hashtag2"]},{"1391783222":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783224, 1391783232, 1391783226, 1391783229, 1391783234, 1391783222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.420501470565796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:32:02.303910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_16_3673.jpg', '/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_19_2735.jpg', '/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_26_7118.jpg', '/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_35_1701.jpg', '/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_37_1622.jpg', '/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_38_1730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_16_3673.jpg
/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_19_2735.jpg
/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_26_7118.jpg
/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_35_1701.jpg
/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_37_1622.jpg
/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_38_1730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783269","1391783273","1391783270","1391783264","1391783258","1391783266"],"photo_ids_order":["1391783258","1391783264","1391783266","1391783269","1391783270","1391783273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4169d421ac7810ad0b10d5950b1e3b73.jpg","text":"TemporaryFile(/tmp/multipartBody3435289961508450928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054384406,"filename":"image_30102025_08_36_35_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d74f11d03e79d7da1442c7c76859d17a.jpg","text":"TemporaryFile(/tmp/multipartBody9209451467279857188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054384406,"filename":"image_30102025_08_36_38_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5e197b3754ec43ded2221e3edd567493.jpg","text":"TemporaryFile(/tmp/multipartBody5115593776933251308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054384406,"filename":"image_30102025_08_36_37_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/2/84aa506e4626cd95c7e5d59c6cb49245.jpg","text":"TemporaryFile(/tmp/multipartBody5474025212376001123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054384406,"filename":"image_30102025_08_36_19_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/2/3e5792c8f52657ca5e53fe3618c0ea0d.jpg","text":"TemporaryFile(/tmp/multipartBody8708896139887582274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054384406,"filename":"image_30102025_08_36_16_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/2/619641969ba6393ed333026a4eb8d664.jpg","text":"TemporaryFile(/tmp/multipartBody2941783921177614214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054384406,"filename":"image_30102025_08_36_26_7118.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783266","file1":"1391783264","file0":"1391783258","file4":"1391783270","file5":"1391783273","file3":"1391783269"},"map_files_photo_id_array":[{"photo_id":"1391783273","filename":"file5"},{"photo_id":"1391783266","filename":"file2"},{"photo_id":"1391783270","filename":"file4"},{"photo_id":"1391783264","filename":"file1"},{"photo_id":"1391783258","filename":"file0"},{"photo_id":"1391783269","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783269":["hashtag1","hashtag2"]},{"1391783273":["hashtag1","hashtag2"]},{"1391783270":["hashtag1","hashtag2"]},{"1391783264":["hashtag1","hashtag2"]},{"1391783258":["hashtag1","hashtag2"]},{"1391783266":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783269, 1391783273, 1391783270, 1391783264, 1391783258, 1391783266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.654828786849976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:32:41.876603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_40_1677.jpg', '/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_42_1873.jpg', '/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_43_1595.jpg', '/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_46_2608.jpg', '/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_58_1705.jpg', '/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_01_3097.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_40_1677.jpg
/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_42_1873.jpg
/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_43_1595.jpg
/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_46_2608.jpg
/home/pi/Desktop/images/30102025/08/36/image_30102025_08_36_58_1705.jpg
/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_01_3097.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783302","1391783289","1391783283","1391783292","1391783296","1391783299"],"photo_ids_order":["1391783283","1391783289","1391783292","1391783296","1391783299","1391783302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f6c184c41bf3819f25b808b3e73f7f4e.jpg","text":"TemporaryFile(/tmp/multipartBody4365274155895447592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054422997,"filename":"image_30102025_08_37_01_3097.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5fe52627c6b64737193b06b68fa55826.jpg","text":"TemporaryFile(/tmp/multipartBody8263124025853372106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054422997,"filename":"image_30102025_08_36_42_1873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8616e4dc45cd3217a31010ac570b1256.jpg","text":"TemporaryFile(/tmp/multipartBody4127571242486784216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054422997,"filename":"image_30102025_08_36_40_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/2/53007162c65a1fa4aa283f1a1544a00b.jpg","text":"TemporaryFile(/tmp/multipartBody1664582687887335296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054422997,"filename":"image_30102025_08_36_43_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/2/c44e185bfd282d3962401e72ba155081.jpg","text":"TemporaryFile(/tmp/multipartBody2728040786898123163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054422997,"filename":"image_30102025_08_36_46_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/2/578e0f7505871b19b5df6261d70f941b.jpg","text":"TemporaryFile(/tmp/multipartBody6622669001366042352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054422997,"filename":"image_30102025_08_36_58_1705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783292","file1":"1391783289","file0":"1391783283","file4":"1391783299","file5":"1391783302","file3":"1391783296"},"map_files_photo_id_array":[{"photo_id":"1391783302","filename":"file5"},{"photo_id":"1391783292","filename":"file2"},{"photo_id":"1391783299","filename":"file4"},{"photo_id":"1391783289","filename":"file1"},{"photo_id":"1391783283","filename":"file0"},{"photo_id":"1391783296","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783302":["hashtag1","hashtag2"]},{"1391783289":["hashtag1","hashtag2"]},{"1391783283":["hashtag1","hashtag2"]},{"1391783292":["hashtag1","hashtag2"]},{"1391783296":["hashtag1","hashtag2"]},{"1391783299":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783302, 1391783289, 1391783283, 1391783292, 1391783296, 1391783299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61520838737488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 04:33:22.037095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_04_2580.jpg', '/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_31_3070.jpg', '/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_32_1616.jpg', '/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_34_1764.jpg', '/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_39_5252.jpg', '/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_41_1562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_04_2580.jpg
/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_31_3070.jpg
/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_32_1616.jpg
/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_34_1764.jpg
/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_39_5252.jpg
/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_41_1562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783326","1391783328","1391783322","1391783319","1391783336","1391783324"],"photo_ids_order":["1391783319","1391783322","1391783324","1391783326","1391783328","1391783336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f571cea306925d61973585dab61a80cb.jpg","text":"TemporaryFile(/tmp/multipartBody7770700056968376350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054464676,"filename":"image_30102025_08_37_34_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/2/62ede7ce05f0155ab8471348d185bfd8.jpg","text":"TemporaryFile(/tmp/multipartBody1129638913563043941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054464676,"filename":"image_30102025_08_37_39_5252.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d1c6b14d0d78e40e50c3fe1028298f2a.jpg","text":"TemporaryFile(/tmp/multipartBody2534700931506686771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054464676,"filename":"image_30102025_08_37_31_3070.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/83d9600cd59bbf530a9e726356713199.jpg","text":"TemporaryFile(/tmp/multipartBody8087945168156599447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054464676,"filename":"image_30102025_08_37_04_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/2/d1668a22de0224d7e8f02962e36bbfa3.jpg","text":"TemporaryFile(/tmp/multipartBody4734226456488633731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054464676,"filename":"image_30102025_08_37_41_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cb1ba9d4d2b1790f611c89e669488852.jpg","text":"TemporaryFile(/tmp/multipartBody1198777713783562314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054464676,"filename":"image_30102025_08_37_32_1616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783324","file1":"1391783322","file0":"1391783319","file4":"1391783328","file5":"1391783336","file3":"1391783326"},"map_files_photo_id_array":[{"photo_id":"1391783336","filename":"file5"},{"photo_id":"1391783324","filename":"file2"},{"photo_id":"1391783328","filename":"file4"},{"photo_id":"1391783322","filename":"file1"},{"photo_id":"1391783319","filename":"file0"},{"photo_id":"1391783326","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783326":["hashtag1","hashtag2"]},{"1391783328":["hashtag1","hashtag2"]},{"1391783322":["hashtag1","hashtag2"]},{"1391783319":["hashtag1","hashtag2"]},{"1391783336":["hashtag1","hashtag2"]},{"1391783324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783326, 1391783328, 1391783322, 1391783319, 1391783336, 1391783324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.773189067840576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:34:03.096016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_43_1623.jpg', '/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_44_1709.jpg', '/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_46_1747.jpg', '/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_49_3122.jpg', '/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_53_1673.jpg', '/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_54_1710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_43_1623.jpg
/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_44_1709.jpg
/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_46_1747.jpg
/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_49_3122.jpg
/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_53_1673.jpg
/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_54_1710.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.133416175842285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 04:34:22.187910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_43_1623.jpg', '/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_44_1709.jpg', '/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_46_1747.jpg', '/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_49_3122.jpg', '/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_53_1673.jpg', '/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_54_1710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_43_1623.jpg
/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_44_1709.jpg
/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_46_1747.jpg
/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_49_3122.jpg
/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_53_1673.jpg
/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_54_1710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783374","1391783361","1391783370","1391783364","1391783357","1391783366"],"photo_ids_order":["1391783357","1391783361","1391783364","1391783366","1391783370","1391783374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d4a7b90dfe668083c0bc4b3b60dec545.jpg","text":"TemporaryFile(/tmp/multipartBody1101064034290445252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054524688,"filename":"image_30102025_08_37_54_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/14a546cec53a8b9f408753afc6d5f5ff.jpg","text":"TemporaryFile(/tmp/multipartBody8336793799181204054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054524688,"filename":"image_30102025_08_37_44_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/2/bc3dc2fe9927f9f1f80a8820a4aedb06.jpg","text":"TemporaryFile(/tmp/multipartBody9109652341338519402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054524688,"filename":"image_30102025_08_37_53_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/2/7b524991198e04e6aa4fb0510ec83efe.jpg","text":"TemporaryFile(/tmp/multipartBody6845963298356442704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054524688,"filename":"image_30102025_08_37_46_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/2/0bde5ac5aa3538d5a7660b76bc95ce92.jpg","text":"TemporaryFile(/tmp/multipartBody6289683002848886969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054524688,"filename":"image_30102025_08_37_43_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/2/3180da178c24738693914cd612a41c14.jpg","text":"TemporaryFile(/tmp/multipartBody8597354756677659076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054524688,"filename":"image_30102025_08_37_49_3122.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783364","file1":"1391783361","file0":"1391783357","file4":"1391783370","file5":"1391783374","file3":"1391783366"},"map_files_photo_id_array":[{"photo_id":"1391783374","filename":"file5"},{"photo_id":"1391783364","filename":"file2"},{"photo_id":"1391783370","filename":"file4"},{"photo_id":"1391783361","filename":"file1"},{"photo_id":"1391783357","filename":"file0"},{"photo_id":"1391783366","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783374":["hashtag1","hashtag2"]},{"1391783361":["hashtag1","hashtag2"]},{"1391783370":["hashtag1","hashtag2"]},{"1391783364":["hashtag1","hashtag2"]},{"1391783357":["hashtag1","hashtag2"]},{"1391783366":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783374, 1391783361, 1391783370, 1391783364, 1391783357, 1391783366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74719429016113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:35:03.005845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_56_1735.jpg', '/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_58_1746.jpg', '/home/pi/Desktop/images/30102025/08/37/image_30102025_08_38_00_2679.jpg', '/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_04_3099.jpg', '/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_07_3603.jpg', '/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_10_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_56_1735.jpg
/home/pi/Desktop/images/30102025/08/37/image_30102025_08_37_58_1746.jpg
/home/pi/Desktop/images/30102025/08/37/image_30102025_08_38_00_2679.jpg
/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_04_3099.jpg
/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_07_3603.jpg
/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_10_2766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783389","1391783394","1391783400","1391783396","1391783398","1391783392"],"photo_ids_order":["1391783389","1391783392","1391783394","1391783396","1391783398","1391783400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a4c9948205196161c88916d8fd150518.jpg","text":"TemporaryFile(/tmp/multipartBody9194869883006908912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054565198,"filename":"image_30102025_08_37_56_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ef08f10ed8ff50e37261e1835d13532f.jpg","text":"TemporaryFile(/tmp/multipartBody3925400081152608758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054565198,"filename":"image_30102025_08_38_00_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/2/423b1082116088a487967ea972fb505c.jpg","text":"TemporaryFile(/tmp/multipartBody96350821701241059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054565198,"filename":"image_30102025_08_38_10_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/2/5f8c2d89809a5f78642ab6111202d9af.jpg","text":"TemporaryFile(/tmp/multipartBody1673258146277697715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054565198,"filename":"image_30102025_08_38_04_3099.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/775f902e2bee1747c301b9300a680abb.jpg","text":"TemporaryFile(/tmp/multipartBody749338551520574346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054565198,"filename":"image_30102025_08_38_07_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/2/faa44afbf11b6dcb399ff79deb996756.jpg","text":"TemporaryFile(/tmp/multipartBody3316421296563533794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054565198,"filename":"image_30102025_08_37_58_1746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783394","file1":"1391783392","file0":"1391783389","file4":"1391783398","file5":"1391783400","file3":"1391783396"},"map_files_photo_id_array":[{"photo_id":"1391783400","filename":"file5"},{"photo_id":"1391783394","filename":"file2"},{"photo_id":"1391783398","filename":"file4"},{"photo_id":"1391783392","filename":"file1"},{"photo_id":"1391783389","filename":"file0"},{"photo_id":"1391783396","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783389":["hashtag1","hashtag2"]},{"1391783394":["hashtag1","hashtag2"]},{"1391783400":["hashtag1","hashtag2"]},{"1391783396":["hashtag1","hashtag2"]},{"1391783398":["hashtag1","hashtag2"]},{"1391783392":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783389, 1391783394, 1391783400, 1391783396, 1391783398, 1391783392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.951619386672974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:35:42.363712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_13_3089.jpg', '/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_16_2711.jpg', '/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_18_2616.jpg', '/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_31_3574.jpg', '/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_34_2712.jpg', '/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_36_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/08/38/image_30102025_08_38_13_3089.jpg
/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_16_2711.jpg
/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_18_2616.jpg
/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_31_3574.jpg
/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_34_2712.jpg
/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_36_2635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783419","1391783410","1391783415","1391783429","1391783423","1391783426"],"photo_ids_order":["1391783410","1391783415","1391783419","1391783423","1391783426","1391783429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5c78abdfd96ec59b61d785123ef17550.jpg","text":"TemporaryFile(/tmp/multipartBody1204773036778490598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054603443,"filename":"image_30102025_08_38_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/2/9c2d5a39a78cb154d8293cb4063377d8.jpg","text":"TemporaryFile(/tmp/multipartBody1548382195977892736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054603443,"filename":"image_30102025_08_38_13_3089.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/26fa679bb2a11dc2773f6b93278e3bd4.jpg","text":"TemporaryFile(/tmp/multipartBody1803927494596212771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054603443,"filename":"image_30102025_08_38_16_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/2/44879c00f489601bd451d57c4ae265ec.jpg","text":"TemporaryFile(/tmp/multipartBody3520390364279565061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054603443,"filename":"image_30102025_08_38_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/2/e4eeb9febc29ca750c6b9b99b861e476.jpg","text":"TemporaryFile(/tmp/multipartBody5649789294696015693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054603443,"filename":"image_30102025_08_38_31_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/2/0b5982af0ef43bb41605e2b98e6edfad.jpg","text":"TemporaryFile(/tmp/multipartBody2264982547792064266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054603443,"filename":"image_30102025_08_38_34_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783419","file1":"1391783415","file0":"1391783410","file4":"1391783426","file5":"1391783429","file3":"1391783423"},"map_files_photo_id_array":[{"photo_id":"1391783429","filename":"file5"},{"photo_id":"1391783419","filename":"file2"},{"photo_id":"1391783426","filename":"file4"},{"photo_id":"1391783415","filename":"file1"},{"photo_id":"1391783410","filename":"file0"},{"photo_id":"1391783423","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783419":["hashtag1","hashtag2"]},{"1391783410":["hashtag1","hashtag2"]},{"1391783415":["hashtag1","hashtag2"]},{"1391783429":["hashtag1","hashtag2"]},{"1391783423":["hashtag1","hashtag2"]},{"1391783426":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783419, 1391783410, 1391783415, 1391783429, 1391783423, 1391783426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69663143157959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 04:36:22.587150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_40_3772.jpg', '/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_43_2689.jpg', '/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_46_2735.jpg', '/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_48_2913.jpg', '/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_52_3802.jpg', '/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_55_2844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_40_3772.jpg
/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_43_2689.jpg
/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_46_2735.jpg
/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_48_2913.jpg
/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_52_3802.jpg
/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_55_2844.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783449","1391783440","1391783443","1391783436","1391783453","1391783438"],"photo_ids_order":["1391783436","1391783438","1391783440","1391783443","1391783449","1391783453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/39b72f7353350d7536ff6d99928bcbec.jpg","text":"TemporaryFile(/tmp/multipartBody1801033451534012270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054645216,"filename":"image_30102025_08_38_52_3802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/163eae8ffd4dabab10c4d2d854142609.jpg","text":"TemporaryFile(/tmp/multipartBody1861668738390200361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054645216,"filename":"image_30102025_08_38_46_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/2/a25fa5976696939fa856e045c83b96ee.jpg","text":"TemporaryFile(/tmp/multipartBody6102279496218794042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054645216,"filename":"image_30102025_08_38_48_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/2/0dca5a7505077db30ca382526cda3ceb.jpg","text":"TemporaryFile(/tmp/multipartBody6589388031474350095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054645216,"filename":"image_30102025_08_38_40_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/2/7b364e8990cca31ba3d2da1b2bb0a3a8.jpg","text":"TemporaryFile(/tmp/multipartBody8008097656487682222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054645216,"filename":"image_30102025_08_38_55_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/2/80bd3330b12d3cbe5f84d7d53f2f8b18.jpg","text":"TemporaryFile(/tmp/multipartBody3237470847048665529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054645216,"filename":"image_30102025_08_38_43_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783440","file1":"1391783438","file0":"1391783436","file4":"1391783449","file5":"1391783453","file3":"1391783443"},"map_files_photo_id_array":[{"photo_id":"1391783453","filename":"file5"},{"photo_id":"1391783440","filename":"file2"},{"photo_id":"1391783449","filename":"file4"},{"photo_id":"1391783438","filename":"file1"},{"photo_id":"1391783436","filename":"file0"},{"photo_id":"1391783443","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783449":["hashtag1","hashtag2"]},{"1391783440":["hashtag1","hashtag2"]},{"1391783443":["hashtag1","hashtag2"]},{"1391783436":["hashtag1","hashtag2"]},{"1391783453":["hashtag1","hashtag2"]},{"1391783438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783449, 1391783440, 1391783443, 1391783436, 1391783453, 1391783438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78533744812012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:37:03.435310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/38/image_30102025_08_38_58_2781.jpg', '/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_01_3597.jpg', '/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_04_2657.jpg', '/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_08_4292.jpg', '/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_13_2720.jpg', '/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_15_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/08/38/image_30102025_08_38_58_2781.jpg
/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_01_3597.jpg
/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_04_2657.jpg
/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_08_4292.jpg
/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_13_2720.jpg
/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_15_2636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783481","1391783472","1391783471","1391783474","1391783477","1391783470"],"photo_ids_order":["1391783470","1391783471","1391783472","1391783474","1391783477","1391783481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/97cd8c1a84bef392fe94210e1b32d8aa.jpg","text":"TemporaryFile(/tmp/multipartBody9199557872955194117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054685571,"filename":"image_30102025_08_39_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/2/fdff551e8ef96cc8469366e76f0f4f2f.jpg","text":"TemporaryFile(/tmp/multipartBody813713488072805041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054685571,"filename":"image_30102025_08_39_04_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/2/eb762a6047cc114b2bf8e2710570df19.jpg","text":"TemporaryFile(/tmp/multipartBody3305680387610525527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054685571,"filename":"image_30102025_08_39_01_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/2/55fff4a2719791efa1e43d166fd58682.jpg","text":"TemporaryFile(/tmp/multipartBody6096898410715287923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054685571,"filename":"image_30102025_08_39_08_4292.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8ad59c5847b46ec7344a8d5ecf07c042.jpg","text":"TemporaryFile(/tmp/multipartBody8688355432166815185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054685571,"filename":"image_30102025_08_39_13_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/2/0edc761e0d7030f06514f6982390887e.jpg","text":"TemporaryFile(/tmp/multipartBody4715575996834564217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054685571,"filename":"image_30102025_08_38_58_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783472","file1":"1391783471","file0":"1391783470","file4":"1391783477","file5":"1391783481","file3":"1391783474"},"map_files_photo_id_array":[{"photo_id":"1391783481","filename":"file5"},{"photo_id":"1391783472","filename":"file2"},{"photo_id":"1391783477","filename":"file4"},{"photo_id":"1391783471","filename":"file1"},{"photo_id":"1391783470","filename":"file0"},{"photo_id":"1391783474","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783481":["hashtag1","hashtag2"]},{"1391783472":["hashtag1","hashtag2"]},{"1391783471":["hashtag1","hashtag2"]},{"1391783474":["hashtag1","hashtag2"]},{"1391783477":["hashtag1","hashtag2"]},{"1391783470":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783481, 1391783472, 1391783471, 1391783474, 1391783477, 1391783470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41066360473633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:37:42.789261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_19_3582.jpg', '/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_22_2668.jpg', '/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_24_2723.jpg', '/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_28_3579.jpg', '/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_31_2554.jpg', '/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_33_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/08/39/image_30102025_08_39_19_3582.jpg
/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_22_2668.jpg
/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_24_2723.jpg
/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_28_3579.jpg
/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_31_2554.jpg
/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_33_2693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783512","1391783509","1391783500","1391783490","1391783505","1391783494"],"photo_ids_order":["1391783490","1391783494","1391783500","1391783505","1391783509","1391783512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6fde380296a3ce88ad64aa3eed079d5b.jpg","text":"TemporaryFile(/tmp/multipartBody2705473650029801695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054723865,"filename":"image_30102025_08_39_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/2/9b47186a1512f3870b2db3102d4b1ef2.jpg","text":"TemporaryFile(/tmp/multipartBody167578863581672137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054723865,"filename":"image_30102025_08_39_31_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/2/8b957028e655d543bafd1ceae0b1970b.jpg","text":"TemporaryFile(/tmp/multipartBody7543293611925679486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054723865,"filename":"image_30102025_08_39_24_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/2/3f70ce69ed7aded31e38439101d76308.jpg","text":"TemporaryFile(/tmp/multipartBody5367884422518710070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054723865,"filename":"image_30102025_08_39_19_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/2/f49cb753659a47d4ba6dd50730e55092.jpg","text":"TemporaryFile(/tmp/multipartBody2330345133701089664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054723865,"filename":"image_30102025_08_39_28_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/2/9241c6b66eed5596cd01e792999d17e4.jpg","text":"TemporaryFile(/tmp/multipartBody4000990608081213186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054723865,"filename":"image_30102025_08_39_22_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783500","file1":"1391783494","file0":"1391783490","file4":"1391783509","file5":"1391783512","file3":"1391783505"},"map_files_photo_id_array":[{"photo_id":"1391783512","filename":"file5"},{"photo_id":"1391783500","filename":"file2"},{"photo_id":"1391783509","filename":"file4"},{"photo_id":"1391783494","filename":"file1"},{"photo_id":"1391783490","filename":"file0"},{"photo_id":"1391783505","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783512":["hashtag1","hashtag2"]},{"1391783509":["hashtag1","hashtag2"]},{"1391783500":["hashtag1","hashtag2"]},{"1391783490":["hashtag1","hashtag2"]},{"1391783505":["hashtag1","hashtag2"]},{"1391783494":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783512, 1391783509, 1391783500, 1391783490, 1391783505, 1391783494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66739344596863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 04:38:21.912903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_37_3725.jpg', '/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_40_2812.jpg', '/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_42_2715.jpg', '/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_46_3563.jpg', '/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_49_2871.jpg', '/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_52_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/08/39/image_30102025_08_39_37_3725.jpg
/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_40_2812.jpg
/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_42_2715.jpg
/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_46_3563.jpg
/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_49_2871.jpg
/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_52_2646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783533","1391783518","1391783520","1391783528","1391783522","1391783525"],"photo_ids_order":["1391783518","1391783520","1391783522","1391783525","1391783528","1391783533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/17c6d1b8e75a9fb76113b9c9510b93ce.jpg","text":"TemporaryFile(/tmp/multipartBody2974845782700004648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054764536,"filename":"image_30102025_08_39_52_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/2/af3509fb9155ca334ec2f0bb5beb5493.jpg","text":"TemporaryFile(/tmp/multipartBody6321553125942821827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054764536,"filename":"image_30102025_08_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/2/dde00a1d8aa08c1693fe50ad365274bf.jpg","text":"TemporaryFile(/tmp/multipartBody2526755561888690533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054764536,"filename":"image_30102025_08_39_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/2/50954d27d016586b5723fabdad7ed2b8.jpg","text":"TemporaryFile(/tmp/multipartBody5659681366216895326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054764536,"filename":"image_30102025_08_39_49_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/2/4bee5aef291cac261528b9ea3f843c40.jpg","text":"TemporaryFile(/tmp/multipartBody1272522319011129029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054764536,"filename":"image_30102025_08_39_42_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/2/8e8906185dd33a4d9664c6b1dcc45661.jpg","text":"TemporaryFile(/tmp/multipartBody3344147857577634092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054764536,"filename":"image_30102025_08_39_46_3563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783522","file1":"1391783520","file0":"1391783518","file4":"1391783528","file5":"1391783533","file3":"1391783525"},"map_files_photo_id_array":[{"photo_id":"1391783533","filename":"file5"},{"photo_id":"1391783522","filename":"file2"},{"photo_id":"1391783528","filename":"file4"},{"photo_id":"1391783520","filename":"file1"},{"photo_id":"1391783518","filename":"file0"},{"photo_id":"1391783525","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783533":["hashtag1","hashtag2"]},{"1391783518":["hashtag1","hashtag2"]},{"1391783520":["hashtag1","hashtag2"]},{"1391783528":["hashtag1","hashtag2"]},{"1391783522":["hashtag1","hashtag2"]},{"1391783525":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783533, 1391783518, 1391783520, 1391783528, 1391783522, 1391783525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72059416770935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:39:03.068695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_54_2881.jpg', '/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_57_2867.jpg', '/home/pi/Desktop/images/30102025/08/39/image_30102025_08_40_01_3694.jpg', '/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_04_2609.jpg', '/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_08_4649.jpg', '/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_13_2799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_54_2881.jpg
/home/pi/Desktop/images/30102025/08/39/image_30102025_08_39_57_2867.jpg
/home/pi/Desktop/images/30102025/08/39/image_30102025_08_40_01_3694.jpg
/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_04_2609.jpg
/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_08_4649.jpg
/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_13_2799.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783551","1391783560","1391783556","1391783565","1391783570","1391783546"],"photo_ids_order":["1391783546","1391783551","1391783556","1391783560","1391783565","1391783570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8252393ab8cab756ce01e41283c678ca.jpg","text":"TemporaryFile(/tmp/multipartBody4927589405437805911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054805308,"filename":"image_30102025_08_39_57_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/2/85e39c5d0497909c9e658b67302cabc3.jpg","text":"TemporaryFile(/tmp/multipartBody9150541762188911622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054805308,"filename":"image_30102025_08_40_04_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/2/9d8bcedada3385bd3aaadc17e0d7ea23.jpg","text":"TemporaryFile(/tmp/multipartBody4194492964976101619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054805308,"filename":"image_30102025_08_40_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/2/947c03db78101639fc077b9900975045.jpg","text":"TemporaryFile(/tmp/multipartBody4234034565929799425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054805308,"filename":"image_30102025_08_40_08_4649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0a9b180977c78f5b595586e7272c8fd7.jpg","text":"TemporaryFile(/tmp/multipartBody6582409243890132512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054805308,"filename":"image_30102025_08_40_13_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/2/755172e8da6bbac1f72814b8d6724f79.jpg","text":"TemporaryFile(/tmp/multipartBody6660504772883572932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054805308,"filename":"image_30102025_08_39_54_2881.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783556","file1":"1391783551","file0":"1391783546","file4":"1391783565","file5":"1391783570","file3":"1391783560"},"map_files_photo_id_array":[{"photo_id":"1391783570","filename":"file5"},{"photo_id":"1391783556","filename":"file2"},{"photo_id":"1391783565","filename":"file4"},{"photo_id":"1391783551","filename":"file1"},{"photo_id":"1391783546","filename":"file0"},{"photo_id":"1391783560","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783551":["hashtag1","hashtag2"]},{"1391783560":["hashtag1","hashtag2"]},{"1391783556":["hashtag1","hashtag2"]},{"1391783565":["hashtag1","hashtag2"]},{"1391783570":["hashtag1","hashtag2"]},{"1391783546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783551, 1391783560, 1391783556, 1391783565, 1391783570, 1391783546)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.66289973258972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:40:04.732765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_16_2734.jpg', '/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_18_2667.jpg', '/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_22_3665.jpg', '/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_25_2682.jpg', '/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_28_2862.jpg', '/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_30_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/08/40/image_30102025_08_40_16_2734.jpg
/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_18_2667.jpg
/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_22_3665.jpg
/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_25_2682.jpg
/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_28_2862.jpg
/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_30_2643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783592","1391783601","1391783594","1391783593","1391783596","1391783599"],"photo_ids_order":["1391783592","1391783593","1391783594","1391783596","1391783599","1391783601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cdd5367dc3f34a6e5dbb56657f2cbea0.jpg","text":"TemporaryFile(/tmp/multipartBody4246498454698319601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054866808,"filename":"image_30102025_08_40_16_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/2/c905e5f71e67d12287273bdda5a1a6a5.jpg","text":"TemporaryFile(/tmp/multipartBody8722172718731380767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054866808,"filename":"image_30102025_08_40_30_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/2/b434d873037dbb437a4807211e71e7b6.jpg","text":"TemporaryFile(/tmp/multipartBody3025204243449765039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054866808,"filename":"image_30102025_08_40_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/2/372f7609d2ec9ee2c2714dc819a4c880.jpg","text":"TemporaryFile(/tmp/multipartBody4627978220608627830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054866808,"filename":"image_30102025_08_40_18_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/2/24042c9ea3e7420f149358e6a150f2ec.jpg","text":"TemporaryFile(/tmp/multipartBody8079854008604175134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054866808,"filename":"image_30102025_08_40_25_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/2/1cdd50a06ed0057da8b09fc6242c89c0.jpg","text":"TemporaryFile(/tmp/multipartBody1035416491119521104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054866808,"filename":"image_30102025_08_40_28_2862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783594","file1":"1391783593","file0":"1391783592","file4":"1391783599","file5":"1391783601","file3":"1391783596"},"map_files_photo_id_array":[{"photo_id":"1391783601","filename":"file5"},{"photo_id":"1391783594","filename":"file2"},{"photo_id":"1391783599","filename":"file4"},{"photo_id":"1391783593","filename":"file1"},{"photo_id":"1391783592","filename":"file0"},{"photo_id":"1391783596","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783592":["hashtag1","hashtag2"]},{"1391783601":["hashtag1","hashtag2"]},{"1391783594":["hashtag1","hashtag2"]},{"1391783593":["hashtag1","hashtag2"]},{"1391783596":["hashtag1","hashtag2"]},{"1391783599":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783592, 1391783601, 1391783594, 1391783593, 1391783596, 1391783599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04776954650879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:40:44.255435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_34_3669.jpg', '/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_39_2580.jpg', '/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_43_3725.jpg', '/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_47_4379.jpg', '/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_49_1648.jpg', '/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_52_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/08/40/image_30102025_08_40_34_3669.jpg
/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_39_2580.jpg
/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_43_3725.jpg
/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_47_4379.jpg
/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_49_1648.jpg
/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_52_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783626","1391783614","1391783623","1391783631","1391783619","1391783610"],"photo_ids_order":["1391783610","1391783614","1391783619","1391783623","1391783626","1391783631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/31f108cbc70cda7f626c1ee2d99d8dd8.jpg","text":"TemporaryFile(/tmp/multipartBody1683961570942139269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054905355,"filename":"image_30102025_08_40_49_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/2/8fb34dcf09a76357905fa6a101d736ef.jpg","text":"TemporaryFile(/tmp/multipartBody246674377832336935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054905355,"filename":"image_30102025_08_40_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/2/08a318f59df7bfd839f3eae3921efa93.jpg","text":"TemporaryFile(/tmp/multipartBody697689671554859170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054905355,"filename":"image_30102025_08_40_47_4379.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/577e249c63a9fc0f5e51c56a07715902.jpg","text":"TemporaryFile(/tmp/multipartBody6764130275861788745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054905355,"filename":"image_30102025_08_40_52_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/2/180bb77ec06b63d4dd99cfad80256f00.jpg","text":"TemporaryFile(/tmp/multipartBody3681711348489364111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054905355,"filename":"image_30102025_08_40_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/2/cf9aee393be12db7f81fe773ae4c71f6.jpg","text":"TemporaryFile(/tmp/multipartBody7520013174320087148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054905355,"filename":"image_30102025_08_40_34_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783619","file1":"1391783614","file0":"1391783610","file4":"1391783626","file5":"1391783631","file3":"1391783623"},"map_files_photo_id_array":[{"photo_id":"1391783631","filename":"file5"},{"photo_id":"1391783619","filename":"file2"},{"photo_id":"1391783626","filename":"file4"},{"photo_id":"1391783614","filename":"file1"},{"photo_id":"1391783610","filename":"file0"},{"photo_id":"1391783623","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783626":["hashtag1","hashtag2"]},{"1391783614":["hashtag1","hashtag2"]},{"1391783623":["hashtag1","hashtag2"]},{"1391783631":["hashtag1","hashtag2"]},{"1391783619":["hashtag1","hashtag2"]},{"1391783610":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783626, 1391783614, 1391783623, 1391783631, 1391783619, 1391783610)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 37.61440587043762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:41:42.539090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_54_2578.jpg', '/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_58_3798.jpg', '/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_01_2552.jpg', '/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_03_2831.jpg', '/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_07_3614.jpg', '/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_10_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/08/40/image_30102025_08_40_54_2578.jpg
/home/pi/Desktop/images/30102025/08/40/image_30102025_08_40_58_3798.jpg
/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_01_2552.jpg
/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_03_2831.jpg
/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_07_3614.jpg
/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_10_2716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783647","1391783643","1391783651","1391783660","1391783654","1391783657"],"photo_ids_order":["1391783643","1391783647","1391783651","1391783654","1391783657","1391783660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/01411b7056549b774c379a9bf739cddf.jpg","text":"TemporaryFile(/tmp/multipartBody1495353066855490864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054963650,"filename":"image_30102025_08_40_58_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/2/9f1e18f596b810e72455b3cde381859f.jpg","text":"TemporaryFile(/tmp/multipartBody6001548573282891412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054963650,"filename":"image_30102025_08_40_54_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/2/7c39b89b40772a74af86e3a5478325b2.jpg","text":"TemporaryFile(/tmp/multipartBody3643123502793325551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054963650,"filename":"image_30102025_08_41_01_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/2/9adba5c819b5d2148ba73dbb411cec0f.jpg","text":"TemporaryFile(/tmp/multipartBody6134064865123836624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054963650,"filename":"image_30102025_08_41_10_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/2/9f4385597656b17f1a4f03c42fce3c9c.jpg","text":"TemporaryFile(/tmp/multipartBody1796467433642840683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054963650,"filename":"image_30102025_08_41_03_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/2/9e4c392a23d69862a2bda2425f063f6d.jpg","text":"TemporaryFile(/tmp/multipartBody7540559217438575833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762054963650,"filename":"image_30102025_08_41_07_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783651","file1":"1391783647","file0":"1391783643","file4":"1391783657","file5":"1391783660","file3":"1391783654"},"map_files_photo_id_array":[{"photo_id":"1391783660","filename":"file5"},{"photo_id":"1391783651","filename":"file2"},{"photo_id":"1391783657","filename":"file4"},{"photo_id":"1391783647","filename":"file1"},{"photo_id":"1391783643","filename":"file0"},{"photo_id":"1391783654","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783647":["hashtag1","hashtag2"]},{"1391783643":["hashtag1","hashtag2"]},{"1391783651":["hashtag1","hashtag2"]},{"1391783660":["hashtag1","hashtag2"]},{"1391783654":["hashtag1","hashtag2"]},{"1391783657":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783647, 1391783643, 1391783651, 1391783660, 1391783654, 1391783657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.963310956954956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 04:42:22.806465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_16_3563.jpg', '/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_19_2736.jpg', '/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_21_2496.jpg', '/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_25_3655.jpg', '/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_28_2657.jpg', '/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_30_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/08/41/image_30102025_08_41_16_3563.jpg
/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_19_2736.jpg
/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_21_2496.jpg
/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_25_3655.jpg
/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_28_2657.jpg
/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_30_2586.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783665","1391783668","1391783663","1391783672","1391783683","1391783677"],"photo_ids_order":["1391783663","1391783665","1391783668","1391783672","1391783677","1391783683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2bc5403e8e46517226efb1395582350a.jpg","text":"TemporaryFile(/tmp/multipartBody5378839869251192020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055005407,"filename":"image_30102025_08_41_19_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/2/4703112626e14ad4059e347c0c4af42f.jpg","text":"TemporaryFile(/tmp/multipartBody3742968330648698823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055005407,"filename":"image_30102025_08_41_21_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/2/d76fab02ca1e1c5a70a05ee0c9eeccc6.jpg","text":"TemporaryFile(/tmp/multipartBody2408730574394765298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055005407,"filename":"image_30102025_08_41_16_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/2/ded30207459c7530e32fb1e5519c5224.jpg","text":"TemporaryFile(/tmp/multipartBody5711179207044004669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055005407,"filename":"image_30102025_08_41_25_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/2/ae27de8be046fa63f4ca4f24dcd8e3e7.jpg","text":"TemporaryFile(/tmp/multipartBody3315405323450025975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055005407,"filename":"image_30102025_08_41_30_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/2/f4785ab04c2e3e14a842ebbf6d02e015.jpg","text":"TemporaryFile(/tmp/multipartBody7669937129535453158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055005407,"filename":"image_30102025_08_41_28_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783668","file1":"1391783665","file0":"1391783663","file4":"1391783677","file5":"1391783683","file3":"1391783672"},"map_files_photo_id_array":[{"photo_id":"1391783683","filename":"file5"},{"photo_id":"1391783668","filename":"file2"},{"photo_id":"1391783677","filename":"file4"},{"photo_id":"1391783665","filename":"file1"},{"photo_id":"1391783663","filename":"file0"},{"photo_id":"1391783672","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783665":["hashtag1","hashtag2"]},{"1391783668":["hashtag1","hashtag2"]},{"1391783663":["hashtag1","hashtag2"]},{"1391783672":["hashtag1","hashtag2"]},{"1391783683":["hashtag1","hashtag2"]},{"1391783677":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783665, 1391783668, 1391783663, 1391783672, 1391783683, 1391783677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87112355232239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:43:02.743158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_34_3631.jpg', '/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_36_2720.jpg', '/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_39_2616.jpg', '/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_43_3736.jpg', '/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_46_2766.jpg', '/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_48_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/08/41/image_30102025_08_41_34_3631.jpg
/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_36_2720.jpg
/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_39_2616.jpg
/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_43_3736.jpg
/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_46_2766.jpg
/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_48_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":["1391783715","1391783706","1391783696","1391783699","1391783702","1391783711"],"photo_ids_order":["1391783696","1391783699","1391783702","1391783706","1391783711","1391783715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c91eed839a331f915f058a5d67ade2b5.jpg","text":"TemporaryFile(/tmp/multipartBody5968347678547370309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055044901,"filename":"image_30102025_08_41_48_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/2/08fba2ee981309050453c3021592bb5c.jpg","text":"TemporaryFile(/tmp/multipartBody1471537565657746162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055044901,"filename":"image_30102025_08_41_43_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/2/4fad516325f069e87eccb8bd2d4abce8.jpg","text":"TemporaryFile(/tmp/multipartBody250568103770204663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055044901,"filename":"image_30102025_08_41_34_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/2/2effa6417d1ec995d2f43fee0fab2f0e.jpg","text":"TemporaryFile(/tmp/multipartBody4301332192355700500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055044901,"filename":"image_30102025_08_41_36_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/2/1eb934db3bacc3714dfe6240121775ae.jpg","text":"TemporaryFile(/tmp/multipartBody6440557267852517109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055044901,"filename":"image_30102025_08_41_39_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/2/a953b390207f4e4c4c3a40e63f99a016.jpg","text":"TemporaryFile(/tmp/multipartBody9024440297540239807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055044901,"filename":"image_30102025_08_41_46_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783702","file1":"1391783699","file0":"1391783696","file4":"1391783711","file5":"1391783715","file3":"1391783706"},"map_files_photo_id_array":[{"photo_id":"1391783715","filename":"file5"},{"photo_id":"1391783702","filename":"file2"},{"photo_id":"1391783711","filename":"file4"},{"photo_id":"1391783699","filename":"file1"},{"photo_id":"1391783696","filename":"file0"},{"photo_id":"1391783706","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783715":["hashtag1","hashtag2"]},{"1391783706":["hashtag1","hashtag2"]},{"1391783696":["hashtag1","hashtag2"]},{"1391783699":["hashtag1","hashtag2"]},{"1391783702":["hashtag1","hashtag2"]},{"1391783711":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783715, 1391783706, 1391783696, 1391783699, 1391783702, 1391783711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84462332725525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:44:02.854866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_52_3652.jpg', '/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_55_2813.jpg', '/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_58_3035.jpg', '/home/pi/Desktop/images/30102025/08/41/image_30102025_08_42_00_2598.jpg', '/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_03_2710.jpg', '/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_07_3804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_52_3652.jpg
/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_55_2813.jpg
/home/pi/Desktop/images/30102025/08/41/image_30102025_08_41_58_3035.jpg
/home/pi/Desktop/images/30102025/08/41/image_30102025_08_42_00_2598.jpg
/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_03_2710.jpg
/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_07_3804.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783743","1391783746","1391783753","1391783741","1391783738","1391783749"],"photo_ids_order":["1391783738","1391783741","1391783743","1391783746","1391783749","1391783753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8b4a0b2583fcec6ee55a4150bb2f709d.jpg","text":"TemporaryFile(/tmp/multipartBody7535240623802567730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055106222,"filename":"image_30102025_08_41_58_3035.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/833db51a7ae4d1fcc9703e88a3f30117.jpg","text":"TemporaryFile(/tmp/multipartBody9041070494352971813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055106222,"filename":"image_30102025_08_42_00_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/2/a96e769272e2149866df3800bf2b7d4b.jpg","text":"TemporaryFile(/tmp/multipartBody4053364967051449943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055106222,"filename":"image_30102025_08_42_07_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/2/dbea122d900916a1eb5166498168f421.jpg","text":"TemporaryFile(/tmp/multipartBody1261339092000061691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055106222,"filename":"image_30102025_08_41_55_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/2/c5bea06052a95b72c6111b919a9322e6.jpg","text":"TemporaryFile(/tmp/multipartBody969190301617288681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055106222,"filename":"image_30102025_08_41_52_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/2/fdd3c31f3f1ab1790d3cac1022a3207f.jpg","text":"TemporaryFile(/tmp/multipartBody1321586450082263386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055106222,"filename":"image_30102025_08_42_03_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783743","file1":"1391783741","file0":"1391783738","file4":"1391783749","file5":"1391783753","file3":"1391783746"},"map_files_photo_id_array":[{"photo_id":"1391783753","filename":"file5"},{"photo_id":"1391783743","filename":"file2"},{"photo_id":"1391783749","filename":"file4"},{"photo_id":"1391783741","filename":"file1"},{"photo_id":"1391783738","filename":"file0"},{"photo_id":"1391783746","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783743":["hashtag1","hashtag2"]},{"1391783746":["hashtag1","hashtag2"]},{"1391783753":["hashtag1","hashtag2"]},{"1391783741":["hashtag1","hashtag2"]},{"1391783738":["hashtag1","hashtag2"]},{"1391783749":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783743, 1391783746, 1391783753, 1391783741, 1391783738, 1391783749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.259915828704834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:44:42.143119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_10_2769.jpg', '/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_12_2721.jpg', '/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_16_3521.jpg', '/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_19_2642.jpg', '/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_21_2727.jpg', '/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_25_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_10_2769.jpg
/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_12_2721.jpg
/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_16_3521.jpg
/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_19_2642.jpg
/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_21_2727.jpg
/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_25_3654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783784","1391783772","1391783766","1391783780","1391783776","1391783761"],"photo_ids_order":["1391783761","1391783766","1391783772","1391783776","1391783780","1391783784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/04514b1bd6ab366ee5538d9e868b826b.jpg","text":"TemporaryFile(/tmp/multipartBody4274388401713871141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055143282,"filename":"image_30102025_08_42_25_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/2/5aa11334aa3c9786bb6b5dbcb67246a2.jpg","text":"TemporaryFile(/tmp/multipartBody3459699197017808886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055143282,"filename":"image_30102025_08_42_16_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/2/cab4ba6d7b010504148c585b35d12cdf.jpg","text":"TemporaryFile(/tmp/multipartBody5835376926867558481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055143282,"filename":"image_30102025_08_42_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/2/c3b9c05e90f18faa7451c9d55faef8f9.jpg","text":"TemporaryFile(/tmp/multipartBody4489755272369568048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055143282,"filename":"image_30102025_08_42_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/2/fa607b014d1492468612b9cac7f6b4c7.jpg","text":"TemporaryFile(/tmp/multipartBody5632109578519753122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055143282,"filename":"image_30102025_08_42_19_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/2/7a43e7caf7e7cff0b8a614319f22db5a.jpg","text":"TemporaryFile(/tmp/multipartBody4930681666485514666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055143282,"filename":"image_30102025_08_42_10_2769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783772","file1":"1391783766","file0":"1391783761","file4":"1391783780","file5":"1391783784","file3":"1391783776"},"map_files_photo_id_array":[{"photo_id":"1391783784","filename":"file5"},{"photo_id":"1391783772","filename":"file2"},{"photo_id":"1391783780","filename":"file4"},{"photo_id":"1391783766","filename":"file1"},{"photo_id":"1391783761","filename":"file0"},{"photo_id":"1391783776","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783784":["hashtag1","hashtag2"]},{"1391783772":["hashtag1","hashtag2"]},{"1391783766":["hashtag1","hashtag2"]},{"1391783780":["hashtag1","hashtag2"]},{"1391783776":["hashtag1","hashtag2"]},{"1391783761":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783784, 1391783772, 1391783766, 1391783780, 1391783776, 1391783761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14246916770935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 04:45:22.332496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_27_2599.jpg', '/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_30_2660.jpg', '/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_34_3591.jpg', '/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_36_2631.jpg', '/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_39_2791.jpg', '/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_42_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_27_2599.jpg
/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_30_2660.jpg
/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_34_3591.jpg
/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_36_2631.jpg
/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_39_2791.jpg
/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_42_2783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783806","1391783803","1391783808","1391783798","1391783810","1391783794"],"photo_ids_order":["1391783794","1391783798","1391783803","1391783806","1391783808","1391783810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e66cf4570d176674c9517519387bd94d.jpg","text":"TemporaryFile(/tmp/multipartBody91859349671191266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055185081,"filename":"image_30102025_08_42_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/2/206a6f32e3422703a5843555127c4876.jpg","text":"TemporaryFile(/tmp/multipartBody3646825514944227091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055185081,"filename":"image_30102025_08_42_34_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/2/8ebc4247f47f479570b9fb1b3b731105.jpg","text":"TemporaryFile(/tmp/multipartBody6265428617206634992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055185081,"filename":"image_30102025_08_42_39_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/2/f396e2fc442a637de0c5011aae015aba.jpg","text":"TemporaryFile(/tmp/multipartBody8292460668513989740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055185081,"filename":"image_30102025_08_42_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/2/620a6f4ede2f5ad56cd9faeae0c0bdb5.jpg","text":"TemporaryFile(/tmp/multipartBody7607410747106934684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055185081,"filename":"image_30102025_08_42_42_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/2/b3b8bd1c7361767dbfd99f69dcb51f00.jpg","text":"TemporaryFile(/tmp/multipartBody8236962355515739440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055185081,"filename":"image_30102025_08_42_27_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783803","file1":"1391783798","file0":"1391783794","file4":"1391783808","file5":"1391783810","file3":"1391783806"},"map_files_photo_id_array":[{"photo_id":"1391783810","filename":"file5"},{"photo_id":"1391783803","filename":"file2"},{"photo_id":"1391783808","filename":"file4"},{"photo_id":"1391783798","filename":"file1"},{"photo_id":"1391783794","filename":"file0"},{"photo_id":"1391783806","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783806":["hashtag1","hashtag2"]},{"1391783803":["hashtag1","hashtag2"]},{"1391783808":["hashtag1","hashtag2"]},{"1391783798":["hashtag1","hashtag2"]},{"1391783810":["hashtag1","hashtag2"]},{"1391783794":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783806, 1391783803, 1391783808, 1391783798, 1391783810, 1391783794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11413836479187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:46:03.034305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_46_3566.jpg', '/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_48_2635.jpg', '/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_51_2731.jpg', '/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_55_3657.jpg', '/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_57_2707.jpg', '/home/pi/Desktop/images/30102025/08/42/image_30102025_08_43_00_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/08/42/image_30102025_08_42_46_3566.jpg
/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_48_2635.jpg
/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_51_2731.jpg
/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_55_3657.jpg
/home/pi/Desktop/images/30102025/08/42/image_30102025_08_42_57_2707.jpg
/home/pi/Desktop/images/30102025/08/42/image_30102025_08_43_00_2664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783842","1391783833","1391783821","1391783829","1391783838","1391783825"],"photo_ids_order":["1391783821","1391783825","1391783829","1391783833","1391783838","1391783842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/63a93a7027029c5f8a30888ad4ca632c.jpg","text":"TemporaryFile(/tmp/multipartBody1965309367806836674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055225111,"filename":"image_30102025_08_43_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/2/4fdcbdd45af41ad00b997871c5e83774.jpg","text":"TemporaryFile(/tmp/multipartBody1640160774881988395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055225111,"filename":"image_30102025_08_42_55_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/2/b837ad0b17b96962ca37bb021932403d.jpg","text":"TemporaryFile(/tmp/multipartBody1459005040460369765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055225111,"filename":"image_30102025_08_42_46_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/2/2384bb9b1cf1877ba5c2c45a22f61007.jpg","text":"TemporaryFile(/tmp/multipartBody9103091952439757708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055225111,"filename":"image_30102025_08_42_51_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/2/f2c7cf9da6c338ec3595533368c6003b.jpg","text":"TemporaryFile(/tmp/multipartBody5269747568259264581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055225111,"filename":"image_30102025_08_42_57_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/2/0db3a09807ac7a4538fd4230399c7461.jpg","text":"TemporaryFile(/tmp/multipartBody78442414628389490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055225111,"filename":"image_30102025_08_42_48_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783829","file1":"1391783825","file0":"1391783821","file4":"1391783838","file5":"1391783842","file3":"1391783833"},"map_files_photo_id_array":[{"photo_id":"1391783842","filename":"file5"},{"photo_id":"1391783829","filename":"file2"},{"photo_id":"1391783838","filename":"file4"},{"photo_id":"1391783825","filename":"file1"},{"photo_id":"1391783821","filename":"file0"},{"photo_id":"1391783833","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783842":["hashtag1","hashtag2"]},{"1391783833":["hashtag1","hashtag2"]},{"1391783821":["hashtag1","hashtag2"]},{"1391783829":["hashtag1","hashtag2"]},{"1391783838":["hashtag1","hashtag2"]},{"1391783825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783842, 1391783833, 1391783821, 1391783829, 1391783838, 1391783825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.511664390563965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:46:42.532374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_04_3703.jpg', '/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_06_2605.jpg', '/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_10_3559.jpg', '/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_12_2676.jpg', '/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_16_3207.jpg', '/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_18_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/08/43/image_30102025_08_43_04_3703.jpg
/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_06_2605.jpg
/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_10_3559.jpg
/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_12_2676.jpg
/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_16_3207.jpg
/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_18_2658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783857","1391783862","1391783870","1391783852","1391783846","1391783866"],"photo_ids_order":["1391783846","1391783852","1391783857","1391783862","1391783866","1391783870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9405ea050a19e1170aaf8d0529d846d5.jpg","text":"TemporaryFile(/tmp/multipartBody5164791394500646966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055263632,"filename":"image_30102025_08_43_10_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/2/05b7e3317de79e524177bb4183631f61.jpg","text":"TemporaryFile(/tmp/multipartBody3509227473485212246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055263632,"filename":"image_30102025_08_43_12_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/2/e2095e2d8cad43cc9f028c95bb98c26e.jpg","text":"TemporaryFile(/tmp/multipartBody5823866027250333584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055263632,"filename":"image_30102025_08_43_18_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/2/75d56ccf5b868f36fc0e9995c354b9dd.jpg","text":"TemporaryFile(/tmp/multipartBody7815758173000901486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055263632,"filename":"image_30102025_08_43_06_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/2/a6e0777061832e56b448e68e4f85f144.jpg","text":"TemporaryFile(/tmp/multipartBody8195094998116945136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055263632,"filename":"image_30102025_08_43_04_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/2/4bb326cf647838ea771785716d0ee5e3.jpg","text":"TemporaryFile(/tmp/multipartBody2923329529941818536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055263632,"filename":"image_30102025_08_43_16_3207.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783857","file1":"1391783852","file0":"1391783846","file4":"1391783866","file5":"1391783870","file3":"1391783862"},"map_files_photo_id_array":[{"photo_id":"1391783870","filename":"file5"},{"photo_id":"1391783857","filename":"file2"},{"photo_id":"1391783866","filename":"file4"},{"photo_id":"1391783852","filename":"file1"},{"photo_id":"1391783846","filename":"file0"},{"photo_id":"1391783862","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783857":["hashtag1","hashtag2"]},{"1391783862":["hashtag1","hashtag2"]},{"1391783870":["hashtag1","hashtag2"]},{"1391783852":["hashtag1","hashtag2"]},{"1391783846":["hashtag1","hashtag2"]},{"1391783866":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783857, 1391783862, 1391783870, 1391783852, 1391783846, 1391783866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62168550491333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 04:47:22.716310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_21_2727.jpg', '/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_25_3617.jpg', '/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_28_2932.jpg', '/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_31_2930.jpg', '/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_33_2687.jpg', '/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_36_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/08/43/image_30102025_08_43_21_2727.jpg
/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_25_3617.jpg
/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_28_2932.jpg
/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_31_2930.jpg
/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_33_2687.jpg
/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_36_2663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783883","1391783877","1391783880","1391783890","1391783887","1391783875"],"photo_ids_order":["1391783875","1391783877","1391783880","1391783883","1391783887","1391783890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/990ce0f838a751838082c3c3dd71af3d.jpg","text":"TemporaryFile(/tmp/multipartBody7582653487347873225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055305376,"filename":"image_30102025_08_43_31_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/2/eea3108f6b19fa2e4c4e299ee3fe4424.jpg","text":"TemporaryFile(/tmp/multipartBody6430590714668339711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055305376,"filename":"image_30102025_08_43_25_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/2/40a15b7e47227219975a05a85ad13889.jpg","text":"TemporaryFile(/tmp/multipartBody8239816026890689159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055305376,"filename":"image_30102025_08_43_28_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/2/3e132199f08bf11f41d7dda7afb63d33.jpg","text":"TemporaryFile(/tmp/multipartBody3410768529148495941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055305376,"filename":"image_30102025_08_43_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/2/d24aea31befbd56abdf9c7a9be22e13e.jpg","text":"TemporaryFile(/tmp/multipartBody2153576949649281735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055305376,"filename":"image_30102025_08_43_33_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/2/c73b272da7aa669004d90dbf8219b293.jpg","text":"TemporaryFile(/tmp/multipartBody5455400900597605135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055305376,"filename":"image_30102025_08_43_21_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783880","file1":"1391783877","file0":"1391783875","file4":"1391783887","file5":"1391783890","file3":"1391783883"},"map_files_photo_id_array":[{"photo_id":"1391783890","filename":"file5"},{"photo_id":"1391783880","filename":"file2"},{"photo_id":"1391783887","filename":"file4"},{"photo_id":"1391783877","filename":"file1"},{"photo_id":"1391783875","filename":"file0"},{"photo_id":"1391783883","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783883":["hashtag1","hashtag2"]},{"1391783877":["hashtag1","hashtag2"]},{"1391783880":["hashtag1","hashtag2"]},{"1391783890":["hashtag1","hashtag2"]},{"1391783887":["hashtag1","hashtag2"]},{"1391783875":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783883, 1391783877, 1391783880, 1391783890, 1391783887, 1391783875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43643641471863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:48:02.346916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_40_3804.jpg', '/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_42_2597.jpg', '/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_45_2604.jpg', '/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_48_3578.jpg', '/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_51_2596.jpg', '/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_55_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/08/43/image_30102025_08_43_40_3804.jpg
/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_42_2597.jpg
/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_45_2604.jpg
/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_48_3578.jpg
/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_51_2596.jpg
/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_55_3610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783902","1391783905","1391783895","1391783908","1391783912","1391783899"],"photo_ids_order":["1391783895","1391783899","1391783902","1391783905","1391783908","1391783912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e8950dc351b537b776476cdb20e1b667.jpg","text":"TemporaryFile(/tmp/multipartBody8260075453802269310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055344447,"filename":"image_30102025_08_43_45_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/2/96fe506afd934f7f3f7eb4f95c46dfde.jpg","text":"TemporaryFile(/tmp/multipartBody794844751383580503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055344447,"filename":"image_30102025_08_43_48_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/2/0c27896bddc1899e5f6cce961a833d96.jpg","text":"TemporaryFile(/tmp/multipartBody7306920452600950982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055344447,"filename":"image_30102025_08_43_40_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/2/00c0d85af473ea3e3d51daf3f18262fb.jpg","text":"TemporaryFile(/tmp/multipartBody6039746066954521597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055344447,"filename":"image_30102025_08_43_51_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/2/cc0d36e5b67a7d624d196fea00ced183.jpg","text":"TemporaryFile(/tmp/multipartBody1725570074947060332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055344447,"filename":"image_30102025_08_43_55_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/2/a2f160faac1b64397ded7aec3aabc0be.jpg","text":"TemporaryFile(/tmp/multipartBody3619604237890602569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055344447,"filename":"image_30102025_08_43_42_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783902","file1":"1391783899","file0":"1391783895","file4":"1391783908","file5":"1391783912","file3":"1391783905"},"map_files_photo_id_array":[{"photo_id":"1391783912","filename":"file5"},{"photo_id":"1391783902","filename":"file2"},{"photo_id":"1391783908","filename":"file4"},{"photo_id":"1391783899","filename":"file1"},{"photo_id":"1391783895","filename":"file0"},{"photo_id":"1391783905","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783902":["hashtag1","hashtag2"]},{"1391783905":["hashtag1","hashtag2"]},{"1391783895":["hashtag1","hashtag2"]},{"1391783908":["hashtag1","hashtag2"]},{"1391783912":["hashtag1","hashtag2"]},{"1391783899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783902, 1391783905, 1391783895, 1391783908, 1391783912, 1391783899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32160234451294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:48:41.965163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/43/image_30102025_08_43_57_2655.jpg', '/home/pi/Desktop/images/30102025/08/43/image_30102025_08_44_00_2707.jpg', '/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_03_2835.jpg', '/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_07_3760.jpg', '/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_09_2671.jpg', '/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_12_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/08/43/image_30102025_08_43_57_2655.jpg
/home/pi/Desktop/images/30102025/08/43/image_30102025_08_44_00_2707.jpg
/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_03_2835.jpg
/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_07_3760.jpg
/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_09_2671.jpg
/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_12_2604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783935","1391783931","1391783937","1391783922","1391783939","1391783927"],"photo_ids_order":["1391783922","1391783927","1391783931","1391783935","1391783937","1391783939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a22e2e6588a3f868fa42faeead96c8a8.jpg","text":"TemporaryFile(/tmp/multipartBody6500328356094532306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055383117,"filename":"image_30102025_08_44_07_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/2/1f62c9859be3152ac8b868cd5aaf845b.jpg","text":"TemporaryFile(/tmp/multipartBody8668948402609227038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055383117,"filename":"image_30102025_08_44_03_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/2/b319574434c42dee906c4b6d396ab0e6.jpg","text":"TemporaryFile(/tmp/multipartBody3874348504403773090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055383117,"filename":"image_30102025_08_44_09_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/2/c88933f68f0eaf463e4eac9c8407d9a5.jpg","text":"TemporaryFile(/tmp/multipartBody1884341719372734169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055383117,"filename":"image_30102025_08_43_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/2/c8342f525bd41a71116cbb1ff905a1ea.jpg","text":"TemporaryFile(/tmp/multipartBody4711115314417189585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055383117,"filename":"image_30102025_08_44_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/2/6ca0fe5f1133637bbb698edb1852caf0.jpg","text":"TemporaryFile(/tmp/multipartBody1410678161477450324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055383117,"filename":"image_30102025_08_44_00_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783931","file1":"1391783927","file0":"1391783922","file4":"1391783937","file5":"1391783939","file3":"1391783935"},"map_files_photo_id_array":[{"photo_id":"1391783939","filename":"file5"},{"photo_id":"1391783931","filename":"file2"},{"photo_id":"1391783937","filename":"file4"},{"photo_id":"1391783927","filename":"file1"},{"photo_id":"1391783922","filename":"file0"},{"photo_id":"1391783935","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783935":["hashtag1","hashtag2"]},{"1391783931":["hashtag1","hashtag2"]},{"1391783937":["hashtag1","hashtag2"]},{"1391783922":["hashtag1","hashtag2"]},{"1391783939":["hashtag1","hashtag2"]},{"1391783927":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783935, 1391783931, 1391783937, 1391783922, 1391783939, 1391783927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27682137489319 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 04:49:22.081195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_16_3663.jpg', '/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_18_2892.jpg', '/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_21_2766.jpg', '/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_24_2639.jpg', '/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_28_3633.jpg', '/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_30_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/08/44/image_30102025_08_44_16_3663.jpg
/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_18_2892.jpg
/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_21_2766.jpg
/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_24_2639.jpg
/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_28_3633.jpg
/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_30_2572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391783962","1391783950","1391783958","1391783952","1391783946","1391783954"],"photo_ids_order":["1391783946","1391783950","1391783952","1391783954","1391783958","1391783962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/760cc41114e346cd30fafe3b298ab7de.jpg","text":"TemporaryFile(/tmp/multipartBody3558011970655155970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055424735,"filename":"image_30102025_08_44_30_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/2/4cf68e8c120e01bc109227ad6eea47b0.jpg","text":"TemporaryFile(/tmp/multipartBody9070020501650637100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055424735,"filename":"image_30102025_08_44_18_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/2/b255bc4c32c21fc1be9e461c4d0b20b2.jpg","text":"TemporaryFile(/tmp/multipartBody6044887718458919123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055424735,"filename":"image_30102025_08_44_28_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/2/b8850baafa39d38b2f7b43779e0b4cd7.jpg","text":"TemporaryFile(/tmp/multipartBody1473280586607267658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055424735,"filename":"image_30102025_08_44_21_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/2/98307facf496eef896f1445823a8250f.jpg","text":"TemporaryFile(/tmp/multipartBody7646800977041542284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055424735,"filename":"image_30102025_08_44_16_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/2/0ddb5f0166da21ca3ebd4df208056031.jpg","text":"TemporaryFile(/tmp/multipartBody7841738906788068325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055424735,"filename":"image_30102025_08_44_24_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783952","file1":"1391783950","file0":"1391783946","file4":"1391783958","file5":"1391783962","file3":"1391783954"},"map_files_photo_id_array":[{"photo_id":"1391783962","filename":"file5"},{"photo_id":"1391783952","filename":"file2"},{"photo_id":"1391783958","filename":"file4"},{"photo_id":"1391783950","filename":"file1"},{"photo_id":"1391783946","filename":"file0"},{"photo_id":"1391783954","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391783962":["hashtag1","hashtag2"]},{"1391783950":["hashtag1","hashtag2"]},{"1391783958":["hashtag1","hashtag2"]},{"1391783952":["hashtag1","hashtag2"]},{"1391783946":["hashtag1","hashtag2"]},{"1391783954":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391783962, 1391783950, 1391783958, 1391783952, 1391783946, 1391783954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.387964487075806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:50:02.771330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_33_2794.jpg', '/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_37_3764.jpg', '/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_39_2658.jpg', '/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_42_2653.jpg', '/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_45_2933.jpg', '/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_48_3574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_33_2794.jpg
/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_37_3764.jpg
/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_39_2658.jpg
/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_42_2653.jpg
/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_45_2933.jpg
/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_48_3574.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.067007064819336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 04:50:22.256984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_33_2794.jpg', '/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_37_3764.jpg', '/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_39_2658.jpg', '/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_42_2653.jpg', '/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_45_2933.jpg', '/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_48_3574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_33_2794.jpg
/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_37_3764.jpg
/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_39_2658.jpg
/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_42_2653.jpg
/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_45_2933.jpg
/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_48_3574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391784001","1391783994","1391783997","1391783991","1391783987","1391783989"],"photo_ids_order":["1391783987","1391783989","1391783991","1391783994","1391783997","1391784001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/50d50a12cd406cca7d45345c5f6c6b87.jpg","text":"TemporaryFile(/tmp/multipartBody544203814337808319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055484491,"filename":"image_30102025_08_44_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/2/39a01adcc7051382c458a8d757617a14.jpg","text":"TemporaryFile(/tmp/multipartBody3229706000497175083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055484491,"filename":"image_30102025_08_44_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/2/e5bc4324daddef012c5f8d839a17e71e.jpg","text":"TemporaryFile(/tmp/multipartBody1602861300525565232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055484491,"filename":"image_30102025_08_44_45_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/2/2cafdf0c5738ffd24fb5f1780a906c3a.jpg","text":"TemporaryFile(/tmp/multipartBody7287075627792084508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055484491,"filename":"image_30102025_08_44_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/2/5780257fd5f58f18598c717a9e3f67a0.jpg","text":"TemporaryFile(/tmp/multipartBody1737735332344863353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055484491,"filename":"image_30102025_08_44_33_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/2/8977734523c5625bee05cb394b6d1161.jpg","text":"TemporaryFile(/tmp/multipartBody5563774483328120014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055484491,"filename":"image_30102025_08_44_37_3764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391783991","file1":"1391783989","file0":"1391783987","file4":"1391783997","file5":"1391784001","file3":"1391783994"},"map_files_photo_id_array":[{"photo_id":"1391784001","filename":"file5"},{"photo_id":"1391783991","filename":"file2"},{"photo_id":"1391783997","filename":"file4"},{"photo_id":"1391783989","filename":"file1"},{"photo_id":"1391783987","filename":"file0"},{"photo_id":"1391783994","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391784001":["hashtag1","hashtag2"]},{"1391783994":["hashtag1","hashtag2"]},{"1391783997":["hashtag1","hashtag2"]},{"1391783991":["hashtag1","hashtag2"]},{"1391783987":["hashtag1","hashtag2"]},{"1391783989":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391784001, 1391783994, 1391783997, 1391783991, 1391783987, 1391783989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15083122253418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:51:03.190698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/44/image_30102025_08_44_51_2537.jpg', '/home/pi/Desktop/images/30102025/08/44/image_30102025_08_45_00_2709.jpg', '/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_03_2795.jpg', '/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_07_3762.jpg', '/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_09_2664.jpg', '/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_12_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/08/44/image_30102025_08_44_51_2537.jpg
/home/pi/Desktop/images/30102025/08/44/image_30102025_08_45_00_2709.jpg
/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_03_2795.jpg
/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_07_3762.jpg
/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_09_2664.jpg
/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_12_2587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391784025","1391784027","1391784018","1391784020","1391784022","1391784016"],"photo_ids_order":["1391784016","1391784018","1391784020","1391784022","1391784025","1391784027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/941fdf09dcddc1953ccaa750ad2492f2.jpg","text":"TemporaryFile(/tmp/multipartBody3232276155927065067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055525368,"filename":"image_30102025_08_45_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/2/9784d1cef7538fca233311fe54ead34c.jpg","text":"TemporaryFile(/tmp/multipartBody7513583736198182879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055525368,"filename":"image_30102025_08_45_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/2/61b29b7afcca29a9a2ae336f047eb694.jpg","text":"TemporaryFile(/tmp/multipartBody5852891475873716024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055525368,"filename":"image_30102025_08_45_00_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/2/bfe38a9be8676b50dc29d8a3a1fba404.jpg","text":"TemporaryFile(/tmp/multipartBody4369680109788846104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055525368,"filename":"image_30102025_08_45_03_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/2/133e4848324132a6c9d660ea13aa9ee2.jpg","text":"TemporaryFile(/tmp/multipartBody654862141312433729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055525368,"filename":"image_30102025_08_45_07_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/2/1600503b1aaf10ea7939084c940de3c5.jpg","text":"TemporaryFile(/tmp/multipartBody3943160761279649412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055525368,"filename":"image_30102025_08_44_51_2537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391784020","file1":"1391784018","file0":"1391784016","file4":"1391784025","file5":"1391784027","file3":"1391784022"},"map_files_photo_id_array":[{"photo_id":"1391784027","filename":"file5"},{"photo_id":"1391784020","filename":"file2"},{"photo_id":"1391784025","filename":"file4"},{"photo_id":"1391784018","filename":"file1"},{"photo_id":"1391784016","filename":"file0"},{"photo_id":"1391784022","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391784025":["hashtag1","hashtag2"]},{"1391784027":["hashtag1","hashtag2"]},{"1391784018":["hashtag1","hashtag2"]},{"1391784020":["hashtag1","hashtag2"]},{"1391784022":["hashtag1","hashtag2"]},{"1391784016":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391784025, 1391784027, 1391784018, 1391784020, 1391784022, 1391784016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.670804500579834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:51:42.580121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_15_2808.jpg', '/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_18_3802.jpg', '/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_21_2762.jpg', '/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_27_2729.jpg', '/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_30_3650.jpg', '/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_33_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_15_2808.jpg
/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_18_3802.jpg
/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_21_2762.jpg
/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_27_2729.jpg
/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_30_3650.jpg
/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_33_2614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391784045","1391784036","1391784056","1391784041","1391784052","1391784049"],"photo_ids_order":["1391784036","1391784041","1391784045","1391784049","1391784052","1391784056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d4b6fe1a07efedaf7fc2ec534ce45922.jpg","text":"TemporaryFile(/tmp/multipartBody4620876864722328620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055563687,"filename":"image_30102025_08_45_21_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/2/8a4e6d1cac1d37ca41f6e9acadadf6b1.jpg","text":"TemporaryFile(/tmp/multipartBody2389754493310967314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055563687,"filename":"image_30102025_08_45_15_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/2/d0389002a642aa28945a90a5270fac81.jpg","text":"TemporaryFile(/tmp/multipartBody8011314424238504874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055563687,"filename":"image_30102025_08_45_33_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/2/a7bb94acb255f3893b887d512c99a348.jpg","text":"TemporaryFile(/tmp/multipartBody5611507528280321569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055563687,"filename":"image_30102025_08_45_18_3802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/19854e61f12e149ed828e0b25eca42ac.jpg","text":"TemporaryFile(/tmp/multipartBody9007800789864686855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055563687,"filename":"image_30102025_08_45_30_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/2/ed4b4bfa1c7e091cb60c5380df7e1531.jpg","text":"TemporaryFile(/tmp/multipartBody9109880698235839106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055563687,"filename":"image_30102025_08_45_27_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391784045","file1":"1391784041","file0":"1391784036","file4":"1391784052","file5":"1391784056","file3":"1391784049"},"map_files_photo_id_array":[{"photo_id":"1391784056","filename":"file5"},{"photo_id":"1391784045","filename":"file2"},{"photo_id":"1391784052","filename":"file4"},{"photo_id":"1391784041","filename":"file1"},{"photo_id":"1391784036","filename":"file0"},{"photo_id":"1391784049","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391784045":["hashtag1","hashtag2"]},{"1391784036":["hashtag1","hashtag2"]},{"1391784056":["hashtag1","hashtag2"]},{"1391784041":["hashtag1","hashtag2"]},{"1391784052":["hashtag1","hashtag2"]},{"1391784049":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391784045, 1391784036, 1391784056, 1391784041, 1391784052, 1391784049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.241780281066895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 04:52:22.731042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_36_2694.jpg', '/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_39_3680.jpg', '/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_42_2791.jpg', '/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_45_2747.jpg', '/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_49_3715.jpg', '/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_51_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/08/45/image_30102025_08_45_36_2694.jpg
/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_39_3680.jpg
/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_42_2791.jpg
/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_45_2747.jpg
/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_49_3715.jpg
/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_51_2683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391784084","1391784063","1391784066","1391784077","1391784071","1391784091"],"photo_ids_order":["1391784063","1391784066","1391784071","1391784077","1391784084","1391784091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/32ced805c84a7fe318e6634138b92c0a.jpg","text":"TemporaryFile(/tmp/multipartBody1036093879378059865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055605358,"filename":"image_30102025_08_45_49_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/2/977e8c3e973d7fb7eceaeecfe15c17d1.jpg","text":"TemporaryFile(/tmp/multipartBody909520498570019592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055605358,"filename":"image_30102025_08_45_36_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/2/367c4f6e4a32c49355fbc022c1f7d7aa.jpg","text":"TemporaryFile(/tmp/multipartBody2900514382937146202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055605358,"filename":"image_30102025_08_45_39_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/2/50c6b526d51035700ae77a174ba14c17.jpg","text":"TemporaryFile(/tmp/multipartBody3314092997358469064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055605358,"filename":"image_30102025_08_45_45_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/2/68cb16d9c139568542537eb98b48a829.jpg","text":"TemporaryFile(/tmp/multipartBody6315198343514295818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055605358,"filename":"image_30102025_08_45_42_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/2/eb53d38795db6e7fe1710c033830f612.jpg","text":"TemporaryFile(/tmp/multipartBody6970411469371172693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055605358,"filename":"image_30102025_08_45_51_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391784071","file1":"1391784066","file0":"1391784063","file4":"1391784084","file5":"1391784091","file3":"1391784077"},"map_files_photo_id_array":[{"photo_id":"1391784091","filename":"file5"},{"photo_id":"1391784071","filename":"file2"},{"photo_id":"1391784084","filename":"file4"},{"photo_id":"1391784066","filename":"file1"},{"photo_id":"1391784063","filename":"file0"},{"photo_id":"1391784077","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391784084":["hashtag1","hashtag2"]},{"1391784063":["hashtag1","hashtag2"]},{"1391784066":["hashtag1","hashtag2"]},{"1391784077":["hashtag1","hashtag2"]},{"1391784071":["hashtag1","hashtag2"]},{"1391784091":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391784084, 1391784063, 1391784066, 1391784077, 1391784071, 1391784091)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.807535886764526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 04:53:21.867938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_54_2536.jpg', '/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_57_3723.jpg', '/home/pi/Desktop/images/30102025/08/45/image_30102025_08_46_00_2732.jpg', '/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_03_2833.jpg', '/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_06_2697.jpg', '/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_09_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/08/45/image_30102025_08_45_54_2536.jpg
/home/pi/Desktop/images/30102025/08/45/image_30102025_08_45_57_3723.jpg
/home/pi/Desktop/images/30102025/08/45/image_30102025_08_46_00_2732.jpg
/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_03_2833.jpg
/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_06_2697.jpg
/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_09_3724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391784118","1391784126","1391784111","1391784114","1391784108","1391784121"],"photo_ids_order":["1391784108","1391784111","1391784114","1391784118","1391784121","1391784126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/70be5f821ce363b445777dd2d1903564.jpg","text":"TemporaryFile(/tmp/multipartBody6462896819164089234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055664189,"filename":"image_30102025_08_46_03_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/2/c7ed25e5b97becc782be09d4c9917a3e.jpg","text":"TemporaryFile(/tmp/multipartBody4233283605978959638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055664189,"filename":"image_30102025_08_46_09_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/2/42a690b6dfc91d6befd5e5745a380554.jpg","text":"TemporaryFile(/tmp/multipartBody3544590305034423253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055664189,"filename":"image_30102025_08_45_57_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/2/bea008c61de1e3460357e288f67d5c53.jpg","text":"TemporaryFile(/tmp/multipartBody4216092732159540114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055664189,"filename":"image_30102025_08_46_00_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/2/34aad056905db69866482416ea6ac283.jpg","text":"TemporaryFile(/tmp/multipartBody8639332414923250289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055664189,"filename":"image_30102025_08_45_54_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/2/d60acf2a4c5928da3a3e450070410d61.jpg","text":"TemporaryFile(/tmp/multipartBody5266581329687316934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055664189,"filename":"image_30102025_08_46_06_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391784114","file1":"1391784111","file0":"1391784108","file4":"1391784121","file5":"1391784126","file3":"1391784118"},"map_files_photo_id_array":[{"photo_id":"1391784126","filename":"file5"},{"photo_id":"1391784114","filename":"file2"},{"photo_id":"1391784121","filename":"file4"},{"photo_id":"1391784111","filename":"file1"},{"photo_id":"1391784108","filename":"file0"},{"photo_id":"1391784118","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391784118":["hashtag1","hashtag2"]},{"1391784126":["hashtag1","hashtag2"]},{"1391784111":["hashtag1","hashtag2"]},{"1391784114":["hashtag1","hashtag2"]},{"1391784108":["hashtag1","hashtag2"]},{"1391784121":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391784118, 1391784126, 1391784111, 1391784114, 1391784108, 1391784121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37040376663208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:54:02.888439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_12_2592.jpg', '/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_15_2702.jpg', '/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_18_2741.jpg', '/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_21_3772.jpg', '/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_24_2879.jpg', '/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_27_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/08/46/image_30102025_08_46_12_2592.jpg
/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_15_2702.jpg
/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_18_2741.jpg
/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_21_3772.jpg
/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_24_2879.jpg
/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_27_2791.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391784150","1391784144","1391784140","1391784143","1391784146","1391784148"],"photo_ids_order":["1391784140","1391784143","1391784144","1391784146","1391784148","1391784150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/96f8a3959544106899f6d8e7edb6330a.jpg","text":"TemporaryFile(/tmp/multipartBody3019070522702094414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055705003,"filename":"image_30102025_08_46_27_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/2/4248fc4ed7075c2e72a3258bca3edb61.jpg","text":"TemporaryFile(/tmp/multipartBody8096073287938619185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055705003,"filename":"image_30102025_08_46_18_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/2/6c06c7a0ec7d0b2ae061d46af3ac6cf6.jpg","text":"TemporaryFile(/tmp/multipartBody763194638339877324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055705003,"filename":"image_30102025_08_46_12_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/2/5f671eb55d9749b9c263e9ea78d992b5.jpg","text":"TemporaryFile(/tmp/multipartBody6532528011492655001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055705003,"filename":"image_30102025_08_46_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/2/5a5c44918d7e68759df19cb99d9ca210.jpg","text":"TemporaryFile(/tmp/multipartBody9013089493499929222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055705003,"filename":"image_30102025_08_46_21_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/2/1af9d2c15bc2db1f998ed44fdde995fe.jpg","text":"TemporaryFile(/tmp/multipartBody5909213436338666511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055705003,"filename":"image_30102025_08_46_24_2879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391784144","file1":"1391784143","file0":"1391784140","file4":"1391784148","file5":"1391784150","file3":"1391784146"},"map_files_photo_id_array":[{"photo_id":"1391784150","filename":"file5"},{"photo_id":"1391784144","filename":"file2"},{"photo_id":"1391784148","filename":"file4"},{"photo_id":"1391784143","filename":"file1"},{"photo_id":"1391784140","filename":"file0"},{"photo_id":"1391784146","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391784150":["hashtag1","hashtag2"]},{"1391784144":["hashtag1","hashtag2"]},{"1391784140":["hashtag1","hashtag2"]},{"1391784143":["hashtag1","hashtag2"]},{"1391784146":["hashtag1","hashtag2"]},{"1391784148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391784150, 1391784144, 1391784140, 1391784143, 1391784146, 1391784148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44998073577881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:54:42.298958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_30_2556.jpg', '/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_33_3721.jpg', '/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_36_2597.jpg', '/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_39_3630.jpg', '/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_42_2690.jpg', '/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_45_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/08/46/image_30102025_08_46_30_2556.jpg
/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_33_3721.jpg
/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_36_2597.jpg
/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_39_3630.jpg
/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_42_2690.jpg
/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_45_2590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391784180","1391784177","1391784162","1391784167","1391784158","1391784172"],"photo_ids_order":["1391784158","1391784162","1391784167","1391784172","1391784177","1391784180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/add561a77293fc232351229cd0b01043.jpg","text":"TemporaryFile(/tmp/multipartBody384782403827059798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055743407,"filename":"image_30102025_08_46_45_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/2/1aff98c6bd5037b679996aefd1ffefc8.jpg","text":"TemporaryFile(/tmp/multipartBody8942793391484062310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055743407,"filename":"image_30102025_08_46_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/2/f127fb5cfa629e9a0212ee2a31aa5069.jpg","text":"TemporaryFile(/tmp/multipartBody8090903727558685343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055743407,"filename":"image_30102025_08_46_33_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/2/f1b981267837ac724298703688d19507.jpg","text":"TemporaryFile(/tmp/multipartBody3308681899908357191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055743407,"filename":"image_30102025_08_46_36_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/2/93dea2d5ad9bf423f1214b30d6541fea.jpg","text":"TemporaryFile(/tmp/multipartBody6466836609738132069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055743407,"filename":"image_30102025_08_46_30_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/2/fd2d2e4f91bdf1909f163eacf4c9d4e1.jpg","text":"TemporaryFile(/tmp/multipartBody1371665143585319671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055743407,"filename":"image_30102025_08_46_39_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391784167","file1":"1391784162","file0":"1391784158","file4":"1391784177","file5":"1391784180","file3":"1391784172"},"map_files_photo_id_array":[{"photo_id":"1391784180","filename":"file5"},{"photo_id":"1391784167","filename":"file2"},{"photo_id":"1391784177","filename":"file4"},{"photo_id":"1391784162","filename":"file1"},{"photo_id":"1391784158","filename":"file0"},{"photo_id":"1391784172","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391784180":["hashtag1","hashtag2"]},{"1391784177":["hashtag1","hashtag2"]},{"1391784162":["hashtag1","hashtag2"]},{"1391784167":["hashtag1","hashtag2"]},{"1391784158":["hashtag1","hashtag2"]},{"1391784172":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391784180, 1391784177, 1391784162, 1391784167, 1391784158, 1391784172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45550537109375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 04:55:22.370158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_48_2802.jpg', '/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_51_3823.jpg', '/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_54_2738.jpg', '/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_57_2614.jpg', '/home/pi/Desktop/images/30102025/08/46/image_30102025_08_47_00_2813.jpg', '/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_03_3791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_48_2802.jpg
/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_51_3823.jpg
/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_54_2738.jpg
/home/pi/Desktop/images/30102025/08/46/image_30102025_08_46_57_2614.jpg
/home/pi/Desktop/images/30102025/08/46/image_30102025_08_47_00_2813.jpg
/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_03_3791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391784202","1391784183","1391784207","1391784185","1391784196","1391784190"],"photo_ids_order":["1391784183","1391784185","1391784190","1391784196","1391784202","1391784207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5066201862bfad0074b473800fd6dfb2.jpg","text":"TemporaryFile(/tmp/multipartBody270735035928804270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055787474,"filename":"image_30102025_08_47_00_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/2/3c76126f7c8b03ebead285cecff755d1.jpg","text":"TemporaryFile(/tmp/multipartBody491840675678851389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055787474,"filename":"image_30102025_08_46_48_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/2/53d01944e14a0abcdfa534d02fc04970.jpg","text":"TemporaryFile(/tmp/multipartBody9083277605595683982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055787474,"filename":"image_30102025_08_47_03_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/2/9422f657bfb0f02d03bffdccf276abbc.jpg","text":"TemporaryFile(/tmp/multipartBody6743050257365530842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055787474,"filename":"image_30102025_08_46_51_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/2/de95df4ffa9c417fb9857bc7cee1c34c.jpg","text":"TemporaryFile(/tmp/multipartBody5120107806430596703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055787474,"filename":"image_30102025_08_46_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/2/f37982a5e25f120a720237e7c9a61f48.jpg","text":"TemporaryFile(/tmp/multipartBody4878196819755954926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055787474,"filename":"image_30102025_08_46_54_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391784190","file1":"1391784185","file0":"1391784183","file4":"1391784202","file5":"1391784207","file3":"1391784196"},"map_files_photo_id_array":[{"photo_id":"1391784207","filename":"file5"},{"photo_id":"1391784190","filename":"file2"},{"photo_id":"1391784202","filename":"file4"},{"photo_id":"1391784185","filename":"file1"},{"photo_id":"1391784183","filename":"file0"},{"photo_id":"1391784196","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391784202":["hashtag1","hashtag2"]},{"1391784183":["hashtag1","hashtag2"]},{"1391784207":["hashtag1","hashtag2"]},{"1391784185":["hashtag1","hashtag2"]},{"1391784196":["hashtag1","hashtag2"]},{"1391784190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391784202, 1391784183, 1391784207, 1391784185, 1391784196, 1391784190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.15676736831665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 04:56:22.486625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_06_2650.jpg', '/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_09_2560.jpg', '/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_12_3628.jpg', '/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_15_2829.jpg', '/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_18_2729.jpg', '/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_21_3535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_06_2650.jpg
/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_09_2560.jpg
/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_12_3628.jpg
/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_15_2829.jpg
/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_18_2729.jpg
/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_21_3535.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391784237","1391784246","1391784233","1391784236","1391784241","1391784235"],"photo_ids_order":["1391784233","1391784235","1391784236","1391784237","1391784241","1391784246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b5ea5ac413321336c217c91592f19a38.jpg","text":"TemporaryFile(/tmp/multipartBody4331225405376454505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055844854,"filename":"image_30102025_08_47_15_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/2/e1ad42d2849cb8ab880b9fb712cdaa72.jpg","text":"TemporaryFile(/tmp/multipartBody8407182143374699869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055844854,"filename":"image_30102025_08_47_21_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/2/d283d7060c7f3e6da9ee8076db0b5e66.jpg","text":"TemporaryFile(/tmp/multipartBody3884561876933591021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055844854,"filename":"image_30102025_08_47_06_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/2/1ebc69401603ebb7916cc3b5564ce3ee.jpg","text":"TemporaryFile(/tmp/multipartBody325007105722400181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055844854,"filename":"image_30102025_08_47_12_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/2/9b2867b30cbfe0a5034d79714c801f04.jpg","text":"TemporaryFile(/tmp/multipartBody2180706784813071965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055844854,"filename":"image_30102025_08_47_18_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/2/1a7e53b80a7817d48cdd1367b348bb2a.jpg","text":"TemporaryFile(/tmp/multipartBody1606310304755985301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055844854,"filename":"image_30102025_08_47_09_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391784236","file1":"1391784235","file0":"1391784233","file4":"1391784241","file5":"1391784246","file3":"1391784237"},"map_files_photo_id_array":[{"photo_id":"1391784246","filename":"file5"},{"photo_id":"1391784236","filename":"file2"},{"photo_id":"1391784241","filename":"file4"},{"photo_id":"1391784235","filename":"file1"},{"photo_id":"1391784233","filename":"file0"},{"photo_id":"1391784237","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391784237":["hashtag1","hashtag2"]},{"1391784246":["hashtag1","hashtag2"]},{"1391784233":["hashtag1","hashtag2"]},{"1391784236":["hashtag1","hashtag2"]},{"1391784241":["hashtag1","hashtag2"]},{"1391784235":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391784237, 1391784246, 1391784233, 1391784236, 1391784241, 1391784235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88876152038574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:57:03.534452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_24_2688.jpg', '/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_27_2789.jpg', '/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_29_2664.jpg', '/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_33_3649.jpg', '/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_36_2633.jpg', '/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_38_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/08/47/image_30102025_08_47_24_2688.jpg
/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_27_2789.jpg
/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_29_2664.jpg
/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_33_3649.jpg
/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_36_2633.jpg
/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_38_2714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391784267","1391784264","1391784278","1391784272","1391784275","1391784269"],"photo_ids_order":["1391784264","1391784267","1391784269","1391784272","1391784275","1391784278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e2e0b1f420f399891066e1fc3cb4063e.jpg","text":"TemporaryFile(/tmp/multipartBody3798373202093274511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055885682,"filename":"image_30102025_08_47_27_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/2/f5808dd8574a71d5f795f72cc854b543.jpg","text":"TemporaryFile(/tmp/multipartBody2229169197717997932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055885682,"filename":"image_30102025_08_47_24_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/2/f46c9a1cef48cacd2a730b4b59936df0.jpg","text":"TemporaryFile(/tmp/multipartBody6273854589577679918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055885682,"filename":"image_30102025_08_47_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/2/62245432e4f84276af7b0ec3bab51035.jpg","text":"TemporaryFile(/tmp/multipartBody2661329033366120199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055885682,"filename":"image_30102025_08_47_33_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/2/10c0746ccbf24b1b487926fb14a3cce0.jpg","text":"TemporaryFile(/tmp/multipartBody6971847035564985841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055885682,"filename":"image_30102025_08_47_36_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/2/41164e49b382f4bff3f06cb6c0075337.jpg","text":"TemporaryFile(/tmp/multipartBody4507185867434701911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055885682,"filename":"image_30102025_08_47_29_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391784269","file1":"1391784267","file0":"1391784264","file4":"1391784275","file5":"1391784278","file3":"1391784272"},"map_files_photo_id_array":[{"photo_id":"1391784278","filename":"file5"},{"photo_id":"1391784269","filename":"file2"},{"photo_id":"1391784275","filename":"file4"},{"photo_id":"1391784267","filename":"file1"},{"photo_id":"1391784264","filename":"file0"},{"photo_id":"1391784272","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391784267":["hashtag1","hashtag2"]},{"1391784264":["hashtag1","hashtag2"]},{"1391784278":["hashtag1","hashtag2"]},{"1391784272":["hashtag1","hashtag2"]},{"1391784275":["hashtag1","hashtag2"]},{"1391784269":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391784267, 1391784264, 1391784278, 1391784272, 1391784275, 1391784269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42197036743164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 04:57:45.393660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_42_3574.jpg', '/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_45_2748.jpg', '/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_48_2785.jpg', '/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_51_3705.jpg', '/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_54_2723.jpg', '/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_57_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/08/47/image_30102025_08_47_42_3574.jpg
/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_45_2748.jpg
/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_48_2785.jpg
/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_51_3705.jpg
/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_54_2723.jpg
/home/pi/Desktop/images/30102025/08/47/image_30102025_08_47_57_2659.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391784285","1391784309","1391784303","1391784314","1391784298","1391784292"],"photo_ids_order":["1391784285","1391784292","1391784298","1391784303","1391784309","1391784314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/dd4219aa5b2c9e9dd206404101a93431.jpg","text":"TemporaryFile(/tmp/multipartBody7225683444780350268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055926499,"filename":"image_30102025_08_47_42_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/2/4158cd643a5918af4665c8dbbcf9509f.jpg","text":"TemporaryFile(/tmp/multipartBody1860527769284631793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055926499,"filename":"image_30102025_08_47_54_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/2/721e1f315ce0cfed34802d22bcac2be2.jpg","text":"TemporaryFile(/tmp/multipartBody8964625193811629069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055926499,"filename":"image_30102025_08_47_51_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/2/8e5daa0c0a57d91264b644f871ee107c.jpg","text":"TemporaryFile(/tmp/multipartBody5838379373617179119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055926499,"filename":"image_30102025_08_47_57_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/2/88e5271da8b11fd5e69cf45598128f64.jpg","text":"TemporaryFile(/tmp/multipartBody7789043704111588354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055926499,"filename":"image_30102025_08_47_48_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/2/8c265a3e045c1a44d3b9fac0604f8f88.jpg","text":"TemporaryFile(/tmp/multipartBody176614090591574914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762055926499,"filename":"image_30102025_08_47_45_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391784298","file1":"1391784292","file0":"1391784285","file4":"1391784309","file5":"1391784314","file3":"1391784303"},"map_files_photo_id_array":[{"photo_id":"1391784314","filename":"file5"},{"photo_id":"1391784298","filename":"file2"},{"photo_id":"1391784309","filename":"file4"},{"photo_id":"1391784292","filename":"file1"},{"photo_id":"1391784285","filename":"file0"},{"photo_id":"1391784303","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391784285":["hashtag1","hashtag2"]},{"1391784309":["hashtag1","hashtag2"]},{"1391784303":["hashtag1","hashtag2"]},{"1391784314":["hashtag1","hashtag2"]},{"1391784298":["hashtag1","hashtag2"]},{"1391784292":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391784285, 1391784309, 1391784303, 1391784314, 1391784298, 1391784292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63554620742798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 04:59:03.126421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/47/image_30102025_08_48_00_3632.jpg', '/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_03_2734.jpg', '/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_06_2641.jpg', '/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_08_2734.jpg', '/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_12_3744.jpg', '/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_15_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/08/47/image_30102025_08_48_00_3632.jpg
/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_03_2734.jpg
/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_06_2641.jpg
/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_08_2734.jpg
/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_12_3744.jpg
/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_15_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":["1391784894","1391784709","1391784803","1391784850","1391784757","1391784943"],"photo_ids_order":["1391784709","1391784757","1391784803","1391784850","1391784894","1391784943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a46395303358e0b61039e145bc7de9b8.jpg","text":"TemporaryFile(/tmp/multipartBody946504680960504812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056005428,"filename":"image_30102025_08_48_12_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/2/eda5539185fc7121a84aeb8b672e336c.jpg","text":"TemporaryFile(/tmp/multipartBody2790215438104541379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056005428,"filename":"image_30102025_08_48_00_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/2/b976c81aff65d37121c0819b2586cf83.jpg","text":"TemporaryFile(/tmp/multipartBody1736580455711496794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056005428,"filename":"image_30102025_08_48_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/2/3b922cbfb6c2aa9c00bfc69924d402eb.jpg","text":"TemporaryFile(/tmp/multipartBody3709394475328780051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056005428,"filename":"image_30102025_08_48_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/2/bdb5733b49515314d868ac4e57809caf.jpg","text":"TemporaryFile(/tmp/multipartBody4424368406472801851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056005428,"filename":"image_30102025_08_48_03_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/2/a852111c78e554d2e5d97136ea0b1471.jpg","text":"TemporaryFile(/tmp/multipartBody7325443197149175716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056005428,"filename":"image_30102025_08_48_15_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391784803","file1":"1391784757","file0":"1391784709","file4":"1391784894","file5":"1391784943","file3":"1391784850"},"map_files_photo_id_array":[{"photo_id":"1391784943","filename":"file5"},{"photo_id":"1391784803","filename":"file2"},{"photo_id":"1391784894","filename":"file4"},{"photo_id":"1391784757","filename":"file1"},{"photo_id":"1391784709","filename":"file0"},{"photo_id":"1391784850","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391784894":["hashtag1","hashtag2"]},{"1391784709":["hashtag1","hashtag2"]},{"1391784803":["hashtag1","hashtag2"]},{"1391784850":["hashtag1","hashtag2"]},{"1391784757":["hashtag1","hashtag2"]},{"1391784943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391784894, 1391784709, 1391784803, 1391784850, 1391784757, 1391784943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.28187298774719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:00:02.691306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_19_3851.jpg', '/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_20_1738.jpg', '/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_24_3697.jpg', '/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_27_2750.jpg', '/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_30_2707.jpg', '/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_33_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/08/48/image_30102025_08_48_19_3851.jpg
/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_20_1738.jpg
/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_24_3697.jpg
/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_27_2750.jpg
/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_30_2707.jpg
/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_33_3762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391785116","1391785008","1391785154","1391785076","1391785147","1391785036"],"photo_ids_order":["1391785008","1391785036","1391785076","1391785116","1391785147","1391785154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/eea6bb404aca5b6684c6884dc778c1b6.jpg","text":"TemporaryFile(/tmp/multipartBody5544898047839917516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056064829,"filename":"image_30102025_08_48_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/2/e4c881cbcbaaa59002ec71e5305c95c1.jpg","text":"TemporaryFile(/tmp/multipartBody1339398996109495269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056064829,"filename":"image_30102025_08_48_19_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/2/3d25adbb1754a692cc7b12cadefa2506.jpg","text":"TemporaryFile(/tmp/multipartBody7275226950004274404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056064829,"filename":"image_30102025_08_48_33_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/2/7db07fbf0b505e193680c7f7de53653a.jpg","text":"TemporaryFile(/tmp/multipartBody7717093716915926278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056064829,"filename":"image_30102025_08_48_24_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/2/afdac061daa22143544f938371316ab1.jpg","text":"TemporaryFile(/tmp/multipartBody1643429555113903413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056064829,"filename":"image_30102025_08_48_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/2/fad81232c2cf673963a583ed804378f8.jpg","text":"TemporaryFile(/tmp/multipartBody3568384899269847989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056064829,"filename":"image_30102025_08_48_20_1738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391785076","file1":"1391785036","file0":"1391785008","file4":"1391785147","file5":"1391785154","file3":"1391785116"},"map_files_photo_id_array":[{"photo_id":"1391785154","filename":"file5"},{"photo_id":"1391785076","filename":"file2"},{"photo_id":"1391785147","filename":"file4"},{"photo_id":"1391785036","filename":"file1"},{"photo_id":"1391785008","filename":"file0"},{"photo_id":"1391785116","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391785116":["hashtag1","hashtag2"]},{"1391785008":["hashtag1","hashtag2"]},{"1391785154":["hashtag1","hashtag2"]},{"1391785076":["hashtag1","hashtag2"]},{"1391785147":["hashtag1","hashtag2"]},{"1391785036":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391785116, 1391785008, 1391785154, 1391785076, 1391785147, 1391785036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77679800987244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 05:00:42.166516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_36_2566.jpg', '/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_39_2811.jpg', '/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_41_2692.jpg', '/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_45_3758.jpg', '/home/pi/Desktop/images/30102025/08/48/image_30102025_08_49_00_2762.jpg', '/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_03_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/08/48/image_30102025_08_48_36_2566.jpg
/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_39_2811.jpg
/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_41_2692.jpg
/home/pi/Desktop/images/30102025/08/48/image_30102025_08_48_45_3758.jpg
/home/pi/Desktop/images/30102025/08/48/image_30102025_08_49_00_2762.jpg
/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_03_3643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391785314","1391785493","1391785541","1391785358","1391785448","1391785406"],"photo_ids_order":["1391785314","1391785358","1391785406","1391785448","1391785493","1391785541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5f99935d2eb404724bd7fae31b08c99f.jpg","text":"TemporaryFile(/tmp/multipartBody3307394909107455039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056103303,"filename":"image_30102025_08_48_36_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/2/37b8a5008bf33e1c1cd105867b5213d5.jpg","text":"TemporaryFile(/tmp/multipartBody940926479239914056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056103303,"filename":"image_30102025_08_49_00_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/2/a4b7c37056dca32909b11c7c5f08908b.jpg","text":"TemporaryFile(/tmp/multipartBody2747367281614019984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056103303,"filename":"image_30102025_08_49_03_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/2/34bdfaada0b45ed8902508792b4af578.jpg","text":"TemporaryFile(/tmp/multipartBody3054775410920978128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056103303,"filename":"image_30102025_08_48_39_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/2/cc3113d3ced042d1e48e1e9107d42367.jpg","text":"TemporaryFile(/tmp/multipartBody2374300745396523277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056103303,"filename":"image_30102025_08_48_45_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/2/8ec25d7f764d095ff9a97d9c3c42ad4e.jpg","text":"TemporaryFile(/tmp/multipartBody7021251737486538331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056103303,"filename":"image_30102025_08_48_41_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391785406","file1":"1391785358","file0":"1391785314","file4":"1391785493","file5":"1391785541","file3":"1391785448"},"map_files_photo_id_array":[{"photo_id":"1391785541","filename":"file5"},{"photo_id":"1391785406","filename":"file2"},{"photo_id":"1391785493","filename":"file4"},{"photo_id":"1391785358","filename":"file1"},{"photo_id":"1391785314","filename":"file0"},{"photo_id":"1391785448","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391785314":["hashtag1","hashtag2"]},{"1391785493":["hashtag1","hashtag2"]},{"1391785541":["hashtag1","hashtag2"]},{"1391785358":["hashtag1","hashtag2"]},{"1391785448":["hashtag1","hashtag2"]},{"1391785406":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391785314, 1391785493, 1391785541, 1391785358, 1391785448, 1391785406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03431296348572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:01:22.306905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_06_2673.jpg', '/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_08_2595.jpg', '/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_15_2656.jpg', '/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_17_2694.jpg', '/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_21_3677.jpg', '/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_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/08/49/image_30102025_08_49_06_2673.jpg
/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_08_2595.jpg
/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_15_2656.jpg
/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_17_2694.jpg
/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_21_3677.jpg
/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_24_2715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391785857","1391785737","1391785775","1391785901","1391785817","1391785698"],"photo_ids_order":["1391785698","1391785737","1391785775","1391785817","1391785857","1391785901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/725306ad15b08c347a077900d49923f1.jpg","text":"TemporaryFile(/tmp/multipartBody6222756743775259697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056144975,"filename":"image_30102025_08_49_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/2/c7ab7deb6f8d80032fd3d288b62ccab7.jpg","text":"TemporaryFile(/tmp/multipartBody1002022578743596908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056144975,"filename":"image_30102025_08_49_08_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/2/847917275a81db89da37d66288419bd8.jpg","text":"TemporaryFile(/tmp/multipartBody8516651802057184692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056144975,"filename":"image_30102025_08_49_15_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/2/66cd42f3991a99d912530acf64b0475f.jpg","text":"TemporaryFile(/tmp/multipartBody8622486945804050024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056144975,"filename":"image_30102025_08_49_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/2/cb88fc1030a19309fbd09d72f126c6d7.jpg","text":"TemporaryFile(/tmp/multipartBody5443880461989345237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056144975,"filename":"image_30102025_08_49_17_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/2/7d6798baa3b1e9abd004a959a7ecc265.jpg","text":"TemporaryFile(/tmp/multipartBody5377688354767082971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056144975,"filename":"image_30102025_08_49_06_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391785775","file1":"1391785737","file0":"1391785698","file4":"1391785857","file5":"1391785901","file3":"1391785817"},"map_files_photo_id_array":[{"photo_id":"1391785901","filename":"file5"},{"photo_id":"1391785775","filename":"file2"},{"photo_id":"1391785857","filename":"file4"},{"photo_id":"1391785737","filename":"file1"},{"photo_id":"1391785698","filename":"file0"},{"photo_id":"1391785817","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391785857":["hashtag1","hashtag2"]},{"1391785737":["hashtag1","hashtag2"]},{"1391785775":["hashtag1","hashtag2"]},{"1391785901":["hashtag1","hashtag2"]},{"1391785817":["hashtag1","hashtag2"]},{"1391785698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391785857, 1391785737, 1391785775, 1391785901, 1391785817, 1391785698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45227813720703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:02:03.084286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_26_2600.jpg', '/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_30_3539.jpg', '/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_33_2709.jpg', '/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_35_2684.jpg', '/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_39_3739.jpg', '/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_42_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/08/49/image_30102025_08_49_26_2600.jpg
/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_30_3539.jpg
/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_33_2709.jpg
/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_35_2684.jpg
/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_39_3739.jpg
/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_42_2635.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.060853958129883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:02:22.568278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_26_2600.jpg', '/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_30_3539.jpg', '/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_33_2709.jpg', '/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_35_2684.jpg', '/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_39_3739.jpg', '/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_42_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/08/49/image_30102025_08_49_26_2600.jpg
/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_30_3539.jpg
/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_33_2709.jpg
/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_35_2684.jpg
/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_39_3739.jpg
/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_42_2635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391786270","1391786507","1391786309","1391786227","1391786424","1391786352"],"photo_ids_order":["1391786227","1391786270","1391786309","1391786352","1391786424","1391786507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8897ea0fc1ed84d791b96204bc95d9bc.jpg","text":"TemporaryFile(/tmp/multipartBody2438410151143462733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056204803,"filename":"image_30102025_08_49_30_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/2/82902c2dab7470e3f462c4078907bbf1.jpg","text":"TemporaryFile(/tmp/multipartBody727144258477374772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056204803,"filename":"image_30102025_08_49_42_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/2/6b31ff084e088d8507367461ad8ee7e0.jpg","text":"TemporaryFile(/tmp/multipartBody2188157733874409400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056204803,"filename":"image_30102025_08_49_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/2/882f9cf2c83661a3d08578118b281e27.jpg","text":"TemporaryFile(/tmp/multipartBody2585816560238709533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056204803,"filename":"image_30102025_08_49_26_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/2/22afe138d4108fb308aab7e11766484f.jpg","text":"TemporaryFile(/tmp/multipartBody1088483926378483010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056204803,"filename":"image_30102025_08_49_39_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/2/3831325f005a6f70fd66d86589be6a8c.jpg","text":"TemporaryFile(/tmp/multipartBody5307482333085077349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056204803,"filename":"image_30102025_08_49_35_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391786309","file1":"1391786270","file0":"1391786227","file4":"1391786424","file5":"1391786507","file3":"1391786352"},"map_files_photo_id_array":[{"photo_id":"1391786507","filename":"file5"},{"photo_id":"1391786309","filename":"file2"},{"photo_id":"1391786424","filename":"file4"},{"photo_id":"1391786270","filename":"file1"},{"photo_id":"1391786227","filename":"file0"},{"photo_id":"1391786352","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391786270":["hashtag1","hashtag2"]},{"1391786507":["hashtag1","hashtag2"]},{"1391786309":["hashtag1","hashtag2"]},{"1391786227":["hashtag1","hashtag2"]},{"1391786424":["hashtag1","hashtag2"]},{"1391786352":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391786270, 1391786507, 1391786309, 1391786227, 1391786424, 1391786352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.50559759140015 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-02 05:03:22.638881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_45_2762.jpg', '/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_47_2665.jpg', '/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_51_3744.jpg', '/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_54_2599.jpg', '/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_56_2780.jpg', '/home/pi/Desktop/images/30102025/08/49/image_30102025_08_50_00_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/08/49/image_30102025_08_49_45_2762.jpg
/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_47_2665.jpg
/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_51_3744.jpg
/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_54_2599.jpg
/home/pi/Desktop/images/30102025/08/49/image_30102025_08_49_56_2780.jpg
/home/pi/Desktop/images/30102025/08/49/image_30102025_08_50_00_3795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391787128","1391787209","1391787294","1391787075","1391787251","1391787167"],"photo_ids_order":["1391787075","1391787128","1391787167","1391787209","1391787251","1391787294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/27dc9feb4ad1ca2735c8b2d13c87338a.jpg","text":"TemporaryFile(/tmp/multipartBody5131405938199228355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056264990,"filename":"image_30102025_08_49_47_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/2/6bde34f8a67999cb40d9ece99bdbd1d9.jpg","text":"TemporaryFile(/tmp/multipartBody8708536121300042662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056264990,"filename":"image_30102025_08_49_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/2/15c45e350172c5dd8c37fe8846714cf7.jpg","text":"TemporaryFile(/tmp/multipartBody6384346244872096761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056264990,"filename":"image_30102025_08_50_00_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/2/f27147ec7fb571b1c35ffc6e86ed7260.jpg","text":"TemporaryFile(/tmp/multipartBody7506338054989633687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056264990,"filename":"image_30102025_08_49_45_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/2/d832d46a13b7d0f1722bbaa349d7d96a.jpg","text":"TemporaryFile(/tmp/multipartBody5031709195071009870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056264990,"filename":"image_30102025_08_49_56_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/2/94d636ec5c8b3fd3777ff02302ead163.jpg","text":"TemporaryFile(/tmp/multipartBody5387782407375044088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056264990,"filename":"image_30102025_08_49_51_3744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391787167","file1":"1391787128","file0":"1391787075","file4":"1391787251","file5":"1391787294","file3":"1391787209"},"map_files_photo_id_array":[{"photo_id":"1391787294","filename":"file5"},{"photo_id":"1391787167","filename":"file2"},{"photo_id":"1391787251","filename":"file4"},{"photo_id":"1391787128","filename":"file1"},{"photo_id":"1391787075","filename":"file0"},{"photo_id":"1391787209","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391787128":["hashtag1","hashtag2"]},{"1391787209":["hashtag1","hashtag2"]},{"1391787294":["hashtag1","hashtag2"]},{"1391787075":["hashtag1","hashtag2"]},{"1391787251":["hashtag1","hashtag2"]},{"1391787167":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391787128, 1391787209, 1391787294, 1391787075, 1391787251, 1391787167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.900911808013916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:04:02.599355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_03_2815.jpg', '/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_08_2694.jpg', '/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_12_3579.jpg', '/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_15_2713.jpg', '/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_17_2584.jpg', '/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_21_3751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_03_2815.jpg
/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_08_2694.jpg
/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_12_3579.jpg
/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_15_2713.jpg
/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_17_2584.jpg
/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_21_3751.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":["1391787425","1391787422","1391787419","1391787412","1391787415","1391787417"],"photo_ids_order":["1391787412","1391787415","1391787417","1391787419","1391787422","1391787425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/080a0eba2c4e3b23529c18a2cd59c678.jpg","text":"TemporaryFile(/tmp/multipartBody1460320525902580359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056304733,"filename":"image_30102025_08_50_21_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/2/cf5f50638ee814b450946505402757e7.jpg","text":"TemporaryFile(/tmp/multipartBody199362384923869445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056304733,"filename":"image_30102025_08_50_17_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/2/eda6549ca773a1eb9c4182c79f18b63b.jpg","text":"TemporaryFile(/tmp/multipartBody6067211867466807218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056304733,"filename":"image_30102025_08_50_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/2/12b05eccb92495fb6699502f9d706ab4.jpg","text":"TemporaryFile(/tmp/multipartBody7103175311534932743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056304733,"filename":"image_30102025_08_50_03_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/2/d18026043d170a8ef7d784724575005b.jpg","text":"TemporaryFile(/tmp/multipartBody6224039343855517437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056304733,"filename":"image_30102025_08_50_08_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/2/e54faa1cf355edcbdf29bd6cf404fdfe.jpg","text":"TemporaryFile(/tmp/multipartBody4366953883605529356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056304733,"filename":"image_30102025_08_50_12_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391787417","file1":"1391787415","file0":"1391787412","file4":"1391787422","file5":"1391787425","file3":"1391787419"},"map_files_photo_id_array":[{"photo_id":"1391787425","filename":"file5"},{"photo_id":"1391787417","filename":"file2"},{"photo_id":"1391787422","filename":"file4"},{"photo_id":"1391787415","filename":"file1"},{"photo_id":"1391787412","filename":"file0"},{"photo_id":"1391787419","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391787425":["hashtag1","hashtag2"]},{"1391787422":["hashtag1","hashtag2"]},{"1391787419":["hashtag1","hashtag2"]},{"1391787412":["hashtag1","hashtag2"]},{"1391787415":["hashtag1","hashtag2"]},{"1391787417":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391787425, 1391787422, 1391787419, 1391787412, 1391787415, 1391787417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.8013174533844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:05:02.759685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_24_2813.jpg', '/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_26_2674.jpg', '/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_29_2770.jpg', '/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_33_3631.jpg', '/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_36_2793.jpg', '/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_38_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/08/50/image_30102025_08_50_24_2813.jpg
/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_26_2674.jpg
/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_29_2770.jpg
/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_33_3631.jpg
/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_36_2793.jpg
/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_38_2774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391787460","1391787454","1391787465","1391787462","1391787456","1391787458"],"photo_ids_order":["1391787454","1391787456","1391787458","1391787460","1391787462","1391787465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a12a77706695c113e319b9dc1e8644c9.jpg","text":"TemporaryFile(/tmp/multipartBody6165155590185364964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056364926,"filename":"image_30102025_08_50_33_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/2/dfd2cfa09fe502ab48f6af604583b963.jpg","text":"TemporaryFile(/tmp/multipartBody1774373472390655702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056364926,"filename":"image_30102025_08_50_24_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/2/ef3d5a7d2452504b3962cef793540642.jpg","text":"TemporaryFile(/tmp/multipartBody3732295880829122273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056364926,"filename":"image_30102025_08_50_38_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/2/74c4671b388441902fce9d44a33916e6.jpg","text":"TemporaryFile(/tmp/multipartBody7892297977142186312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056364926,"filename":"image_30102025_08_50_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/2/98abc399b11c3696dc689103d877a2ab.jpg","text":"TemporaryFile(/tmp/multipartBody6099706059083999943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056364926,"filename":"image_30102025_08_50_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/2/e22d6cd698baabf58a7dc34dddd503a0.jpg","text":"TemporaryFile(/tmp/multipartBody943271529669186856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056364926,"filename":"image_30102025_08_50_29_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391787458","file1":"1391787456","file0":"1391787454","file4":"1391787462","file5":"1391787465","file3":"1391787460"},"map_files_photo_id_array":[{"photo_id":"1391787465","filename":"file5"},{"photo_id":"1391787458","filename":"file2"},{"photo_id":"1391787462","filename":"file4"},{"photo_id":"1391787456","filename":"file1"},{"photo_id":"1391787454","filename":"file0"},{"photo_id":"1391787460","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391787460":["hashtag1","hashtag2"]},{"1391787454":["hashtag1","hashtag2"]},{"1391787465":["hashtag1","hashtag2"]},{"1391787462":["hashtag1","hashtag2"]},{"1391787456":["hashtag1","hashtag2"]},{"1391787458":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391787460, 1391787454, 1391787465, 1391787462, 1391787456, 1391787458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31025242805481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 05:05:42.123537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_41_2796.jpg', '/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_45_3661.jpg', '/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_48_2727.jpg', '/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_50_2662.jpg', '/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_03_3650.jpg', '/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_06_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/08/50/image_30102025_08_50_41_2796.jpg
/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_45_3661.jpg
/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_48_2727.jpg
/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_50_2662.jpg
/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_03_3650.jpg
/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_06_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: 1.0527896881103516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:06:02.770648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_41_2796.jpg', '/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_45_3661.jpg', '/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_48_2727.jpg', '/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_50_2662.jpg', '/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_03_3650.jpg', '/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_06_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/08/50/image_30102025_08_50_41_2796.jpg
/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_45_3661.jpg
/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_48_2727.jpg
/home/pi/Desktop/images/30102025/08/50/image_30102025_08_50_50_2662.jpg
/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_03_3650.jpg
/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_06_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391787850","1391787721","1391787643","1391787805","1391787765","1391787683"],"photo_ids_order":["1391787643","1391787683","1391787721","1391787765","1391787805","1391787850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a79d52933e9f923df01012e3b39897d9.jpg","text":"TemporaryFile(/tmp/multipartBody5930885336357466803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056424720,"filename":"image_30102025_08_51_06_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/2/8d9025965d6860ae2b38861bdbf289a6.jpg","text":"TemporaryFile(/tmp/multipartBody4038973529010081642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056424720,"filename":"image_30102025_08_50_48_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/2/cfeb5f4d51d805e94e280fd32c2c9fc7.jpg","text":"TemporaryFile(/tmp/multipartBody508923163508668768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056424720,"filename":"image_30102025_08_50_41_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/2/479d6d33f40eed5d62214e03fb366f38.jpg","text":"TemporaryFile(/tmp/multipartBody6414618265758230897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056424720,"filename":"image_30102025_08_51_03_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/2/ccbf142fd281a40907e7137823161709.jpg","text":"TemporaryFile(/tmp/multipartBody590192246831858767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056424720,"filename":"image_30102025_08_50_50_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/2/94299ea5cd982acab3ed72724e494033.jpg","text":"TemporaryFile(/tmp/multipartBody3322903147472042784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056424720,"filename":"image_30102025_08_50_45_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391787721","file1":"1391787683","file0":"1391787643","file4":"1391787805","file5":"1391787850","file3":"1391787765"},"map_files_photo_id_array":[{"photo_id":"1391787850","filename":"file5"},{"photo_id":"1391787721","filename":"file2"},{"photo_id":"1391787805","filename":"file4"},{"photo_id":"1391787683","filename":"file1"},{"photo_id":"1391787643","filename":"file0"},{"photo_id":"1391787765","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391787850":["hashtag1","hashtag2"]},{"1391787721":["hashtag1","hashtag2"]},{"1391787643":["hashtag1","hashtag2"]},{"1391787805":["hashtag1","hashtag2"]},{"1391787765":["hashtag1","hashtag2"]},{"1391787683":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391787850, 1391787721, 1391787643, 1391787805, 1391787765, 1391787683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73910927772522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 05:06:42.292387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_12_3627.jpg', '/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_20_2870.jpg', '/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_24_3707.jpg', '/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_27_2777.jpg', '/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_29_2745.jpg', '/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_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/08/51/image_30102025_08_51_12_3627.jpg
/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_20_2870.jpg
/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_24_3707.jpg
/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_27_2777.jpg
/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_29_2745.jpg
/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_32_2720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391788024","1391788083","1391787996","1391788011","1391788061","1391788016"],"photo_ids_order":["1391787996","1391788011","1391788016","1391788024","1391788061","1391788083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/13eaea946a9cf43ba2871385bd8c2e40.jpg","text":"TemporaryFile(/tmp/multipartBody7344126840160693420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056463455,"filename":"image_30102025_08_51_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/2/35e237aa28a0a526783ef221d856e5ab.jpg","text":"TemporaryFile(/tmp/multipartBody1769898371938394024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056463455,"filename":"image_30102025_08_51_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/2/a72d8fbfade7477e7c0cae75b931f145.jpg","text":"TemporaryFile(/tmp/multipartBody797222560054685708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056463455,"filename":"image_30102025_08_51_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/2/e405949ae4d67a179bf54a09e79d9c39.jpg","text":"TemporaryFile(/tmp/multipartBody7231995870512501609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056463455,"filename":"image_30102025_08_51_20_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/2/574e1eb919a762b1bde043e98496524f.jpg","text":"TemporaryFile(/tmp/multipartBody1773693053990585829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056463455,"filename":"image_30102025_08_51_29_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/2/f592e405945b1ec1284b532b4fde75de.jpg","text":"TemporaryFile(/tmp/multipartBody6899173732297699283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056463455,"filename":"image_30102025_08_51_24_3707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391788016","file1":"1391788011","file0":"1391787996","file4":"1391788061","file5":"1391788083","file3":"1391788024"},"map_files_photo_id_array":[{"photo_id":"1391788083","filename":"file5"},{"photo_id":"1391788016","filename":"file2"},{"photo_id":"1391788061","filename":"file4"},{"photo_id":"1391788011","filename":"file1"},{"photo_id":"1391787996","filename":"file0"},{"photo_id":"1391788024","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391788024":["hashtag1","hashtag2"]},{"1391788083":["hashtag1","hashtag2"]},{"1391787996":["hashtag1","hashtag2"]},{"1391788011":["hashtag1","hashtag2"]},{"1391788061":["hashtag1","hashtag2"]},{"1391788016":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391788024, 1391788083, 1391787996, 1391788011, 1391788061, 1391788016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.380059003829956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:07:22.475609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_41_2770.jpg', '/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_48_3645.jpg', '/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_50_2556.jpg', '/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_54_3656.jpg', '/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_57_2864.jpg', '/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_59_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/08/51/image_30102025_08_51_41_2770.jpg
/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_48_3645.jpg
/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_50_2556.jpg
/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_54_3656.jpg
/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_57_2864.jpg
/home/pi/Desktop/images/30102025/08/51/image_30102025_08_51_59_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391788217","1391788180","1391788222","1391788200","1391788142","1391788100"],"photo_ids_order":["1391788100","1391788142","1391788180","1391788200","1391788217","1391788222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0d25de142462652a5d5588990ef8c0de.jpg","text":"TemporaryFile(/tmp/multipartBody7229104496360284303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056505138,"filename":"image_30102025_08_51_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/2/452cf42321dd6f36d6af63396b1a83ea.jpg","text":"TemporaryFile(/tmp/multipartBody841347336056421483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056505138,"filename":"image_30102025_08_51_50_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/2/870aa4e70d831d10f3f5809eb86705cf.jpg","text":"TemporaryFile(/tmp/multipartBody9135883748544684825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056505138,"filename":"image_30102025_08_51_59_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/2/25c27d6c697e8d319c363752e9625ec4.jpg","text":"TemporaryFile(/tmp/multipartBody1872547606070951690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056505138,"filename":"image_30102025_08_51_54_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/2/1b311ff0152b95f801bdf4437f969d15.jpg","text":"TemporaryFile(/tmp/multipartBody8326420103991783493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056505138,"filename":"image_30102025_08_51_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/2/df6e81f984a098b9ebff404c96925e54.jpg","text":"TemporaryFile(/tmp/multipartBody5932572878834332445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056505138,"filename":"image_30102025_08_51_41_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391788180","file1":"1391788142","file0":"1391788100","file4":"1391788217","file5":"1391788222","file3":"1391788200"},"map_files_photo_id_array":[{"photo_id":"1391788222","filename":"file5"},{"photo_id":"1391788180","filename":"file2"},{"photo_id":"1391788217","filename":"file4"},{"photo_id":"1391788142","filename":"file1"},{"photo_id":"1391788100","filename":"file0"},{"photo_id":"1391788200","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391788217":["hashtag1","hashtag2"]},{"1391788180":["hashtag1","hashtag2"]},{"1391788222":["hashtag1","hashtag2"]},{"1391788200":["hashtag1","hashtag2"]},{"1391788142":["hashtag1","hashtag2"]},{"1391788100":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391788217, 1391788180, 1391788222, 1391788200, 1391788142, 1391788100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.445812463760376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:08:03.125217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_11_2620.jpg', '/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_15_3651.jpg', '/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_17_2682.jpg', '/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_20_2640.jpg', '/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_24_3674.jpg', '/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_27_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/08/52/image_30102025_08_52_11_2620.jpg
/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_15_3651.jpg
/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_17_2682.jpg
/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_20_2640.jpg
/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_24_3674.jpg
/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_27_2745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391788249","1391788240","1391788237","1391788234","1391788254","1391788244"],"photo_ids_order":["1391788234","1391788237","1391788240","1391788244","1391788249","1391788254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5ed13a947c74ae7024b152a13a438153.jpg","text":"TemporaryFile(/tmp/multipartBody4793622991028650434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056545355,"filename":"image_30102025_08_52_24_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/2/b6152bafa4f29db2f74fafc7f0265176.jpg","text":"TemporaryFile(/tmp/multipartBody3147512409101376711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056545355,"filename":"image_30102025_08_52_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/2/78329092da1545d9efd6b77fd13423e3.jpg","text":"TemporaryFile(/tmp/multipartBody4791756553527115162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056545355,"filename":"image_30102025_08_52_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/2/668038aa7efba61837172907c1f033cd.jpg","text":"TemporaryFile(/tmp/multipartBody6336297775830482741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056545355,"filename":"image_30102025_08_52_11_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/2/0cde19218ef2de73d8de6a2bf7b8dcd7.jpg","text":"TemporaryFile(/tmp/multipartBody8071487968391171085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056545355,"filename":"image_30102025_08_52_27_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/2/bbbff2a65827663ec079e54ecd92aa37.jpg","text":"TemporaryFile(/tmp/multipartBody4011847836355885233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056545355,"filename":"image_30102025_08_52_20_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391788240","file1":"1391788237","file0":"1391788234","file4":"1391788249","file5":"1391788254","file3":"1391788244"},"map_files_photo_id_array":[{"photo_id":"1391788254","filename":"file5"},{"photo_id":"1391788240","filename":"file2"},{"photo_id":"1391788249","filename":"file4"},{"photo_id":"1391788237","filename":"file1"},{"photo_id":"1391788234","filename":"file0"},{"photo_id":"1391788244","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391788249":["hashtag1","hashtag2"]},{"1391788240":["hashtag1","hashtag2"]},{"1391788237":["hashtag1","hashtag2"]},{"1391788234":["hashtag1","hashtag2"]},{"1391788254":["hashtag1","hashtag2"]},{"1391788244":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391788249, 1391788240, 1391788237, 1391788234, 1391788254, 1391788244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61928343772888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 05:08:42.707166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_29_2709.jpg', '/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_33_3640.jpg', '/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_35_2575.jpg', '/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_38_2885.jpg', '/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_41_2559.jpg', '/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_45_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/08/52/image_30102025_08_52_29_2709.jpg
/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_33_3640.jpg
/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_35_2575.jpg
/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_38_2885.jpg
/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_41_2559.jpg
/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_45_3881.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391788273","1391788272","1391788266","1391788275","1391788269","1391788262"],"photo_ids_order":["1391788262","1391788266","1391788269","1391788272","1391788273","1391788275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0ac1221b0137a6fe3c9bd77c39a2170e.jpg","text":"TemporaryFile(/tmp/multipartBody3419404545854560182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056583825,"filename":"image_30102025_08_52_41_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/2/c758dc0e1be134c6a0e473f4bfa5eb35.jpg","text":"TemporaryFile(/tmp/multipartBody266756180196752319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056583825,"filename":"image_30102025_08_52_38_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/2/ccb96e299e2a289eec18d0688255c224.jpg","text":"TemporaryFile(/tmp/multipartBody7497584524439078623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056583825,"filename":"image_30102025_08_52_33_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/2/6e922559c0a69d47f1e45b5a5acba76a.jpg","text":"TemporaryFile(/tmp/multipartBody7698916637856800820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056583825,"filename":"image_30102025_08_52_45_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/2/5ca5468f7c55e8c788e8611e0cdaa68e.jpg","text":"TemporaryFile(/tmp/multipartBody3354433188793929005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056583825,"filename":"image_30102025_08_52_35_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/2/fcdc303387c557ec9d42ce6c6b4302ae.jpg","text":"TemporaryFile(/tmp/multipartBody4484534289346501320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056583825,"filename":"image_30102025_08_52_29_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391788269","file1":"1391788266","file0":"1391788262","file4":"1391788273","file5":"1391788275","file3":"1391788272"},"map_files_photo_id_array":[{"photo_id":"1391788275","filename":"file5"},{"photo_id":"1391788269","filename":"file2"},{"photo_id":"1391788273","filename":"file4"},{"photo_id":"1391788266","filename":"file1"},{"photo_id":"1391788262","filename":"file0"},{"photo_id":"1391788272","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391788273":["hashtag1","hashtag2"]},{"1391788272":["hashtag1","hashtag2"]},{"1391788266":["hashtag1","hashtag2"]},{"1391788275":["hashtag1","hashtag2"]},{"1391788269":["hashtag1","hashtag2"]},{"1391788262":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391788273, 1391788272, 1391788266, 1391788275, 1391788269, 1391788262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46738386154175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:09:21.766727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_47_2673.jpg', '/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_50_2693.jpg', '/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_53_2763.jpg', '/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_57_3646.jpg', '/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_59_2593.jpg', '/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_02_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/08/52/image_30102025_08_52_47_2673.jpg
/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_50_2693.jpg
/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_53_2763.jpg
/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_57_3646.jpg
/home/pi/Desktop/images/30102025/08/52/image_30102025_08_52_59_2593.jpg
/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_02_2807.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391788282","1391788296","1391788284","1391788287","1391788292","1391788289"],"photo_ids_order":["1391788282","1391788284","1391788287","1391788289","1391788292","1391788296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/992d45c44ff5fdfa9618db73c3d51bc5.jpg","text":"TemporaryFile(/tmp/multipartBody3105210622783320832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056624432,"filename":"image_30102025_08_52_47_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/2/508df56ba1eda7eced5fe839501730ee.jpg","text":"TemporaryFile(/tmp/multipartBody7825692083869482493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056624432,"filename":"image_30102025_08_53_02_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/2/ce251d1374d025856722f37bc84cda08.jpg","text":"TemporaryFile(/tmp/multipartBody5403146796222324816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056624432,"filename":"image_30102025_08_52_50_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/2/39eb1fef6eab10f9b6e0b7160caf7d81.jpg","text":"TemporaryFile(/tmp/multipartBody7490609651934669124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056624432,"filename":"image_30102025_08_52_53_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/2/1956eba5518d44d8de9ca1f0ea1b0268.jpg","text":"TemporaryFile(/tmp/multipartBody9151017434276793484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056624432,"filename":"image_30102025_08_52_59_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/2/53ead2cf6f70a8996d671af3a2c8717a.jpg","text":"TemporaryFile(/tmp/multipartBody6607384103674001185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056624432,"filename":"image_30102025_08_52_57_3646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391788287","file1":"1391788284","file0":"1391788282","file4":"1391788292","file5":"1391788296","file3":"1391788289"},"map_files_photo_id_array":[{"photo_id":"1391788296","filename":"file5"},{"photo_id":"1391788287","filename":"file2"},{"photo_id":"1391788292","filename":"file4"},{"photo_id":"1391788284","filename":"file1"},{"photo_id":"1391788282","filename":"file0"},{"photo_id":"1391788289","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391788282":["hashtag1","hashtag2"]},{"1391788296":["hashtag1","hashtag2"]},{"1391788284":["hashtag1","hashtag2"]},{"1391788287":["hashtag1","hashtag2"]},{"1391788292":["hashtag1","hashtag2"]},{"1391788289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391788282, 1391788296, 1391788284, 1391788287, 1391788292, 1391788289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94276762008667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:10:02.476855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_06_3657.jpg', '/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_12_3892.jpg', '/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_15_2658.jpg', '/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_18_2749.jpg', '/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_20_2650.jpg', '/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_23_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/08/53/image_30102025_08_53_06_3657.jpg
/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_12_3892.jpg
/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_15_2658.jpg
/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_18_2749.jpg
/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_20_2650.jpg
/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_23_2741.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391788322","1391788318","1391788312","1391788315","1391788309","1391788320"],"photo_ids_order":["1391788309","1391788312","1391788315","1391788318","1391788320","1391788322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a2ea9da884d403a562533ae2189dd42e.jpg","text":"TemporaryFile(/tmp/multipartBody1610449069526681697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056664572,"filename":"image_30102025_08_53_23_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/2/db72f849ce74f21445d9da3f2bd13d0b.jpg","text":"TemporaryFile(/tmp/multipartBody2369645904184462812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056664572,"filename":"image_30102025_08_53_18_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/2/296117eeb2cd21ad7c03b494e90ed948.jpg","text":"TemporaryFile(/tmp/multipartBody6387156931534616221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056664572,"filename":"image_30102025_08_53_12_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/2/b150ad3d396e6419abff3a97c01b99c5.jpg","text":"TemporaryFile(/tmp/multipartBody6158514995690452786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056664572,"filename":"image_30102025_08_53_15_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/2/3b7faff1b97bf09622acae058bae008c.jpg","text":"TemporaryFile(/tmp/multipartBody7614298023426644309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056664572,"filename":"image_30102025_08_53_06_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/2/d21705ed3bf0d3298509e1863a8409a0.jpg","text":"TemporaryFile(/tmp/multipartBody4971357808531884662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056664572,"filename":"image_30102025_08_53_20_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391788315","file1":"1391788312","file0":"1391788309","file4":"1391788320","file5":"1391788322","file3":"1391788318"},"map_files_photo_id_array":[{"photo_id":"1391788322","filename":"file5"},{"photo_id":"1391788315","filename":"file2"},{"photo_id":"1391788320","filename":"file4"},{"photo_id":"1391788312","filename":"file1"},{"photo_id":"1391788309","filename":"file0"},{"photo_id":"1391788318","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391788322":["hashtag1","hashtag2"]},{"1391788318":["hashtag1","hashtag2"]},{"1391788312":["hashtag1","hashtag2"]},{"1391788315":["hashtag1","hashtag2"]},{"1391788309":["hashtag1","hashtag2"]},{"1391788320":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391788322, 1391788318, 1391788312, 1391788315, 1391788309, 1391788320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.840354204177856 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-02 05:11:02.843933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_27_3764.jpg', '/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_29_2683.jpg', '/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_32_2657.jpg', '/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_36_3613.jpg', '/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_38_2691.jpg', '/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_41_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/08/53/image_30102025_08_53_27_3764.jpg
/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_29_2683.jpg
/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_32_2657.jpg
/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_36_3613.jpg
/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_38_2691.jpg
/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_41_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":["1391788348","1391788351","1391788359","1391788350","1391788353","1391788356"],"photo_ids_order":["1391788348","1391788350","1391788351","1391788353","1391788356","1391788359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/479ccde106a9b18fe7c2e789509e2fec.jpg","text":"TemporaryFile(/tmp/multipartBody5985584813891473421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056727997,"filename":"image_30102025_08_53_27_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/2/b2fcf9a08bfc77b2c1a3a21401093ce0.jpg","text":"TemporaryFile(/tmp/multipartBody7927699612253613080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056727997,"filename":"image_30102025_08_53_32_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/2/46083a9c2699062e2d101567a8464369.jpg","text":"TemporaryFile(/tmp/multipartBody8439580894026407542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056727997,"filename":"image_30102025_08_53_41_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/2/9ff4f2622e9fc4f5f1f5c524d7d5c27f.jpg","text":"TemporaryFile(/tmp/multipartBody2909026656393073649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056727997,"filename":"image_30102025_08_53_29_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/2/75ab3b24b9344bb049898f294bdebada.jpg","text":"TemporaryFile(/tmp/multipartBody3560486968193944871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056727997,"filename":"image_30102025_08_53_36_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/2/8f6406d94ece72030312461100266a18.jpg","text":"TemporaryFile(/tmp/multipartBody3177278201597479723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056727997,"filename":"image_30102025_08_53_38_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391788351","file1":"1391788350","file0":"1391788348","file4":"1391788356","file5":"1391788359","file3":"1391788353"},"map_files_photo_id_array":[{"photo_id":"1391788359","filename":"file5"},{"photo_id":"1391788351","filename":"file2"},{"photo_id":"1391788356","filename":"file4"},{"photo_id":"1391788350","filename":"file1"},{"photo_id":"1391788348","filename":"file0"},{"photo_id":"1391788353","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391788348":["hashtag1","hashtag2"]},{"1391788351":["hashtag1","hashtag2"]},{"1391788359":["hashtag1","hashtag2"]},{"1391788350":["hashtag1","hashtag2"]},{"1391788353":["hashtag1","hashtag2"]},{"1391788356":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391788348, 1391788351, 1391788359, 1391788350, 1391788353, 1391788356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.534207582473755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:12:04.576854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_44_2936.jpg', '/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_48_3765.jpg', '/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_50_2685.jpg', '/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_53_2578.jpg', '/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_57_3652.jpg', '/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_59_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/08/53/image_30102025_08_53_44_2936.jpg
/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_48_3765.jpg
/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_50_2685.jpg
/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_53_2578.jpg
/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_57_3652.jpg
/home/pi/Desktop/images/30102025/08/53/image_30102025_08_53_59_2622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391788378","1391788387","1391788381","1391788389","1391788383","1391788385"],"photo_ids_order":["1391788378","1391788381","1391788383","1391788385","1391788387","1391788389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/eb07d3b79410635c7560df1a384f4e2d.jpg","text":"TemporaryFile(/tmp/multipartBody6698696188390169367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056786718,"filename":"image_30102025_08_53_44_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/2/f4ab2ca3750d42b408a247fd39161fad.jpg","text":"TemporaryFile(/tmp/multipartBody8697771661084074308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056786718,"filename":"image_30102025_08_53_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/2/3b8f10292bc2223040e7a5c70be48a0b.jpg","text":"TemporaryFile(/tmp/multipartBody8796499084503060988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056786718,"filename":"image_30102025_08_53_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/2/2e209c10fe379674b1800437c0e440a8.jpg","text":"TemporaryFile(/tmp/multipartBody4327583942591494954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056786718,"filename":"image_30102025_08_53_59_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/2/775b4e46ae8fa1caa89aea55f6de0ef8.jpg","text":"TemporaryFile(/tmp/multipartBody418471097175755900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056786718,"filename":"image_30102025_08_53_50_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/2/f8470c71502d01771a7565dfa3c3fe05.jpg","text":"TemporaryFile(/tmp/multipartBody5205728623762166759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056786718,"filename":"image_30102025_08_53_53_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391788383","file1":"1391788381","file0":"1391788378","file4":"1391788387","file5":"1391788389","file3":"1391788385"},"map_files_photo_id_array":[{"photo_id":"1391788389","filename":"file5"},{"photo_id":"1391788383","filename":"file2"},{"photo_id":"1391788387","filename":"file4"},{"photo_id":"1391788381","filename":"file1"},{"photo_id":"1391788378","filename":"file0"},{"photo_id":"1391788385","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391788378":["hashtag1","hashtag2"]},{"1391788387":["hashtag1","hashtag2"]},{"1391788381":["hashtag1","hashtag2"]},{"1391788389":["hashtag1","hashtag2"]},{"1391788383":["hashtag1","hashtag2"]},{"1391788385":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391788378, 1391788387, 1391788381, 1391788389, 1391788383, 1391788385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07739210128784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 05:12:44.164925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_02_2660.jpg', '/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_06_3740.jpg', '/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_08_2715.jpg', '/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_11_2682.jpg', '/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_20_2836.jpg', '/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_23_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_02_2660.jpg
/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_06_3740.jpg
/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_08_2715.jpg
/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_11_2682.jpg
/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_20_2836.jpg
/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_23_2736.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391788417","1391788402","1391788425","1391788413","1391788407","1391788422"],"photo_ids_order":["1391788402","1391788407","1391788413","1391788417","1391788422","1391788425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e6f607afdcaf3c01831b44bdcd90c404.jpg","text":"TemporaryFile(/tmp/multipartBody8571401680531455045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056825320,"filename":"image_30102025_08_54_11_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/2/c147b0bfc64304da8c66e6b9b4c34e45.jpg","text":"TemporaryFile(/tmp/multipartBody6923886668045862490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056825320,"filename":"image_30102025_08_54_02_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/2/b643e77fe15214457176805b6f6f42e0.jpg","text":"TemporaryFile(/tmp/multipartBody7096872250525690136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056825320,"filename":"image_30102025_08_54_23_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/2/d15ac5d07ab1323b831d986182c07f13.jpg","text":"TemporaryFile(/tmp/multipartBody676388476082049369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056825320,"filename":"image_30102025_08_54_08_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/2/e4102a83e78b87ae8c54b5a20202203f.jpg","text":"TemporaryFile(/tmp/multipartBody7776115386052689630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056825320,"filename":"image_30102025_08_54_06_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/2/ae2ed497cd55e424fc9cc934799f2286.jpg","text":"TemporaryFile(/tmp/multipartBody2888667536262163713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056825320,"filename":"image_30102025_08_54_20_2836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391788413","file1":"1391788407","file0":"1391788402","file4":"1391788422","file5":"1391788425","file3":"1391788417"},"map_files_photo_id_array":[{"photo_id":"1391788425","filename":"file5"},{"photo_id":"1391788413","filename":"file2"},{"photo_id":"1391788422","filename":"file4"},{"photo_id":"1391788407","filename":"file1"},{"photo_id":"1391788402","filename":"file0"},{"photo_id":"1391788417","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391788417":["hashtag1","hashtag2"]},{"1391788402":["hashtag1","hashtag2"]},{"1391788425":["hashtag1","hashtag2"]},{"1391788413":["hashtag1","hashtag2"]},{"1391788407":["hashtag1","hashtag2"]},{"1391788422":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391788417, 1391788402, 1391788425, 1391788413, 1391788407, 1391788422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07969856262207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:13:22.187879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_27_3581.jpg', '/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_29_2684.jpg', '/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_32_2856.jpg', '/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_35_2655.jpg', '/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_39_3775.jpg', '/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_41_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/08/54/image_30102025_08_54_27_3581.jpg
/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_29_2684.jpg
/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_32_2856.jpg
/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_35_2655.jpg
/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_39_3775.jpg
/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_41_2717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391788432","1391788441","1391788435","1391788429","1391788438","1391788445"],"photo_ids_order":["1391788429","1391788432","1391788435","1391788438","1391788441","1391788445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c46361bc3c7898c1450925053048990e.jpg","text":"TemporaryFile(/tmp/multipartBody6531636464189659389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056864866,"filename":"image_30102025_08_54_29_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/2/777220d2b97118db2b71c9bfbee65c68.jpg","text":"TemporaryFile(/tmp/multipartBody4783613889685932401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056864866,"filename":"image_30102025_08_54_39_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9af0a7c15f8969ddc093021ffe9e7add.jpg","text":"TemporaryFile(/tmp/multipartBody5806405546593268717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056864866,"filename":"image_30102025_08_54_32_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/2/5437449c09d993682031fdf45c597c10.jpg","text":"TemporaryFile(/tmp/multipartBody3232035176243695910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056864866,"filename":"image_30102025_08_54_27_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/2/43026914133a7236d8b38b3152f51f05.jpg","text":"TemporaryFile(/tmp/multipartBody8298445925223296872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056864866,"filename":"image_30102025_08_54_35_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/2/d5ba49eb590d5a8fa4c582fc9440ff2d.jpg","text":"TemporaryFile(/tmp/multipartBody6549986154906217759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056864866,"filename":"image_30102025_08_54_41_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391788435","file1":"1391788432","file0":"1391788429","file4":"1391788441","file5":"1391788445","file3":"1391788438"},"map_files_photo_id_array":[{"photo_id":"1391788445","filename":"file5"},{"photo_id":"1391788435","filename":"file2"},{"photo_id":"1391788441","filename":"file4"},{"photo_id":"1391788432","filename":"file1"},{"photo_id":"1391788429","filename":"file0"},{"photo_id":"1391788438","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391788432":["hashtag1","hashtag2"]},{"1391788441":["hashtag1","hashtag2"]},{"1391788435":["hashtag1","hashtag2"]},{"1391788429":["hashtag1","hashtag2"]},{"1391788438":["hashtag1","hashtag2"]},{"1391788445":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391788432, 1391788441, 1391788435, 1391788429, 1391788438, 1391788445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.079790353775024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:14:03.364423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_44_2714.jpg', '/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_47_2639.jpg', '/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_50_3805.jpg', '/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_59_2639.jpg', '/home/pi/Desktop/images/30102025/08/55/image_30102025_08_55_02_3637.jpg', '/home/pi/Desktop/images/30102025/08/55/image_30102025_08_55_08_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/08/54/image_30102025_08_54_44_2714.jpg
/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_47_2639.jpg
/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_50_3805.jpg
/home/pi/Desktop/images/30102025/08/54/image_30102025_08_54_59_2639.jpg
/home/pi/Desktop/images/30102025/08/55/image_30102025_08_55_02_3637.jpg
/home/pi/Desktop/images/30102025/08/55/image_30102025_08_55_08_2790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391788465","1391788468","1391788456","1391788461","1391788467","1391788463"],"photo_ids_order":["1391788456","1391788461","1391788463","1391788465","1391788467","1391788468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/05efdde5a5bd5d35bf9b352d85210426.jpg","text":"TemporaryFile(/tmp/multipartBody499220298492107143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056905488,"filename":"image_30102025_08_54_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/2/60c8a1deb215e85aade528c7ca0e4165.jpg","text":"TemporaryFile(/tmp/multipartBody6906845332291030339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056905488,"filename":"image_30102025_08_55_08_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/2/80071d2d618fa6d0ddaa5d90b9b42cd6.jpg","text":"TemporaryFile(/tmp/multipartBody2170834911508399054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056905488,"filename":"image_30102025_08_54_44_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/2/1f093c5616c3ba857e41eea41f6287e9.jpg","text":"TemporaryFile(/tmp/multipartBody5984230468015440060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056905488,"filename":"image_30102025_08_54_47_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/2/cf2038d5b257411160a4fa0175bff1e4.jpg","text":"TemporaryFile(/tmp/multipartBody3716228875131963806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056905488,"filename":"image_30102025_08_55_02_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/2/23449a5b98b8b594d05639d1d8a106b7.jpg","text":"TemporaryFile(/tmp/multipartBody4788615960240536761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056905488,"filename":"image_30102025_08_54_50_3805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391788463","file1":"1391788461","file0":"1391788456","file4":"1391788467","file5":"1391788468","file3":"1391788465"},"map_files_photo_id_array":[{"photo_id":"1391788468","filename":"file5"},{"photo_id":"1391788463","filename":"file2"},{"photo_id":"1391788467","filename":"file4"},{"photo_id":"1391788461","filename":"file1"},{"photo_id":"1391788456","filename":"file0"},{"photo_id":"1391788465","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391788465":["hashtag1","hashtag2"]},{"1391788468":["hashtag1","hashtag2"]},{"1391788456":["hashtag1","hashtag2"]},{"1391788461":["hashtag1","hashtag2"]},{"1391788467":["hashtag1","hashtag2"]},{"1391788463":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391788465, 1391788468, 1391788456, 1391788461, 1391788467, 1391788463)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.14816617965698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:15:02.769570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/55/image_30102025_08_55_14_2619.jpg', '/home/pi/Desktop/images/30102025/08/55/image_30102025_08_55_20_2674.jpg', '/home/pi/Desktop/images/30102025/08/55/image_30102025_08_55_29_2614.jpg', '/home/pi/Desktop/images/30102025/08/55/image_30102025_08_55_41_2620.jpg', '/home/pi/Desktop/images/30102025/08/55/image_30102025_08_55_47_2768.jpg', '/home/pi/Desktop/images/30102025/08/55/image_30102025_08_55_56_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/08/55/image_30102025_08_55_14_2619.jpg
/home/pi/Desktop/images/30102025/08/55/image_30102025_08_55_20_2674.jpg
/home/pi/Desktop/images/30102025/08/55/image_30102025_08_55_29_2614.jpg
/home/pi/Desktop/images/30102025/08/55/image_30102025_08_55_41_2620.jpg
/home/pi/Desktop/images/30102025/08/55/image_30102025_08_55_47_2768.jpg
/home/pi/Desktop/images/30102025/08/55/image_30102025_08_55_56_3715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391788492","1391788491","1391788499","1391788490","1391788503","1391788495"],"photo_ids_order":["1391788490","1391788491","1391788492","1391788495","1391788499","1391788503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3d167a3288e6ec311bc77143393b2beb.jpg","text":"TemporaryFile(/tmp/multipartBody2267105345928918207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056965013,"filename":"image_30102025_08_55_29_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/2/b12483197f56c5759e969bc3cdcc1957.jpg","text":"TemporaryFile(/tmp/multipartBody29270596476193575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056965013,"filename":"image_30102025_08_55_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/2/ad10449e5d657ae797b7639aa1f93822.jpg","text":"TemporaryFile(/tmp/multipartBody5921587445183296408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056965013,"filename":"image_30102025_08_55_47_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/2/ee558e7cefe911f50bcd368de2e9c970.jpg","text":"TemporaryFile(/tmp/multipartBody1484160276259793850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056965013,"filename":"image_30102025_08_55_14_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/2/04d6e0b1d51c9ee65b8a79cf6073f7e6.jpg","text":"TemporaryFile(/tmp/multipartBody7388876363315226369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056965013,"filename":"image_30102025_08_55_56_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/2/b9152475c261b1ee35db91bf0c796c30.jpg","text":"TemporaryFile(/tmp/multipartBody4152597250958705031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762056965013,"filename":"image_30102025_08_55_41_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391788492","file1":"1391788491","file0":"1391788490","file4":"1391788499","file5":"1391788503","file3":"1391788495"},"map_files_photo_id_array":[{"photo_id":"1391788503","filename":"file5"},{"photo_id":"1391788492","filename":"file2"},{"photo_id":"1391788499","filename":"file4"},{"photo_id":"1391788491","filename":"file1"},{"photo_id":"1391788490","filename":"file0"},{"photo_id":"1391788495","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391788492":["hashtag1","hashtag2"]},{"1391788491":["hashtag1","hashtag2"]},{"1391788499":["hashtag1","hashtag2"]},{"1391788490":["hashtag1","hashtag2"]},{"1391788503":["hashtag1","hashtag2"]},{"1391788495":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391788492, 1391788491, 1391788499, 1391788490, 1391788503, 1391788495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34642672538757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 05:15:42.141336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/56/image_30102025_08_56_11_2797.jpg', '/home/pi/Desktop/images/30102025/08/56/image_30102025_08_56_14_2799.jpg', '/home/pi/Desktop/images/30102025/08/56/image_30102025_08_56_17_3791.jpg', '/home/pi/Desktop/images/30102025/08/56/image_30102025_08_56_20_2581.jpg', '/home/pi/Desktop/images/30102025/08/56/image_30102025_08_56_29_2834.jpg', '/home/pi/Desktop/images/30102025/08/56/image_30102025_08_56_35_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/08/56/image_30102025_08_56_11_2797.jpg
/home/pi/Desktop/images/30102025/08/56/image_30102025_08_56_14_2799.jpg
/home/pi/Desktop/images/30102025/08/56/image_30102025_08_56_17_3791.jpg
/home/pi/Desktop/images/30102025/08/56/image_30102025_08_56_20_2581.jpg
/home/pi/Desktop/images/30102025/08/56/image_30102025_08_56_29_2834.jpg
/home/pi/Desktop/images/30102025/08/56/image_30102025_08_56_35_2717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391788522","1391788525","1391788527","1391788515","1391788518","1391788532"],"photo_ids_order":["1391788515","1391788518","1391788522","1391788525","1391788527","1391788532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7e7c81c3ea5c67e55f23bcc2d11a72a4.jpg","text":"TemporaryFile(/tmp/multipartBody2266372261216229677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057003248,"filename":"image_30102025_08_56_17_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/2/0697ef4fbb7a13bf013cffd6f7d67b29.jpg","text":"TemporaryFile(/tmp/multipartBody3278353905872282479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057003248,"filename":"image_30102025_08_56_20_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/2/dfa9a229ad9feac23e9992feffd08834.jpg","text":"TemporaryFile(/tmp/multipartBody5625575647985245411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057003248,"filename":"image_30102025_08_56_29_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/2/0e5745f1110625bb3b500bc215146a16.jpg","text":"TemporaryFile(/tmp/multipartBody8380212636863814949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057003248,"filename":"image_30102025_08_56_11_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/2/ab5d77c5d774f67f36b2f055f27d5532.jpg","text":"TemporaryFile(/tmp/multipartBody4397520339593328709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057003248,"filename":"image_30102025_08_56_14_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/2/4a37c5cf2c18f7c331315affb3e9e628.jpg","text":"TemporaryFile(/tmp/multipartBody3948972634113370402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057003248,"filename":"image_30102025_08_56_35_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391788522","file1":"1391788518","file0":"1391788515","file4":"1391788527","file5":"1391788532","file3":"1391788525"},"map_files_photo_id_array":[{"photo_id":"1391788532","filename":"file5"},{"photo_id":"1391788522","filename":"file2"},{"photo_id":"1391788527","filename":"file4"},{"photo_id":"1391788518","filename":"file1"},{"photo_id":"1391788515","filename":"file0"},{"photo_id":"1391788525","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391788522":["hashtag1","hashtag2"]},{"1391788525":["hashtag1","hashtag2"]},{"1391788527":["hashtag1","hashtag2"]},{"1391788515":["hashtag1","hashtag2"]},{"1391788518":["hashtag1","hashtag2"]},{"1391788532":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391788522, 1391788525, 1391788527, 1391788515, 1391788518, 1391788532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72731566429138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:16:22.275148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/56/image_30102025_08_56_38_3602.jpg', '/home/pi/Desktop/images/30102025/08/56/image_30102025_08_56_44_2730.jpg', '/home/pi/Desktop/images/30102025/08/56/image_30102025_08_56_47_3616.jpg', '/home/pi/Desktop/images/30102025/08/56/image_30102025_08_56_53_2722.jpg', '/home/pi/Desktop/images/30102025/08/56/image_30102025_08_56_56_3748.jpg', '/home/pi/Desktop/images/30102025/08/56/image_30102025_08_56_59_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/08/56/image_30102025_08_56_38_3602.jpg
/home/pi/Desktop/images/30102025/08/56/image_30102025_08_56_44_2730.jpg
/home/pi/Desktop/images/30102025/08/56/image_30102025_08_56_47_3616.jpg
/home/pi/Desktop/images/30102025/08/56/image_30102025_08_56_53_2722.jpg
/home/pi/Desktop/images/30102025/08/56/image_30102025_08_56_56_3748.jpg
/home/pi/Desktop/images/30102025/08/56/image_30102025_08_56_59_2784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391788552","1391788545","1391788548","1391788547","1391788556","1391788550"],"photo_ids_order":["1391788545","1391788547","1391788548","1391788550","1391788552","1391788556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/65828e4bc75f74538f862a8f963100aa.jpg","text":"TemporaryFile(/tmp/multipartBody8903743000210738273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057044911,"filename":"image_30102025_08_56_56_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/2/acccc6baee4f9c73dc80c6663b48098d.jpg","text":"TemporaryFile(/tmp/multipartBody6814025001755719215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057044911,"filename":"image_30102025_08_56_38_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/2/7a4975980d34927d6f3b7a6d241a13cd.jpg","text":"TemporaryFile(/tmp/multipartBody9079930810541312854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057044911,"filename":"image_30102025_08_56_47_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/2/042d4a15e99fcae5469f75805d855992.jpg","text":"TemporaryFile(/tmp/multipartBody8010128800806496150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057044911,"filename":"image_30102025_08_56_44_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/2/edf7732e1ee050ca315b636bd9805c3a.jpg","text":"TemporaryFile(/tmp/multipartBody4521340759924617380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057044911,"filename":"image_30102025_08_56_59_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/2/86982a1bb56f4b01c264fb49c157cfb2.jpg","text":"TemporaryFile(/tmp/multipartBody573088722912626666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057044911,"filename":"image_30102025_08_56_53_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391788548","file1":"1391788547","file0":"1391788545","file4":"1391788552","file5":"1391788556","file3":"1391788550"},"map_files_photo_id_array":[{"photo_id":"1391788556","filename":"file5"},{"photo_id":"1391788548","filename":"file2"},{"photo_id":"1391788552","filename":"file4"},{"photo_id":"1391788547","filename":"file1"},{"photo_id":"1391788545","filename":"file0"},{"photo_id":"1391788550","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391788552":["hashtag1","hashtag2"]},{"1391788545":["hashtag1","hashtag2"]},{"1391788548":["hashtag1","hashtag2"]},{"1391788547":["hashtag1","hashtag2"]},{"1391788556":["hashtag1","hashtag2"]},{"1391788550":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391788552, 1391788545, 1391788548, 1391788547, 1391788556, 1391788550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4602267742157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:17:03.120932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/57/image_30102025_08_57_05_2579.jpg', '/home/pi/Desktop/images/30102025/08/57/image_30102025_08_57_11_2552.jpg', '/home/pi/Desktop/images/30102025/08/57/image_30102025_08_57_13_2745.jpg', '/home/pi/Desktop/images/30102025/08/57/image_30102025_08_57_20_2563.jpg', '/home/pi/Desktop/images/30102025/08/57/image_30102025_08_57_44_3629.jpg', '/home/pi/Desktop/images/30102025/08/57/image_30102025_08_57_47_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/08/57/image_30102025_08_57_05_2579.jpg
/home/pi/Desktop/images/30102025/08/57/image_30102025_08_57_11_2552.jpg
/home/pi/Desktop/images/30102025/08/57/image_30102025_08_57_13_2745.jpg
/home/pi/Desktop/images/30102025/08/57/image_30102025_08_57_20_2563.jpg
/home/pi/Desktop/images/30102025/08/57/image_30102025_08_57_44_3629.jpg
/home/pi/Desktop/images/30102025/08/57/image_30102025_08_57_47_2625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391788576","1391788570","1391788578","1391788572","1391788580","1391788574"],"photo_ids_order":["1391788570","1391788572","1391788574","1391788576","1391788578","1391788580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/186bbaac5ae5e550aef738a7a55a6aa3.jpg","text":"TemporaryFile(/tmp/multipartBody7246238561247954707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057085294,"filename":"image_30102025_08_57_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/2/84d4d125a390f1b8e6030a0366c0a4a4.jpg","text":"TemporaryFile(/tmp/multipartBody4401444838405630192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057085294,"filename":"image_30102025_08_57_05_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/2/c44769792ee6614f76614cfd09cf660b.jpg","text":"TemporaryFile(/tmp/multipartBody474511600115736476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057085294,"filename":"image_30102025_08_57_44_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/2/93b0b50e56268f2a90fe36e5cf68c6eb.jpg","text":"TemporaryFile(/tmp/multipartBody7194097800127226260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057085294,"filename":"image_30102025_08_57_11_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/2/4a758eeba50033ff74090386c5f8cabd.jpg","text":"TemporaryFile(/tmp/multipartBody8342303942419045296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057085294,"filename":"image_30102025_08_57_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/2/1d4da6395beb87affb04d07795274495.jpg","text":"TemporaryFile(/tmp/multipartBody3923226113983510388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057085294,"filename":"image_30102025_08_57_13_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391788574","file1":"1391788572","file0":"1391788570","file4":"1391788578","file5":"1391788580","file3":"1391788576"},"map_files_photo_id_array":[{"photo_id":"1391788580","filename":"file5"},{"photo_id":"1391788574","filename":"file2"},{"photo_id":"1391788578","filename":"file4"},{"photo_id":"1391788572","filename":"file1"},{"photo_id":"1391788570","filename":"file0"},{"photo_id":"1391788576","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391788576":["hashtag1","hashtag2"]},{"1391788570":["hashtag1","hashtag2"]},{"1391788578":["hashtag1","hashtag2"]},{"1391788572":["hashtag1","hashtag2"]},{"1391788580":["hashtag1","hashtag2"]},{"1391788574":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391788576, 1391788570, 1391788578, 1391788572, 1391788580, 1391788574)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.25395393371582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:18:02.539408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/57/image_30102025_08_57_49_2796.jpg', '/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_05_3938.jpg', '/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_08_2779.jpg', '/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_11_2693.jpg', '/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_13_2631.jpg', '/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_17_3768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/57/image_30102025_08_57_49_2796.jpg
/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_05_3938.jpg
/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_08_2779.jpg
/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_11_2693.jpg
/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_13_2631.jpg
/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_17_3768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391788611","1391788605","1391788608","1391788602","1391788616","1391788619"],"photo_ids_order":["1391788602","1391788605","1391788608","1391788611","1391788616","1391788619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c17089232c58c7877436cb014186df44.jpg","text":"TemporaryFile(/tmp/multipartBody4555415592158621311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057144629,"filename":"image_30102025_08_58_11_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/2/7279b56394f2dd62c733072b316fa9fe.jpg","text":"TemporaryFile(/tmp/multipartBody2885409228432930453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057144629,"filename":"image_30102025_08_58_05_3938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bc560bd0dfcbe516111d08a99e6834d0.jpg","text":"TemporaryFile(/tmp/multipartBody4592982823552718427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057144629,"filename":"image_30102025_08_58_08_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/2/211a308a1e5f6426e8d3a16ed60b9157.jpg","text":"TemporaryFile(/tmp/multipartBody1790693267403334352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057144629,"filename":"image_30102025_08_57_49_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/2/cb9d455f36ef156588d681c1004a2615.jpg","text":"TemporaryFile(/tmp/multipartBody5476513498854634594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057144629,"filename":"image_30102025_08_58_13_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/2/7a5cbeca40b151c13bc6fba4bdd5d23d.jpg","text":"TemporaryFile(/tmp/multipartBody8830850138994937662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057144629,"filename":"image_30102025_08_58_17_3768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391788608","file1":"1391788605","file0":"1391788602","file4":"1391788616","file5":"1391788619","file3":"1391788611"},"map_files_photo_id_array":[{"photo_id":"1391788619","filename":"file5"},{"photo_id":"1391788608","filename":"file2"},{"photo_id":"1391788616","filename":"file4"},{"photo_id":"1391788605","filename":"file1"},{"photo_id":"1391788602","filename":"file0"},{"photo_id":"1391788611","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391788611":["hashtag1","hashtag2"]},{"1391788605":["hashtag1","hashtag2"]},{"1391788608":["hashtag1","hashtag2"]},{"1391788602":["hashtag1","hashtag2"]},{"1391788616":["hashtag1","hashtag2"]},{"1391788619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391788611, 1391788605, 1391788608, 1391788602, 1391788616, 1391788619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.716195821762085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 05:18:42.130636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_20_2583.jpg', '/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_23_2827.jpg', '/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_26_3527.jpg', '/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_29_2670.jpg', '/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_32_2854.jpg', '/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_34_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/08/58/image_30102025_08_58_20_2583.jpg
/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_23_2827.jpg
/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_26_3527.jpg
/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_29_2670.jpg
/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_32_2854.jpg
/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_34_2705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391788630","1391788627","1391788624","1391788634","1391788637","1391788622"],"photo_ids_order":["1391788622","1391788624","1391788627","1391788630","1391788634","1391788637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1636653c3f71a88c46fb9404da5879d4.jpg","text":"TemporaryFile(/tmp/multipartBody1357202429344869383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057184234,"filename":"image_30102025_08_58_29_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/2/138ac400737f63d6193fabb8cc58befe.jpg","text":"TemporaryFile(/tmp/multipartBody3707629574096014781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057184234,"filename":"image_30102025_08_58_26_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/2/042ea2d7de711f979dd082e5fecb3461.jpg","text":"TemporaryFile(/tmp/multipartBody8261432049772286500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057184234,"filename":"image_30102025_08_58_23_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/2/08352602c7d5da2c48202f0b6118e998.jpg","text":"TemporaryFile(/tmp/multipartBody1057063506349342398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057184234,"filename":"image_30102025_08_58_32_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/2/57e5567f5857ec57e394af42b968e20d.jpg","text":"TemporaryFile(/tmp/multipartBody3660552158467850543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057184234,"filename":"image_30102025_08_58_34_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/2/85efbb7d52c3f1c3db84fae609ba6dd8.jpg","text":"TemporaryFile(/tmp/multipartBody4307792956469078450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057184234,"filename":"image_30102025_08_58_20_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391788627","file1":"1391788624","file0":"1391788622","file4":"1391788634","file5":"1391788637","file3":"1391788630"},"map_files_photo_id_array":[{"photo_id":"1391788637","filename":"file5"},{"photo_id":"1391788627","filename":"file2"},{"photo_id":"1391788634","filename":"file4"},{"photo_id":"1391788624","filename":"file1"},{"photo_id":"1391788622","filename":"file0"},{"photo_id":"1391788630","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391788630":["hashtag1","hashtag2"]},{"1391788627":["hashtag1","hashtag2"]},{"1391788624":["hashtag1","hashtag2"]},{"1391788634":["hashtag1","hashtag2"]},{"1391788637":["hashtag1","hashtag2"]},{"1391788622":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391788630, 1391788627, 1391788624, 1391788634, 1391788637, 1391788622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09202527999878 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:19:22.206399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_38_3667.jpg', '/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_41_2626.jpg', '/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_44_3598.jpg', '/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_47_2546.jpg', '/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_50_2739.jpg', '/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_52_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_38_3667.jpg
/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_41_2626.jpg
/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_44_3598.jpg
/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_47_2546.jpg
/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_50_2739.jpg
/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_52_2736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391788870","1391788953","1391788914","1391788743","1391788784","1391788829"],"photo_ids_order":["1391788743","1391788784","1391788829","1391788870","1391788914","1391788953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/132504cdf069a9c5ec500f062379ec9d.jpg","text":"TemporaryFile(/tmp/multipartBody330909161920795588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057249800,"filename":"image_30102025_08_58_47_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/2/48cceaab22e9ce995637d573859790fd.jpg","text":"TemporaryFile(/tmp/multipartBody4020959533669807773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057249800,"filename":"image_30102025_08_58_52_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/2/1a0a69d88850466f649070d34253b501.jpg","text":"TemporaryFile(/tmp/multipartBody7443633880141604812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057249800,"filename":"image_30102025_08_58_50_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/2/7e1a07ecc144d366e0e372e1bfea3fb3.jpg","text":"TemporaryFile(/tmp/multipartBody3428795692356088674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057249800,"filename":"image_30102025_08_58_38_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/2/7516abc211537da6a68f93f24a88dcba.jpg","text":"TemporaryFile(/tmp/multipartBody7491186397791427016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057249800,"filename":"image_30102025_08_58_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/2/6c29b30ff2c3be34a1588313228fc64d.jpg","text":"TemporaryFile(/tmp/multipartBody4481039657629731302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057249800,"filename":"image_30102025_08_58_44_3598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391788829","file1":"1391788784","file0":"1391788743","file4":"1391788914","file5":"1391788953","file3":"1391788870"},"map_files_photo_id_array":[{"photo_id":"1391788953","filename":"file5"},{"photo_id":"1391788829","filename":"file2"},{"photo_id":"1391788914","filename":"file4"},{"photo_id":"1391788784","filename":"file1"},{"photo_id":"1391788743","filename":"file0"},{"photo_id":"1391788870","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391788870":["hashtag1","hashtag2"]},{"1391788953":["hashtag1","hashtag2"]},{"1391788914":["hashtag1","hashtag2"]},{"1391788743":["hashtag1","hashtag2"]},{"1391788784":["hashtag1","hashtag2"]},{"1391788829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391788870, 1391788953, 1391788914, 1391788743, 1391788784, 1391788829)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 80.33780455589294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:21:03.415154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 05:21:22.743376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_56_3716.jpg', '/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_59_2784.jpg', '/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_01_2619.jpg', '/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_05_3672.jpg', '/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_08_2591.jpg', '/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_10_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/08/58/image_30102025_08_58_56_3716.jpg
/home/pi/Desktop/images/30102025/08/58/image_30102025_08_58_59_2784.jpg
/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_01_2619.jpg
/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_05_3672.jpg
/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_08_2591.jpg
/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_10_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":["1391789716","1391789721","1391789696","1391789711","1391789654","1391789615"],"photo_ids_order":["1391789615","1391789654","1391789696","1391789711","1391789716","1391789721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cffb74f73bf1824ce2c76b3939ae8021.jpg","text":"TemporaryFile(/tmp/multipartBody4411473251500437175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057347739,"filename":"image_30102025_08_59_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/2/591816b4f7e63e32b3f8523af767bc0f.jpg","text":"TemporaryFile(/tmp/multipartBody899466747471755994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057347739,"filename":"image_30102025_08_59_10_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/2/f8b3fec097e4b4d09d835a4c9102d93b.jpg","text":"TemporaryFile(/tmp/multipartBody4124754014829155573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057347739,"filename":"image_30102025_08_59_01_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/2/697ab96c3594ffbcf795d5fabcc80d9f.jpg","text":"TemporaryFile(/tmp/multipartBody5604926440462135857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057347739,"filename":"image_30102025_08_59_05_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/2/2a764f2e1a9a762cf1bb35ff0b72b966.jpg","text":"TemporaryFile(/tmp/multipartBody3449876964612516315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057347739,"filename":"image_30102025_08_58_59_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/2/32d355212c4d5eae7122d898690d50ef.jpg","text":"TemporaryFile(/tmp/multipartBody6633213848028108984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057347739,"filename":"image_30102025_08_58_56_3716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391789696","file1":"1391789654","file0":"1391789615","file4":"1391789716","file5":"1391789721","file3":"1391789711"},"map_files_photo_id_array":[{"photo_id":"1391789721","filename":"file5"},{"photo_id":"1391789696","filename":"file2"},{"photo_id":"1391789716","filename":"file4"},{"photo_id":"1391789654","filename":"file1"},{"photo_id":"1391789615","filename":"file0"},{"photo_id":"1391789711","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391789716":["hashtag1","hashtag2"]},{"1391789721":["hashtag1","hashtag2"]},{"1391789696":["hashtag1","hashtag2"]},{"1391789711":["hashtag1","hashtag2"]},{"1391789654":["hashtag1","hashtag2"]},{"1391789615":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391789716, 1391789721, 1391789696, 1391789711, 1391789654, 1391789615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.37636923789978 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:22:22.044019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_14_3661.jpg', '/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_17_2772.jpg', '/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_19_2634.jpg', '/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_23_3635.jpg', '/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_26_2661.jpg', '/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_28_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/08/59/image_30102025_08_59_14_3661.jpg
/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_17_2772.jpg
/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_19_2634.jpg
/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_23_3635.jpg
/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_26_2661.jpg
/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_28_2662.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.787292957305908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 05:22:42.128344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_14_3661.jpg', '/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_17_2772.jpg', '/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_19_2634.jpg', '/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_23_3635.jpg', '/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_26_2661.jpg', '/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_28_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/08/59/image_30102025_08_59_14_3661.jpg
/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_17_2772.jpg
/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_19_2634.jpg
/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_23_3635.jpg
/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_26_2661.jpg
/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_28_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391789955","1391790007","1391789913","1391789990","1391789981","1391790021"],"photo_ids_order":["1391789913","1391789955","1391789981","1391789990","1391790007","1391790021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a52f4b6d2c8c3983df9ff7568118b29d.jpg","text":"TemporaryFile(/tmp/multipartBody2829422323650411604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057423044,"filename":"image_30102025_08_59_17_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/2/bab58e32d3242f0835091de165a54708.jpg","text":"TemporaryFile(/tmp/multipartBody2070461968816934835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057423044,"filename":"image_30102025_08_59_26_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/2/25f40925d4034673759da2489bf702cb.jpg","text":"TemporaryFile(/tmp/multipartBody2733643470432125194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057423044,"filename":"image_30102025_08_59_14_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/2/85a6c6e8cb29065569e7330a7cb20737.jpg","text":"TemporaryFile(/tmp/multipartBody9027514494817337182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057423044,"filename":"image_30102025_08_59_23_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/2/bb5dc9531533e3953d47b8685ace5a21.jpg","text":"TemporaryFile(/tmp/multipartBody8941799371952790595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057423044,"filename":"image_30102025_08_59_19_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/2/b28fd6157b7b772ae34d42d70c10b752.jpg","text":"TemporaryFile(/tmp/multipartBody2871801101925546473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057423044,"filename":"image_30102025_08_59_28_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391789981","file1":"1391789955","file0":"1391789913","file4":"1391790007","file5":"1391790021","file3":"1391789990"},"map_files_photo_id_array":[{"photo_id":"1391790021","filename":"file5"},{"photo_id":"1391789981","filename":"file2"},{"photo_id":"1391790007","filename":"file4"},{"photo_id":"1391789955","filename":"file1"},{"photo_id":"1391789913","filename":"file0"},{"photo_id":"1391789990","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391789955":["hashtag1","hashtag2"]},{"1391790007":["hashtag1","hashtag2"]},{"1391789913":["hashtag1","hashtag2"]},{"1391789990":["hashtag1","hashtag2"]},{"1391789981":["hashtag1","hashtag2"]},{"1391790021":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391789955, 1391790007, 1391789913, 1391789990, 1391789981, 1391790021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.561962604522705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:23:22.396560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_32_3804.jpg', '/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_37_2669.jpg', '/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_40_2730.jpg', '/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_44_3765.jpg', '/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_47_2821.jpg', '/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_50_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/08/59/image_30102025_08_59_32_3804.jpg
/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_37_2669.jpg
/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_40_2730.jpg
/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_44_3765.jpg
/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_47_2821.jpg
/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_50_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":["1391790079","1391790081","1391790075","1391790084","1391790089","1391790077"],"photo_ids_order":["1391790075","1391790077","1391790079","1391790081","1391790084","1391790089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/815d07e1cc2ef6fe2e03ef854d2abe7e.jpg","text":"TemporaryFile(/tmp/multipartBody7270467444807799192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057465096,"filename":"image_30102025_08_59_40_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/2/5d075693ef63d9f8191ce48b9bc65d0c.jpg","text":"TemporaryFile(/tmp/multipartBody3261001623972218634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057465096,"filename":"image_30102025_08_59_44_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/2/93aa3ee005c504850fc27173bed40402.jpg","text":"TemporaryFile(/tmp/multipartBody6553434383232503627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057465096,"filename":"image_30102025_08_59_32_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/2/a893b7c7da72a02eb526bafe5002fa45.jpg","text":"TemporaryFile(/tmp/multipartBody4459861869613973985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057465096,"filename":"image_30102025_08_59_47_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/2/6ac76edf4e8d4e94b995b8519fff2783.jpg","text":"TemporaryFile(/tmp/multipartBody2005036340915695261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057465096,"filename":"image_30102025_08_59_50_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/2/56cc67924432ca8e01a4da65998685b9.jpg","text":"TemporaryFile(/tmp/multipartBody1226866579140809266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057465096,"filename":"image_30102025_08_59_37_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790079","file1":"1391790077","file0":"1391790075","file4":"1391790084","file5":"1391790089","file3":"1391790081"},"map_files_photo_id_array":[{"photo_id":"1391790089","filename":"file5"},{"photo_id":"1391790079","filename":"file2"},{"photo_id":"1391790084","filename":"file4"},{"photo_id":"1391790077","filename":"file1"},{"photo_id":"1391790075","filename":"file0"},{"photo_id":"1391790081","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790079":["hashtag1","hashtag2"]},{"1391790081":["hashtag1","hashtag2"]},{"1391790075":["hashtag1","hashtag2"]},{"1391790084":["hashtag1","hashtag2"]},{"1391790089":["hashtag1","hashtag2"]},{"1391790077":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790079, 1391790081, 1391790075, 1391790084, 1391790089, 1391790077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.978317975997925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:24:22.748688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_53_3535.jpg', '/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_56_2764.jpg', '/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_58_2581.jpg', '/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_12_3709.jpg', '/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_17_2682.jpg', '/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_21_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/08/59/image_30102025_08_59_53_3535.jpg
/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_56_2764.jpg
/home/pi/Desktop/images/30102025/08/59/image_30102025_08_59_58_2581.jpg
/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_12_3709.jpg
/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_17_2682.jpg
/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_21_3601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790113","1391790121","1391790124","1391790111","1391790117","1391790110"],"photo_ids_order":["1391790110","1391790111","1391790113","1391790117","1391790121","1391790124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7502155a06a21bd0c3b24b96d6ffc55d.jpg","text":"TemporaryFile(/tmp/multipartBody5596218020594213369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057525418,"filename":"image_30102025_08_59_58_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/2/903ffaa57234925e39bc25e294bf5a9b.jpg","text":"TemporaryFile(/tmp/multipartBody8566609016710566838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057525418,"filename":"image_30102025_09_00_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/2/832dba575e20509d919fd2d9ddd8d919.jpg","text":"TemporaryFile(/tmp/multipartBody1503640258300410063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057525418,"filename":"image_30102025_09_00_21_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/2/04cea9cc078c11f12b53df8d8e428530.jpg","text":"TemporaryFile(/tmp/multipartBody6112792641637872534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057525418,"filename":"image_30102025_08_59_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/2/77e54df987b6afe2188b8fd3b01edf18.jpg","text":"TemporaryFile(/tmp/multipartBody4106615832603354353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057525418,"filename":"image_30102025_09_00_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/2/023ae8768f3d4373c9d8099a11adb576.jpg","text":"TemporaryFile(/tmp/multipartBody6094664749269168497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057525418,"filename":"image_30102025_08_59_53_3535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790113","file1":"1391790111","file0":"1391790110","file4":"1391790121","file5":"1391790124","file3":"1391790117"},"map_files_photo_id_array":[{"photo_id":"1391790124","filename":"file5"},{"photo_id":"1391790113","filename":"file2"},{"photo_id":"1391790121","filename":"file4"},{"photo_id":"1391790111","filename":"file1"},{"photo_id":"1391790110","filename":"file0"},{"photo_id":"1391790117","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790113":["hashtag1","hashtag2"]},{"1391790121":["hashtag1","hashtag2"]},{"1391790124":["hashtag1","hashtag2"]},{"1391790111":["hashtag1","hashtag2"]},{"1391790117":["hashtag1","hashtag2"]},{"1391790110":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790113, 1391790121, 1391790124, 1391790111, 1391790117, 1391790110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09834885597229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:25:02.532278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_23_2744.jpg', '/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_26_2586.jpg', '/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_30_3697.jpg', '/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_32_2653.jpg', '/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_35_2674.jpg', '/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_39_3876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_23_2744.jpg
/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_26_2586.jpg
/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_30_3697.jpg
/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_32_2653.jpg
/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_35_2674.jpg
/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_39_3876.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790136","1391790130","1391790144","1391790138","1391790140","1391790134"],"photo_ids_order":["1391790130","1391790134","1391790136","1391790138","1391790140","1391790144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a429c71c0de70fd0a02927512ab87fbb.jpg","text":"TemporaryFile(/tmp/multipartBody7503578699527621385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057564722,"filename":"image_30102025_09_00_30_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/2/ba68adabb7f21b4e5b8f90f06aa3e51d.jpg","text":"TemporaryFile(/tmp/multipartBody6935795364713003953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057564722,"filename":"image_30102025_09_00_23_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/2/02da78199a1532fcc04a81f3046e4d3b.jpg","text":"TemporaryFile(/tmp/multipartBody1320685716083520065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057564722,"filename":"image_30102025_09_00_39_3876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5b4d75d2e84828b427e17f19aabef853.jpg","text":"TemporaryFile(/tmp/multipartBody8533059902369306134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057564722,"filename":"image_30102025_09_00_32_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/2/ccac3bd6e11395b2197e532f6496d81c.jpg","text":"TemporaryFile(/tmp/multipartBody2992459612074662608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057564722,"filename":"image_30102025_09_00_35_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/2/b0586dc39e9d3e6c31d4161cb73bbbce.jpg","text":"TemporaryFile(/tmp/multipartBody8110492311083260879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057564722,"filename":"image_30102025_09_00_26_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790136","file1":"1391790134","file0":"1391790130","file4":"1391790140","file5":"1391790144","file3":"1391790138"},"map_files_photo_id_array":[{"photo_id":"1391790144","filename":"file5"},{"photo_id":"1391790136","filename":"file2"},{"photo_id":"1391790140","filename":"file4"},{"photo_id":"1391790134","filename":"file1"},{"photo_id":"1391790130","filename":"file0"},{"photo_id":"1391790138","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790136":["hashtag1","hashtag2"]},{"1391790130":["hashtag1","hashtag2"]},{"1391790144":["hashtag1","hashtag2"]},{"1391790138":["hashtag1","hashtag2"]},{"1391790140":["hashtag1","hashtag2"]},{"1391790134":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790136, 1391790130, 1391790144, 1391790138, 1391790140, 1391790134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.053606033325195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 05:25:41.854285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_41_2561.jpg', '/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_44_2857.jpg', '/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_47_2885.jpg', '/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_50_2691.jpg', '/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_54_3813.jpg', '/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_56_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/09/00/image_30102025_09_00_41_2561.jpg
/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_44_2857.jpg
/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_47_2885.jpg
/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_50_2691.jpg
/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_54_3813.jpg
/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_56_2586.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790166","1391790154","1391790162","1391790150","1391790161","1391790158"],"photo_ids_order":["1391790150","1391790154","1391790158","1391790161","1391790162","1391790166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d6f752757f46e0b3fa7c18ed767da1b8.jpg","text":"TemporaryFile(/tmp/multipartBody4555523972070776798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057602980,"filename":"image_30102025_09_00_56_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/2/88a85f29ba241454b60e64c46eab5a2d.jpg","text":"TemporaryFile(/tmp/multipartBody2514643102045135486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057602980,"filename":"image_30102025_09_00_44_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/2/8b6e45409be4eb37117aaadf90711a9d.jpg","text":"TemporaryFile(/tmp/multipartBody1486204623609630935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057602980,"filename":"image_30102025_09_00_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/2/b470a655bcd6da1a557bab31939d2ded.jpg","text":"TemporaryFile(/tmp/multipartBody86615749046138685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057602980,"filename":"image_30102025_09_00_41_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/2/b83576b5b0fe47379bd4c2b676b3ccc0.jpg","text":"TemporaryFile(/tmp/multipartBody5698830985112679122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057602980,"filename":"image_30102025_09_00_50_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/2/4d4784f28d36310130fab8e7a2b14fcf.jpg","text":"TemporaryFile(/tmp/multipartBody1356744571476284131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057602980,"filename":"image_30102025_09_00_47_2885.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790158","file1":"1391790154","file0":"1391790150","file4":"1391790162","file5":"1391790166","file3":"1391790161"},"map_files_photo_id_array":[{"photo_id":"1391790166","filename":"file5"},{"photo_id":"1391790158","filename":"file2"},{"photo_id":"1391790162","filename":"file4"},{"photo_id":"1391790154","filename":"file1"},{"photo_id":"1391790150","filename":"file0"},{"photo_id":"1391790161","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790166":["hashtag1","hashtag2"]},{"1391790154":["hashtag1","hashtag2"]},{"1391790162":["hashtag1","hashtag2"]},{"1391790150":["hashtag1","hashtag2"]},{"1391790161":["hashtag1","hashtag2"]},{"1391790158":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790166, 1391790154, 1391790162, 1391790150, 1391790161, 1391790158)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 51.794047355651855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 05:26:42.013242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_59_2592.jpg', '/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_02_3700.jpg', '/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_05_2738.jpg', '/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_08_2688.jpg', '/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_12_3676.jpg', '/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_14_2837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/00/image_30102025_09_00_59_2592.jpg
/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_02_3700.jpg
/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_05_2738.jpg
/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_08_2688.jpg
/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_12_3676.jpg
/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_14_2837.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790196","1391790199","1391790192","1391790205","1391790185","1391790188"],"photo_ids_order":["1391790185","1391790188","1391790192","1391790196","1391790199","1391790205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7844870693013bada2293c3995b57424.jpg","text":"TemporaryFile(/tmp/multipartBody1341416319776979843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057664242,"filename":"image_30102025_09_01_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/2/c649ce3f9025bcdd7a6d6f4e15222031.jpg","text":"TemporaryFile(/tmp/multipartBody6787408604857252463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057664242,"filename":"image_30102025_09_01_12_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/2/4d584c228ef5941c24094a3803765b8f.jpg","text":"TemporaryFile(/tmp/multipartBody5000140643995441908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057664242,"filename":"image_30102025_09_01_05_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/2/23952cfe0be9bd56c0c7f57d3459a811.jpg","text":"TemporaryFile(/tmp/multipartBody6249597467466451525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057664242,"filename":"image_30102025_09_01_14_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/2/b1211e8bdbcc1c87ac2bfba33e5bcb68.jpg","text":"TemporaryFile(/tmp/multipartBody4877728917085699709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057664242,"filename":"image_30102025_09_00_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/2/aab7460118da29713c3c802ae09a20a5.jpg","text":"TemporaryFile(/tmp/multipartBody3268116550483397707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057664242,"filename":"image_30102025_09_01_02_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790192","file1":"1391790188","file0":"1391790185","file4":"1391790199","file5":"1391790205","file3":"1391790196"},"map_files_photo_id_array":[{"photo_id":"1391790205","filename":"file5"},{"photo_id":"1391790192","filename":"file2"},{"photo_id":"1391790199","filename":"file4"},{"photo_id":"1391790188","filename":"file1"},{"photo_id":"1391790185","filename":"file0"},{"photo_id":"1391790196","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790196":["hashtag1","hashtag2"]},{"1391790199":["hashtag1","hashtag2"]},{"1391790192":["hashtag1","hashtag2"]},{"1391790205":["hashtag1","hashtag2"]},{"1391790185":["hashtag1","hashtag2"]},{"1391790188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790196, 1391790199, 1391790192, 1391790205, 1391790185, 1391790188)","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 = 1391790192 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_05_2738.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 68.05330014228821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:28:03.216010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 05:28:22.656795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_17_2554.jpg', '/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_20_2815.jpg', '/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_23_3588.jpg', '/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_26_2551.jpg', '/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_30_3702.jpg', '/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_35_2940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_17_2554.jpg
/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_20_2815.jpg
/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_23_3588.jpg
/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_26_2551.jpg
/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_30_3702.jpg
/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_35_2940.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790255","1391790240","1391790243","1391790252","1391790234","1391790248"],"photo_ids_order":["1391790234","1391790240","1391790243","1391790248","1391790252","1391790255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ac20d24d5311d6221245c7e9a5671707.jpg","text":"TemporaryFile(/tmp/multipartBody5695028777714181102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057765203,"filename":"image_30102025_09_01_35_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/2/a27640eec0fd52c9bbf2286d4a49b3f4.jpg","text":"TemporaryFile(/tmp/multipartBody7280009578655249470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057765203,"filename":"image_30102025_09_01_20_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/2/bf101e80dcc8416f571b507a024c7cbd.jpg","text":"TemporaryFile(/tmp/multipartBody785163648901940230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057765203,"filename":"image_30102025_09_01_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/2/cc9db154945a56e3be60908c06feb788.jpg","text":"TemporaryFile(/tmp/multipartBody1169713772604189619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057765203,"filename":"image_30102025_09_01_30_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/2/289faec68838922bedb3c409e0daf9ff.jpg","text":"TemporaryFile(/tmp/multipartBody4326119112413531021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057765203,"filename":"image_30102025_09_01_17_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/2/2de4bc39c26360a583c6c9328978947d.jpg","text":"TemporaryFile(/tmp/multipartBody1526364495237407966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057765203,"filename":"image_30102025_09_01_26_2551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790243","file1":"1391790240","file0":"1391790234","file4":"1391790252","file5":"1391790255","file3":"1391790248"},"map_files_photo_id_array":[{"photo_id":"1391790255","filename":"file5"},{"photo_id":"1391790243","filename":"file2"},{"photo_id":"1391790252","filename":"file4"},{"photo_id":"1391790240","filename":"file1"},{"photo_id":"1391790234","filename":"file0"},{"photo_id":"1391790248","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790255":["hashtag1","hashtag2"]},{"1391790240":["hashtag1","hashtag2"]},{"1391790243":["hashtag1","hashtag2"]},{"1391790252":["hashtag1","hashtag2"]},{"1391790234":["hashtag1","hashtag2"]},{"1391790248":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790255, 1391790240, 1391790243, 1391790252, 1391790234, 1391790248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.606992959976196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:29:21.830970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_38_2750.jpg', '/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_42_3615.jpg', '/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_44_2593.jpg', '/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_47_2675.jpg', '/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_51_3686.jpg', '/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_53_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/09/01/image_30102025_09_01_38_2750.jpg
/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_42_3615.jpg
/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_44_2593.jpg
/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_47_2675.jpg
/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_51_3686.jpg
/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_53_2663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790289","1391790271","1391790282","1391790296","1391790278","1391790275"],"photo_ids_order":["1391790271","1391790275","1391790278","1391790282","1391790289","1391790296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8006c80af905ddc53cff04606076d2c4.jpg","text":"TemporaryFile(/tmp/multipartBody5650664210667619797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057824479,"filename":"image_30102025_09_01_51_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/2/03c880d2c5d79ac7c59555b5f9e0df75.jpg","text":"TemporaryFile(/tmp/multipartBody7121131610482842256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057824479,"filename":"image_30102025_09_01_38_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/2/1b92e814eaebe2fed273433612140459.jpg","text":"TemporaryFile(/tmp/multipartBody2041395592764676040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057824479,"filename":"image_30102025_09_01_47_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/2/b9d5ce3054e38cc66dc63be95f1e3836.jpg","text":"TemporaryFile(/tmp/multipartBody6208006250962889149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057824479,"filename":"image_30102025_09_01_53_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/2/0fc86da9dcf9487efa68879b507c7c9c.jpg","text":"TemporaryFile(/tmp/multipartBody9044265382902307916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057824479,"filename":"image_30102025_09_01_44_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/2/886b63a3f84ecb32392d87c962b7e092.jpg","text":"TemporaryFile(/tmp/multipartBody9141190548497535697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057824479,"filename":"image_30102025_09_01_42_3615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790278","file1":"1391790275","file0":"1391790271","file4":"1391790289","file5":"1391790296","file3":"1391790282"},"map_files_photo_id_array":[{"photo_id":"1391790296","filename":"file5"},{"photo_id":"1391790278","filename":"file2"},{"photo_id":"1391790289","filename":"file4"},{"photo_id":"1391790275","filename":"file1"},{"photo_id":"1391790271","filename":"file0"},{"photo_id":"1391790282","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790289":["hashtag1","hashtag2"]},{"1391790271":["hashtag1","hashtag2"]},{"1391790282":["hashtag1","hashtag2"]},{"1391790296":["hashtag1","hashtag2"]},{"1391790278":["hashtag1","hashtag2"]},{"1391790275":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790289, 1391790271, 1391790282, 1391790296, 1391790278, 1391790275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.31049609184265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:30:02.705115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_56_2687.jpg', '/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_59_2690.jpg', '/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_03_3807.jpg', '/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_05_2638.jpg', '/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_08_2640.jpg', '/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_11_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/09/01/image_30102025_09_01_56_2687.jpg
/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_59_2690.jpg
/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_03_3807.jpg
/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_05_2638.jpg
/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_08_2640.jpg
/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_11_3690.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.0164499282836914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:30:22.229217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_56_2687.jpg', '/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_59_2690.jpg', '/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_03_3807.jpg', '/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_05_2638.jpg', '/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_08_2640.jpg', '/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_11_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/09/01/image_30102025_09_01_56_2687.jpg
/home/pi/Desktop/images/30102025/09/01/image_30102025_09_01_59_2690.jpg
/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_03_3807.jpg
/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_05_2638.jpg
/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_08_2640.jpg
/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_11_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":["1391790331","1391790325","1391790327","1391790320","1391790314","1391790317"],"photo_ids_order":["1391790314","1391790317","1391790320","1391790325","1391790327","1391790331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/59b8fc58cfa70cf4a9aabaee34023241.jpg","text":"TemporaryFile(/tmp/multipartBody9173137199383473492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057884775,"filename":"image_30102025_09_02_11_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/2/d6c9b6fc6db57079d9e8c277143291c7.jpg","text":"TemporaryFile(/tmp/multipartBody4125277048432631737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057884775,"filename":"image_30102025_09_02_05_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/2/7d7f689354e6bc2b641fc5c6dab94930.jpg","text":"TemporaryFile(/tmp/multipartBody2243217300362756632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057884775,"filename":"image_30102025_09_02_08_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/2/5f4f143520c7b6ac96582ccf25f47f6e.jpg","text":"TemporaryFile(/tmp/multipartBody3767521480490556046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057884775,"filename":"image_30102025_09_02_03_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/2/fa79e21b1417e35c31a5d964bdf527a3.jpg","text":"TemporaryFile(/tmp/multipartBody2439467298141381569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057884775,"filename":"image_30102025_09_01_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/2/638f449d5c2148abda491b18122ea30b.jpg","text":"TemporaryFile(/tmp/multipartBody189213852477104053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057884775,"filename":"image_30102025_09_01_59_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790320","file1":"1391790317","file0":"1391790314","file4":"1391790327","file5":"1391790331","file3":"1391790325"},"map_files_photo_id_array":[{"photo_id":"1391790331","filename":"file5"},{"photo_id":"1391790320","filename":"file2"},{"photo_id":"1391790327","filename":"file4"},{"photo_id":"1391790317","filename":"file1"},{"photo_id":"1391790314","filename":"file0"},{"photo_id":"1391790325","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790331":["hashtag1","hashtag2"]},{"1391790325":["hashtag1","hashtag2"]},{"1391790327":["hashtag1","hashtag2"]},{"1391790320":["hashtag1","hashtag2"]},{"1391790314":["hashtag1","hashtag2"]},{"1391790317":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790331, 1391790325, 1391790327, 1391790320, 1391790314, 1391790317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.078715085983276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:31:22.374345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_14_2834.jpg', '/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_17_2554.jpg', '/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_23_2759.jpg', '/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_26_2543.jpg', '/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_30_3674.jpg', '/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_32_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/09/02/image_30102025_09_02_14_2834.jpg
/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_17_2554.jpg
/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_23_2759.jpg
/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_26_2543.jpg
/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_30_3674.jpg
/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_32_2722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790346","1391790357","1391790342","1391790351","1391790362","1391790344"],"photo_ids_order":["1391790342","1391790344","1391790346","1391790351","1391790357","1391790362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bae92331ea8d586d6a95022a26724ab4.jpg","text":"TemporaryFile(/tmp/multipartBody1083074074870729926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057944919,"filename":"image_30102025_09_02_23_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/2/412e02c24c5d1d4c7d8ef3d88f9226bb.jpg","text":"TemporaryFile(/tmp/multipartBody1131248879676103005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057944919,"filename":"image_30102025_09_02_30_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/2/00fcad8a1732b4016c4e9b46ce5df9bb.jpg","text":"TemporaryFile(/tmp/multipartBody3573638427019933557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057944919,"filename":"image_30102025_09_02_14_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/2/1c37c9f85c85442d305ad69548fa04ff.jpg","text":"TemporaryFile(/tmp/multipartBody4813853269911720969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057944919,"filename":"image_30102025_09_02_26_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/2/3ab47900bd6c6422630ec638c9df1e23.jpg","text":"TemporaryFile(/tmp/multipartBody1526810815503139304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057944919,"filename":"image_30102025_09_02_32_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/2/d944a4ccf1cae4c92ef3a2abd7939d2c.jpg","text":"TemporaryFile(/tmp/multipartBody2404016790306339674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057944919,"filename":"image_30102025_09_02_17_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790346","file1":"1391790344","file0":"1391790342","file4":"1391790357","file5":"1391790362","file3":"1391790351"},"map_files_photo_id_array":[{"photo_id":"1391790362","filename":"file5"},{"photo_id":"1391790346","filename":"file2"},{"photo_id":"1391790357","filename":"file4"},{"photo_id":"1391790344","filename":"file1"},{"photo_id":"1391790342","filename":"file0"},{"photo_id":"1391790351","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790346":["hashtag1","hashtag2"]},{"1391790357":["hashtag1","hashtag2"]},{"1391790342":["hashtag1","hashtag2"]},{"1391790351":["hashtag1","hashtag2"]},{"1391790362":["hashtag1","hashtag2"]},{"1391790344":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790346, 1391790357, 1391790342, 1391790351, 1391790362, 1391790344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8542697429657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:32:03.042922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_38_5888.jpg', '/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_43_1571.jpg', '/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_44_1643.jpg', '/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_47_2689.jpg', '/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_50_2655.jpg', '/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_56_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/09/02/image_30102025_09_02_38_5888.jpg
/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_43_1571.jpg
/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_44_1643.jpg
/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_47_2689.jpg
/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_50_2655.jpg
/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_56_2560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790373","1391790376","1391790375","1391790378","1391790383","1391790380"],"photo_ids_order":["1391790373","1391790375","1391790376","1391790378","1391790380","1391790383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cd6db3a651d0e0b1c75a5820a52afc5e.jpg","text":"TemporaryFile(/tmp/multipartBody1824854709805186649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057985117,"filename":"image_30102025_09_02_38_5888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/879699a2fa6fe117452199d3ab37afbd.jpg","text":"TemporaryFile(/tmp/multipartBody2225987944910992607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057985117,"filename":"image_30102025_09_02_44_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/2/991574384d17d7ec3bb0c0fe2c3b067d.jpg","text":"TemporaryFile(/tmp/multipartBody425997732182531234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057985117,"filename":"image_30102025_09_02_43_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/2/ec7707486b525d2873d3faee44c6cf19.jpg","text":"TemporaryFile(/tmp/multipartBody1336530265046460217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057985117,"filename":"image_30102025_09_02_47_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/2/8c26161d741030860e8a3599f72cfc1a.jpg","text":"TemporaryFile(/tmp/multipartBody4247045761727227217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057985117,"filename":"image_30102025_09_02_56_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/2/152ea0c7db9f885afe52dc0e00698a07.jpg","text":"TemporaryFile(/tmp/multipartBody1263506544967134596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762057985117,"filename":"image_30102025_09_02_50_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790376","file1":"1391790375","file0":"1391790373","file4":"1391790380","file5":"1391790383","file3":"1391790378"},"map_files_photo_id_array":[{"photo_id":"1391790383","filename":"file5"},{"photo_id":"1391790376","filename":"file2"},{"photo_id":"1391790380","filename":"file4"},{"photo_id":"1391790375","filename":"file1"},{"photo_id":"1391790373","filename":"file0"},{"photo_id":"1391790378","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790373":["hashtag1","hashtag2"]},{"1391790376":["hashtag1","hashtag2"]},{"1391790375":["hashtag1","hashtag2"]},{"1391790378":["hashtag1","hashtag2"]},{"1391790383":["hashtag1","hashtag2"]},{"1391790380":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790373, 1391790376, 1391790375, 1391790378, 1391790383, 1391790380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.854753732681274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 05:32:42.554417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/02/image_30102025_09_02_59_2804.jpg', '/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_03_3694.jpg', '/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_05_2670.jpg', '/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_08_2667.jpg', '/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_12_3676.jpg', '/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_14_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/09/02/image_30102025_09_02_59_2804.jpg
/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_03_3694.jpg
/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_05_2670.jpg
/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_08_2667.jpg
/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_12_3676.jpg
/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_14_2759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790404","1391790411","1391790395","1391790398","1391790407","1391790401"],"photo_ids_order":["1391790395","1391790398","1391790401","1391790404","1391790407","1391790411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/af486e61ce4e81e69b07e6a9dabaebd7.jpg","text":"TemporaryFile(/tmp/multipartBody4457046526229051947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058023706,"filename":"image_30102025_09_03_08_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/2/0221eb8af61b4c5545a2e779a5ee97b0.jpg","text":"TemporaryFile(/tmp/multipartBody4020015789912111020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058023706,"filename":"image_30102025_09_03_14_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/2/e8e22032fca069850dd538056f445818.jpg","text":"TemporaryFile(/tmp/multipartBody5949481937382443362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058023706,"filename":"image_30102025_09_02_59_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/2/910d8531ab808c2c6ff2ae128e1dbd2b.jpg","text":"TemporaryFile(/tmp/multipartBody5288411113989265840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058023706,"filename":"image_30102025_09_03_03_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/2/75ef0dfd8b39958d40b4c1fe0def2877.jpg","text":"TemporaryFile(/tmp/multipartBody4070582740697037906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058023706,"filename":"image_30102025_09_03_12_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/2/934c58751dd90b14a0fa3e8a5f98d906.jpg","text":"TemporaryFile(/tmp/multipartBody5839726041301366968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058023706,"filename":"image_30102025_09_03_05_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790401","file1":"1391790398","file0":"1391790395","file4":"1391790407","file5":"1391790411","file3":"1391790404"},"map_files_photo_id_array":[{"photo_id":"1391790411","filename":"file5"},{"photo_id":"1391790401","filename":"file2"},{"photo_id":"1391790407","filename":"file4"},{"photo_id":"1391790398","filename":"file1"},{"photo_id":"1391790395","filename":"file0"},{"photo_id":"1391790404","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790404":["hashtag1","hashtag2"]},{"1391790411":["hashtag1","hashtag2"]},{"1391790395":["hashtag1","hashtag2"]},{"1391790398":["hashtag1","hashtag2"]},{"1391790407":["hashtag1","hashtag2"]},{"1391790401":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790404, 1391790411, 1391790395, 1391790398, 1391790407, 1391790401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79749321937561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:33:22.770826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_17_2691.jpg', '/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_20_2654.jpg', '/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_23_3770.jpg', '/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_26_2799.jpg', '/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_29_2715.jpg', '/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_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/09/03/image_30102025_09_03_17_2691.jpg
/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_20_2654.jpg
/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_23_3770.jpg
/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_26_2799.jpg
/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_29_2715.jpg
/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_32_2694.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.574324607849121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 05:33:42.819016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_17_2691.jpg', '/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_20_2654.jpg', '/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_23_3770.jpg', '/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_26_2799.jpg', '/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_29_2715.jpg', '/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_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/09/03/image_30102025_09_03_17_2691.jpg
/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_20_2654.jpg
/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_23_3770.jpg
/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_26_2799.jpg
/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_29_2715.jpg
/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_32_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790451","1391790445","1391790441","1391790435","1391790452","1391790449"],"photo_ids_order":["1391790435","1391790441","1391790445","1391790449","1391790451","1391790452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7d977d2ec7c3dcd6e7f40385633edee7.jpg","text":"TemporaryFile(/tmp/multipartBody6528447972416365063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058083805,"filename":"image_30102025_09_03_29_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/2/9cc7dd0ead896d709a608fb4aff3a388.jpg","text":"TemporaryFile(/tmp/multipartBody4731441985209890567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058083805,"filename":"image_30102025_09_03_23_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/2/c8faf7f2541a2502db7100aab9001cde.jpg","text":"TemporaryFile(/tmp/multipartBody6228731292021152354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058083805,"filename":"image_30102025_09_03_20_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/2/1e8b04e5db92bf481f23a1dfd3ede9ad.jpg","text":"TemporaryFile(/tmp/multipartBody4055796445927951397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058083805,"filename":"image_30102025_09_03_17_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/2/0b170067427a334d6c69544ebd411d7b.jpg","text":"TemporaryFile(/tmp/multipartBody4588894929916302134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058083805,"filename":"image_30102025_09_03_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/2/17bd6d73898676e4a30303f7808f7d43.jpg","text":"TemporaryFile(/tmp/multipartBody3372299840401969834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058083805,"filename":"image_30102025_09_03_26_2799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790445","file1":"1391790441","file0":"1391790435","file4":"1391790451","file5":"1391790452","file3":"1391790449"},"map_files_photo_id_array":[{"photo_id":"1391790452","filename":"file5"},{"photo_id":"1391790445","filename":"file2"},{"photo_id":"1391790451","filename":"file4"},{"photo_id":"1391790441","filename":"file1"},{"photo_id":"1391790435","filename":"file0"},{"photo_id":"1391790449","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790451":["hashtag1","hashtag2"]},{"1391790445":["hashtag1","hashtag2"]},{"1391790441":["hashtag1","hashtag2"]},{"1391790435":["hashtag1","hashtag2"]},{"1391790452":["hashtag1","hashtag2"]},{"1391790449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790451, 1391790445, 1391790441, 1391790435, 1391790452, 1391790449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81800317764282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:34:21.973742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_35_3698.jpg', '/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_39_3766.jpg', '/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_41_1799.jpg', '/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_44_3613.jpg', '/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_47_2637.jpg', '/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_59_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/09/03/image_30102025_09_03_35_3698.jpg
/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_39_3766.jpg
/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_41_1799.jpg
/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_44_3613.jpg
/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_47_2637.jpg
/home/pi/Desktop/images/30102025/09/03/image_30102025_09_03_59_2661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790475","1391790460","1391790457","1391790468","1391790464","1391790473"],"photo_ids_order":["1391790457","1391790460","1391790464","1391790468","1391790473","1391790475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f42df6181c920bf888e3a1068bac4159.jpg","text":"TemporaryFile(/tmp/multipartBody805471312218475561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058124640,"filename":"image_30102025_09_03_59_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/2/f499eb83df5ffff36baf0c4a5fe38f37.jpg","text":"TemporaryFile(/tmp/multipartBody7076754335935605906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058124640,"filename":"image_30102025_09_03_39_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/2/ba0b81b14d1bf353466297d39343f03d.jpg","text":"TemporaryFile(/tmp/multipartBody5251603313740547703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058124640,"filename":"image_30102025_09_03_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/2/c2826c8347b14540dfad2a90900950fb.jpg","text":"TemporaryFile(/tmp/multipartBody7779910085767675613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058124640,"filename":"image_30102025_09_03_44_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/2/87cc11a7c8014c1e730aecbc66f5ebb6.jpg","text":"TemporaryFile(/tmp/multipartBody525426575600030571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058124640,"filename":"image_30102025_09_03_41_1799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/64b38648f0b85f599f5b712feeab07fc.jpg","text":"TemporaryFile(/tmp/multipartBody8733809486673755822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058124640,"filename":"image_30102025_09_03_47_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790464","file1":"1391790460","file0":"1391790457","file4":"1391790473","file5":"1391790475","file3":"1391790468"},"map_files_photo_id_array":[{"photo_id":"1391790475","filename":"file5"},{"photo_id":"1391790464","filename":"file2"},{"photo_id":"1391790473","filename":"file4"},{"photo_id":"1391790460","filename":"file1"},{"photo_id":"1391790457","filename":"file0"},{"photo_id":"1391790468","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790475":["hashtag1","hashtag2"]},{"1391790460":["hashtag1","hashtag2"]},{"1391790457":["hashtag1","hashtag2"]},{"1391790468":["hashtag1","hashtag2"]},{"1391790464":["hashtag1","hashtag2"]},{"1391790473":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790475, 1391790460, 1391790457, 1391790468, 1391790464, 1391790473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.155598640441895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:35:03.013656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_05_1636.jpg', '/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_08_3688.jpg', '/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_11_2605.jpg', '/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_14_2664.jpg', '/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_20_6234.jpg', '/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_21_1669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_05_1636.jpg
/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_08_3688.jpg
/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_11_2605.jpg
/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_14_2664.jpg
/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_20_6234.jpg
/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_21_1669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790487","1391790496","1391790483","1391790504","1391790491","1391790500"],"photo_ids_order":["1391790483","1391790487","1391790491","1391790496","1391790500","1391790504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a7f56be3637c6181e6ea3e4ecbde599a.jpg","text":"TemporaryFile(/tmp/multipartBody3882654973970544342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058165160,"filename":"image_30102025_09_04_08_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/2/fe642a8f752397b31130814e6d9c5399.jpg","text":"TemporaryFile(/tmp/multipartBody3978711804969163075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058165160,"filename":"image_30102025_09_04_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/2/ccf0e28d06a22230a0e91dc8b1b504fb.jpg","text":"TemporaryFile(/tmp/multipartBody3552333941701597382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058165160,"filename":"image_30102025_09_04_05_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/2/4446c69d9c21e2530516cf45ea13190d.jpg","text":"TemporaryFile(/tmp/multipartBody2594415377426244531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058165160,"filename":"image_30102025_09_04_21_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/2/3436dd323a604980921f0fbdd449b40a.jpg","text":"TemporaryFile(/tmp/multipartBody1164413034594334049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058165160,"filename":"image_30102025_09_04_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/2/9e5c596b128a74833e4f926c9895be1d.jpg","text":"TemporaryFile(/tmp/multipartBody5628029119438714513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058165160,"filename":"image_30102025_09_04_20_6234.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790491","file1":"1391790487","file0":"1391790483","file4":"1391790500","file5":"1391790504","file3":"1391790496"},"map_files_photo_id_array":[{"photo_id":"1391790504","filename":"file5"},{"photo_id":"1391790491","filename":"file2"},{"photo_id":"1391790500","filename":"file4"},{"photo_id":"1391790487","filename":"file1"},{"photo_id":"1391790483","filename":"file0"},{"photo_id":"1391790496","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790487":["hashtag1","hashtag2"]},{"1391790496":["hashtag1","hashtag2"]},{"1391790483":["hashtag1","hashtag2"]},{"1391790504":["hashtag1","hashtag2"]},{"1391790491":["hashtag1","hashtag2"]},{"1391790500":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790487, 1391790496, 1391790483, 1391790504, 1391790491, 1391790500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.41777300834656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 05:35:42.233596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_26_2756.jpg', '/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_28_2582.jpg', '/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_32_3706.jpg', '/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_35_2623.jpg', '/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_37_2621.jpg', '/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_41_3406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_26_2756.jpg
/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_28_2582.jpg
/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_32_3706.jpg
/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_35_2623.jpg
/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_37_2621.jpg
/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_41_3406.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790532","1391790528","1391790525","1391790512","1391790521","1391790515"],"photo_ids_order":["1391790512","1391790515","1391790521","1391790525","1391790528","1391790532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/86ec05a3fefe156a9a694abf5e31bc80.jpg","text":"TemporaryFile(/tmp/multipartBody4676952915270294866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058203452,"filename":"image_30102025_09_04_41_3406.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8e2a83d36a2fcbd25b36d21f6ae881bd.jpg","text":"TemporaryFile(/tmp/multipartBody1623390070122051022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058203452,"filename":"image_30102025_09_04_37_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/2/f73810dbf9817cc702a7f4297cc56277.jpg","text":"TemporaryFile(/tmp/multipartBody8092967411158249760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058203452,"filename":"image_30102025_09_04_35_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/2/9908b108f9d58e94bf1bc6509659006e.jpg","text":"TemporaryFile(/tmp/multipartBody117864615520149488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058203452,"filename":"image_30102025_09_04_26_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/2/e24dbfd919bef4fb0777c1e5c330e404.jpg","text":"TemporaryFile(/tmp/multipartBody7793270673480812946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058203452,"filename":"image_30102025_09_04_32_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/2/c7a19c0c7a0dded01d0f855fdc346504.jpg","text":"TemporaryFile(/tmp/multipartBody9020633632426197078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058203452,"filename":"image_30102025_09_04_28_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790521","file1":"1391790515","file0":"1391790512","file4":"1391790528","file5":"1391790532","file3":"1391790525"},"map_files_photo_id_array":[{"photo_id":"1391790532","filename":"file5"},{"photo_id":"1391790521","filename":"file2"},{"photo_id":"1391790528","filename":"file4"},{"photo_id":"1391790515","filename":"file1"},{"photo_id":"1391790512","filename":"file0"},{"photo_id":"1391790525","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790532":["hashtag1","hashtag2"]},{"1391790528":["hashtag1","hashtag2"]},{"1391790525":["hashtag1","hashtag2"]},{"1391790512":["hashtag1","hashtag2"]},{"1391790521":["hashtag1","hashtag2"]},{"1391790515":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790532, 1391790528, 1391790525, 1391790512, 1391790521, 1391790515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6938157081604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:36:22.352740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_43_2611.jpg', '/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_47_3990.jpg', '/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_50_2734.jpg', '/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_53_2686.jpg', '/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_55_2556.jpg', '/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_59_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/09/04/image_30102025_09_04_43_2611.jpg
/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_47_3990.jpg
/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_50_2734.jpg
/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_53_2686.jpg
/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_55_2556.jpg
/home/pi/Desktop/images/30102025/09/04/image_30102025_09_04_59_3715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790541","1391790544","1391790537","1391790557","1391790554","1391790548"],"photo_ids_order":["1391790537","1391790541","1391790544","1391790548","1391790554","1391790557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d40f11ab19a20137aae995202f10296f.jpg","text":"TemporaryFile(/tmp/multipartBody3416945317452384473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058245021,"filename":"image_30102025_09_04_47_3990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/00b494dd251306d1cba3ea24285bb72b.jpg","text":"TemporaryFile(/tmp/multipartBody2128958585179037411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058245021,"filename":"image_30102025_09_04_50_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/2/cb69604d1a9c0e50613da8b6b0c6211f.jpg","text":"TemporaryFile(/tmp/multipartBody211564599860857365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058245021,"filename":"image_30102025_09_04_43_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/2/ac72596d86c904e0092bf94bacba75cb.jpg","text":"TemporaryFile(/tmp/multipartBody4944156496899175656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058245021,"filename":"image_30102025_09_04_59_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/2/2377e8ba9b80e3d7f426bbb6122ddda2.jpg","text":"TemporaryFile(/tmp/multipartBody8139141064142566473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058245021,"filename":"image_30102025_09_04_55_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/2/ddc48964299ef1b37d28e5e2a9f7435b.jpg","text":"TemporaryFile(/tmp/multipartBody2139571703522272808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058245021,"filename":"image_30102025_09_04_53_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790544","file1":"1391790541","file0":"1391790537","file4":"1391790554","file5":"1391790557","file3":"1391790548"},"map_files_photo_id_array":[{"photo_id":"1391790557","filename":"file5"},{"photo_id":"1391790544","filename":"file2"},{"photo_id":"1391790554","filename":"file4"},{"photo_id":"1391790541","filename":"file1"},{"photo_id":"1391790537","filename":"file0"},{"photo_id":"1391790548","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790541":["hashtag1","hashtag2"]},{"1391790544":["hashtag1","hashtag2"]},{"1391790537":["hashtag1","hashtag2"]},{"1391790557":["hashtag1","hashtag2"]},{"1391790554":["hashtag1","hashtag2"]},{"1391790548":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790541, 1391790544, 1391790537, 1391790557, 1391790554, 1391790548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73605418205261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:37:03.206297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_02_2588.jpg', '/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_05_3178.jpg', '/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_08_2695.jpg', '/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_12_4555.jpg', '/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_18_5833.jpg', '/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_21_2971.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_02_2588.jpg
/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_05_3178.jpg
/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_08_2695.jpg
/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_12_4555.jpg
/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_18_5833.jpg
/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_21_2971.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790571","1391790568","1391790565","1391790579","1391790561","1391790575"],"photo_ids_order":["1391790561","1391790565","1391790568","1391790571","1391790575","1391790579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e94a38be45812b2891135e2944ebe483.jpg","text":"TemporaryFile(/tmp/multipartBody9060183966830789654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058285381,"filename":"image_30102025_09_05_12_4555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7e521f783d264399e6d32eddd7b92ba0.jpg","text":"TemporaryFile(/tmp/multipartBody8472769440027576125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058285381,"filename":"image_30102025_09_05_08_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/2/3ffbebc42c0b019abfb39959f2bbccd2.jpg","text":"TemporaryFile(/tmp/multipartBody4919152833256014094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058285381,"filename":"image_30102025_09_05_05_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/2/ba1bf200dcaf0db12d5a573c12504bf0.jpg","text":"TemporaryFile(/tmp/multipartBody5202020790407909094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058285381,"filename":"image_30102025_09_05_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/2/6b89bcf30296c79776de23645d10702d.jpg","text":"TemporaryFile(/tmp/multipartBody1846911435296519435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058285381,"filename":"image_30102025_09_05_02_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/2/6cf3bed67dc6b201fff7738502f09b42.jpg","text":"TemporaryFile(/tmp/multipartBody7763164097833325662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058285381,"filename":"image_30102025_09_05_18_5833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790568","file1":"1391790565","file0":"1391790561","file4":"1391790575","file5":"1391790579","file3":"1391790571"},"map_files_photo_id_array":[{"photo_id":"1391790579","filename":"file5"},{"photo_id":"1391790568","filename":"file2"},{"photo_id":"1391790575","filename":"file4"},{"photo_id":"1391790565","filename":"file1"},{"photo_id":"1391790561","filename":"file0"},{"photo_id":"1391790571","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790571":["hashtag1","hashtag2"]},{"1391790568":["hashtag1","hashtag2"]},{"1391790565":["hashtag1","hashtag2"]},{"1391790579":["hashtag1","hashtag2"]},{"1391790561":["hashtag1","hashtag2"]},{"1391790575":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790571, 1391790568, 1391790565, 1391790579, 1391790561, 1391790575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.130555391311646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 05:37:42.648238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_24_1630.jpg', '/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_26_1626.jpg', '/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_28_2664.jpg', '/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_32_3763.jpg', '/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_35_2624.jpg', '/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_37_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/09/05/image_30102025_09_05_24_1630.jpg
/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_26_1626.jpg
/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_28_2664.jpg
/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_32_3763.jpg
/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_35_2624.jpg
/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_37_2598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790602","1391790589","1391790594","1391790607","1391790605","1391790598"],"photo_ids_order":["1391790589","1391790594","1391790598","1391790602","1391790605","1391790607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1be047d37e1e5c53bce7ab66bb246905.jpg","text":"TemporaryFile(/tmp/multipartBody4497966014203055722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058323789,"filename":"image_30102025_09_05_32_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/2/9e670e1862630d8d02523dd5d8cbc8d1.jpg","text":"TemporaryFile(/tmp/multipartBody5514760432865745471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058323789,"filename":"image_30102025_09_05_24_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/2/3c719e5e38f243d9d116fc3f55c6985d.jpg","text":"TemporaryFile(/tmp/multipartBody2392819960552060336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058323789,"filename":"image_30102025_09_05_26_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/2/5833b467421f001f7b47c2ad1c894896.jpg","text":"TemporaryFile(/tmp/multipartBody1103765481131257440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058323789,"filename":"image_30102025_09_05_37_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/2/f470a1771adb982769d92e623d81323c.jpg","text":"TemporaryFile(/tmp/multipartBody6478900078515200770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058323789,"filename":"image_30102025_09_05_35_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/2/6947637fd4de6b9c08113b5e015fead8.jpg","text":"TemporaryFile(/tmp/multipartBody5266894620987039471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058323789,"filename":"image_30102025_09_05_28_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790598","file1":"1391790594","file0":"1391790589","file4":"1391790605","file5":"1391790607","file3":"1391790602"},"map_files_photo_id_array":[{"photo_id":"1391790607","filename":"file5"},{"photo_id":"1391790598","filename":"file2"},{"photo_id":"1391790605","filename":"file4"},{"photo_id":"1391790594","filename":"file1"},{"photo_id":"1391790589","filename":"file0"},{"photo_id":"1391790602","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790602":["hashtag1","hashtag2"]},{"1391790589":["hashtag1","hashtag2"]},{"1391790594":["hashtag1","hashtag2"]},{"1391790607":["hashtag1","hashtag2"]},{"1391790605":["hashtag1","hashtag2"]},{"1391790598":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790602, 1391790589, 1391790594, 1391790607, 1391790605, 1391790598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70085334777832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:38:22.794551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_41_3732.jpg', '/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_44_2682.jpg', '/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_49_5264.jpg', '/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_51_1785.jpg', '/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_52_1509.jpg', '/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_56_3789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_41_3732.jpg
/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_44_2682.jpg
/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_49_5264.jpg
/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_51_1785.jpg
/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_52_1509.jpg
/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_56_3789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790634","1391790616","1391790625","1391790630","1391790612","1391790620"],"photo_ids_order":["1391790612","1391790616","1391790620","1391790625","1391790630","1391790634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a7a46eb0bcbc20e00ed4ebc07860086b.jpg","text":"TemporaryFile(/tmp/multipartBody3007985332259039419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058365485,"filename":"image_30102025_09_05_56_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/2/d877d060fb60b920d4e7e3de15b4eb66.jpg","text":"TemporaryFile(/tmp/multipartBody337523939684742796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058365485,"filename":"image_30102025_09_05_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/2/c0d1fecebbbfb238e4f21af90554499e.jpg","text":"TemporaryFile(/tmp/multipartBody404320665466655127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058365485,"filename":"image_30102025_09_05_51_1785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/596832196582932a88f06a1bc989f24b.jpg","text":"TemporaryFile(/tmp/multipartBody1888854850612271266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058365485,"filename":"image_30102025_09_05_52_1509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/29de4832bd63c1f058d675227362930d.jpg","text":"TemporaryFile(/tmp/multipartBody3717609149880689532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058365485,"filename":"image_30102025_09_05_41_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/2/06ef6197d3d42dbb7e6598e90672621c.jpg","text":"TemporaryFile(/tmp/multipartBody1013822215604150932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058365485,"filename":"image_30102025_09_05_49_5264.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790620","file1":"1391790616","file0":"1391790612","file4":"1391790630","file5":"1391790634","file3":"1391790625"},"map_files_photo_id_array":[{"photo_id":"1391790634","filename":"file5"},{"photo_id":"1391790620","filename":"file2"},{"photo_id":"1391790630","filename":"file4"},{"photo_id":"1391790616","filename":"file1"},{"photo_id":"1391790612","filename":"file0"},{"photo_id":"1391790625","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790634":["hashtag1","hashtag2"]},{"1391790616":["hashtag1","hashtag2"]},{"1391790625":["hashtag1","hashtag2"]},{"1391790630":["hashtag1","hashtag2"]},{"1391790612":["hashtag1","hashtag2"]},{"1391790620":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790634, 1391790616, 1391790625, 1391790630, 1391790612, 1391790620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.147186279296875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:39:02.828608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_59_2574.jpg', '/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_01_2640.jpg', '/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_05_3734.jpg', '/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_08_2656.jpg', '/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_10_2676.jpg', '/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_15_4239.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/05/image_30102025_09_05_59_2574.jpg
/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_01_2640.jpg
/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_05_3734.jpg
/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_08_2656.jpg
/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_10_2676.jpg
/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_15_4239.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790657","1391790651","1391790654","1391790648","1391790642","1391790644"],"photo_ids_order":["1391790642","1391790644","1391790648","1391790651","1391790654","1391790657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/876d20b23c8f04cb6dfed2e50c0f8bff.jpg","text":"TemporaryFile(/tmp/multipartBody820789604054666130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058405138,"filename":"image_30102025_09_06_15_4239.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5802f79b5d8b773d1e3af84e58abd631.jpg","text":"TemporaryFile(/tmp/multipartBody7422828710824701668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058405138,"filename":"image_30102025_09_06_08_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/2/79fa26e989b4dbe5c1d8fad352a0658e.jpg","text":"TemporaryFile(/tmp/multipartBody4083036548627900054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058405138,"filename":"image_30102025_09_06_10_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/2/ca4ebdb477d4e616ab4c06919c5e787a.jpg","text":"TemporaryFile(/tmp/multipartBody270872640241438784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058405138,"filename":"image_30102025_09_06_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/2/fd8083cab3caee519a21ac5048a11644.jpg","text":"TemporaryFile(/tmp/multipartBody7862603307433265833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058405138,"filename":"image_30102025_09_05_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/2/3181fa3d7e20b5526d87de2402a5b2ef.jpg","text":"TemporaryFile(/tmp/multipartBody3334366835473444203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058405138,"filename":"image_30102025_09_06_01_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790648","file1":"1391790644","file0":"1391790642","file4":"1391790654","file5":"1391790657","file3":"1391790651"},"map_files_photo_id_array":[{"photo_id":"1391790657","filename":"file5"},{"photo_id":"1391790648","filename":"file2"},{"photo_id":"1391790654","filename":"file4"},{"photo_id":"1391790644","filename":"file1"},{"photo_id":"1391790642","filename":"file0"},{"photo_id":"1391790651","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790657":["hashtag1","hashtag2"]},{"1391790651":["hashtag1","hashtag2"]},{"1391790654":["hashtag1","hashtag2"]},{"1391790648":["hashtag1","hashtag2"]},{"1391790642":["hashtag1","hashtag2"]},{"1391790644":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790657, 1391790651, 1391790654, 1391790648, 1391790642, 1391790644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.748619079589844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 05:39:41.978943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_17_1821.jpg', '/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_19_2846.jpg', '/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_23_3790.jpg', '/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_26_2690.jpg', '/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_29_2752.jpg', '/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_31_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/09/06/image_30102025_09_06_17_1821.jpg
/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_19_2846.jpg
/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_23_3790.jpg
/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_26_2690.jpg
/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_29_2752.jpg
/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_31_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790679","1391790673","1391790667","1391790676","1391790681","1391790684"],"photo_ids_order":["1391790667","1391790673","1391790676","1391790679","1391790681","1391790684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6f7241ae7d949ce494539231c0bc352e.jpg","text":"TemporaryFile(/tmp/multipartBody7791784719922991951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058443085,"filename":"image_30102025_09_06_26_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/2/4e7e2b369ac6e6c9102590cc32656abd.jpg","text":"TemporaryFile(/tmp/multipartBody6044485380093597532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058443085,"filename":"image_30102025_09_06_19_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/2/820d2c12f632b00fba977f4e1559982f.jpg","text":"TemporaryFile(/tmp/multipartBody8038510717383625301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058443085,"filename":"image_30102025_09_06_17_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/2/a6530d0f27f367fd3f4d91de7c6cd679.jpg","text":"TemporaryFile(/tmp/multipartBody7735946556060363788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058443085,"filename":"image_30102025_09_06_23_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/2/628da4f99736e4c9f4c00e4e096d767a.jpg","text":"TemporaryFile(/tmp/multipartBody6937493172987921603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058443085,"filename":"image_30102025_09_06_29_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/2/03f410d6572b92419a7376c647657af1.jpg","text":"TemporaryFile(/tmp/multipartBody350272780709117946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058443085,"filename":"image_30102025_09_06_31_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790676","file1":"1391790673","file0":"1391790667","file4":"1391790681","file5":"1391790684","file3":"1391790679"},"map_files_photo_id_array":[{"photo_id":"1391790684","filename":"file5"},{"photo_id":"1391790676","filename":"file2"},{"photo_id":"1391790681","filename":"file4"},{"photo_id":"1391790673","filename":"file1"},{"photo_id":"1391790667","filename":"file0"},{"photo_id":"1391790679","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790679":["hashtag1","hashtag2"]},{"1391790673":["hashtag1","hashtag2"]},{"1391790667":["hashtag1","hashtag2"]},{"1391790676":["hashtag1","hashtag2"]},{"1391790681":["hashtag1","hashtag2"]},{"1391790684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790679, 1391790673, 1391790667, 1391790676, 1391790681, 1391790684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15245532989502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:40:22.090609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_35_3599.jpg', '/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_38_2755.jpg', '/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_40_2784.jpg', '/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_44_3643.jpg', '/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_47_2869.jpg', '/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_49_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/09/06/image_30102025_09_06_35_3599.jpg
/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_38_2755.jpg
/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_40_2784.jpg
/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_44_3643.jpg
/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_47_2869.jpg
/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_49_2567.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790694","1391790706","1391790696","1391790699","1391790702","1391790692"],"photo_ids_order":["1391790692","1391790694","1391790696","1391790699","1391790702","1391790706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7c9c919c1a728362f7ee181d5c0c2830.jpg","text":"TemporaryFile(/tmp/multipartBody7345431805508022048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058484781,"filename":"image_30102025_09_06_38_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/2/da399c1679143674ab96bce984f4f016.jpg","text":"TemporaryFile(/tmp/multipartBody1273873265151830090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058484781,"filename":"image_30102025_09_06_49_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/2/ee5b01655a14bd2b3094a2f9a22c13ec.jpg","text":"TemporaryFile(/tmp/multipartBody8758395825056594682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058484781,"filename":"image_30102025_09_06_40_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/2/afa7578f2b4cb9cf56532c9c18665509.jpg","text":"TemporaryFile(/tmp/multipartBody3941957613676732744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058484781,"filename":"image_30102025_09_06_44_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/2/afd88814695e98856222111308a0d678.jpg","text":"TemporaryFile(/tmp/multipartBody8999942538945896131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058484781,"filename":"image_30102025_09_06_47_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/2/f08d90f9afbf104cabbad9f2b2f4375e.jpg","text":"TemporaryFile(/tmp/multipartBody5591207222335987080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058484781,"filename":"image_30102025_09_06_35_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790696","file1":"1391790694","file0":"1391790692","file4":"1391790702","file5":"1391790706","file3":"1391790699"},"map_files_photo_id_array":[{"photo_id":"1391790706","filename":"file5"},{"photo_id":"1391790696","filename":"file2"},{"photo_id":"1391790702","filename":"file4"},{"photo_id":"1391790694","filename":"file1"},{"photo_id":"1391790692","filename":"file0"},{"photo_id":"1391790699","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790694":["hashtag1","hashtag2"]},{"1391790706":["hashtag1","hashtag2"]},{"1391790696":["hashtag1","hashtag2"]},{"1391790699":["hashtag1","hashtag2"]},{"1391790702":["hashtag1","hashtag2"]},{"1391790692":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790694, 1391790706, 1391790696, 1391790699, 1391790702, 1391790692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90801930427551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:41:02.985086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_53_3692.jpg', '/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_56_2667.jpg', '/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_59_2652.jpg', '/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_02_3616.jpg', '/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_05_2647.jpg', '/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_11_3792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_53_3692.jpg
/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_56_2667.jpg
/home/pi/Desktop/images/30102025/09/06/image_30102025_09_06_59_2652.jpg
/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_02_3616.jpg
/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_05_2647.jpg
/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_11_3792.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790721","1391790715","1391790724","1391790718","1391790726","1391790728"],"photo_ids_order":["1391790715","1391790718","1391790721","1391790724","1391790726","1391790728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f50072c62528e5063745933adb5dbc69.jpg","text":"TemporaryFile(/tmp/multipartBody6675220269034485550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058525210,"filename":"image_30102025_09_06_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/2/22c38da3699304e66c6d9654c2f57f5c.jpg","text":"TemporaryFile(/tmp/multipartBody1460842858115129650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058525210,"filename":"image_30102025_09_06_53_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/2/6125ee33fd152cf07b728a5bcac3dbb3.jpg","text":"TemporaryFile(/tmp/multipartBody740483518115255566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058525210,"filename":"image_30102025_09_07_02_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/2/9403a44a2990d2eeea41bf9f34f59001.jpg","text":"TemporaryFile(/tmp/multipartBody1359434649186811449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058525210,"filename":"image_30102025_09_06_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/2/e8bf199a88656ea1dde8180091db0007.jpg","text":"TemporaryFile(/tmp/multipartBody6672815340745915936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058525210,"filename":"image_30102025_09_07_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/2/e3dd23e92acefa3e9eef08c63aa2d2ee.jpg","text":"TemporaryFile(/tmp/multipartBody6172459643024286577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058525210,"filename":"image_30102025_09_07_11_3792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790721","file1":"1391790718","file0":"1391790715","file4":"1391790726","file5":"1391790728","file3":"1391790724"},"map_files_photo_id_array":[{"photo_id":"1391790728","filename":"file5"},{"photo_id":"1391790721","filename":"file2"},{"photo_id":"1391790726","filename":"file4"},{"photo_id":"1391790718","filename":"file1"},{"photo_id":"1391790715","filename":"file0"},{"photo_id":"1391790724","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790721":["hashtag1","hashtag2"]},{"1391790715":["hashtag1","hashtag2"]},{"1391790724":["hashtag1","hashtag2"]},{"1391790718":["hashtag1","hashtag2"]},{"1391790726":["hashtag1","hashtag2"]},{"1391790728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790721, 1391790715, 1391790724, 1391790718, 1391790726, 1391790728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.869587421417236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 05:41:42.329070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_14_2590.jpg', '/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_16_2691.jpg', '/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_19_2745.jpg', '/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_23_3606.jpg', '/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_26_2868.jpg', '/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_28_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/09/07/image_30102025_09_07_14_2590.jpg
/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_16_2691.jpg
/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_19_2745.jpg
/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_23_3606.jpg
/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_26_2868.jpg
/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_28_2586.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790742","1391790750","1391790744","1391790747","1391790737","1391790746"],"photo_ids_order":["1391790737","1391790742","1391790744","1391790746","1391790747","1391790750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/aa87b21e92c314f8c8a6c4aa57d6a329.jpg","text":"TemporaryFile(/tmp/multipartBody7383700576496184097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058563436,"filename":"image_30102025_09_07_16_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/2/a1a135efa4b970cb1914e6e79e320145.jpg","text":"TemporaryFile(/tmp/multipartBody3821196483946551625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058563436,"filename":"image_30102025_09_07_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/2/81c1467452cd2591d19735095b971ec0.jpg","text":"TemporaryFile(/tmp/multipartBody4343642934893424411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058563436,"filename":"image_30102025_09_07_19_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/2/e68721f2da91abb5f1db4aac340f60ab.jpg","text":"TemporaryFile(/tmp/multipartBody7757356416361089213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058563436,"filename":"image_30102025_09_07_26_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/2/0826ace2bfee9fabaf9787927ce77137.jpg","text":"TemporaryFile(/tmp/multipartBody2407106346084259572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058563436,"filename":"image_30102025_09_07_14_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/2/a693bfc713c97a8d4efe1ee35be301b9.jpg","text":"TemporaryFile(/tmp/multipartBody5891066333216560687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058563436,"filename":"image_30102025_09_07_23_3606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790744","file1":"1391790742","file0":"1391790737","file4":"1391790747","file5":"1391790750","file3":"1391790746"},"map_files_photo_id_array":[{"photo_id":"1391790750","filename":"file5"},{"photo_id":"1391790744","filename":"file2"},{"photo_id":"1391790747","filename":"file4"},{"photo_id":"1391790742","filename":"file1"},{"photo_id":"1391790737","filename":"file0"},{"photo_id":"1391790746","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790742":["hashtag1","hashtag2"]},{"1391790750":["hashtag1","hashtag2"]},{"1391790744":["hashtag1","hashtag2"]},{"1391790747":["hashtag1","hashtag2"]},{"1391790737":["hashtag1","hashtag2"]},{"1391790746":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790742, 1391790750, 1391790744, 1391790747, 1391790737, 1391790746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09870529174805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:42:22.420204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_32_3636.jpg', '/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_35_2773.jpg', '/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_37_2708.jpg', '/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_41_3619.jpg', '/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_44_2678.jpg', '/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_46_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/09/07/image_30102025_09_07_32_3636.jpg
/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_35_2773.jpg
/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_37_2708.jpg
/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_41_3619.jpg
/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_44_2678.jpg
/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_46_2654.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.7028820514678955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 05:42:42.484457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_32_3636.jpg', '/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_35_2773.jpg', '/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_37_2708.jpg', '/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_41_3619.jpg', '/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_44_2678.jpg', '/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_46_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/09/07/image_30102025_09_07_32_3636.jpg
/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_35_2773.jpg
/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_37_2708.jpg
/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_41_3619.jpg
/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_44_2678.jpg
/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_46_2654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790787","1391790775","1391790771","1391790785","1391790782","1391790779"],"photo_ids_order":["1391790771","1391790775","1391790779","1391790782","1391790785","1391790787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cf735d0299fdd1b4e6bf692b34bfc976.jpg","text":"TemporaryFile(/tmp/multipartBody7137438246149432869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058623498,"filename":"image_30102025_09_07_46_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/2/a97aaeb71cfbce11917f45fd16d612d2.jpg","text":"TemporaryFile(/tmp/multipartBody6788640353008235053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058623498,"filename":"image_30102025_09_07_35_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/2/dbd4b3aa3772ffb58cd11263783ef6aa.jpg","text":"TemporaryFile(/tmp/multipartBody7900331752408527514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058623498,"filename":"image_30102025_09_07_32_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/2/861440fad50eec620109d2c749187239.jpg","text":"TemporaryFile(/tmp/multipartBody8577449132421663484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058623498,"filename":"image_30102025_09_07_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/2/ca34a1a5644a225fe913196e22d07784.jpg","text":"TemporaryFile(/tmp/multipartBody5636260808196798196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058623498,"filename":"image_30102025_09_07_41_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/2/5413fa4288adaf4c291df44a5f386b77.jpg","text":"TemporaryFile(/tmp/multipartBody3456945403847287859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058623498,"filename":"image_30102025_09_07_37_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790779","file1":"1391790775","file0":"1391790771","file4":"1391790785","file5":"1391790787","file3":"1391790782"},"map_files_photo_id_array":[{"photo_id":"1391790787","filename":"file5"},{"photo_id":"1391790779","filename":"file2"},{"photo_id":"1391790785","filename":"file4"},{"photo_id":"1391790775","filename":"file1"},{"photo_id":"1391790771","filename":"file0"},{"photo_id":"1391790782","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790787":["hashtag1","hashtag2"]},{"1391790775":["hashtag1","hashtag2"]},{"1391790771":["hashtag1","hashtag2"]},{"1391790785":["hashtag1","hashtag2"]},{"1391790782":["hashtag1","hashtag2"]},{"1391790779":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790787, 1391790775, 1391790771, 1391790785, 1391790782, 1391790779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03623151779175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:43:22.725236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_50_3672.jpg', '/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_53_2784.jpg', '/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_55_2636.jpg', '/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_05_2818.jpg', '/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_07_2617.jpg', '/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_11_3725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_50_3672.jpg
/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_53_2784.jpg
/home/pi/Desktop/images/30102025/09/07/image_30102025_09_07_55_2636.jpg
/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_05_2818.jpg
/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_07_2617.jpg
/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_11_3725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790809","1391790805","1391790795","1391790798","1391790801","1391790791"],"photo_ids_order":["1391790791","1391790795","1391790798","1391790801","1391790805","1391790809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/231e7f76765124090b6fa128c5cfdd06.jpg","text":"TemporaryFile(/tmp/multipartBody2699081049701113973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058665452,"filename":"image_30102025_09_08_11_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/2/dc71fe632eebaad6d85db91afc9ba1f9.jpg","text":"TemporaryFile(/tmp/multipartBody8291099874543796448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058665452,"filename":"image_30102025_09_08_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/2/0ee58df10d1adb34e540688eb0f5f523.jpg","text":"TemporaryFile(/tmp/multipartBody7119033168033714316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058665452,"filename":"image_30102025_09_07_53_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/2/fcfbdb1df626f979cc6cab620526aa3a.jpg","text":"TemporaryFile(/tmp/multipartBody2869161006173356352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058665452,"filename":"image_30102025_09_07_55_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/2/0dd1f61f65a67e9e8a4adbeb9fd87a99.jpg","text":"TemporaryFile(/tmp/multipartBody8027146534706484856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058665452,"filename":"image_30102025_09_08_05_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/2/0934ba8c4742529c8c43bca047a6b0d2.jpg","text":"TemporaryFile(/tmp/multipartBody5279453262874298045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058665452,"filename":"image_30102025_09_07_50_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790798","file1":"1391790795","file0":"1391790791","file4":"1391790805","file5":"1391790809","file3":"1391790801"},"map_files_photo_id_array":[{"photo_id":"1391790809","filename":"file5"},{"photo_id":"1391790798","filename":"file2"},{"photo_id":"1391790805","filename":"file4"},{"photo_id":"1391790795","filename":"file1"},{"photo_id":"1391790791","filename":"file0"},{"photo_id":"1391790801","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790809":["hashtag1","hashtag2"]},{"1391790805":["hashtag1","hashtag2"]},{"1391790795":["hashtag1","hashtag2"]},{"1391790798":["hashtag1","hashtag2"]},{"1391790801":["hashtag1","hashtag2"]},{"1391790791":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790809, 1391790805, 1391790795, 1391790798, 1391790801, 1391790791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.811107873916626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:44:21.933029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_14_2701.jpg', '/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_16_2595.jpg', '/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_20_3610.jpg', '/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_22_2698.jpg', '/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_25_2596.jpg', '/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_34_2842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_14_2701.jpg
/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_16_2595.jpg
/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_20_3610.jpg
/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_22_2698.jpg
/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_25_2596.jpg
/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_34_2842.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790829","1391790838","1391790831","1391790834","1391790824","1391790827"],"photo_ids_order":["1391790824","1391790827","1391790829","1391790831","1391790834","1391790838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8db7b88eaff557463fc7147754c5abcc.jpg","text":"TemporaryFile(/tmp/multipartBody1816265735700533586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058724630,"filename":"image_30102025_09_08_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/2/86ea4c8bfc9cfc1cb0cac9b1c281bcdd.jpg","text":"TemporaryFile(/tmp/multipartBody6555250601626902511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058724630,"filename":"image_30102025_09_08_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/2/f80cd28cbe7d6f9a2eeeeb0c3a0f951b.jpg","text":"TemporaryFile(/tmp/multipartBody8192010895202800996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058724630,"filename":"image_30102025_09_08_22_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/2/3d1444c097b876564156aef14590752f.jpg","text":"TemporaryFile(/tmp/multipartBody4044639585616197568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058724630,"filename":"image_30102025_09_08_25_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/2/d32c7da8e8311714932288e41c290421.jpg","text":"TemporaryFile(/tmp/multipartBody2797726456001035441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058724630,"filename":"image_30102025_09_08_14_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/2/0bc340ad496e1f2fb1027ecb5f3888c7.jpg","text":"TemporaryFile(/tmp/multipartBody2812070211933836271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058724630,"filename":"image_30102025_09_08_16_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790829","file1":"1391790827","file0":"1391790824","file4":"1391790834","file5":"1391790838","file3":"1391790831"},"map_files_photo_id_array":[{"photo_id":"1391790838","filename":"file5"},{"photo_id":"1391790829","filename":"file2"},{"photo_id":"1391790834","filename":"file4"},{"photo_id":"1391790827","filename":"file1"},{"photo_id":"1391790824","filename":"file0"},{"photo_id":"1391790831","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790829":["hashtag1","hashtag2"]},{"1391790838":["hashtag1","hashtag2"]},{"1391790831":["hashtag1","hashtag2"]},{"1391790834":["hashtag1","hashtag2"]},{"1391790824":["hashtag1","hashtag2"]},{"1391790827":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790829, 1391790838, 1391790831, 1391790834, 1391790824, 1391790827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.838300704956055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:45:02.781140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_38_3640.jpg', '/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_41_2620.jpg', '/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_43_2781.jpg', '/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_47_3637.jpg', '/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_50_2775.jpg', '/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_52_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/09/08/image_30102025_09_08_38_3640.jpg
/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_41_2620.jpg
/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_43_2781.jpg
/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_47_3637.jpg
/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_50_2775.jpg
/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_52_2687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790862","1391790859","1391790856","1391790852","1391790849","1391790854"],"photo_ids_order":["1391790849","1391790852","1391790854","1391790856","1391790859","1391790862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f1c200d9efe1e866af19e4e270347ef0.jpg","text":"TemporaryFile(/tmp/multipartBody8480495320062759595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058764953,"filename":"image_30102025_09_08_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/2/9b8607cc12e0a79880531cef1801dc88.jpg","text":"TemporaryFile(/tmp/multipartBody4837397434387446347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058764953,"filename":"image_30102025_09_08_50_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/2/bb783a83cc4ef7abb257562e1d4795c2.jpg","text":"TemporaryFile(/tmp/multipartBody1987607652953139985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058764953,"filename":"image_30102025_09_08_47_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/2/c76d2e64fe04a869aff7529e72aed2c3.jpg","text":"TemporaryFile(/tmp/multipartBody7540258138316300836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058764953,"filename":"image_30102025_09_08_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/2/e87b891421fb3a5bc665b7f0a6708759.jpg","text":"TemporaryFile(/tmp/multipartBody4841069363648865520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058764953,"filename":"image_30102025_09_08_38_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/2/0ab921c535c82a1d92cbd67546d8f9c4.jpg","text":"TemporaryFile(/tmp/multipartBody4752856264312548090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058764953,"filename":"image_30102025_09_08_43_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790854","file1":"1391790852","file0":"1391790849","file4":"1391790859","file5":"1391790862","file3":"1391790856"},"map_files_photo_id_array":[{"photo_id":"1391790862","filename":"file5"},{"photo_id":"1391790854","filename":"file2"},{"photo_id":"1391790859","filename":"file4"},{"photo_id":"1391790852","filename":"file1"},{"photo_id":"1391790849","filename":"file0"},{"photo_id":"1391790856","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790862":["hashtag1","hashtag2"]},{"1391790859":["hashtag1","hashtag2"]},{"1391790856":["hashtag1","hashtag2"]},{"1391790852":["hashtag1","hashtag2"]},{"1391790849":["hashtag1","hashtag2"]},{"1391790854":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790862, 1391790859, 1391790856, 1391790852, 1391790849, 1391790854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91316103935242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 05:45:42.031246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_55_2816.jpg', '/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_58_2732.jpg', '/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_02_3781.jpg', '/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_07_2707.jpg', '/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_10_2813.jpg', '/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_14_3602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_55_2816.jpg
/home/pi/Desktop/images/30102025/09/08/image_30102025_09_08_58_2732.jpg
/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_02_3781.jpg
/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_07_2707.jpg
/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_10_2813.jpg
/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_14_3602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790877","1391790871","1391790888","1391790873","1391790882","1391790884"],"photo_ids_order":["1391790871","1391790873","1391790877","1391790882","1391790884","1391790888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a9b0d410d176a3dba7d6425d21754e42.jpg","text":"TemporaryFile(/tmp/multipartBody4166602537196785801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058803148,"filename":"image_30102025_09_09_02_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/2/39f169916d5a7cb70a0595883ac43878.jpg","text":"TemporaryFile(/tmp/multipartBody18483197944809485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058803148,"filename":"image_30102025_09_08_55_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/2/ac1587d185c14e8b6d8e006aa27c9296.jpg","text":"TemporaryFile(/tmp/multipartBody7314628735240793888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058803148,"filename":"image_30102025_09_09_14_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/2/6478d8c6ac94e5cf50cff7a3a81c5e93.jpg","text":"TemporaryFile(/tmp/multipartBody5177758275562543584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058803148,"filename":"image_30102025_09_08_58_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/2/75ccc8406781bb696e77d262b5b67660.jpg","text":"TemporaryFile(/tmp/multipartBody6963682653141226283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058803148,"filename":"image_30102025_09_09_07_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/2/faac7aca08ef60b6cccf300d9b413ba0.jpg","text":"TemporaryFile(/tmp/multipartBody2238780078573168769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058803148,"filename":"image_30102025_09_09_10_2813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790877","file1":"1391790873","file0":"1391790871","file4":"1391790884","file5":"1391790888","file3":"1391790882"},"map_files_photo_id_array":[{"photo_id":"1391790888","filename":"file5"},{"photo_id":"1391790877","filename":"file2"},{"photo_id":"1391790884","filename":"file4"},{"photo_id":"1391790873","filename":"file1"},{"photo_id":"1391790871","filename":"file0"},{"photo_id":"1391790882","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790877":["hashtag1","hashtag2"]},{"1391790871":["hashtag1","hashtag2"]},{"1391790888":["hashtag1","hashtag2"]},{"1391790873":["hashtag1","hashtag2"]},{"1391790882":["hashtag1","hashtag2"]},{"1391790884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790877, 1391790871, 1391790888, 1391790873, 1391790882, 1391790884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85970735549927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:46:22.170368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_16_2679.jpg', '/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_25_2646.jpg', '/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_28_2685.jpg', '/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_34_2696.jpg', '/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_37_2773.jpg', '/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_40_2837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_16_2679.jpg
/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_25_2646.jpg
/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_28_2685.jpg
/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_34_2696.jpg
/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_37_2773.jpg
/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_40_2837.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790907","1391790904","1391790896","1391790900","1391790902","1391790911"],"photo_ids_order":["1391790896","1391790900","1391790902","1391790904","1391790907","1391790911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/87debb7a4b08974a7629d9e97d1bf6da.jpg","text":"TemporaryFile(/tmp/multipartBody3921372387642449986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058844873,"filename":"image_30102025_09_09_37_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/2/6819c62635600c0606aa13386a2d53b8.jpg","text":"TemporaryFile(/tmp/multipartBody5799307556475461736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058844873,"filename":"image_30102025_09_09_34_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/2/b778eed1a51260698a61fa4d0dbd6b55.jpg","text":"TemporaryFile(/tmp/multipartBody8464046677832540069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058844873,"filename":"image_30102025_09_09_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/2/b3d56f9700c173188fd375d337d25a68.jpg","text":"TemporaryFile(/tmp/multipartBody6084164333857763260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058844873,"filename":"image_30102025_09_09_25_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/2/6f9175e16466fade3c725691a4475e37.jpg","text":"TemporaryFile(/tmp/multipartBody1479776835019900619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058844873,"filename":"image_30102025_09_09_28_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/2/9a132b5130f8ef9afbb30136e1af816b.jpg","text":"TemporaryFile(/tmp/multipartBody420391117757556954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058844873,"filename":"image_30102025_09_09_40_2837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790902","file1":"1391790900","file0":"1391790896","file4":"1391790907","file5":"1391790911","file3":"1391790904"},"map_files_photo_id_array":[{"photo_id":"1391790911","filename":"file5"},{"photo_id":"1391790902","filename":"file2"},{"photo_id":"1391790907","filename":"file4"},{"photo_id":"1391790900","filename":"file1"},{"photo_id":"1391790896","filename":"file0"},{"photo_id":"1391790904","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790907":["hashtag1","hashtag2"]},{"1391790904":["hashtag1","hashtag2"]},{"1391790896":["hashtag1","hashtag2"]},{"1391790900":["hashtag1","hashtag2"]},{"1391790902":["hashtag1","hashtag2"]},{"1391790911":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790907, 1391790904, 1391790896, 1391790900, 1391790902, 1391790911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14293432235718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:47:03.071809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_44_3627.jpg', '/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_46_2585.jpg', '/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_52_2672.jpg', '/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_55_2666.jpg', '/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_59_3709.jpg', '/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_02_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/09/09/image_30102025_09_09_44_3627.jpg
/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_46_2585.jpg
/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_52_2672.jpg
/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_55_2666.jpg
/home/pi/Desktop/images/30102025/09/09/image_30102025_09_09_59_3709.jpg
/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_02_2797.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790928","1391790930","1391790924","1391790933","1391790935","1391790938"],"photo_ids_order":["1391790924","1391790928","1391790930","1391790933","1391790935","1391790938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/35b6e5c82d03cdb95c65248590b80c12.jpg","text":"TemporaryFile(/tmp/multipartBody3795846101251715808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058885260,"filename":"image_30102025_09_09_46_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/2/1abb4e030a7edfb32b9a0262ad004ff6.jpg","text":"TemporaryFile(/tmp/multipartBody7192928770769909635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058885260,"filename":"image_30102025_09_09_52_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/2/953b492752a8475dd2293a610977e962.jpg","text":"TemporaryFile(/tmp/multipartBody7907537659712558743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058885260,"filename":"image_30102025_09_09_44_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/2/56a778adcfc94711b6257bedc439ba5d.jpg","text":"TemporaryFile(/tmp/multipartBody968192931597776753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058885260,"filename":"image_30102025_09_09_55_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/2/3f97b2f1bb69a1b0e66e4dc643d55fb9.jpg","text":"TemporaryFile(/tmp/multipartBody4324140750238798584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058885260,"filename":"image_30102025_09_09_59_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/2/426cb1cad541a732824c68a0b05da881.jpg","text":"TemporaryFile(/tmp/multipartBody4335821880870224683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058885260,"filename":"image_30102025_09_10_02_2797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790930","file1":"1391790928","file0":"1391790924","file4":"1391790935","file5":"1391790938","file3":"1391790933"},"map_files_photo_id_array":[{"photo_id":"1391790938","filename":"file5"},{"photo_id":"1391790930","filename":"file2"},{"photo_id":"1391790935","filename":"file4"},{"photo_id":"1391790928","filename":"file1"},{"photo_id":"1391790924","filename":"file0"},{"photo_id":"1391790933","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790928":["hashtag1","hashtag2"]},{"1391790930":["hashtag1","hashtag2"]},{"1391790924":["hashtag1","hashtag2"]},{"1391790933":["hashtag1","hashtag2"]},{"1391790935":["hashtag1","hashtag2"]},{"1391790938":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790928, 1391790930, 1391790924, 1391790933, 1391790935, 1391790938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52755403518677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 05:47:42.412746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_04_2830.jpg', '/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_11_3628.jpg', '/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_14_2857.jpg', '/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_16_2771.jpg', '/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_23_3642.jpg', '/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_25_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/09/10/image_30102025_09_10_04_2830.jpg
/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_11_3628.jpg
/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_14_2857.jpg
/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_16_2771.jpg
/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_23_3642.jpg
/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_25_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790964","1391790949","1391790954","1391790959","1391790968","1391790962"],"photo_ids_order":["1391790949","1391790954","1391790959","1391790962","1391790964","1391790968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/27a90894f677a174a7f7a877addac5a4.jpg","text":"TemporaryFile(/tmp/multipartBody8761913879921113405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058923526,"filename":"image_30102025_09_10_23_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/2/826cf315c5a1271894aaa73563788798.jpg","text":"TemporaryFile(/tmp/multipartBody8600963183587282975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058923526,"filename":"image_30102025_09_10_04_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/2/953c05293d57d84a7bd2478132ef5ca3.jpg","text":"TemporaryFile(/tmp/multipartBody6112981359553718748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058923526,"filename":"image_30102025_09_10_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/2/31cb5863981b2bbd39ff634a4a2fb48c.jpg","text":"TemporaryFile(/tmp/multipartBody5645504848192639626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058923526,"filename":"image_30102025_09_10_14_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/2/eaa54ec03f4e6facff382194854d42ee.jpg","text":"TemporaryFile(/tmp/multipartBody3451741070767936337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058923526,"filename":"image_30102025_09_10_25_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/2/a338348ef3ad603a510a5b96ceca6bf7.jpg","text":"TemporaryFile(/tmp/multipartBody2102796899715663024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058923526,"filename":"image_30102025_09_10_16_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790959","file1":"1391790954","file0":"1391790949","file4":"1391790964","file5":"1391790968","file3":"1391790962"},"map_files_photo_id_array":[{"photo_id":"1391790968","filename":"file5"},{"photo_id":"1391790959","filename":"file2"},{"photo_id":"1391790964","filename":"file4"},{"photo_id":"1391790954","filename":"file1"},{"photo_id":"1391790949","filename":"file0"},{"photo_id":"1391790962","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790964":["hashtag1","hashtag2"]},{"1391790949":["hashtag1","hashtag2"]},{"1391790954":["hashtag1","hashtag2"]},{"1391790959":["hashtag1","hashtag2"]},{"1391790968":["hashtag1","hashtag2"]},{"1391790962":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790964, 1391790949, 1391790954, 1391790959, 1391790968, 1391790962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05970621109009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:48:24.547217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_28_2552.jpg', '/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_34_2722.jpg', '/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_37_2539.jpg', '/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_41_3764.jpg', '/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_43_2610.jpg', '/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_50_3678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_28_2552.jpg
/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_34_2722.jpg
/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_37_2539.jpg
/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_41_3764.jpg
/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_43_2610.jpg
/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_50_3678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391790997","1391790991","1391790978","1391790983","1391790986","1391790980"],"photo_ids_order":["1391790978","1391790980","1391790983","1391790986","1391790991","1391790997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4b6e4b6ae800ee8d9b648d31c6e87f4a.jpg","text":"TemporaryFile(/tmp/multipartBody8967354889445360722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058967320,"filename":"image_30102025_09_10_50_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/2/604408050095beb5a09f56a89ec648c4.jpg","text":"TemporaryFile(/tmp/multipartBody2912109539885845783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058967320,"filename":"image_30102025_09_10_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/2/ae84353a45d506bb824c9dd3c689c136.jpg","text":"TemporaryFile(/tmp/multipartBody6459395983680582571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058967320,"filename":"image_30102025_09_10_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/2/a96e5ad533e206f37f302755968f5cdb.jpg","text":"TemporaryFile(/tmp/multipartBody3340399011671452801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058967320,"filename":"image_30102025_09_10_37_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/2/ecf0290f645193673df3a455a41e4421.jpg","text":"TemporaryFile(/tmp/multipartBody2394960541175963301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058967320,"filename":"image_30102025_09_10_41_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/2/5bc73fc52ec2cf96683af345107b940d.jpg","text":"TemporaryFile(/tmp/multipartBody2677843476560886577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762058967320,"filename":"image_30102025_09_10_34_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391790983","file1":"1391790980","file0":"1391790978","file4":"1391790991","file5":"1391790997","file3":"1391790986"},"map_files_photo_id_array":[{"photo_id":"1391790997","filename":"file5"},{"photo_id":"1391790983","filename":"file2"},{"photo_id":"1391790991","filename":"file4"},{"photo_id":"1391790980","filename":"file1"},{"photo_id":"1391790978","filename":"file0"},{"photo_id":"1391790986","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391790997":["hashtag1","hashtag2"]},{"1391790991":["hashtag1","hashtag2"]},{"1391790978":["hashtag1","hashtag2"]},{"1391790983":["hashtag1","hashtag2"]},{"1391790986":["hashtag1","hashtag2"]},{"1391790980":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391790997, 1391790991, 1391790978, 1391790983, 1391790986, 1391790980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.147828102111816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:49:22.776710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_52_2596.jpg', '/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_55_2989.jpg', '/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_58_2565.jpg', '/home/pi/Desktop/images/30102025/09/10/image_30102025_09_11_01_3607.jpg', '/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_04_2671.jpg', '/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_07_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/09/10/image_30102025_09_10_52_2596.jpg
/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_55_2989.jpg
/home/pi/Desktop/images/30102025/09/10/image_30102025_09_10_58_2565.jpg
/home/pi/Desktop/images/30102025/09/10/image_30102025_09_11_01_3607.jpg
/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_04_2671.jpg
/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_07_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":["1391791030","1391791034","1391791037","1391791022","1391791025","1391791019"],"photo_ids_order":["1391791019","1391791022","1391791025","1391791030","1391791034","1391791037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3968539023905aa312a8a1898bbfa835.jpg","text":"TemporaryFile(/tmp/multipartBody1716001579344900112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059029060,"filename":"image_30102025_09_11_01_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/2/b267851eaa541e8b3bbfadaaa7638f80.jpg","text":"TemporaryFile(/tmp/multipartBody8216151979774305914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059029060,"filename":"image_30102025_09_11_04_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/2/6b3f9a494da0e6582354510ccd9cd63d.jpg","text":"TemporaryFile(/tmp/multipartBody55998538536247421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059029060,"filename":"image_30102025_09_11_07_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/2/4860fd9530c1d24425c35fdf159074ee.jpg","text":"TemporaryFile(/tmp/multipartBody6993346853892505048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059029060,"filename":"image_30102025_09_10_55_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/2/c882635a5286475a2ce0c3aea89050b3.jpg","text":"TemporaryFile(/tmp/multipartBody8486592012590066836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059029060,"filename":"image_30102025_09_10_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/2/1cd7346d8fa6bdcf85691047d6022e75.jpg","text":"TemporaryFile(/tmp/multipartBody7771716507598294736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059029060,"filename":"image_30102025_09_10_52_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391791025","file1":"1391791022","file0":"1391791019","file4":"1391791034","file5":"1391791037","file3":"1391791030"},"map_files_photo_id_array":[{"photo_id":"1391791037","filename":"file5"},{"photo_id":"1391791025","filename":"file2"},{"photo_id":"1391791034","filename":"file4"},{"photo_id":"1391791022","filename":"file1"},{"photo_id":"1391791019","filename":"file0"},{"photo_id":"1391791030","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391791030":["hashtag1","hashtag2"]},{"1391791034":["hashtag1","hashtag2"]},{"1391791037":["hashtag1","hashtag2"]},{"1391791022":["hashtag1","hashtag2"]},{"1391791025":["hashtag1","hashtag2"]},{"1391791019":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391791030, 1391791034, 1391791037, 1391791022, 1391791025, 1391791019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.11763787269592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:50:25.243938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_11_3725.jpg', '/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_20_9761.jpg', '/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_22_1535.jpg', '/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_38_16102.jpg', '/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_40_1662.jpg', '/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_41_1545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_11_3725.jpg
/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_20_9761.jpg
/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_22_1535.jpg
/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_38_16102.jpg
/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_40_1662.jpg
/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_41_1545.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391791066","1391791051","1391791054","1391791050","1391791058","1391791063"],"photo_ids_order":["1391791050","1391791051","1391791054","1391791058","1391791063","1391791066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3154f34d735aa8c8ea2562cba4d81072.jpg","text":"TemporaryFile(/tmp/multipartBody8625526053712426691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059088185,"filename":"image_30102025_09_11_41_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/2/be09a7b069c9dd477c3f6e6139016376.jpg","text":"TemporaryFile(/tmp/multipartBody674971714727368578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059088185,"filename":"image_30102025_09_11_20_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c21777af2724f0eb5d65474b256ae69b.jpg","text":"TemporaryFile(/tmp/multipartBody7246089078686177414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059088185,"filename":"image_30102025_09_11_22_1535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b9ff0b1bc515c12909025eaa07bc4965.jpg","text":"TemporaryFile(/tmp/multipartBody5166373516028103207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059088185,"filename":"image_30102025_09_11_11_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/2/e08cea9069fa0e208c1552d2b8f01aa1.jpg","text":"TemporaryFile(/tmp/multipartBody31040160437967782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059088185,"filename":"image_30102025_09_11_38_16102.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3c3db71ae27c16a976022c3aad2794b0.jpg","text":"TemporaryFile(/tmp/multipartBody4638615975425817605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059088185,"filename":"image_30102025_09_11_40_1662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391791054","file1":"1391791051","file0":"1391791050","file4":"1391791063","file5":"1391791066","file3":"1391791058"},"map_files_photo_id_array":[{"photo_id":"1391791066","filename":"file5"},{"photo_id":"1391791054","filename":"file2"},{"photo_id":"1391791063","filename":"file4"},{"photo_id":"1391791051","filename":"file1"},{"photo_id":"1391791050","filename":"file0"},{"photo_id":"1391791058","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391791066":["hashtag1","hashtag2"]},{"1391791051":["hashtag1","hashtag2"]},{"1391791054":["hashtag1","hashtag2"]},{"1391791050":["hashtag1","hashtag2"]},{"1391791058":["hashtag1","hashtag2"]},{"1391791063":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391791066, 1391791051, 1391791054, 1391791050, 1391791058, 1391791063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65321683883667 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-02 05:51:22.395026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_43_1533.jpg', '/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_48_3597.jpg', '/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_50_1613.jpg', '/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_53_3548.jpg', '/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_55_1632.jpg', '/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_58_1662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_43_1533.jpg
/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_48_3597.jpg
/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_50_1613.jpg
/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_53_3548.jpg
/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_55_1632.jpg
/home/pi/Desktop/images/30102025/09/11/image_30102025_09_11_58_1662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391791080","1391791094","1391791082","1391791087","1391791090","1391791084"],"photo_ids_order":["1391791080","1391791082","1391791084","1391791087","1391791090","1391791094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a20f99e25e020b8b4c1e6c8de77da2fd.jpg","text":"TemporaryFile(/tmp/multipartBody3171378476001071976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059145073,"filename":"image_30102025_09_11_43_1533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9d990977e8c4975786f03b2ad9631eae.jpg","text":"TemporaryFile(/tmp/multipartBody6323740332579662097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059145073,"filename":"image_30102025_09_11_58_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/2/1844624a5809cf54370153f840250db3.jpg","text":"TemporaryFile(/tmp/multipartBody3669989072763098953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059145073,"filename":"image_30102025_09_11_48_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/2/735681c94c966130cfbae27fe0d1fcaf.jpg","text":"TemporaryFile(/tmp/multipartBody2630978826218611869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059145073,"filename":"image_30102025_09_11_53_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/2/78f0f9988f43612fdda604567c477bac.jpg","text":"TemporaryFile(/tmp/multipartBody7912891999258638037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059145073,"filename":"image_30102025_09_11_55_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/2/7af591ff39d07abb4ca1e88315981dd8.jpg","text":"TemporaryFile(/tmp/multipartBody5413625041265112628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059145073,"filename":"image_30102025_09_11_50_1613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391791084","file1":"1391791082","file0":"1391791080","file4":"1391791090","file5":"1391791094","file3":"1391791087"},"map_files_photo_id_array":[{"photo_id":"1391791094","filename":"file5"},{"photo_id":"1391791084","filename":"file2"},{"photo_id":"1391791090","filename":"file4"},{"photo_id":"1391791082","filename":"file1"},{"photo_id":"1391791080","filename":"file0"},{"photo_id":"1391791087","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391791080":["hashtag1","hashtag2"]},{"1391791094":["hashtag1","hashtag2"]},{"1391791082":["hashtag1","hashtag2"]},{"1391791087":["hashtag1","hashtag2"]},{"1391791090":["hashtag1","hashtag2"]},{"1391791084":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391791080, 1391791094, 1391791082, 1391791087, 1391791090, 1391791084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59746170043945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:52:03.070075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/11/image_30102025_09_12_00_1697.jpg', '/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_01_1662.jpg', '/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_09_1701.jpg', '/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_10_1616.jpg', '/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_14_1541.jpg', '/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_15_1608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/11/image_30102025_09_12_00_1697.jpg
/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_01_1662.jpg
/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_09_1701.jpg
/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_10_1616.jpg
/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_14_1541.jpg
/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_15_1608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391791111","1391791120","1391791114","1391791117","1391791107","1391791109"],"photo_ids_order":["1391791107","1391791109","1391791111","1391791114","1391791117","1391791120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/de85daea77cd0e68925128ce8e567323.jpg","text":"TemporaryFile(/tmp/multipartBody5466991482531592742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059185227,"filename":"image_30102025_09_12_09_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2a23e4d8bbaf886787c89ee9842631c6.jpg","text":"TemporaryFile(/tmp/multipartBody8720939995740939817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059185227,"filename":"image_30102025_09_12_15_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/2/bb6562f4ceb6fd58f8be3757690f1af3.jpg","text":"TemporaryFile(/tmp/multipartBody4438001429055041387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059185227,"filename":"image_30102025_09_12_10_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/2/d351afd74875f10526624ff38fc6b83f.jpg","text":"TemporaryFile(/tmp/multipartBody4929799172285920395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059185227,"filename":"image_30102025_09_12_14_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/2/b0a12bdb1abf9fa470be3d0038e8a624.jpg","text":"TemporaryFile(/tmp/multipartBody186198507614271578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059185227,"filename":"image_30102025_09_12_00_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/2/7952a4f39945deff0ddafee55499094a.jpg","text":"TemporaryFile(/tmp/multipartBody7305307375019651920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059185227,"filename":"image_30102025_09_12_01_1662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391791111","file1":"1391791109","file0":"1391791107","file4":"1391791117","file5":"1391791120","file3":"1391791114"},"map_files_photo_id_array":[{"photo_id":"1391791120","filename":"file5"},{"photo_id":"1391791111","filename":"file2"},{"photo_id":"1391791117","filename":"file4"},{"photo_id":"1391791109","filename":"file1"},{"photo_id":"1391791107","filename":"file0"},{"photo_id":"1391791114","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391791111":["hashtag1","hashtag2"]},{"1391791120":["hashtag1","hashtag2"]},{"1391791114":["hashtag1","hashtag2"]},{"1391791117":["hashtag1","hashtag2"]},{"1391791107":["hashtag1","hashtag2"]},{"1391791109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391791111, 1391791120, 1391791114, 1391791117, 1391791107, 1391791109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64646601676941 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 05:52:42.628126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_17_1609.jpg', '/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_26_3187.jpg', '/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_28_2868.jpg', '/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_33_4766.jpg', '/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_35_1509.jpg', '/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_43_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/09/12/image_30102025_09_12_17_1609.jpg
/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_26_3187.jpg
/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_28_2868.jpg
/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_33_4766.jpg
/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_35_1509.jpg
/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_43_2724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391791147","1391791126","1391791129","1391791140","1391791134","1391791143"],"photo_ids_order":["1391791126","1391791129","1391791134","1391791140","1391791143","1391791147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/38465aa62d5e553f78c266083be7721d.jpg","text":"TemporaryFile(/tmp/multipartBody3274639787877873930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059223733,"filename":"image_30102025_09_12_43_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/2/259dceac8282e3d4fd43c109518f6a20.jpg","text":"TemporaryFile(/tmp/multipartBody3109885803924500089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059223733,"filename":"image_30102025_09_12_17_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/2/b7c8754b07ec20a0bed2a40be49d11a6.jpg","text":"TemporaryFile(/tmp/multipartBody2756537988637348240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059223733,"filename":"image_30102025_09_12_26_3187.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e4d72b53b252b1839fe7de7b349cabc2.jpg","text":"TemporaryFile(/tmp/multipartBody2671921863529839844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059223733,"filename":"image_30102025_09_12_33_4766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/55d8e47d67d64e4ef43b9487fca9ab89.jpg","text":"TemporaryFile(/tmp/multipartBody7050566247077629725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059223733,"filename":"image_30102025_09_12_28_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/2/4026c0ab3b1490972c6da60f968dca0c.jpg","text":"TemporaryFile(/tmp/multipartBody7389054170466414878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059223733,"filename":"image_30102025_09_12_35_1509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391791134","file1":"1391791129","file0":"1391791126","file4":"1391791143","file5":"1391791147","file3":"1391791140"},"map_files_photo_id_array":[{"photo_id":"1391791147","filename":"file5"},{"photo_id":"1391791134","filename":"file2"},{"photo_id":"1391791143","filename":"file4"},{"photo_id":"1391791129","filename":"file1"},{"photo_id":"1391791126","filename":"file0"},{"photo_id":"1391791140","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391791147":["hashtag1","hashtag2"]},{"1391791126":["hashtag1","hashtag2"]},{"1391791129":["hashtag1","hashtag2"]},{"1391791140":["hashtag1","hashtag2"]},{"1391791134":["hashtag1","hashtag2"]},{"1391791143":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391791147, 1391791126, 1391791129, 1391791140, 1391791134, 1391791143)","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.74899482727051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:54:02.306516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 05:54:22.032241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_46_3778.jpg', '/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_49_2641.jpg', '/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_52_2657.jpg', '/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_55_2804.jpg', '/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_58_3744.jpg', '/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_01_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/09/12/image_30102025_09_12_46_3778.jpg
/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_49_2641.jpg
/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_52_2657.jpg
/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_55_2804.jpg
/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_58_3744.jpg
/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_01_2717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391791201","1391791191","1391791194","1391791182","1391791187","1391791198"],"photo_ids_order":["1391791182","1391791187","1391791191","1391791194","1391791198","1391791201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9a5444a609ecd09c6f224e2eb8631644.jpg","text":"TemporaryFile(/tmp/multipartBody6189134235700937339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059324851,"filename":"image_30102025_09_13_01_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/2/5a0000d641e590f009a3517cf352d135.jpg","text":"TemporaryFile(/tmp/multipartBody1001141626056255367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059324851,"filename":"image_30102025_09_12_52_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/2/70d45de4359fea0ca5ed81a2c5e498fc.jpg","text":"TemporaryFile(/tmp/multipartBody834905590520653897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059324851,"filename":"image_30102025_09_12_55_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/2/ec0e401ca693787230495d0e25e583ad.jpg","text":"TemporaryFile(/tmp/multipartBody1556781892645021739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059324851,"filename":"image_30102025_09_12_46_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/2/184b3aed1a6e34b4c07b98fbc8f5d627.jpg","text":"TemporaryFile(/tmp/multipartBody1864082921641832261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059324851,"filename":"image_30102025_09_12_49_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/2/bab639891bedd0e6612a61e339116738.jpg","text":"TemporaryFile(/tmp/multipartBody2267860947411131584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059324851,"filename":"image_30102025_09_12_58_3744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391791191","file1":"1391791187","file0":"1391791182","file4":"1391791198","file5":"1391791201","file3":"1391791194"},"map_files_photo_id_array":[{"photo_id":"1391791201","filename":"file5"},{"photo_id":"1391791191","filename":"file2"},{"photo_id":"1391791198","filename":"file4"},{"photo_id":"1391791187","filename":"file1"},{"photo_id":"1391791182","filename":"file0"},{"photo_id":"1391791194","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391791201":["hashtag1","hashtag2"]},{"1391791191":["hashtag1","hashtag2"]},{"1391791194":["hashtag1","hashtag2"]},{"1391791182":["hashtag1","hashtag2"]},{"1391791187":["hashtag1","hashtag2"]},{"1391791198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391791201, 1391791191, 1391791194, 1391791182, 1391791187, 1391791198)","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 = 1391791191 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/09/12/image_30102025_09_12_52_2657.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 62.33285665512085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 05:55:44.371936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_04_2842.jpg', '/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_07_3575.jpg', '/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_10_2692.jpg', '/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_14_3807.jpg', '/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_16_1706.jpg', '/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_22_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/09/13/image_30102025_09_13_04_2842.jpg
/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_07_3575.jpg
/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_10_2692.jpg
/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_14_3807.jpg
/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_16_1706.jpg
/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_22_2702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391791237","1391791234","1391791236","1391791232","1391791241","1391791229"],"photo_ids_order":["1391791229","1391791232","1391791234","1391791236","1391791237","1391791241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/41edde101ed34dbc212156cdad8f82ff.jpg","text":"TemporaryFile(/tmp/multipartBody7923942889958760970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059405428,"filename":"image_30102025_09_13_16_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/27c8d5fa096226f4aec3cbe629ad2846.jpg","text":"TemporaryFile(/tmp/multipartBody3264267536472538748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059405428,"filename":"image_30102025_09_13_10_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/2/d7c657985a6d5d4ec5ac0e975e5b4e45.jpg","text":"TemporaryFile(/tmp/multipartBody8997105197041359507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059405428,"filename":"image_30102025_09_13_14_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/2/9f7aae085177d85690bb4975a87bde7d.jpg","text":"TemporaryFile(/tmp/multipartBody9124187927598705306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059405428,"filename":"image_30102025_09_13_07_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/2/473000f9e9d8075b182063db2139c339.jpg","text":"TemporaryFile(/tmp/multipartBody4442081774831621686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059405428,"filename":"image_30102025_09_13_22_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/2/8e9e3f52ebb7d2128a7f408ec768597b.jpg","text":"TemporaryFile(/tmp/multipartBody5292340733955449565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059405428,"filename":"image_30102025_09_13_04_2842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391791234","file1":"1391791232","file0":"1391791229","file4":"1391791237","file5":"1391791241","file3":"1391791236"},"map_files_photo_id_array":[{"photo_id":"1391791241","filename":"file5"},{"photo_id":"1391791234","filename":"file2"},{"photo_id":"1391791237","filename":"file4"},{"photo_id":"1391791232","filename":"file1"},{"photo_id":"1391791229","filename":"file0"},{"photo_id":"1391791236","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391791237":["hashtag1","hashtag2"]},{"1391791234":["hashtag1","hashtag2"]},{"1391791236":["hashtag1","hashtag2"]},{"1391791232":["hashtag1","hashtag2"]},{"1391791241":["hashtag1","hashtag2"]},{"1391791229":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391791237, 1391791234, 1391791236, 1391791232, 1391791241, 1391791229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24561047554016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:56:27.307708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_25_3003.jpg', '/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_28_2667.jpg', '/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_31_3575.jpg', '/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_34_2807.jpg', '/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_37_3321.jpg', '/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_40_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/09/13/image_30102025_09_13_25_3003.jpg
/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_28_2667.jpg
/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_31_3575.jpg
/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_34_2807.jpg
/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_37_3321.jpg
/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_40_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":["1391791264","1391791252","1391791269","1391791260","1391791256","1391791253"],"photo_ids_order":["1391791252","1391791253","1391791256","1391791260","1391791264","1391791269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4638fee5ce5b02c8ccdb31f29fd4db20.jpg","text":"TemporaryFile(/tmp/multipartBody4671825513863953322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059450150,"filename":"image_30102025_09_13_37_3321.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ff321ce5d47574a161a5ddb11ca8a11a.jpg","text":"TemporaryFile(/tmp/multipartBody2353392782467372062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059450150,"filename":"image_30102025_09_13_25_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/2/385ea142d74b47165e76ee1cc26697ef.jpg","text":"TemporaryFile(/tmp/multipartBody7185781163140793957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059450150,"filename":"image_30102025_09_13_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/2/4ac9b617ad572e9bf3d0fb64a90a42b7.jpg","text":"TemporaryFile(/tmp/multipartBody2441816004772814331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059450150,"filename":"image_30102025_09_13_34_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/2/e42fc8b1ebc913bff2bc7ea2021b4726.jpg","text":"TemporaryFile(/tmp/multipartBody2262039079062216518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059450150,"filename":"image_30102025_09_13_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/2/482436d175bee53578f34b8a3f08d969.jpg","text":"TemporaryFile(/tmp/multipartBody3887213272021965324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059450150,"filename":"image_30102025_09_13_28_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391791256","file1":"1391791253","file0":"1391791252","file4":"1391791264","file5":"1391791269","file3":"1391791260"},"map_files_photo_id_array":[{"photo_id":"1391791269","filename":"file5"},{"photo_id":"1391791256","filename":"file2"},{"photo_id":"1391791264","filename":"file4"},{"photo_id":"1391791253","filename":"file1"},{"photo_id":"1391791252","filename":"file0"},{"photo_id":"1391791260","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391791264":["hashtag1","hashtag2"]},{"1391791252":["hashtag1","hashtag2"]},{"1391791269":["hashtag1","hashtag2"]},{"1391791260":["hashtag1","hashtag2"]},{"1391791256":["hashtag1","hashtag2"]},{"1391791253":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391791264, 1391791252, 1391791269, 1391791260, 1391791256, 1391791253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03893709182739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 05:57:22.481041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_43_2611.jpg', '/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_46_3702.jpg', '/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_49_2629.jpg', '/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_52_2642.jpg', '/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_55_3564.jpg', '/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_58_2831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_43_2611.jpg
/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_46_3702.jpg
/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_49_2629.jpg
/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_52_2642.jpg
/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_55_3564.jpg
/home/pi/Desktop/images/30102025/09/13/image_30102025_09_13_58_2831.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391791290","1391791292","1391791295","1391791289","1391791285","1391791288"],"photo_ids_order":["1391791285","1391791288","1391791289","1391791290","1391791292","1391791295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b28a5b403d381fc6497bcf9256dc8f27.jpg","text":"TemporaryFile(/tmp/multipartBody8931367778600042387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059504994,"filename":"image_30102025_09_13_52_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/2/1c38aa69c70e0c835d604d3dee8d24c3.jpg","text":"TemporaryFile(/tmp/multipartBody8911957312302090156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059504994,"filename":"image_30102025_09_13_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/2/dc97f0c5c8b578612d0a6c88b5fd92e3.jpg","text":"TemporaryFile(/tmp/multipartBody8785371040884994152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059504994,"filename":"image_30102025_09_13_58_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/2/02e645caad6894540a3056656076375b.jpg","text":"TemporaryFile(/tmp/multipartBody865203838322430644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059504994,"filename":"image_30102025_09_13_49_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/2/7e454980573cc5a507c9b19ac1172aa1.jpg","text":"TemporaryFile(/tmp/multipartBody2447952814596541472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059504994,"filename":"image_30102025_09_13_43_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/2/e0a2a5a249814dff65ed3c0a269f06f4.jpg","text":"TemporaryFile(/tmp/multipartBody6690150541906058587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059504994,"filename":"image_30102025_09_13_46_3702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391791289","file1":"1391791288","file0":"1391791285","file4":"1391791292","file5":"1391791295","file3":"1391791290"},"map_files_photo_id_array":[{"photo_id":"1391791295","filename":"file5"},{"photo_id":"1391791289","filename":"file2"},{"photo_id":"1391791292","filename":"file4"},{"photo_id":"1391791288","filename":"file1"},{"photo_id":"1391791285","filename":"file0"},{"photo_id":"1391791290","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391791290":["hashtag1","hashtag2"]},{"1391791292":["hashtag1","hashtag2"]},{"1391791295":["hashtag1","hashtag2"]},{"1391791289":["hashtag1","hashtag2"]},{"1391791285":["hashtag1","hashtag2"]},{"1391791288":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391791290, 1391791292, 1391791295, 1391791289, 1391791285, 1391791288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8567578792572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 05:59:02.981921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_01_2795.jpg', '/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_04_2951.jpg', '/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_06_2580.jpg', '/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_10_3862.jpg', '/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_13_2613.jpg', '/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_16_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/09/14/image_30102025_09_14_01_2795.jpg
/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_04_2951.jpg
/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_06_2580.jpg
/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_10_3862.jpg
/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_13_2613.jpg
/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_16_2645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391791336","1391791327","1391791332","1391791323","1391791319","1391791316"],"photo_ids_order":["1391791316","1391791319","1391791323","1391791327","1391791332","1391791336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/697d26c70d8549daa9e024ced92302fe.jpg","text":"TemporaryFile(/tmp/multipartBody4717563827215248440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059606700,"filename":"image_30102025_09_14_16_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/2/7a54274d6dd3124c804b7a5d8e36a750.jpg","text":"TemporaryFile(/tmp/multipartBody707702802764711492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059606700,"filename":"image_30102025_09_14_10_3862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9bdc41869f24584445dbc3b54b64fea7.jpg","text":"TemporaryFile(/tmp/multipartBody519633709723496927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059606700,"filename":"image_30102025_09_14_13_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/2/c33ea7a51fd8be12c6ae1c40a47e0555.jpg","text":"TemporaryFile(/tmp/multipartBody3906660473174051225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059606700,"filename":"image_30102025_09_14_06_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/2/5c5a5de517659d2360b82692b01fa812.jpg","text":"TemporaryFile(/tmp/multipartBody5426540272028507104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059606700,"filename":"image_30102025_09_14_04_2951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/616eae2676537e766611494e992c4462.jpg","text":"TemporaryFile(/tmp/multipartBody1651291939548333188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059606700,"filename":"image_30102025_09_14_01_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391791323","file1":"1391791319","file0":"1391791316","file4":"1391791332","file5":"1391791336","file3":"1391791327"},"map_files_photo_id_array":[{"photo_id":"1391791336","filename":"file5"},{"photo_id":"1391791323","filename":"file2"},{"photo_id":"1391791332","filename":"file4"},{"photo_id":"1391791319","filename":"file1"},{"photo_id":"1391791316","filename":"file0"},{"photo_id":"1391791327","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391791336":["hashtag1","hashtag2"]},{"1391791327":["hashtag1","hashtag2"]},{"1391791332":["hashtag1","hashtag2"]},{"1391791323":["hashtag1","hashtag2"]},{"1391791319":["hashtag1","hashtag2"]},{"1391791316":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391791336, 1391791327, 1391791332, 1391791323, 1391791319, 1391791316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32895302772522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:00:02.787093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 06:00:24.316779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_19_3639.jpg', '/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_22_2676.jpg', '/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_27_2760.jpg', '/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_31_3653.jpg', '/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_34_2705.jpg', '/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_37_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/09/14/image_30102025_09_14_19_3639.jpg
/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_22_2676.jpg
/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_27_2760.jpg
/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_31_3653.jpg
/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_34_2705.jpg
/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_37_2671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391793027","1391793320","1391793274","1391793212","1391793166","1391793109"],"photo_ids_order":["1391793027","1391793109","1391793166","1391793212","1391793274","1391793320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/eeabbf8ccd8f9c626399ae60074a1335.jpg","text":"TemporaryFile(/tmp/multipartBody2212885747096201213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059734021,"filename":"image_30102025_09_14_19_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/2/2676e10dc6ae389104985d6c9d88888a.jpg","text":"TemporaryFile(/tmp/multipartBody2759369652775907614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059734021,"filename":"image_30102025_09_14_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/2/d6fab41111f7c3e1ef3ad2f0f465dc24.jpg","text":"TemporaryFile(/tmp/multipartBody2879624882046184117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059734021,"filename":"image_30102025_09_14_34_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/2/1b2dc4853a65f7490a8f982523dc3524.jpg","text":"TemporaryFile(/tmp/multipartBody6905091857754547915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059734021,"filename":"image_30102025_09_14_31_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/2/2ae81174c0dc1f4fe2e6f86681646c69.jpg","text":"TemporaryFile(/tmp/multipartBody1422227709850665471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059734021,"filename":"image_30102025_09_14_27_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/2/7f173472dd2e133c51cd8d890e95fe4b.jpg","text":"TemporaryFile(/tmp/multipartBody7458172565320781692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059734021,"filename":"image_30102025_09_14_22_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391793166","file1":"1391793109","file0":"1391793027","file4":"1391793274","file5":"1391793320","file3":"1391793212"},"map_files_photo_id_array":[{"photo_id":"1391793320","filename":"file5"},{"photo_id":"1391793166","filename":"file2"},{"photo_id":"1391793274","filename":"file4"},{"photo_id":"1391793109","filename":"file1"},{"photo_id":"1391793027","filename":"file0"},{"photo_id":"1391793212","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391793027":["hashtag1","hashtag2"]},{"1391793320":["hashtag1","hashtag2"]},{"1391793274":["hashtag1","hashtag2"]},{"1391793212":["hashtag1","hashtag2"]},{"1391793166":["hashtag1","hashtag2"]},{"1391793109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391793027, 1391793320, 1391793274, 1391793212, 1391793166, 1391793109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 108.1730580329895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:02:13.757804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 06:02:33.323574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_40_3613.jpg', '/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_43_2634.jpg', '/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_46_2776.jpg', '/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_49_3726.jpg', '/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_52_2626.jpg', '/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_55_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/09/14/image_30102025_09_14_40_3613.jpg
/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_43_2634.jpg
/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_46_2776.jpg
/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_49_3726.jpg
/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_52_2626.jpg
/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_55_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":["1391794064","1391794145","1391794019","1391794105","1391793979","1391793937"],"photo_ids_order":["1391793937","1391793979","1391794019","1391794064","1391794105","1391794145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0684920acb66cda6fd95072c076c7a6f.jpg","text":"TemporaryFile(/tmp/multipartBody3223737507814184585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059815676,"filename":"image_30102025_09_14_49_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/2/193203bd51cae625729251127e9e4a70.jpg","text":"TemporaryFile(/tmp/multipartBody3731868454064540267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059815676,"filename":"image_30102025_09_14_55_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/2/312d3f0ceaffcf2fed40cc95ffc371bd.jpg","text":"TemporaryFile(/tmp/multipartBody1076084174106844514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059815676,"filename":"image_30102025_09_14_46_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/2/dc3393cbf3bb415f19d2583fe49b7c98.jpg","text":"TemporaryFile(/tmp/multipartBody9079942360014407852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059815676,"filename":"image_30102025_09_14_52_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/2/13089167b9b54b062e0491ce54fdc1b6.jpg","text":"TemporaryFile(/tmp/multipartBody6411034318213462472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059815676,"filename":"image_30102025_09_14_43_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/2/a8681d4211695fc56be177fb287d26bd.jpg","text":"TemporaryFile(/tmp/multipartBody5383375788867929484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059815676,"filename":"image_30102025_09_14_40_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391794019","file1":"1391793979","file0":"1391793937","file4":"1391794105","file5":"1391794145","file3":"1391794064"},"map_files_photo_id_array":[{"photo_id":"1391794145","filename":"file5"},{"photo_id":"1391794019","filename":"file2"},{"photo_id":"1391794105","filename":"file4"},{"photo_id":"1391793979","filename":"file1"},{"photo_id":"1391793937","filename":"file0"},{"photo_id":"1391794064","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391794064":["hashtag1","hashtag2"]},{"1391794145":["hashtag1","hashtag2"]},{"1391794019":["hashtag1","hashtag2"]},{"1391794105":["hashtag1","hashtag2"]},{"1391793979":["hashtag1","hashtag2"]},{"1391793937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391794064, 1391794145, 1391794019, 1391794105, 1391793979, 1391793937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.985076665878296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:03:22.506676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_58_3662.jpg', '/home/pi/Desktop/images/30102025/09/15/image_30102025_09_15_19_3678.jpg', '/home/pi/Desktop/images/30102025/09/15/image_30102025_09_15_22_2711.jpg', '/home/pi/Desktop/images/30102025/09/15/image_30102025_09_15_25_3049.jpg', '/home/pi/Desktop/images/30102025/09/15/image_30102025_09_15_28_2846.jpg', '/home/pi/Desktop/images/30102025/09/15/image_30102025_09_15_34_3808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/14/image_30102025_09_14_58_3662.jpg
/home/pi/Desktop/images/30102025/09/15/image_30102025_09_15_19_3678.jpg
/home/pi/Desktop/images/30102025/09/15/image_30102025_09_15_22_2711.jpg
/home/pi/Desktop/images/30102025/09/15/image_30102025_09_15_25_3049.jpg
/home/pi/Desktop/images/30102025/09/15/image_30102025_09_15_28_2846.jpg
/home/pi/Desktop/images/30102025/09/15/image_30102025_09_15_34_3808.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391794403","1391794579","1391794450","1391794531","1391794318","1391794359"],"photo_ids_order":["1391794318","1391794359","1391794403","1391794450","1391794531","1391794579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0b8b036d288aca0df0510e10767746c2.jpg","text":"TemporaryFile(/tmp/multipartBody7335824484264012203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059865420,"filename":"image_30102025_09_15_22_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/2/f67f53c06d8539973a3e91fc67040b79.jpg","text":"TemporaryFile(/tmp/multipartBody7790927798904744369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059865420,"filename":"image_30102025_09_15_34_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/2/ce94a9c2135d626cd1da47f7d9e856c3.jpg","text":"TemporaryFile(/tmp/multipartBody8512438878316070394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059865420,"filename":"image_30102025_09_15_25_3049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f5f1ecfc28469b4be4792e82369128db.jpg","text":"TemporaryFile(/tmp/multipartBody7863175530587637184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059865420,"filename":"image_30102025_09_15_28_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/2/cc4780ce08557714ade851475e236f4e.jpg","text":"TemporaryFile(/tmp/multipartBody2478434151012286540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059865420,"filename":"image_30102025_09_14_58_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/2/1acc5c74d81d2ea5c02f7b32ed636f5b.jpg","text":"TemporaryFile(/tmp/multipartBody4261200314279079768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059865420,"filename":"image_30102025_09_15_19_3678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391794403","file1":"1391794359","file0":"1391794318","file4":"1391794531","file5":"1391794579","file3":"1391794450"},"map_files_photo_id_array":[{"photo_id":"1391794579","filename":"file5"},{"photo_id":"1391794403","filename":"file2"},{"photo_id":"1391794531","filename":"file4"},{"photo_id":"1391794359","filename":"file1"},{"photo_id":"1391794318","filename":"file0"},{"photo_id":"1391794450","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391794403":["hashtag1","hashtag2"]},{"1391794579":["hashtag1","hashtag2"]},{"1391794450":["hashtag1","hashtag2"]},{"1391794531":["hashtag1","hashtag2"]},{"1391794318":["hashtag1","hashtag2"]},{"1391794359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391794403, 1391794579, 1391794450, 1391794531, 1391794318, 1391794359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.669010639190674 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-02 06:04:22.721748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/15/image_30102025_09_15_37_2656.jpg', '/home/pi/Desktop/images/30102025/09/15/image_30102025_09_15_40_2588.jpg', '/home/pi/Desktop/images/30102025/09/15/image_30102025_09_15_43_3687.jpg', '/home/pi/Desktop/images/30102025/09/15/image_30102025_09_15_46_2565.jpg', '/home/pi/Desktop/images/30102025/09/15/image_30102025_09_15_48_2694.jpg', '/home/pi/Desktop/images/30102025/09/15/image_30102025_09_15_52_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/09/15/image_30102025_09_15_37_2656.jpg
/home/pi/Desktop/images/30102025/09/15/image_30102025_09_15_40_2588.jpg
/home/pi/Desktop/images/30102025/09/15/image_30102025_09_15_43_3687.jpg
/home/pi/Desktop/images/30102025/09/15/image_30102025_09_15_46_2565.jpg
/home/pi/Desktop/images/30102025/09/15/image_30102025_09_15_48_2694.jpg
/home/pi/Desktop/images/30102025/09/15/image_30102025_09_15_52_3630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391794691","1391794687","1391794675","1391794678","1391794672","1391794682"],"photo_ids_order":["1391794672","1391794675","1391794678","1391794682","1391794687","1391794691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3954239b0f47e0bab2518d6cf858e076.jpg","text":"TemporaryFile(/tmp/multipartBody8435356633511065732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059925390,"filename":"image_30102025_09_15_52_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/2/84a023260086ece9812739df55893c77.jpg","text":"TemporaryFile(/tmp/multipartBody4563662691683535058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059925390,"filename":"image_30102025_09_15_48_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/2/f40f4a511fa0da4da9d2c4288f4f515e.jpg","text":"TemporaryFile(/tmp/multipartBody2474992868516669738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059925390,"filename":"image_30102025_09_15_40_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/2/188334c2acaebcf00850b177baddf77f.jpg","text":"TemporaryFile(/tmp/multipartBody8450554792230887599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059925390,"filename":"image_30102025_09_15_43_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/2/63dd524682f4de5416ba11bf30708813.jpg","text":"TemporaryFile(/tmp/multipartBody6442007952368973491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059925390,"filename":"image_30102025_09_15_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/2/dd516255994ca9ac4ec2b2b4bebdcdce.jpg","text":"TemporaryFile(/tmp/multipartBody3056712697114965389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059925390,"filename":"image_30102025_09_15_46_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391794678","file1":"1391794675","file0":"1391794672","file4":"1391794687","file5":"1391794691","file3":"1391794682"},"map_files_photo_id_array":[{"photo_id":"1391794691","filename":"file5"},{"photo_id":"1391794678","filename":"file2"},{"photo_id":"1391794687","filename":"file4"},{"photo_id":"1391794675","filename":"file1"},{"photo_id":"1391794672","filename":"file0"},{"photo_id":"1391794682","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391794691":["hashtag1","hashtag2"]},{"1391794687":["hashtag1","hashtag2"]},{"1391794675":["hashtag1","hashtag2"]},{"1391794678":["hashtag1","hashtag2"]},{"1391794672":["hashtag1","hashtag2"]},{"1391794682":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391794691, 1391794687, 1391794675, 1391794678, 1391794672, 1391794682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76855230331421 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-02 06:05:21.936441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/15/image_30102025_09_15_55_2718.jpg', '/home/pi/Desktop/images/30102025/09/15/image_30102025_09_15_58_2885.jpg', '/home/pi/Desktop/images/30102025/09/15/image_30102025_09_16_00_2677.jpg', '/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_04_3620.jpg', '/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_07_2758.jpg', '/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_09_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/09/15/image_30102025_09_15_55_2718.jpg
/home/pi/Desktop/images/30102025/09/15/image_30102025_09_15_58_2885.jpg
/home/pi/Desktop/images/30102025/09/15/image_30102025_09_16_00_2677.jpg
/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_04_3620.jpg
/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_07_2758.jpg
/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_09_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":["1391794723","1391794714","1391794719","1391794710","1391794704","1391794707"],"photo_ids_order":["1391794704","1391794707","1391794710","1391794714","1391794719","1391794723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c7e5f973f7bf3e6c0e518e393dfee5f8.jpg","text":"TemporaryFile(/tmp/multipartBody1937417905402770925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059994002,"filename":"image_30102025_09_16_09_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/2/fa1073652106d78a413906b2a08fd19f.jpg","text":"TemporaryFile(/tmp/multipartBody1132433192383528726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059994002,"filename":"image_30102025_09_16_04_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/2/e80b90c1ca3b4db5c5006239ee4693b7.jpg","text":"TemporaryFile(/tmp/multipartBody3875969526458047842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059994002,"filename":"image_30102025_09_16_07_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/2/5ac42692f8b87dccfabaa96f6ba85f09.jpg","text":"TemporaryFile(/tmp/multipartBody8464629484253172042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059994002,"filename":"image_30102025_09_16_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/2/b811514ccd2910235cf16b61b47c6f48.jpg","text":"TemporaryFile(/tmp/multipartBody8846387735887899171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059994002,"filename":"image_30102025_09_15_55_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/2/0cd00a679b92d1254f13d315e207e72a.jpg","text":"TemporaryFile(/tmp/multipartBody5550821607719355601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762059994002,"filename":"image_30102025_09_15_58_2885.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391794710","file1":"1391794707","file0":"1391794704","file4":"1391794719","file5":"1391794723","file3":"1391794714"},"map_files_photo_id_array":[{"photo_id":"1391794723","filename":"file5"},{"photo_id":"1391794710","filename":"file2"},{"photo_id":"1391794719","filename":"file4"},{"photo_id":"1391794707","filename":"file1"},{"photo_id":"1391794704","filename":"file0"},{"photo_id":"1391794714","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391794723":["hashtag1","hashtag2"]},{"1391794714":["hashtag1","hashtag2"]},{"1391794719":["hashtag1","hashtag2"]},{"1391794710":["hashtag1","hashtag2"]},{"1391794704":["hashtag1","hashtag2"]},{"1391794707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391794723, 1391794714, 1391794719, 1391794710, 1391794704, 1391794707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.498289585113525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:06:22.211720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_13_3852.jpg', '/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_16_2598.jpg', '/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_19_2797.jpg', '/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_21_2677.jpg', '/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_25_3863.jpg', '/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_31_2871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_13_3852.jpg
/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_16_2598.jpg
/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_19_2797.jpg
/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_21_2677.jpg
/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_25_3863.jpg
/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_31_2871.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391794742","1391794736","1391794747","1391794732","1391794729","1391794752"],"photo_ids_order":["1391794729","1391794732","1391794736","1391794742","1391794747","1391794752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7687ffc527966c15a25ccf1e219f4dca.jpg","text":"TemporaryFile(/tmp/multipartBody7820686585969364870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060044960,"filename":"image_30102025_09_16_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/2/3ba825e6652245c0581e4909ae33dca3.jpg","text":"TemporaryFile(/tmp/multipartBody6330686472236894806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060044960,"filename":"image_30102025_09_16_19_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/2/1661d1ab0c2f4590625356a88eca9043.jpg","text":"TemporaryFile(/tmp/multipartBody8835938627605331582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060044960,"filename":"image_30102025_09_16_25_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/2/998372e752b3d85548370bb461885a56.jpg","text":"TemporaryFile(/tmp/multipartBody243234550897595759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060044960,"filename":"image_30102025_09_16_16_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/2/e62d21bc86679852c91a92e8b9e59851.jpg","text":"TemporaryFile(/tmp/multipartBody6250792534044163690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060044960,"filename":"image_30102025_09_16_13_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/2/a25a3a898e7a0064eb295849ed136054.jpg","text":"TemporaryFile(/tmp/multipartBody2578390062488526616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060044960,"filename":"image_30102025_09_16_31_2871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391794736","file1":"1391794732","file0":"1391794729","file4":"1391794747","file5":"1391794752","file3":"1391794742"},"map_files_photo_id_array":[{"photo_id":"1391794752","filename":"file5"},{"photo_id":"1391794736","filename":"file2"},{"photo_id":"1391794747","filename":"file4"},{"photo_id":"1391794732","filename":"file1"},{"photo_id":"1391794729","filename":"file0"},{"photo_id":"1391794742","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391794742":["hashtag1","hashtag2"]},{"1391794736":["hashtag1","hashtag2"]},{"1391794747":["hashtag1","hashtag2"]},{"1391794732":["hashtag1","hashtag2"]},{"1391794729":["hashtag1","hashtag2"]},{"1391794752":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391794742, 1391794736, 1391794747, 1391794732, 1391794729, 1391794752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.42929768562317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:07:22.285529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_33_2583.jpg', '/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_40_2658.jpg', '/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_42_2649.jpg', '/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_49_2736.jpg', '/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_51_2799.jpg', '/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_55_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/09/16/image_30102025_09_16_33_2583.jpg
/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_40_2658.jpg
/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_42_2649.jpg
/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_49_2736.jpg
/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_51_2799.jpg
/home/pi/Desktop/images/30102025/09/16/image_30102025_09_16_55_3538.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391794772","1391794774","1391794768","1391794777","1391794771","1391794770"],"photo_ids_order":["1391794768","1391794770","1391794771","1391794772","1391794774","1391794777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5de23a952ece368947c3e92cb41a3c75.jpg","text":"TemporaryFile(/tmp/multipartBody7760855265812713150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060104975,"filename":"image_30102025_09_16_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/2/9cb5b536e145edcb78d651a8bd75798e.jpg","text":"TemporaryFile(/tmp/multipartBody8723516622544245017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060104975,"filename":"image_30102025_09_16_51_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/2/5d7a7f05a44edfa690eb21c8952ddef3.jpg","text":"TemporaryFile(/tmp/multipartBody6162457927411939641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060104975,"filename":"image_30102025_09_16_33_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/2/6f545184dc7d460b8fd1ea787b65e4da.jpg","text":"TemporaryFile(/tmp/multipartBody1787313094958948054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060104975,"filename":"image_30102025_09_16_55_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/2/9bd09706838b3a5527e897b36b869667.jpg","text":"TemporaryFile(/tmp/multipartBody5316798344997470776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060104975,"filename":"image_30102025_09_16_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/2/e7f80ece73be109bcb2ac0d663751f22.jpg","text":"TemporaryFile(/tmp/multipartBody3014696526603078715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060104975,"filename":"image_30102025_09_16_40_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391794771","file1":"1391794770","file0":"1391794768","file4":"1391794774","file5":"1391794777","file3":"1391794772"},"map_files_photo_id_array":[{"photo_id":"1391794777","filename":"file5"},{"photo_id":"1391794771","filename":"file2"},{"photo_id":"1391794774","filename":"file4"},{"photo_id":"1391794770","filename":"file1"},{"photo_id":"1391794768","filename":"file0"},{"photo_id":"1391794772","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391794772":["hashtag1","hashtag2"]},{"1391794774":["hashtag1","hashtag2"]},{"1391794768":["hashtag1","hashtag2"]},{"1391794777":["hashtag1","hashtag2"]},{"1391794771":["hashtag1","hashtag2"]},{"1391794770":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391794772, 1391794774, 1391794768, 1391794777, 1391794771, 1391794770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.004632234573364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:08:02.589877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/16/image_30102025_09_17_00_2716.jpg', '/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_07_2668.jpg', '/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_09_2650.jpg', '/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_13_3700.jpg', '/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_16_2570.jpg', '/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_18_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/09/16/image_30102025_09_17_00_2716.jpg
/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_07_2668.jpg
/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_09_2650.jpg
/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_13_3700.jpg
/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_16_2570.jpg
/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_18_2573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391794790","1391794787","1391794792","1391794795","1391794785","1391794788"],"photo_ids_order":["1391794785","1391794787","1391794788","1391794790","1391794792","1391794795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9e1a534dde330eaa01c49f971f20f091.jpg","text":"TemporaryFile(/tmp/multipartBody2004613025422134111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060144704,"filename":"image_30102025_09_17_13_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/2/f23ea3e88536118b36f71f5a756783ec.jpg","text":"TemporaryFile(/tmp/multipartBody175045725315817874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060144704,"filename":"image_30102025_09_17_07_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/2/42ffeab340fb74c7be92a7d598d9f4b1.jpg","text":"TemporaryFile(/tmp/multipartBody4290364144047889868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060144704,"filename":"image_30102025_09_17_16_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/2/b3f166a892988b8faf5fa45d4c6db7fc.jpg","text":"TemporaryFile(/tmp/multipartBody3833812979389793544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060144704,"filename":"image_30102025_09_17_18_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/2/db93d85e8dbab1d566a159f791e7226d.jpg","text":"TemporaryFile(/tmp/multipartBody1941744654501292343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060144704,"filename":"image_30102025_09_17_00_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/2/c6213a4ed694ffa17d4b5010e0d14714.jpg","text":"TemporaryFile(/tmp/multipartBody6562476827145620515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060144704,"filename":"image_30102025_09_17_09_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391794788","file1":"1391794787","file0":"1391794785","file4":"1391794792","file5":"1391794795","file3":"1391794790"},"map_files_photo_id_array":[{"photo_id":"1391794795","filename":"file5"},{"photo_id":"1391794788","filename":"file2"},{"photo_id":"1391794792","filename":"file4"},{"photo_id":"1391794787","filename":"file1"},{"photo_id":"1391794785","filename":"file0"},{"photo_id":"1391794790","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391794790":["hashtag1","hashtag2"]},{"1391794787":["hashtag1","hashtag2"]},{"1391794792":["hashtag1","hashtag2"]},{"1391794795":["hashtag1","hashtag2"]},{"1391794785":["hashtag1","hashtag2"]},{"1391794788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391794790, 1391794787, 1391794792, 1391794795, 1391794785, 1391794788)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.64028358459473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:09:03.134797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_22_3602.jpg', '/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_25_2635.jpg', '/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_28_3580.jpg', '/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_31_2911.jpg', '/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_34_2801.jpg', '/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_36_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/09/17/image_30102025_09_17_22_3602.jpg
/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_25_2635.jpg
/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_28_3580.jpg
/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_31_2911.jpg
/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_34_2801.jpg
/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_36_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391794835","1391794823","1391794831","1391794819","1391794816","1391794827"],"photo_ids_order":["1391794816","1391794819","1391794823","1391794827","1391794831","1391794835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/15a3acfc88f8cb5a4415b061d3f9c40c.jpg","text":"TemporaryFile(/tmp/multipartBody6594290258406295963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060205715,"filename":"image_30102025_09_17_36_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/2/1606226b56fb58bb28568b10fce7f7cc.jpg","text":"TemporaryFile(/tmp/multipartBody8363135372908346911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060205715,"filename":"image_30102025_09_17_28_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/2/820709f87e5857864c4865fe04a094dc.jpg","text":"TemporaryFile(/tmp/multipartBody8021311686539780308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060205715,"filename":"image_30102025_09_17_34_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/2/5d3560552f07c47698e11357c830c001.jpg","text":"TemporaryFile(/tmp/multipartBody6055000027165553995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060205715,"filename":"image_30102025_09_17_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/2/514c34da8e8e583f443bb6fa11285bfc.jpg","text":"TemporaryFile(/tmp/multipartBody3596949680645512662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060205715,"filename":"image_30102025_09_17_22_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/2/a67e5628eb5400588ff806773a8150d8.jpg","text":"TemporaryFile(/tmp/multipartBody8185415706321103877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060205715,"filename":"image_30102025_09_17_31_2911.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391794823","file1":"1391794819","file0":"1391794816","file4":"1391794831","file5":"1391794835","file3":"1391794827"},"map_files_photo_id_array":[{"photo_id":"1391794835","filename":"file5"},{"photo_id":"1391794823","filename":"file2"},{"photo_id":"1391794831","filename":"file4"},{"photo_id":"1391794819","filename":"file1"},{"photo_id":"1391794816","filename":"file0"},{"photo_id":"1391794827","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391794835":["hashtag1","hashtag2"]},{"1391794823":["hashtag1","hashtag2"]},{"1391794831":["hashtag1","hashtag2"]},{"1391794819":["hashtag1","hashtag2"]},{"1391794816":["hashtag1","hashtag2"]},{"1391794827":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391794835, 1391794823, 1391794831, 1391794819, 1391794816, 1391794827)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.671786069869995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:10:02.819673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_39_2900.jpg', '/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_46_2565.jpg', '/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_48_2627.jpg', '/home/pi/Desktop/images/30102025/09/17/image_30102025_09_18_01_3612.jpg', '/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_03_2574.jpg', '/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_07_3567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_39_2900.jpg
/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_46_2565.jpg
/home/pi/Desktop/images/30102025/09/17/image_30102025_09_17_48_2627.jpg
/home/pi/Desktop/images/30102025/09/17/image_30102025_09_18_01_3612.jpg
/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_03_2574.jpg
/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_07_3567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391794856","1391794853","1391794861","1391794855","1391794858","1391794863"],"photo_ids_order":["1391794853","1391794855","1391794856","1391794858","1391794861","1391794863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5582da0d829886c46b907c3f61eb110b.jpg","text":"TemporaryFile(/tmp/multipartBody1688018705181229235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060266217,"filename":"image_30102025_09_17_48_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/2/a8ea690084945cfbecf4d55a6ca83cc1.jpg","text":"TemporaryFile(/tmp/multipartBody5223475617458016738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060266217,"filename":"image_30102025_09_17_39_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/2/dd8dadfb8c1e457e45ffceab866a7364.jpg","text":"TemporaryFile(/tmp/multipartBody502679348230686199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060266217,"filename":"image_30102025_09_18_03_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/2/99c6e2b8558346e7b351cf07c95b44de.jpg","text":"TemporaryFile(/tmp/multipartBody1183874972515572536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060266217,"filename":"image_30102025_09_17_46_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/2/6758e1bdc502b79cccfdbec6809121d1.jpg","text":"TemporaryFile(/tmp/multipartBody8124691524552825295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060266217,"filename":"image_30102025_09_18_01_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/2/a352862d4b4ac72ca38d57d58f0d9536.jpg","text":"TemporaryFile(/tmp/multipartBody4225975406071401849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060266217,"filename":"image_30102025_09_18_07_3567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391794856","file1":"1391794855","file0":"1391794853","file4":"1391794861","file5":"1391794863","file3":"1391794858"},"map_files_photo_id_array":[{"photo_id":"1391794863","filename":"file5"},{"photo_id":"1391794856","filename":"file2"},{"photo_id":"1391794861","filename":"file4"},{"photo_id":"1391794855","filename":"file1"},{"photo_id":"1391794853","filename":"file0"},{"photo_id":"1391794858","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391794856":["hashtag1","hashtag2"]},{"1391794853":["hashtag1","hashtag2"]},{"1391794861":["hashtag1","hashtag2"]},{"1391794855":["hashtag1","hashtag2"]},{"1391794858":["hashtag1","hashtag2"]},{"1391794863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391794856, 1391794853, 1391794861, 1391794855, 1391794858, 1391794863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.49671792984009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:11:03.476186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_10_2817.jpg', '/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_12_2644.jpg', '/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_15_2606.jpg', '/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_19_3724.jpg', '/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_22_2918.jpg', '/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_24_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/09/18/image_30102025_09_18_10_2817.jpg
/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_12_2644.jpg
/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_15_2606.jpg
/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_19_3724.jpg
/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_22_2918.jpg
/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_24_2598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391794883","1391794886","1391794894","1391794888","1391794890","1391794892"],"photo_ids_order":["1391794883","1391794886","1391794888","1391794890","1391794892","1391794894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cc4398121e51308a67f86ba649d202c8.jpg","text":"TemporaryFile(/tmp/multipartBody4360761581288328428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060325711,"filename":"image_30102025_09_18_10_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/2/b1f98219a4614e5198de82b61297db8a.jpg","text":"TemporaryFile(/tmp/multipartBody28887271797641261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060325711,"filename":"image_30102025_09_18_12_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/2/b915a901e9c3c98194fdf2c541301d5b.jpg","text":"TemporaryFile(/tmp/multipartBody234972425518508074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060325711,"filename":"image_30102025_09_18_24_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/2/4f8f47f2557d9d03c0627246be22a29b.jpg","text":"TemporaryFile(/tmp/multipartBody2029174044573326660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060325711,"filename":"image_30102025_09_18_15_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/2/77cd43d9c9aaa116a8e772025797f98d.jpg","text":"TemporaryFile(/tmp/multipartBody9148470181219203737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060325711,"filename":"image_30102025_09_18_19_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/2/2cafcebc2f95eeb1be828f8eb5da7d8e.jpg","text":"TemporaryFile(/tmp/multipartBody8166467422594149870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060325711,"filename":"image_30102025_09_18_22_2918.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391794888","file1":"1391794886","file0":"1391794883","file4":"1391794892","file5":"1391794894","file3":"1391794890"},"map_files_photo_id_array":[{"photo_id":"1391794894","filename":"file5"},{"photo_id":"1391794888","filename":"file2"},{"photo_id":"1391794892","filename":"file4"},{"photo_id":"1391794886","filename":"file1"},{"photo_id":"1391794883","filename":"file0"},{"photo_id":"1391794890","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391794883":["hashtag1","hashtag2"]},{"1391794886":["hashtag1","hashtag2"]},{"1391794894":["hashtag1","hashtag2"]},{"1391794888":["hashtag1","hashtag2"]},{"1391794890":["hashtag1","hashtag2"]},{"1391794892":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391794883, 1391794886, 1391794894, 1391794888, 1391794890, 1391794892)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.698082447052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:12:02.340248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_31_2696.jpg', '/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_33_2549.jpg', '/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_36_2890.jpg', '/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_40_3788.jpg', '/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_43_2623.jpg', '/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_45_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/09/18/image_30102025_09_18_31_2696.jpg
/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_33_2549.jpg
/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_36_2890.jpg
/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_40_3788.jpg
/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_43_2623.jpg
/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_45_2604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391794919","1391794910","1391794913","1391794915","1391794908","1391794917"],"photo_ids_order":["1391794908","1391794910","1391794913","1391794915","1391794917","1391794919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1dc1acb00bd860e52a5988e6570d5001.jpg","text":"TemporaryFile(/tmp/multipartBody381184261774536285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060384478,"filename":"image_30102025_09_18_45_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/2/460b25c224092ebb14d344677824b059.jpg","text":"TemporaryFile(/tmp/multipartBody3539928691736024435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060384478,"filename":"image_30102025_09_18_33_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/2/64c41ec1b04519624c8985bf951d0ea5.jpg","text":"TemporaryFile(/tmp/multipartBody4281708989183467966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060384478,"filename":"image_30102025_09_18_36_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/2/c7016926ae0a133c9c803094901b8a4a.jpg","text":"TemporaryFile(/tmp/multipartBody3838511700824202775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060384478,"filename":"image_30102025_09_18_40_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/2/7b67ba5b616ea00bf2eb61e0c791ccd1.jpg","text":"TemporaryFile(/tmp/multipartBody7930397397007452248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060384478,"filename":"image_30102025_09_18_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/2/61eabeda080b3745e9ccea47c3c3af97.jpg","text":"TemporaryFile(/tmp/multipartBody343505701273788297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060384478,"filename":"image_30102025_09_18_43_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391794913","file1":"1391794910","file0":"1391794908","file4":"1391794917","file5":"1391794919","file3":"1391794915"},"map_files_photo_id_array":[{"photo_id":"1391794919","filename":"file5"},{"photo_id":"1391794913","filename":"file2"},{"photo_id":"1391794917","filename":"file4"},{"photo_id":"1391794910","filename":"file1"},{"photo_id":"1391794908","filename":"file0"},{"photo_id":"1391794915","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391794919":["hashtag1","hashtag2"]},{"1391794910":["hashtag1","hashtag2"]},{"1391794913":["hashtag1","hashtag2"]},{"1391794915":["hashtag1","hashtag2"]},{"1391794908":["hashtag1","hashtag2"]},{"1391794917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391794919, 1391794910, 1391794913, 1391794915, 1391794908, 1391794917)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.85214161872864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:13:02.675177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_52_2658.jpg', '/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_54_2865.jpg', '/home/pi/Desktop/images/30102025/09/18/image_30102025_09_19_01_3729.jpg', '/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_04_2670.jpg', '/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_07_2879.jpg', '/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_09_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/09/18/image_30102025_09_18_52_2658.jpg
/home/pi/Desktop/images/30102025/09/18/image_30102025_09_18_54_2865.jpg
/home/pi/Desktop/images/30102025/09/18/image_30102025_09_19_01_3729.jpg
/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_04_2670.jpg
/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_07_2879.jpg
/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_09_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391794954","1391794963","1391794951","1391794959","1391794947","1391794956"],"photo_ids_order":["1391794947","1391794951","1391794954","1391794956","1391794959","1391794963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/28cced4db2415a4bb742d1cc2f6485c4.jpg","text":"TemporaryFile(/tmp/multipartBody1680257626602951348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060444862,"filename":"image_30102025_09_19_01_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/2/67852e982e0e17da66f6ba68edacd503.jpg","text":"TemporaryFile(/tmp/multipartBody5930434380899261990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060444862,"filename":"image_30102025_09_19_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/2/4284b080148887892f1c91c8051c49b3.jpg","text":"TemporaryFile(/tmp/multipartBody996794311085573045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060444862,"filename":"image_30102025_09_18_54_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/2/742f2696138264e65bc7a9b1ce3ce45f.jpg","text":"TemporaryFile(/tmp/multipartBody4478883266531580438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060444862,"filename":"image_30102025_09_19_07_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/2/b2bd2a8ec78c54ed0f71f57fd8593a9f.jpg","text":"TemporaryFile(/tmp/multipartBody3766237402571719387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060444862,"filename":"image_30102025_09_18_52_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/2/259943121694c41c4c4fdf855065124f.jpg","text":"TemporaryFile(/tmp/multipartBody9154145691301997830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060444862,"filename":"image_30102025_09_19_04_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391794954","file1":"1391794951","file0":"1391794947","file4":"1391794959","file5":"1391794963","file3":"1391794956"},"map_files_photo_id_array":[{"photo_id":"1391794963","filename":"file5"},{"photo_id":"1391794954","filename":"file2"},{"photo_id":"1391794959","filename":"file4"},{"photo_id":"1391794951","filename":"file1"},{"photo_id":"1391794947","filename":"file0"},{"photo_id":"1391794956","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391794954":["hashtag1","hashtag2"]},{"1391794963":["hashtag1","hashtag2"]},{"1391794951":["hashtag1","hashtag2"]},{"1391794959":["hashtag1","hashtag2"]},{"1391794947":["hashtag1","hashtag2"]},{"1391794956":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391794954, 1391794963, 1391794951, 1391794959, 1391794947, 1391794956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50030493736267 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 06:13:42.155379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_18_2753.jpg', '/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_22_3745.jpg', '/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_27_2849.jpg', '/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_30_2713.jpg', '/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_33_2723.jpg', '/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_42_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/09/19/image_30102025_09_19_18_2753.jpg
/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_22_3745.jpg
/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_27_2849.jpg
/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_30_2713.jpg
/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_33_2723.jpg
/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_42_2697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391794984","1391794987","1391794981","1391794978","1391794971","1391794974"],"photo_ids_order":["1391794971","1391794974","1391794978","1391794981","1391794984","1391794987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9b9c6ef30827341dec5f66820d6c2c0b.jpg","text":"TemporaryFile(/tmp/multipartBody5456788399019465334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060483273,"filename":"image_30102025_09_19_33_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/2/fffe8076e1e9ac10b11a867be6168ab4.jpg","text":"TemporaryFile(/tmp/multipartBody2239665349331654492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060483273,"filename":"image_30102025_09_19_42_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/2/45a848cbc2a774d1a6c002eb17585cde.jpg","text":"TemporaryFile(/tmp/multipartBody4182805322879511952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060483273,"filename":"image_30102025_09_19_30_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/2/340f95a6e20c395e8e0a20e0ef46cad0.jpg","text":"TemporaryFile(/tmp/multipartBody6462324807767766895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060483273,"filename":"image_30102025_09_19_27_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/2/ad93a98d49a2a0e740ed91fcc41ec8bd.jpg","text":"TemporaryFile(/tmp/multipartBody7574709672818353636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060483273,"filename":"image_30102025_09_19_18_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/2/5e6e15c36c71a44ec612bf306db49fe4.jpg","text":"TemporaryFile(/tmp/multipartBody3157967376139645036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060483273,"filename":"image_30102025_09_19_22_3745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391794978","file1":"1391794974","file0":"1391794971","file4":"1391794984","file5":"1391794987","file3":"1391794981"},"map_files_photo_id_array":[{"photo_id":"1391794987","filename":"file5"},{"photo_id":"1391794978","filename":"file2"},{"photo_id":"1391794984","filename":"file4"},{"photo_id":"1391794974","filename":"file1"},{"photo_id":"1391794971","filename":"file0"},{"photo_id":"1391794981","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391794984":["hashtag1","hashtag2"]},{"1391794987":["hashtag1","hashtag2"]},{"1391794981":["hashtag1","hashtag2"]},{"1391794978":["hashtag1","hashtag2"]},{"1391794971":["hashtag1","hashtag2"]},{"1391794974":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391794984, 1391794987, 1391794981, 1391794978, 1391794971, 1391794974)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.10329079627991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 06:14:42.334023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_46_3582.jpg', '/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_48_2669.jpg', '/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_51_2538.jpg', '/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_54_3556.jpg', '/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_57_2545.jpg', '/home/pi/Desktop/images/30102025/09/19/image_30102025_09_20_01_3740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_46_3582.jpg
/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_48_2669.jpg
/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_51_2538.jpg
/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_54_3556.jpg
/home/pi/Desktop/images/30102025/09/19/image_30102025_09_19_57_2545.jpg
/home/pi/Desktop/images/30102025/09/19/image_30102025_09_20_01_3740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795012","1391795015","1391795003","1391795008","1391795022","1391795016"],"photo_ids_order":["1391795003","1391795008","1391795012","1391795015","1391795016","1391795022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e2ef38c9ba46cdc38c7136e7c75210c6.jpg","text":"TemporaryFile(/tmp/multipartBody8073600672252156444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060543457,"filename":"image_30102025_09_19_51_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/2/7d81e29f9c815d80925c209cdf4c01e6.jpg","text":"TemporaryFile(/tmp/multipartBody116482892386488601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060543457,"filename":"image_30102025_09_19_54_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/2/b9e9e1c520932d3fd8653e53c0b63365.jpg","text":"TemporaryFile(/tmp/multipartBody2518946353443404993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060543457,"filename":"image_30102025_09_19_46_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/2/8f823cdc25edf712e9e3abb911847c9e.jpg","text":"TemporaryFile(/tmp/multipartBody159403995744797164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060543457,"filename":"image_30102025_09_19_48_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/2/46909524c27d7986cd834727772311af.jpg","text":"TemporaryFile(/tmp/multipartBody6042199763013925037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060543457,"filename":"image_30102025_09_20_01_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/2/7781f8a111cd720b16ad35af53c52009.jpg","text":"TemporaryFile(/tmp/multipartBody7619604191243070268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060543457,"filename":"image_30102025_09_19_57_2545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795012","file1":"1391795008","file0":"1391795003","file4":"1391795016","file5":"1391795022","file3":"1391795015"},"map_files_photo_id_array":[{"photo_id":"1391795022","filename":"file5"},{"photo_id":"1391795012","filename":"file2"},{"photo_id":"1391795016","filename":"file4"},{"photo_id":"1391795008","filename":"file1"},{"photo_id":"1391795003","filename":"file0"},{"photo_id":"1391795015","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795012":["hashtag1","hashtag2"]},{"1391795015":["hashtag1","hashtag2"]},{"1391795003":["hashtag1","hashtag2"]},{"1391795008":["hashtag1","hashtag2"]},{"1391795022":["hashtag1","hashtag2"]},{"1391795016":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795012, 1391795015, 1391795003, 1391795008, 1391795022, 1391795016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90911412239075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:15:22.498553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_03_2729.jpg', '/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_06_2974.jpg', '/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_09_2776.jpg', '/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_12_2780.jpg', '/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_16_3671.jpg', '/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_18_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_03_2729.jpg
/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_06_2974.jpg
/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_09_2776.jpg
/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_12_2780.jpg
/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_16_3671.jpg
/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_18_2614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795045","1391795035","1391795038","1391795031","1391795034","1391795042"],"photo_ids_order":["1391795031","1391795034","1391795035","1391795038","1391795042","1391795045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d70b1130826f84c57740b132eeeb7b0b.jpg","text":"TemporaryFile(/tmp/multipartBody3903530525937376514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060585164,"filename":"image_30102025_09_20_18_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/2/40979319b1035a71b1243a18d48f2456.jpg","text":"TemporaryFile(/tmp/multipartBody60013842934969039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060585164,"filename":"image_30102025_09_20_09_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/2/341f6291b84206e3e0a6233a708e4710.jpg","text":"TemporaryFile(/tmp/multipartBody1895574625667455102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060585164,"filename":"image_30102025_09_20_12_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/2/1c2f8ec6d8ea5f2ff050987913c0a7a7.jpg","text":"TemporaryFile(/tmp/multipartBody5318354163914785095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060585164,"filename":"image_30102025_09_20_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/2/c8a226588b84cf1b88aaba015bde6259.jpg","text":"TemporaryFile(/tmp/multipartBody8207368293026616396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060585164,"filename":"image_30102025_09_20_06_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/2/c7a0b70e7a6327112a2a936aed2f96ff.jpg","text":"TemporaryFile(/tmp/multipartBody8688795868392147433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060585164,"filename":"image_30102025_09_20_16_3671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795035","file1":"1391795034","file0":"1391795031","file4":"1391795042","file5":"1391795045","file3":"1391795038"},"map_files_photo_id_array":[{"photo_id":"1391795045","filename":"file5"},{"photo_id":"1391795035","filename":"file2"},{"photo_id":"1391795042","filename":"file4"},{"photo_id":"1391795034","filename":"file1"},{"photo_id":"1391795031","filename":"file0"},{"photo_id":"1391795038","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795045":["hashtag1","hashtag2"]},{"1391795035":["hashtag1","hashtag2"]},{"1391795038":["hashtag1","hashtag2"]},{"1391795031":["hashtag1","hashtag2"]},{"1391795034":["hashtag1","hashtag2"]},{"1391795042":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795045, 1391795035, 1391795038, 1391795031, 1391795034, 1391795042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33363580703735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:16:03.110635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_21_2908.jpg', '/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_24_2696.jpg', '/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_28_3762.jpg', '/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_30_2767.jpg', '/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_33_2645.jpg', '/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_36_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/09/20/image_30102025_09_20_21_2908.jpg
/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_24_2696.jpg
/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_28_3762.jpg
/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_30_2767.jpg
/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_33_2645.jpg
/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_36_2773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795062","1391795064","1391795058","1391795072","1391795069","1391795060"],"photo_ids_order":["1391795058","1391795060","1391795062","1391795064","1391795069","1391795072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3062fd27930bdf1d46927ee0a9897b36.jpg","text":"TemporaryFile(/tmp/multipartBody2824113424535981918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060625201,"filename":"image_30102025_09_20_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/2/60f8544d50d0ee9dff12ace68f123d04.jpg","text":"TemporaryFile(/tmp/multipartBody8976307565888456074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060625201,"filename":"image_30102025_09_20_30_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/2/4170d1e63df32a96c823aad23f9054f3.jpg","text":"TemporaryFile(/tmp/multipartBody2805767330140750149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060625201,"filename":"image_30102025_09_20_21_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/2/04d15cb2d8c4d57c832ed3ebe15ea2c9.jpg","text":"TemporaryFile(/tmp/multipartBody9015730920597723508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060625201,"filename":"image_30102025_09_20_36_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/2/aed57176c7091ffdf2f86916ce42402a.jpg","text":"TemporaryFile(/tmp/multipartBody4705894853794624524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060625201,"filename":"image_30102025_09_20_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/2/66ccc374f0873770368a4e23d66bb3a3.jpg","text":"TemporaryFile(/tmp/multipartBody8136787360564344237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060625201,"filename":"image_30102025_09_20_24_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795062","file1":"1391795060","file0":"1391795058","file4":"1391795069","file5":"1391795072","file3":"1391795064"},"map_files_photo_id_array":[{"photo_id":"1391795072","filename":"file5"},{"photo_id":"1391795062","filename":"file2"},{"photo_id":"1391795069","filename":"file4"},{"photo_id":"1391795060","filename":"file1"},{"photo_id":"1391795058","filename":"file0"},{"photo_id":"1391795064","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795062":["hashtag1","hashtag2"]},{"1391795064":["hashtag1","hashtag2"]},{"1391795058":["hashtag1","hashtag2"]},{"1391795072":["hashtag1","hashtag2"]},{"1391795069":["hashtag1","hashtag2"]},{"1391795060":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795062, 1391795064, 1391795058, 1391795072, 1391795069, 1391795060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83847689628601 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 06:16:42.652979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_46_3680.jpg', '/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_48_2674.jpg', '/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_51_2656.jpg', '/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_55_3531.jpg', '/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_57_2655.jpg', '/home/pi/Desktop/images/30102025/09/20/image_30102025_09_21_00_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/09/20/image_30102025_09_20_46_3680.jpg
/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_48_2674.jpg
/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_51_2656.jpg
/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_55_3531.jpg
/home/pi/Desktop/images/30102025/09/20/image_30102025_09_20_57_2655.jpg
/home/pi/Desktop/images/30102025/09/20/image_30102025_09_21_00_2624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795098","1391795092","1391795095","1391795089","1391795085","1391795081"],"photo_ids_order":["1391795081","1391795085","1391795089","1391795092","1391795095","1391795098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2fcccd6535358736805f51f7a0816caf.jpg","text":"TemporaryFile(/tmp/multipartBody8263421605748944263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060663799,"filename":"image_30102025_09_21_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/2/3fab6abc1acd669a460e0cd48f8443ff.jpg","text":"TemporaryFile(/tmp/multipartBody7546668525633217607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060663799,"filename":"image_30102025_09_20_55_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/2/25b367a72302c3c3929a1d90410fa735.jpg","text":"TemporaryFile(/tmp/multipartBody5188218032671189254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060663799,"filename":"image_30102025_09_20_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/2/7161f7484b3729e12c7548a195897603.jpg","text":"TemporaryFile(/tmp/multipartBody2111650361341374867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060663799,"filename":"image_30102025_09_20_51_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/2/33a574acfb9473820e69d1d36e666398.jpg","text":"TemporaryFile(/tmp/multipartBody9223217677953669540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060663799,"filename":"image_30102025_09_20_48_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/2/7312500928dc6fcd1871f68e4d5a9d27.jpg","text":"TemporaryFile(/tmp/multipartBody8500610449822705242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060663799,"filename":"image_30102025_09_20_46_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795089","file1":"1391795085","file0":"1391795081","file4":"1391795095","file5":"1391795098","file3":"1391795092"},"map_files_photo_id_array":[{"photo_id":"1391795098","filename":"file5"},{"photo_id":"1391795089","filename":"file2"},{"photo_id":"1391795095","filename":"file4"},{"photo_id":"1391795085","filename":"file1"},{"photo_id":"1391795081","filename":"file0"},{"photo_id":"1391795092","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795098":["hashtag1","hashtag2"]},{"1391795092":["hashtag1","hashtag2"]},{"1391795095":["hashtag1","hashtag2"]},{"1391795089":["hashtag1","hashtag2"]},{"1391795085":["hashtag1","hashtag2"]},{"1391795081":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795098, 1391795092, 1391795095, 1391795089, 1391795085, 1391795081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.368446588516235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:17:21.806165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_04_3765.jpg', '/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_06_2854.jpg', '/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_09_2739.jpg', '/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_12_2795.jpg', '/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_19_2698.jpg', '/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_21_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/09/21/image_30102025_09_21_04_3765.jpg
/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_06_2854.jpg
/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_09_2739.jpg
/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_12_2795.jpg
/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_19_2698.jpg
/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_21_2692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795108","1391795116","1391795110","1391795113","1391795112","1391795106"],"photo_ids_order":["1391795106","1391795108","1391795110","1391795112","1391795113","1391795116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6d86f01c04758cbb8419345b6b1e0683.jpg","text":"TemporaryFile(/tmp/multipartBody3967801226577900988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060704430,"filename":"image_30102025_09_21_06_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/2/07b1afb302cf7b7b548d444587080bb3.jpg","text":"TemporaryFile(/tmp/multipartBody3615156908090882194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060704430,"filename":"image_30102025_09_21_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/2/1472eba12a4f953ee89871e1c724eaa2.jpg","text":"TemporaryFile(/tmp/multipartBody5438785309374198734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060704430,"filename":"image_30102025_09_21_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/2/b50ab0c62720ccc3be195f872b592c02.jpg","text":"TemporaryFile(/tmp/multipartBody1258223531470933625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060704430,"filename":"image_30102025_09_21_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/2/f1d1b3ee86fffdbd66130a0bf26ccfc9.jpg","text":"TemporaryFile(/tmp/multipartBody4334016855709253190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060704430,"filename":"image_30102025_09_21_12_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/2/eda380661107bb1145bc328164884b1e.jpg","text":"TemporaryFile(/tmp/multipartBody5967348669735942189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060704430,"filename":"image_30102025_09_21_04_3765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795110","file1":"1391795108","file0":"1391795106","file4":"1391795113","file5":"1391795116","file3":"1391795112"},"map_files_photo_id_array":[{"photo_id":"1391795116","filename":"file5"},{"photo_id":"1391795110","filename":"file2"},{"photo_id":"1391795113","filename":"file4"},{"photo_id":"1391795108","filename":"file1"},{"photo_id":"1391795106","filename":"file0"},{"photo_id":"1391795112","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795108":["hashtag1","hashtag2"]},{"1391795116":["hashtag1","hashtag2"]},{"1391795110":["hashtag1","hashtag2"]},{"1391795113":["hashtag1","hashtag2"]},{"1391795112":["hashtag1","hashtag2"]},{"1391795106":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795108, 1391795116, 1391795110, 1391795113, 1391795112, 1391795106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.914154291152954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:18:02.572446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_24_2749.jpg', '/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_28_3560.jpg', '/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_30_2653.jpg', '/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_33_2721.jpg', '/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_39_3541.jpg', '/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_42_2539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_24_2749.jpg
/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_28_3560.jpg
/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_30_2653.jpg
/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_33_2721.jpg
/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_39_3541.jpg
/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_42_2539.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.989820957183838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:18:21.987501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_24_2749.jpg', '/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_28_3560.jpg', '/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_30_2653.jpg', '/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_33_2721.jpg', '/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_39_3541.jpg', '/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_42_2539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_24_2749.jpg
/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_28_3560.jpg
/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_30_2653.jpg
/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_33_2721.jpg
/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_39_3541.jpg
/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_42_2539.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795144","1391795138","1391795134","1391795148","1391795136","1391795141"],"photo_ids_order":["1391795134","1391795136","1391795138","1391795141","1391795144","1391795148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/edab01a45dd6e303d989c499e926c376.jpg","text":"TemporaryFile(/tmp/multipartBody9081957033020183861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060764516,"filename":"image_30102025_09_21_39_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/2/5221bed5a94ac64e7aacbfb7ebd4d994.jpg","text":"TemporaryFile(/tmp/multipartBody4152438849945129362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060764516,"filename":"image_30102025_09_21_30_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/2/e3b8dca1e893315ae3ff494d6deb4133.jpg","text":"TemporaryFile(/tmp/multipartBody2974662089564518316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060764516,"filename":"image_30102025_09_21_24_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/2/2164d118ab3b947477de9876ec0a743e.jpg","text":"TemporaryFile(/tmp/multipartBody3862593096665984654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060764516,"filename":"image_30102025_09_21_42_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/2/a03455ba540108e117ad070979b584a7.jpg","text":"TemporaryFile(/tmp/multipartBody6302683421689853751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060764516,"filename":"image_30102025_09_21_28_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/2/6ae5c4c8dd23a1bc9ec408d84ee5466e.jpg","text":"TemporaryFile(/tmp/multipartBody3976586150573145960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060764516,"filename":"image_30102025_09_21_33_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795138","file1":"1391795136","file0":"1391795134","file4":"1391795144","file5":"1391795148","file3":"1391795141"},"map_files_photo_id_array":[{"photo_id":"1391795148","filename":"file5"},{"photo_id":"1391795138","filename":"file2"},{"photo_id":"1391795144","filename":"file4"},{"photo_id":"1391795136","filename":"file1"},{"photo_id":"1391795134","filename":"file0"},{"photo_id":"1391795141","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795144":["hashtag1","hashtag2"]},{"1391795138":["hashtag1","hashtag2"]},{"1391795134":["hashtag1","hashtag2"]},{"1391795148":["hashtag1","hashtag2"]},{"1391795136":["hashtag1","hashtag2"]},{"1391795141":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795144, 1391795138, 1391795134, 1391795148, 1391795136, 1391795141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62663292884827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:19:03.081356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_45_2778.jpg', '/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_48_3660.jpg', '/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_51_2726.jpg', '/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_55_3555.jpg', '/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_57_2692.jpg', '/home/pi/Desktop/images/30102025/09/21/image_30102025_09_22_00_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/09/21/image_30102025_09_21_45_2778.jpg
/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_48_3660.jpg
/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_51_2726.jpg
/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_55_3555.jpg
/home/pi/Desktop/images/30102025/09/21/image_30102025_09_21_57_2692.jpg
/home/pi/Desktop/images/30102025/09/21/image_30102025_09_22_00_2648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795165","1391795159","1391795171","1391795168","1391795162","1391795156"],"photo_ids_order":["1391795156","1391795159","1391795162","1391795165","1391795168","1391795171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5ea7b5f79ab6d264a86bc421869a7f41.jpg","text":"TemporaryFile(/tmp/multipartBody7877805576107099064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060805410,"filename":"image_30102025_09_21_55_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/2/8df1cc1fcf8f39f4fb304982c0911e67.jpg","text":"TemporaryFile(/tmp/multipartBody4872898106033697948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060805410,"filename":"image_30102025_09_21_48_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/2/af4297cab453fdeb451bfb5e958b680b.jpg","text":"TemporaryFile(/tmp/multipartBody7018460803507516471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060805410,"filename":"image_30102025_09_22_00_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/2/5774e65bac23c1f29f06495ea062c961.jpg","text":"TemporaryFile(/tmp/multipartBody3424415262641255084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060805410,"filename":"image_30102025_09_21_57_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/2/cbf122f3464f928a04bd92fd7382e073.jpg","text":"TemporaryFile(/tmp/multipartBody7094466287142552411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060805410,"filename":"image_30102025_09_21_51_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/2/da27842b6eeeae6db16c71686b79150e.jpg","text":"TemporaryFile(/tmp/multipartBody5391209810132080796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060805410,"filename":"image_30102025_09_21_45_2778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795162","file1":"1391795159","file0":"1391795156","file4":"1391795168","file5":"1391795171","file3":"1391795165"},"map_files_photo_id_array":[{"photo_id":"1391795171","filename":"file5"},{"photo_id":"1391795162","filename":"file2"},{"photo_id":"1391795168","filename":"file4"},{"photo_id":"1391795159","filename":"file1"},{"photo_id":"1391795156","filename":"file0"},{"photo_id":"1391795165","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795165":["hashtag1","hashtag2"]},{"1391795159":["hashtag1","hashtag2"]},{"1391795171":["hashtag1","hashtag2"]},{"1391795168":["hashtag1","hashtag2"]},{"1391795162":["hashtag1","hashtag2"]},{"1391795156":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795165, 1391795159, 1391795171, 1391795168, 1391795162, 1391795156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.896647691726685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 06:19:42.302478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_03_2671.jpg', '/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_06_3567.jpg', '/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_09_2680.jpg', '/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_13_3721.jpg', '/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_15_2671.jpg', '/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_18_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/09/22/image_30102025_09_22_03_2671.jpg
/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_06_3567.jpg
/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_09_2680.jpg
/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_13_3721.jpg
/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_15_2671.jpg
/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_18_2664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795191","1391795188","1391795181","1391795184","1391795195","1391795177"],"photo_ids_order":["1391795177","1391795181","1391795184","1391795188","1391795191","1391795195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3a3b928b2ad56f1c94ea65969c4dd3f7.jpg","text":"TemporaryFile(/tmp/multipartBody81117545534742838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060843403,"filename":"image_30102025_09_22_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/2/2caace8eebc06a6cb89affdddcc2612b.jpg","text":"TemporaryFile(/tmp/multipartBody3483832176117529246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060843403,"filename":"image_30102025_09_22_13_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/2/799dd09f0cbe1f9ec39bb122fa13d6e9.jpg","text":"TemporaryFile(/tmp/multipartBody4042676818180815577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060843403,"filename":"image_30102025_09_22_06_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/2/8ea9c4bdd0ec2a7ab98534a0ecee9e23.jpg","text":"TemporaryFile(/tmp/multipartBody9094807329107323706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060843403,"filename":"image_30102025_09_22_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/2/07c024e2e6ab7e4637486cd76a2c4833.jpg","text":"TemporaryFile(/tmp/multipartBody1690270834433016135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060843403,"filename":"image_30102025_09_22_18_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/2/abbca36465626c3562eda9eaf6bac0d4.jpg","text":"TemporaryFile(/tmp/multipartBody5084662864352504908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060843403,"filename":"image_30102025_09_22_03_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795184","file1":"1391795181","file0":"1391795177","file4":"1391795191","file5":"1391795195","file3":"1391795188"},"map_files_photo_id_array":[{"photo_id":"1391795195","filename":"file5"},{"photo_id":"1391795184","filename":"file2"},{"photo_id":"1391795191","filename":"file4"},{"photo_id":"1391795181","filename":"file1"},{"photo_id":"1391795177","filename":"file0"},{"photo_id":"1391795188","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795191":["hashtag1","hashtag2"]},{"1391795188":["hashtag1","hashtag2"]},{"1391795181":["hashtag1","hashtag2"]},{"1391795184":["hashtag1","hashtag2"]},{"1391795195":["hashtag1","hashtag2"]},{"1391795177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795191, 1391795188, 1391795181, 1391795184, 1391795195, 1391795177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57461452484131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:20:22.454187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_21_2687.jpg', '/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_24_3622.jpg', '/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_27_2717.jpg', '/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_30_2696.jpg', '/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_33_3674.jpg', '/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_36_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_21_2687.jpg
/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_24_3622.jpg
/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_27_2717.jpg
/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_30_2696.jpg
/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_33_3674.jpg
/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_36_2779.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795219","1391795213","1391795200","1391795205","1391795208","1391795202"],"photo_ids_order":["1391795200","1391795202","1391795205","1391795208","1391795213","1391795219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0b52ba6d57c992019947f16c16728648.jpg","text":"TemporaryFile(/tmp/multipartBody5254989606972400288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060885160,"filename":"image_30102025_09_22_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/2/7ecc41f1db9b7da740d69451a0248151.jpg","text":"TemporaryFile(/tmp/multipartBody5243990524053127465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060885160,"filename":"image_30102025_09_22_33_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/2/5f8cc2bda38464fae6121ea37f8dcaa2.jpg","text":"TemporaryFile(/tmp/multipartBody4665369182042869064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060885160,"filename":"image_30102025_09_22_21_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/2/73f3e279734a8dfd2c75f81186a4bcb4.jpg","text":"TemporaryFile(/tmp/multipartBody743996234554913934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060885160,"filename":"image_30102025_09_22_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/2/ce261ffc518af57c61b82867f396e197.jpg","text":"TemporaryFile(/tmp/multipartBody687537939737343879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060885160,"filename":"image_30102025_09_22_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/2/213b2da001b81b3e412834f10a00558b.jpg","text":"TemporaryFile(/tmp/multipartBody5840166577381849913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060885160,"filename":"image_30102025_09_22_24_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795205","file1":"1391795202","file0":"1391795200","file4":"1391795213","file5":"1391795219","file3":"1391795208"},"map_files_photo_id_array":[{"photo_id":"1391795219","filename":"file5"},{"photo_id":"1391795205","filename":"file2"},{"photo_id":"1391795213","filename":"file4"},{"photo_id":"1391795202","filename":"file1"},{"photo_id":"1391795200","filename":"file0"},{"photo_id":"1391795208","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795219":["hashtag1","hashtag2"]},{"1391795213":["hashtag1","hashtag2"]},{"1391795200":["hashtag1","hashtag2"]},{"1391795205":["hashtag1","hashtag2"]},{"1391795208":["hashtag1","hashtag2"]},{"1391795202":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795219, 1391795213, 1391795200, 1391795205, 1391795208, 1391795202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48836851119995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:21:03.342093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_39_2634.jpg', '/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_43_3729.jpg', '/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_45_2761.jpg', '/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_48_2571.jpg', '/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_52_3677.jpg', '/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_54_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/09/22/image_30102025_09_22_39_2634.jpg
/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_43_3729.jpg
/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_45_2761.jpg
/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_48_2571.jpg
/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_52_3677.jpg
/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_54_2714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795237","1391795227","1391795224","1391795232","1391795229","1391795240"],"photo_ids_order":["1391795224","1391795227","1391795229","1391795232","1391795237","1391795240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6a728c1444ac4d2cffd0b6010a4e7953.jpg","text":"TemporaryFile(/tmp/multipartBody7739628148340494302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060925509,"filename":"image_30102025_09_22_52_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/2/3998b23956c1c391bb2ff8dd46265d00.jpg","text":"TemporaryFile(/tmp/multipartBody7226569648780414767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060925509,"filename":"image_30102025_09_22_43_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/2/15af64d2cf74ca41b280f9078e3a8ad6.jpg","text":"TemporaryFile(/tmp/multipartBody7203085359006324524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060925509,"filename":"image_30102025_09_22_39_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/2/a3047383e726a84b2c53a2765b92eebc.jpg","text":"TemporaryFile(/tmp/multipartBody5422876565459846074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060925509,"filename":"image_30102025_09_22_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/2/fcfc3630c832e0e70ffc07375b60ec9a.jpg","text":"TemporaryFile(/tmp/multipartBody2768108193665555252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060925509,"filename":"image_30102025_09_22_45_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/2/0c648d22076ac27d08fc261c0b58d453.jpg","text":"TemporaryFile(/tmp/multipartBody6120667308919741774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060925509,"filename":"image_30102025_09_22_54_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795229","file1":"1391795227","file0":"1391795224","file4":"1391795237","file5":"1391795240","file3":"1391795232"},"map_files_photo_id_array":[{"photo_id":"1391795240","filename":"file5"},{"photo_id":"1391795229","filename":"file2"},{"photo_id":"1391795237","filename":"file4"},{"photo_id":"1391795227","filename":"file1"},{"photo_id":"1391795224","filename":"file0"},{"photo_id":"1391795232","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795237":["hashtag1","hashtag2"]},{"1391795227":["hashtag1","hashtag2"]},{"1391795224":["hashtag1","hashtag2"]},{"1391795232":["hashtag1","hashtag2"]},{"1391795229":["hashtag1","hashtag2"]},{"1391795240":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795237, 1391795227, 1391795224, 1391795232, 1391795229, 1391795240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42053818702698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 06:21:42.657951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_57_2650.jpg', '/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_06_2623.jpg', '/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_09_2735.jpg', '/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_12_3638.jpg', '/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_15_2625.jpg', '/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_19_3568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/22/image_30102025_09_22_57_2650.jpg
/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_06_2623.jpg
/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_09_2735.jpg
/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_12_3638.jpg
/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_15_2625.jpg
/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_19_3568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795260","1391795262","1391795256","1391795265","1391795253","1391795249"],"photo_ids_order":["1391795249","1391795253","1391795256","1391795260","1391795262","1391795265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c61e3b7fc2657b754913dc1a9f94335a.jpg","text":"TemporaryFile(/tmp/multipartBody1961631994570826746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060963775,"filename":"image_30102025_09_23_12_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/2/6d134d69d876726ce1ada9557bd29496.jpg","text":"TemporaryFile(/tmp/multipartBody6730500311545017543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060963775,"filename":"image_30102025_09_23_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/2/dddfccf84b128b0f48f3b14a0c870590.jpg","text":"TemporaryFile(/tmp/multipartBody4437317506189312106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060963775,"filename":"image_30102025_09_23_09_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/2/c93a5aca24bf42f76a41471f5f8a4e4f.jpg","text":"TemporaryFile(/tmp/multipartBody5550507726618689274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060963775,"filename":"image_30102025_09_23_19_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/2/8931e4b2e556e68a280394df18f9835b.jpg","text":"TemporaryFile(/tmp/multipartBody8517111209777513908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060963775,"filename":"image_30102025_09_23_06_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/2/88921bb8392f8756cb5b2e5efcfbe5cf.jpg","text":"TemporaryFile(/tmp/multipartBody6396560608425714636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762060963775,"filename":"image_30102025_09_22_57_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795256","file1":"1391795253","file0":"1391795249","file4":"1391795262","file5":"1391795265","file3":"1391795260"},"map_files_photo_id_array":[{"photo_id":"1391795265","filename":"file5"},{"photo_id":"1391795256","filename":"file2"},{"photo_id":"1391795262","filename":"file4"},{"photo_id":"1391795253","filename":"file1"},{"photo_id":"1391795249","filename":"file0"},{"photo_id":"1391795260","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795260":["hashtag1","hashtag2"]},{"1391795262":["hashtag1","hashtag2"]},{"1391795256":["hashtag1","hashtag2"]},{"1391795265":["hashtag1","hashtag2"]},{"1391795253":["hashtag1","hashtag2"]},{"1391795249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795260, 1391795262, 1391795256, 1391795265, 1391795253, 1391795249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56775951385498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:22:21.731787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_21_2627.jpg', '/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_24_2761.jpg', '/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_27_2688.jpg', '/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_30_3794.jpg', '/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_33_2769.jpg', '/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_36_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/09/23/image_30102025_09_23_21_2627.jpg
/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_24_2761.jpg
/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_27_2688.jpg
/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_30_3794.jpg
/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_33_2769.jpg
/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_36_2686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795280","1391795283","1391795277","1391795270","1391795288","1391795273"],"photo_ids_order":["1391795270","1391795273","1391795277","1391795280","1391795283","1391795288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6edd48a2d3be8239640aacd5b4e35032.jpg","text":"TemporaryFile(/tmp/multipartBody6814146620530030224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061004405,"filename":"image_30102025_09_23_30_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/2/e30dfd2528d7ed96181154598677c5c4.jpg","text":"TemporaryFile(/tmp/multipartBody1345609307003282653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061004405,"filename":"image_30102025_09_23_33_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/2/114ce304df766e2953e9dae48f1432c3.jpg","text":"TemporaryFile(/tmp/multipartBody2633016044839934193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061004405,"filename":"image_30102025_09_23_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/2/28c593f870c3d4ab4b25e2a2107fd97c.jpg","text":"TemporaryFile(/tmp/multipartBody1001872138178818819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061004405,"filename":"image_30102025_09_23_21_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/2/5b0d605d934b4040f42086fd4c5a9fe4.jpg","text":"TemporaryFile(/tmp/multipartBody889897850209987398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061004405,"filename":"image_30102025_09_23_36_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/2/35cea50c61c9e8b481eae515d7c841c5.jpg","text":"TemporaryFile(/tmp/multipartBody2665869594316523111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061004405,"filename":"image_30102025_09_23_24_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795277","file1":"1391795273","file0":"1391795270","file4":"1391795283","file5":"1391795288","file3":"1391795280"},"map_files_photo_id_array":[{"photo_id":"1391795288","filename":"file5"},{"photo_id":"1391795277","filename":"file2"},{"photo_id":"1391795283","filename":"file4"},{"photo_id":"1391795273","filename":"file1"},{"photo_id":"1391795270","filename":"file0"},{"photo_id":"1391795280","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795280":["hashtag1","hashtag2"]},{"1391795283":["hashtag1","hashtag2"]},{"1391795277":["hashtag1","hashtag2"]},{"1391795270":["hashtag1","hashtag2"]},{"1391795288":["hashtag1","hashtag2"]},{"1391795273":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795280, 1391795283, 1391795277, 1391795270, 1391795288, 1391795273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26739144325256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:23:02.629249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_39_3639.jpg', '/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_42_2682.jpg', '/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_45_2700.jpg', '/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_48_3566.jpg', '/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_51_2730.jpg', '/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_54_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_39_3639.jpg
/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_42_2682.jpg
/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_45_2700.jpg
/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_48_3566.jpg
/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_51_2730.jpg
/home/pi/Desktop/images/30102025/09/23/image_30102025_09_23_54_2730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795299","1391795308","1391795302","1391795311","1391795305","1391795295"],"photo_ids_order":["1391795295","1391795299","1391795302","1391795305","1391795308","1391795311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/102a836b1f6ceba3a4ca267f89ce7306.jpg","text":"TemporaryFile(/tmp/multipartBody8117278866083808606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061044847,"filename":"image_30102025_09_23_42_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/2/1ec9a85c2c1d234934cd9fc280dcad4c.jpg","text":"TemporaryFile(/tmp/multipartBody5958928984365340381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061044847,"filename":"image_30102025_09_23_51_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/2/eb202bfb239cdd5a3237deba01de39ed.jpg","text":"TemporaryFile(/tmp/multipartBody5086691112301867255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061044847,"filename":"image_30102025_09_23_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/2/dbe9ae790b5b367325cd1d5c75a0a89b.jpg","text":"TemporaryFile(/tmp/multipartBody4510399431690582068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061044847,"filename":"image_30102025_09_23_54_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/2/e0b98aa10c8fa042bdd96f588d6eb794.jpg","text":"TemporaryFile(/tmp/multipartBody2251220668985062411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061044847,"filename":"image_30102025_09_23_48_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/2/fea56bc49ec8218ba117636d29537991.jpg","text":"TemporaryFile(/tmp/multipartBody8402205763290779147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061044847,"filename":"image_30102025_09_23_39_3639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795302","file1":"1391795299","file0":"1391795295","file4":"1391795308","file5":"1391795311","file3":"1391795305"},"map_files_photo_id_array":[{"photo_id":"1391795311","filename":"file5"},{"photo_id":"1391795302","filename":"file2"},{"photo_id":"1391795308","filename":"file4"},{"photo_id":"1391795299","filename":"file1"},{"photo_id":"1391795295","filename":"file0"},{"photo_id":"1391795305","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795299":["hashtag1","hashtag2"]},{"1391795308":["hashtag1","hashtag2"]},{"1391795302":["hashtag1","hashtag2"]},{"1391795311":["hashtag1","hashtag2"]},{"1391795305":["hashtag1","hashtag2"]},{"1391795295":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795299, 1391795308, 1391795302, 1391795311, 1391795305, 1391795295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26959300041199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 06:23:41.989066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_06_2556.jpg', '/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_09_3665.jpg', '/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_12_2651.jpg', '/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_15_2659.jpg', '/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_18_3773.jpg', '/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_21_2551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_06_2556.jpg
/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_09_3665.jpg
/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_12_2651.jpg
/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_15_2659.jpg
/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_18_3773.jpg
/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_21_2551.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795315","1391795318","1391795332","1391795329","1391795323","1391795334"],"photo_ids_order":["1391795315","1391795318","1391795323","1391795329","1391795332","1391795334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5151d7fb024065ec7be966742f0134c2.jpg","text":"TemporaryFile(/tmp/multipartBody287934800449859375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061083114,"filename":"image_30102025_09_24_06_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/2/c00af06e8391cd2dd8b6e0025778740d.jpg","text":"TemporaryFile(/tmp/multipartBody2306048201844030657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061083114,"filename":"image_30102025_09_24_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/2/9283b63cc871e92ab62edb2e8e850819.jpg","text":"TemporaryFile(/tmp/multipartBody1768971648309155340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061083114,"filename":"image_30102025_09_24_18_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/2/c70b41040f5fc3b53ba83dfa0ab3270b.jpg","text":"TemporaryFile(/tmp/multipartBody2034180557126084365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061083114,"filename":"image_30102025_09_24_15_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/2/7f72e760cfd2cbe4df1f64ae5e7f6fcc.jpg","text":"TemporaryFile(/tmp/multipartBody8582128341509643777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061083114,"filename":"image_30102025_09_24_12_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/2/f472e07624263610450734220081b668.jpg","text":"TemporaryFile(/tmp/multipartBody6285612387232108290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061083114,"filename":"image_30102025_09_24_21_2551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795323","file1":"1391795318","file0":"1391795315","file4":"1391795332","file5":"1391795334","file3":"1391795329"},"map_files_photo_id_array":[{"photo_id":"1391795334","filename":"file5"},{"photo_id":"1391795323","filename":"file2"},{"photo_id":"1391795332","filename":"file4"},{"photo_id":"1391795318","filename":"file1"},{"photo_id":"1391795315","filename":"file0"},{"photo_id":"1391795329","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795315":["hashtag1","hashtag2"]},{"1391795318":["hashtag1","hashtag2"]},{"1391795332":["hashtag1","hashtag2"]},{"1391795329":["hashtag1","hashtag2"]},{"1391795323":["hashtag1","hashtag2"]},{"1391795334":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795315, 1391795318, 1391795332, 1391795329, 1391795323, 1391795334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.107202768325806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:24:22.179654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_24_2667.jpg', '/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_27_3653.jpg', '/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_30_2579.jpg', '/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_33_2790.jpg', '/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_36_3567.jpg', '/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_39_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/09/24/image_30102025_09_24_24_2667.jpg
/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_27_3653.jpg
/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_30_2579.jpg
/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_33_2790.jpg
/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_36_3567.jpg
/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_39_2629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795342","1391795345","1391795356","1391795338","1391795353","1391795349"],"photo_ids_order":["1391795338","1391795342","1391795345","1391795349","1391795353","1391795356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fe52164db12d09d3e586cb6c1d99ec85.jpg","text":"TemporaryFile(/tmp/multipartBody1931579068265220533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061124843,"filename":"image_30102025_09_24_27_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/2/d192b305996aa595c3678fe4cc3cca13.jpg","text":"TemporaryFile(/tmp/multipartBody173324376409868662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061124843,"filename":"image_30102025_09_24_30_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/2/3cfaa9137dd844bc364cbe727f1cdda8.jpg","text":"TemporaryFile(/tmp/multipartBody5347551155134327891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061124843,"filename":"image_30102025_09_24_39_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/2/873dc3b568fc8be4c7ec8b27c907afae.jpg","text":"TemporaryFile(/tmp/multipartBody233608274686879085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061124843,"filename":"image_30102025_09_24_24_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/2/a3abcada7cb6aeca43d88f46e048ef80.jpg","text":"TemporaryFile(/tmp/multipartBody8982532268886189558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061124843,"filename":"image_30102025_09_24_36_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/2/6909ebb03d8899af471c5c3a6a24ce26.jpg","text":"TemporaryFile(/tmp/multipartBody8394261256637977461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061124843,"filename":"image_30102025_09_24_33_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795345","file1":"1391795342","file0":"1391795338","file4":"1391795353","file5":"1391795356","file3":"1391795349"},"map_files_photo_id_array":[{"photo_id":"1391795356","filename":"file5"},{"photo_id":"1391795345","filename":"file2"},{"photo_id":"1391795353","filename":"file4"},{"photo_id":"1391795342","filename":"file1"},{"photo_id":"1391795338","filename":"file0"},{"photo_id":"1391795349","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795342":["hashtag1","hashtag2"]},{"1391795345":["hashtag1","hashtag2"]},{"1391795356":["hashtag1","hashtag2"]},{"1391795338":["hashtag1","hashtag2"]},{"1391795353":["hashtag1","hashtag2"]},{"1391795349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795342, 1391795345, 1391795356, 1391795338, 1391795353, 1391795349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38724327087402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:25:03.076833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_42_2766.jpg', '/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_45_3759.jpg', '/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_48_2806.jpg', '/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_51_2677.jpg', '/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_54_2898.jpg', '/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_57_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/09/24/image_30102025_09_24_42_2766.jpg
/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_45_3759.jpg
/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_48_2806.jpg
/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_51_2677.jpg
/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_54_2898.jpg
/home/pi/Desktop/images/30102025/09/24/image_30102025_09_24_57_3546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795380","1391795374","1391795371","1391795365","1391795378","1391795369"],"photo_ids_order":["1391795365","1391795369","1391795371","1391795374","1391795378","1391795380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3becffff812be8b31100a1bd85b76346.jpg","text":"TemporaryFile(/tmp/multipartBody4318971582032728116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061165271,"filename":"image_30102025_09_24_57_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/2/fbe693fa2937287cd9a1c337ea472c57.jpg","text":"TemporaryFile(/tmp/multipartBody345467547690081678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061165271,"filename":"image_30102025_09_24_51_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/2/a64f49a606fb6c2285c9ee89a863192a.jpg","text":"TemporaryFile(/tmp/multipartBody1367132931658145042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061165271,"filename":"image_30102025_09_24_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/2/140af2bd30137dff6e7a7b797cc496da.jpg","text":"TemporaryFile(/tmp/multipartBody1670311947033772918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061165271,"filename":"image_30102025_09_24_42_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/2/db0686c7db778454d45979667165224a.jpg","text":"TemporaryFile(/tmp/multipartBody1023078085436799382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061165271,"filename":"image_30102025_09_24_54_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/2/1e0da4b5e6e3e3d4ea92c84f0ff79874.jpg","text":"TemporaryFile(/tmp/multipartBody6867004062434552454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061165271,"filename":"image_30102025_09_24_45_3759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795371","file1":"1391795369","file0":"1391795365","file4":"1391795378","file5":"1391795380","file3":"1391795374"},"map_files_photo_id_array":[{"photo_id":"1391795380","filename":"file5"},{"photo_id":"1391795371","filename":"file2"},{"photo_id":"1391795378","filename":"file4"},{"photo_id":"1391795369","filename":"file1"},{"photo_id":"1391795365","filename":"file0"},{"photo_id":"1391795374","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795380":["hashtag1","hashtag2"]},{"1391795374":["hashtag1","hashtag2"]},{"1391795371":["hashtag1","hashtag2"]},{"1391795365":["hashtag1","hashtag2"]},{"1391795378":["hashtag1","hashtag2"]},{"1391795369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795380, 1391795374, 1391795371, 1391795365, 1391795378, 1391795369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.85224151611328 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:26:03.281539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/24/image_30102025_09_25_00_2645.jpg', '/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_03_2747.jpg', '/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_06_3070.jpg', '/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_09_3618.jpg', '/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_12_2658.jpg', '/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_15_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/09/24/image_30102025_09_25_00_2645.jpg
/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_03_2747.jpg
/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_06_3070.jpg
/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_09_3618.jpg
/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_12_2658.jpg
/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_15_2789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795405","1391795398","1391795401","1391795404","1391795394","1391795396"],"photo_ids_order":["1391795394","1391795396","1391795398","1391795401","1391795404","1391795405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8c56272b49495818507c72c3574de1b2.jpg","text":"TemporaryFile(/tmp/multipartBody8137857889457023989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061225402,"filename":"image_30102025_09_25_15_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/2/c13bec4cb3e45c0f61cbaf9cf5a5f4fc.jpg","text":"TemporaryFile(/tmp/multipartBody5720423193728032614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061225402,"filename":"image_30102025_09_25_06_3070.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2c204ed81b07f8cc4bf5f078a7bd5645.jpg","text":"TemporaryFile(/tmp/multipartBody5058864253749295266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061225402,"filename":"image_30102025_09_25_09_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/2/94a001afed4013c9aba0255170b91d90.jpg","text":"TemporaryFile(/tmp/multipartBody2677124147176930919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061225402,"filename":"image_30102025_09_25_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/2/543da92c2e662d19f511f0ee8de59a42.jpg","text":"TemporaryFile(/tmp/multipartBody2347315270226691879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061225402,"filename":"image_30102025_09_25_00_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/2/50cd6c8955666c9f199897633bac8ce1.jpg","text":"TemporaryFile(/tmp/multipartBody2150874400108162831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061225402,"filename":"image_30102025_09_25_03_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795398","file1":"1391795396","file0":"1391795394","file4":"1391795404","file5":"1391795405","file3":"1391795401"},"map_files_photo_id_array":[{"photo_id":"1391795405","filename":"file5"},{"photo_id":"1391795398","filename":"file2"},{"photo_id":"1391795404","filename":"file4"},{"photo_id":"1391795396","filename":"file1"},{"photo_id":"1391795394","filename":"file0"},{"photo_id":"1391795401","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795405":["hashtag1","hashtag2"]},{"1391795398":["hashtag1","hashtag2"]},{"1391795401":["hashtag1","hashtag2"]},{"1391795404":["hashtag1","hashtag2"]},{"1391795394":["hashtag1","hashtag2"]},{"1391795396":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795405, 1391795398, 1391795401, 1391795404, 1391795394, 1391795396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.966392993927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 06:26:42.713423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_17_2606.jpg', '/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_21_3766.jpg', '/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_24_2661.jpg', '/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_26_2547.jpg', '/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_30_3808.jpg', '/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_33_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/09/25/image_30102025_09_25_17_2606.jpg
/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_21_3766.jpg
/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_24_2661.jpg
/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_26_2547.jpg
/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_30_3808.jpg
/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_33_2705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795420","1391795411","1391795425","1391795430","1391795427","1391795415"],"photo_ids_order":["1391795411","1391795415","1391795420","1391795425","1391795427","1391795430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/37d0cef81d4cfa0276ba9a7d5372bef2.jpg","text":"TemporaryFile(/tmp/multipartBody9223201519189111574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061263833,"filename":"image_30102025_09_25_24_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/2/dba53f98a15b656f6d1879e41c2ee0a7.jpg","text":"TemporaryFile(/tmp/multipartBody7956414525942617047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061263833,"filename":"image_30102025_09_25_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/2/555cee29b43f3c8a924a90f64c625588.jpg","text":"TemporaryFile(/tmp/multipartBody2295424327893001120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061263833,"filename":"image_30102025_09_25_26_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/2/68aa54aaf35b232d28f45ed477cba437.jpg","text":"TemporaryFile(/tmp/multipartBody4496434869729856989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061263833,"filename":"image_30102025_09_25_33_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/2/f36554d1ed950dd5e29a9bf00bb3ab6f.jpg","text":"TemporaryFile(/tmp/multipartBody3204735559245261762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061263833,"filename":"image_30102025_09_25_30_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/2/5f14ded2b7e2e228a760398e9e281f5d.jpg","text":"TemporaryFile(/tmp/multipartBody4809491884425901472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061263833,"filename":"image_30102025_09_25_21_3766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795420","file1":"1391795415","file0":"1391795411","file4":"1391795427","file5":"1391795430","file3":"1391795425"},"map_files_photo_id_array":[{"photo_id":"1391795430","filename":"file5"},{"photo_id":"1391795420","filename":"file2"},{"photo_id":"1391795427","filename":"file4"},{"photo_id":"1391795415","filename":"file1"},{"photo_id":"1391795411","filename":"file0"},{"photo_id":"1391795425","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795420":["hashtag1","hashtag2"]},{"1391795411":["hashtag1","hashtag2"]},{"1391795425":["hashtag1","hashtag2"]},{"1391795430":["hashtag1","hashtag2"]},{"1391795427":["hashtag1","hashtag2"]},{"1391795415":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795420, 1391795411, 1391795425, 1391795430, 1391795427, 1391795415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.444236040115356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:27:21.944666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_35_2568.jpg', '/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_39_3639.jpg', '/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_42_2736.jpg', '/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_45_2745.jpg', '/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_51_2706.jpg', '/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_54_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/09/25/image_30102025_09_25_35_2568.jpg
/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_39_3639.jpg
/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_42_2736.jpg
/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_45_2745.jpg
/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_51_2706.jpg
/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_54_2801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795449","1391795434","1391795442","1391795436","1391795445","1391795439"],"photo_ids_order":["1391795434","1391795436","1391795439","1391795442","1391795445","1391795449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9104acea3a9d9861ea3be4400a70cc1d.jpg","text":"TemporaryFile(/tmp/multipartBody5430058253893865594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061304838,"filename":"image_30102025_09_25_54_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/2/75dc837916b1928d01d9da7743faed24.jpg","text":"TemporaryFile(/tmp/multipartBody7725584731854415224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061304838,"filename":"image_30102025_09_25_35_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/2/c77fa80c8f3e4ee2c52d83942fbd5c86.jpg","text":"TemporaryFile(/tmp/multipartBody8686161344536377934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061304838,"filename":"image_30102025_09_25_45_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/2/65e7b57f065efa8ef955c2dc3c29cb3c.jpg","text":"TemporaryFile(/tmp/multipartBody924165590875613239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061304838,"filename":"image_30102025_09_25_39_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/2/217ba11ff805ac8065a8c42b0a78c04e.jpg","text":"TemporaryFile(/tmp/multipartBody9069724438167528654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061304838,"filename":"image_30102025_09_25_51_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/2/10b49ec8c5f0b9ed87ef5c5ece1542e6.jpg","text":"TemporaryFile(/tmp/multipartBody6292392933691339664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061304838,"filename":"image_30102025_09_25_42_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795439","file1":"1391795436","file0":"1391795434","file4":"1391795445","file5":"1391795449","file3":"1391795442"},"map_files_photo_id_array":[{"photo_id":"1391795449","filename":"file5"},{"photo_id":"1391795439","filename":"file2"},{"photo_id":"1391795445","filename":"file4"},{"photo_id":"1391795436","filename":"file1"},{"photo_id":"1391795434","filename":"file0"},{"photo_id":"1391795442","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795449":["hashtag1","hashtag2"]},{"1391795434":["hashtag1","hashtag2"]},{"1391795442":["hashtag1","hashtag2"]},{"1391795436":["hashtag1","hashtag2"]},{"1391795445":["hashtag1","hashtag2"]},{"1391795439":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795449, 1391795434, 1391795442, 1391795436, 1391795445, 1391795439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29288601875305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:28:02.529631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_57_2836.jpg', '/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_03_2822.jpg', '/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_12_3764.jpg', '/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_15_2590.jpg', '/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_17_2658.jpg', '/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_21_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/09/25/image_30102025_09_25_57_2836.jpg
/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_03_2822.jpg
/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_12_3764.jpg
/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_15_2590.jpg
/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_17_2658.jpg
/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_21_3634.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.0322487354278564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:28:22.066891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/25/image_30102025_09_25_57_2836.jpg', '/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_03_2822.jpg', '/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_12_3764.jpg', '/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_15_2590.jpg', '/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_17_2658.jpg', '/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_21_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/09/25/image_30102025_09_25_57_2836.jpg
/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_03_2822.jpg
/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_12_3764.jpg
/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_15_2590.jpg
/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_17_2658.jpg
/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_21_3634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795470","1391795467","1391795472","1391795469","1391795478","1391795474"],"photo_ids_order":["1391795467","1391795469","1391795470","1391795472","1391795474","1391795478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/dc638f0fcae1568ce129c1a847b2a0ee.jpg","text":"TemporaryFile(/tmp/multipartBody531187558461469328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061364637,"filename":"image_30102025_09_26_12_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/2/b9a15bf093b939c9ba978bd1e9fa23e3.jpg","text":"TemporaryFile(/tmp/multipartBody5417751887625037126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061364637,"filename":"image_30102025_09_25_57_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/2/36c3c5aabd398a4e72613238520525cf.jpg","text":"TemporaryFile(/tmp/multipartBody778596001113127821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061364637,"filename":"image_30102025_09_26_15_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/2/d767e7d7efc111157b10cff3333661fa.jpg","text":"TemporaryFile(/tmp/multipartBody8907241114998962431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061364637,"filename":"image_30102025_09_26_03_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/2/960d827bf9755f3eccfe3f98fb337b69.jpg","text":"TemporaryFile(/tmp/multipartBody7847190569712890185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061364637,"filename":"image_30102025_09_26_21_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/2/016d916f72ab4e29d3ec67d1d0178d66.jpg","text":"TemporaryFile(/tmp/multipartBody2960868616744520230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061364637,"filename":"image_30102025_09_26_17_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795470","file1":"1391795469","file0":"1391795467","file4":"1391795474","file5":"1391795478","file3":"1391795472"},"map_files_photo_id_array":[{"photo_id":"1391795478","filename":"file5"},{"photo_id":"1391795470","filename":"file2"},{"photo_id":"1391795474","filename":"file4"},{"photo_id":"1391795469","filename":"file1"},{"photo_id":"1391795467","filename":"file0"},{"photo_id":"1391795472","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795470":["hashtag1","hashtag2"]},{"1391795467":["hashtag1","hashtag2"]},{"1391795472":["hashtag1","hashtag2"]},{"1391795469":["hashtag1","hashtag2"]},{"1391795478":["hashtag1","hashtag2"]},{"1391795474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795470, 1391795467, 1391795472, 1391795469, 1391795478, 1391795474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72855830192566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:29:03.375103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_24_2664.jpg', '/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_26_2656.jpg', '/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_30_3585.jpg', '/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_33_2739.jpg', '/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_35_2703.jpg', '/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_39_3678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_24_2664.jpg
/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_26_2656.jpg
/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_30_3585.jpg
/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_33_2739.jpg
/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_35_2703.jpg
/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_39_3678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795501","1391795491","1391795504","1391795494","1391795495","1391795498"],"photo_ids_order":["1391795491","1391795494","1391795495","1391795498","1391795501","1391795504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a6b4b222e2919aba300ff09f56dd4338.jpg","text":"TemporaryFile(/tmp/multipartBody242860125867514320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061405734,"filename":"image_30102025_09_26_35_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/2/c22a6f3fcd249cb2b162b8f02c4aa80f.jpg","text":"TemporaryFile(/tmp/multipartBody3953261489113079060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061405734,"filename":"image_30102025_09_26_24_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/2/51e347d0fe819f0bf032ef300db0b46c.jpg","text":"TemporaryFile(/tmp/multipartBody9053811002057637287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061405734,"filename":"image_30102025_09_26_39_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/2/186f4e2d9dfc77ecf87957ba79d80ab9.jpg","text":"TemporaryFile(/tmp/multipartBody8446777870873770792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061405734,"filename":"image_30102025_09_26_26_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/2/34b584ea63a2b44eca575577968078eb.jpg","text":"TemporaryFile(/tmp/multipartBody6998159685756638431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061405734,"filename":"image_30102025_09_26_30_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/2/4086bd99557c8bf386dc06266dbfa2f4.jpg","text":"TemporaryFile(/tmp/multipartBody7468758317455566968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061405734,"filename":"image_30102025_09_26_33_2739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795495","file1":"1391795494","file0":"1391795491","file4":"1391795501","file5":"1391795504","file3":"1391795498"},"map_files_photo_id_array":[{"photo_id":"1391795504","filename":"file5"},{"photo_id":"1391795495","filename":"file2"},{"photo_id":"1391795501","filename":"file4"},{"photo_id":"1391795494","filename":"file1"},{"photo_id":"1391795491","filename":"file0"},{"photo_id":"1391795498","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795501":["hashtag1","hashtag2"]},{"1391795491":["hashtag1","hashtag2"]},{"1391795504":["hashtag1","hashtag2"]},{"1391795494":["hashtag1","hashtag2"]},{"1391795495":["hashtag1","hashtag2"]},{"1391795498":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795501, 1391795491, 1391795504, 1391795494, 1391795495, 1391795498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91050362586975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 06:29:42.320029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_42_2702.jpg', '/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_44_2631.jpg', '/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_48_3670.jpg', '/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_51_2705.jpg', '/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_53_2643.jpg', '/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_56_2809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_42_2702.jpg
/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_44_2631.jpg
/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_48_3670.jpg
/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_51_2705.jpg
/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_53_2643.jpg
/home/pi/Desktop/images/30102025/09/26/image_30102025_09_26_56_2809.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795528","1391795522","1391795519","1391795515","1391795532","1391795525"],"photo_ids_order":["1391795515","1391795519","1391795522","1391795525","1391795528","1391795532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b17264a255a7f88063ae0758856d60c7.jpg","text":"TemporaryFile(/tmp/multipartBody1204635868551464349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061443364,"filename":"image_30102025_09_26_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/2/e66166720a83e506598c054caedfb0d7.jpg","text":"TemporaryFile(/tmp/multipartBody8708842755187656076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061443364,"filename":"image_30102025_09_26_48_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/2/5d0e3e32f9be25442b2234ba72ae13ee.jpg","text":"TemporaryFile(/tmp/multipartBody3242240419001704749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061443364,"filename":"image_30102025_09_26_44_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/2/316139de9ba814e4a74df0723242823e.jpg","text":"TemporaryFile(/tmp/multipartBody9121589261218574574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061443364,"filename":"image_30102025_09_26_42_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/2/f4405537bc9aa24b04a9685fbf8d1076.jpg","text":"TemporaryFile(/tmp/multipartBody8484391602453566144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061443364,"filename":"image_30102025_09_26_56_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/2/824130dcf92ddbf75601606d3db1318f.jpg","text":"TemporaryFile(/tmp/multipartBody3026136615988491424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061443364,"filename":"image_30102025_09_26_51_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795522","file1":"1391795519","file0":"1391795515","file4":"1391795528","file5":"1391795532","file3":"1391795525"},"map_files_photo_id_array":[{"photo_id":"1391795532","filename":"file5"},{"photo_id":"1391795522","filename":"file2"},{"photo_id":"1391795528","filename":"file4"},{"photo_id":"1391795519","filename":"file1"},{"photo_id":"1391795515","filename":"file0"},{"photo_id":"1391795525","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795528":["hashtag1","hashtag2"]},{"1391795522":["hashtag1","hashtag2"]},{"1391795519":["hashtag1","hashtag2"]},{"1391795515":["hashtag1","hashtag2"]},{"1391795532":["hashtag1","hashtag2"]},{"1391795525":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795528, 1391795522, 1391795519, 1391795515, 1391795532, 1391795525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69666290283203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:30:22.670137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/26/image_30102025_09_27_00_3558.jpg', '/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_03_2750.jpg', '/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_05_2851.jpg', '/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_09_3705.jpg', '/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_12_2602.jpg', '/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_14_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/09/26/image_30102025_09_27_00_3558.jpg
/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_03_2750.jpg
/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_05_2851.jpg
/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_09_3705.jpg
/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_12_2602.jpg
/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_14_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":["1391795554","1391795545","1391795556","1391795541","1391795550","1391795558"],"photo_ids_order":["1391795541","1391795545","1391795550","1391795554","1391795556","1391795558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9ce911c5c3cb711f1fc5a9d314e11482.jpg","text":"TemporaryFile(/tmp/multipartBody4609462559257458673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061498498,"filename":"image_30102025_09_27_09_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/2/268586f41f92abb578ac9f5699da92d3.jpg","text":"TemporaryFile(/tmp/multipartBody4901044747522619609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061498498,"filename":"image_30102025_09_27_03_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/2/06db67b03e6d87986320ac29c030bff8.jpg","text":"TemporaryFile(/tmp/multipartBody2575450473848821811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061498498,"filename":"image_30102025_09_27_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/2/71b320315154f70be54620e38bdd3bf6.jpg","text":"TemporaryFile(/tmp/multipartBody7983760976195540624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061498498,"filename":"image_30102025_09_27_00_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/2/6d56d017f68803802798a0ff88fe4c1a.jpg","text":"TemporaryFile(/tmp/multipartBody7274518380790330242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061498498,"filename":"image_30102025_09_27_05_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/2/a90d9e52c1cefba0c64d172fc5709097.jpg","text":"TemporaryFile(/tmp/multipartBody459206043586056503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061498498,"filename":"image_30102025_09_27_14_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795550","file1":"1391795545","file0":"1391795541","file4":"1391795556","file5":"1391795558","file3":"1391795554"},"map_files_photo_id_array":[{"photo_id":"1391795558","filename":"file5"},{"photo_id":"1391795550","filename":"file2"},{"photo_id":"1391795556","filename":"file4"},{"photo_id":"1391795545","filename":"file1"},{"photo_id":"1391795541","filename":"file0"},{"photo_id":"1391795554","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795554":["hashtag1","hashtag2"]},{"1391795545":["hashtag1","hashtag2"]},{"1391795556":["hashtag1","hashtag2"]},{"1391795541":["hashtag1","hashtag2"]},{"1391795550":["hashtag1","hashtag2"]},{"1391795558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795554, 1391795545, 1391795556, 1391795541, 1391795550, 1391795558)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 61.937259674072266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 06:31:45.143764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_18_3608.jpg', '/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_21_2679.jpg', '/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_26_2673.jpg', '/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_30_3644.jpg', '/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_32_2718.jpg', '/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_35_2940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_18_3608.jpg
/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_21_2679.jpg
/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_26_2673.jpg
/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_30_3644.jpg
/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_32_2718.jpg
/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_35_2940.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795593","1391795596","1391795583","1391795588","1391795591","1391795585"],"photo_ids_order":["1391795583","1391795585","1391795588","1391795591","1391795593","1391795596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0e9a486e84e5c6a99c5ff2a8f1ba716f.jpg","text":"TemporaryFile(/tmp/multipartBody5690252685389354547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061576249,"filename":"image_30102025_09_27_32_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/2/8cbaa7442e89546f36f42fb66b153d99.jpg","text":"TemporaryFile(/tmp/multipartBody2767778488951121961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061576249,"filename":"image_30102025_09_27_35_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/2/c7457a1c9a93ddc33b758d7d50bb89a2.jpg","text":"TemporaryFile(/tmp/multipartBody1693330976069813431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061576249,"filename":"image_30102025_09_27_18_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/2/935317c3840adf66e2ff1177d403d063.jpg","text":"TemporaryFile(/tmp/multipartBody5238187722648131375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061576249,"filename":"image_30102025_09_27_26_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/2/fb1791efa746c76059f6341b5ce04c26.jpg","text":"TemporaryFile(/tmp/multipartBody2985635556371597709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061576249,"filename":"image_30102025_09_27_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/2/f23689af0acf1363cd2b12c7b364cdf1.jpg","text":"TemporaryFile(/tmp/multipartBody611852375813657132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061576249,"filename":"image_30102025_09_27_21_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795588","file1":"1391795585","file0":"1391795583","file4":"1391795593","file5":"1391795596","file3":"1391795591"},"map_files_photo_id_array":[{"photo_id":"1391795596","filename":"file5"},{"photo_id":"1391795588","filename":"file2"},{"photo_id":"1391795593","filename":"file4"},{"photo_id":"1391795585","filename":"file1"},{"photo_id":"1391795583","filename":"file0"},{"photo_id":"1391795591","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795593":["hashtag1","hashtag2"]},{"1391795596":["hashtag1","hashtag2"]},{"1391795583":["hashtag1","hashtag2"]},{"1391795588":["hashtag1","hashtag2"]},{"1391795591":["hashtag1","hashtag2"]},{"1391795585":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795593, 1391795596, 1391795583, 1391795588, 1391795591, 1391795585)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 59.74103546142578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:33:03.128023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 06:33:22.783361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_38_2766.jpg', '/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_42_3710.jpg', '/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_45_2740.jpg', '/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_47_2654.jpg', '/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_51_3610.jpg', '/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_54_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/09/27/image_30102025_09_27_38_2766.jpg
/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_42_3710.jpg
/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_45_2740.jpg
/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_47_2654.jpg
/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_51_3610.jpg
/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_54_2748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795635","1391795638","1391795632","1391795646","1391795642","1391795630"],"photo_ids_order":["1391795630","1391795632","1391795635","1391795638","1391795642","1391795646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/061a5112ff93a3fb34bf70d66070ae0d.jpg","text":"TemporaryFile(/tmp/multipartBody6893481399742709647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061665785,"filename":"image_30102025_09_27_45_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/2/b7d8614f91c16f61c1e40dc82e9203f9.jpg","text":"TemporaryFile(/tmp/multipartBody8273880768048808628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061665785,"filename":"image_30102025_09_27_47_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/2/318a91e521052abe3a7bb3f1779ce23c.jpg","text":"TemporaryFile(/tmp/multipartBody4009104316194772831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061665785,"filename":"image_30102025_09_27_42_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/2/d47db4491432c6fbee15dc462da7d5e0.jpg","text":"TemporaryFile(/tmp/multipartBody2820703738638970293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061665785,"filename":"image_30102025_09_27_54_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/2/e76dd57f16a5c78cdeb33df55f837910.jpg","text":"TemporaryFile(/tmp/multipartBody5290911509837150030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061665785,"filename":"image_30102025_09_27_51_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/2/0333bb982c7c30c381de50cc1025a488.jpg","text":"TemporaryFile(/tmp/multipartBody5003357538248169201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061665785,"filename":"image_30102025_09_27_38_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795635","file1":"1391795632","file0":"1391795630","file4":"1391795642","file5":"1391795646","file3":"1391795638"},"map_files_photo_id_array":[{"photo_id":"1391795646","filename":"file5"},{"photo_id":"1391795635","filename":"file2"},{"photo_id":"1391795642","filename":"file4"},{"photo_id":"1391795632","filename":"file1"},{"photo_id":"1391795630","filename":"file0"},{"photo_id":"1391795638","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795635":["hashtag1","hashtag2"]},{"1391795638":["hashtag1","hashtag2"]},{"1391795632":["hashtag1","hashtag2"]},{"1391795646":["hashtag1","hashtag2"]},{"1391795642":["hashtag1","hashtag2"]},{"1391795630":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795635, 1391795638, 1391795632, 1391795646, 1391795642, 1391795630)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.617594480514526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:34:21.989455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_56_2665.jpg', '/home/pi/Desktop/images/30102025/09/27/image_30102025_09_28_00_3653.jpg', '/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_03_2699.jpg', '/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_05_2595.jpg', '/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_09_3751.jpg', '/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_15_2835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_56_2665.jpg
/home/pi/Desktop/images/30102025/09/27/image_30102025_09_28_00_3653.jpg
/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_03_2699.jpg
/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_05_2595.jpg
/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_09_3751.jpg
/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_15_2835.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.072843551635742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 06:34:41.996910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_56_2665.jpg', '/home/pi/Desktop/images/30102025/09/27/image_30102025_09_28_00_3653.jpg', '/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_03_2699.jpg', '/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_05_2595.jpg', '/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_09_3751.jpg', '/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_15_2835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/27/image_30102025_09_27_56_2665.jpg
/home/pi/Desktop/images/30102025/09/27/image_30102025_09_28_00_3653.jpg
/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_03_2699.jpg
/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_05_2595.jpg
/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_09_3751.jpg
/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_15_2835.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795683","1391795694","1391795679","1391795673","1391795687","1391795690"],"photo_ids_order":["1391795673","1391795679","1391795683","1391795687","1391795690","1391795694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1f8b19ff90242320feed80c23a5b89d4.jpg","text":"TemporaryFile(/tmp/multipartBody2423327657348707199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061742970,"filename":"image_30102025_09_28_03_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/2/067e0996f7fc391502b3191f60745c8e.jpg","text":"TemporaryFile(/tmp/multipartBody1735632778843398557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061742970,"filename":"image_30102025_09_28_15_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/2/f42e2db8a99fe23aae600d6df8f6b4a8.jpg","text":"TemporaryFile(/tmp/multipartBody975251683610788873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061742970,"filename":"image_30102025_09_28_00_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/2/d37aefba2be53d0fa04f8c09fadca75b.jpg","text":"TemporaryFile(/tmp/multipartBody6880236082182158321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061742970,"filename":"image_30102025_09_27_56_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/2/93a55f7091a74d0972e9b31dc0d92ef8.jpg","text":"TemporaryFile(/tmp/multipartBody4366242535897084513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061742970,"filename":"image_30102025_09_28_05_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/2/553f439c5ce826bea9dcc16e1ac94579.jpg","text":"TemporaryFile(/tmp/multipartBody5236335219176308613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061742970,"filename":"image_30102025_09_28_09_3751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795683","file1":"1391795679","file0":"1391795673","file4":"1391795690","file5":"1391795694","file3":"1391795687"},"map_files_photo_id_array":[{"photo_id":"1391795694","filename":"file5"},{"photo_id":"1391795683","filename":"file2"},{"photo_id":"1391795690","filename":"file4"},{"photo_id":"1391795679","filename":"file1"},{"photo_id":"1391795673","filename":"file0"},{"photo_id":"1391795687","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795683":["hashtag1","hashtag2"]},{"1391795694":["hashtag1","hashtag2"]},{"1391795679":["hashtag1","hashtag2"]},{"1391795673":["hashtag1","hashtag2"]},{"1391795687":["hashtag1","hashtag2"]},{"1391795690":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795683, 1391795694, 1391795679, 1391795673, 1391795687, 1391795690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.503775119781494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:35:22.110328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_17_2936.jpg', '/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_20_2610.jpg', '/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_32_2661.jpg', '/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_36_3797.jpg', '/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_39_2847.jpg', '/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_41_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/09/28/image_30102025_09_28_17_2936.jpg
/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_20_2610.jpg
/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_32_2661.jpg
/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_36_3797.jpg
/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_39_2847.jpg
/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_41_2564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795711","1391795705","1391795708","1391795702","1391795715","1391795699"],"photo_ids_order":["1391795699","1391795702","1391795705","1391795708","1391795711","1391795715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/69e62ae706ab340682e34dcbaf7453f2.jpg","text":"TemporaryFile(/tmp/multipartBody7710415160926334703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061784786,"filename":"image_30102025_09_28_39_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/2/4f8067e34845582e801b3dc1d174c08b.jpg","text":"TemporaryFile(/tmp/multipartBody3009130098806622167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061784786,"filename":"image_30102025_09_28_32_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/2/600a1601731c3a5c538f9d159641a95f.jpg","text":"TemporaryFile(/tmp/multipartBody7576198249065486855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061784786,"filename":"image_30102025_09_28_36_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/2/46e543298dd5504ded630fb255a0abde.jpg","text":"TemporaryFile(/tmp/multipartBody923874865953780691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061784786,"filename":"image_30102025_09_28_20_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/2/be8b97ca69ea10b6152092db2580b072.jpg","text":"TemporaryFile(/tmp/multipartBody9055338682941012428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061784786,"filename":"image_30102025_09_28_41_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/2/904c52f9944113ed0a1c6754da9e3887.jpg","text":"TemporaryFile(/tmp/multipartBody3683742184654515443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061784786,"filename":"image_30102025_09_28_17_2936.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795705","file1":"1391795702","file0":"1391795699","file4":"1391795711","file5":"1391795715","file3":"1391795708"},"map_files_photo_id_array":[{"photo_id":"1391795715","filename":"file5"},{"photo_id":"1391795705","filename":"file2"},{"photo_id":"1391795711","filename":"file4"},{"photo_id":"1391795702","filename":"file1"},{"photo_id":"1391795699","filename":"file0"},{"photo_id":"1391795708","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795711":["hashtag1","hashtag2"]},{"1391795705":["hashtag1","hashtag2"]},{"1391795708":["hashtag1","hashtag2"]},{"1391795702":["hashtag1","hashtag2"]},{"1391795715":["hashtag1","hashtag2"]},{"1391795699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795711, 1391795705, 1391795708, 1391795702, 1391795715, 1391795699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.04393243789673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:36:02.846486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_44_2692.jpg', '/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_50_2590.jpg', '/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_53_2565.jpg', '/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_57_3793.jpg', '/home/pi/Desktop/images/30102025/09/29/image_30102025_09_29_02_2738.jpg', '/home/pi/Desktop/images/30102025/09/29/image_30102025_09_29_06_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_44_2692.jpg
/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_50_2590.jpg
/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_53_2565.jpg
/home/pi/Desktop/images/30102025/09/28/image_30102025_09_28_57_3793.jpg
/home/pi/Desktop/images/30102025/09/29/image_30102025_09_29_02_2738.jpg
/home/pi/Desktop/images/30102025/09/29/image_30102025_09_29_06_3626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795729","1391795722","1391795725","1391795719","1391795733","1391795736"],"photo_ids_order":["1391795719","1391795722","1391795725","1391795729","1391795733","1391795736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/63d6f2015f74224631f6a3eb7e9ca6a0.jpg","text":"TemporaryFile(/tmp/multipartBody2644274130283468212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061824997,"filename":"image_30102025_09_28_57_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/2/e346633b1e7daadce7f19458f4a0eaa9.jpg","text":"TemporaryFile(/tmp/multipartBody1751548234413064732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061824997,"filename":"image_30102025_09_28_50_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/2/cf48a0bba10f17b6378c7ac2a3cf7c42.jpg","text":"TemporaryFile(/tmp/multipartBody7608620039283576295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061824997,"filename":"image_30102025_09_28_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/2/3f152d7f0f688ced5ca8ca7ff35453e0.jpg","text":"TemporaryFile(/tmp/multipartBody2927433230361820776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061824997,"filename":"image_30102025_09_28_44_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/2/7618427260aefb1e297a9c2070342e86.jpg","text":"TemporaryFile(/tmp/multipartBody819269964263362577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061824997,"filename":"image_30102025_09_29_02_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/2/5d50d098eb9d976785c1e0f847c31f19.jpg","text":"TemporaryFile(/tmp/multipartBody1584965610755822937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061824997,"filename":"image_30102025_09_29_06_3626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795725","file1":"1391795722","file0":"1391795719","file4":"1391795733","file5":"1391795736","file3":"1391795729"},"map_files_photo_id_array":[{"photo_id":"1391795736","filename":"file5"},{"photo_id":"1391795725","filename":"file2"},{"photo_id":"1391795733","filename":"file4"},{"photo_id":"1391795722","filename":"file1"},{"photo_id":"1391795719","filename":"file0"},{"photo_id":"1391795729","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795729":["hashtag1","hashtag2"]},{"1391795722":["hashtag1","hashtag2"]},{"1391795725":["hashtag1","hashtag2"]},{"1391795719":["hashtag1","hashtag2"]},{"1391795733":["hashtag1","hashtag2"]},{"1391795736":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795729, 1391795722, 1391795725, 1391795719, 1391795733, 1391795736)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 52.042638063430786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:37:02.657390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/29/image_30102025_09_29_20_2772.jpg', '/home/pi/Desktop/images/30102025/09/29/image_30102025_09_29_32_2689.jpg', '/home/pi/Desktop/images/30102025/09/29/image_30102025_09_29_45_3702.jpg', '/home/pi/Desktop/images/30102025/09/29/image_30102025_09_29_48_2816.jpg', '/home/pi/Desktop/images/30102025/09/30/image_30102025_09_30_14_2783.jpg', '/home/pi/Desktop/images/30102025/09/30/image_30102025_09_30_19_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/09/29/image_30102025_09_29_20_2772.jpg
/home/pi/Desktop/images/30102025/09/29/image_30102025_09_29_32_2689.jpg
/home/pi/Desktop/images/30102025/09/29/image_30102025_09_29_45_3702.jpg
/home/pi/Desktop/images/30102025/09/29/image_30102025_09_29_48_2816.jpg
/home/pi/Desktop/images/30102025/09/30/image_30102025_09_30_14_2783.jpg
/home/pi/Desktop/images/30102025/09/30/image_30102025_09_30_19_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":["1391795770","1391795775","1391795772","1391795766","1391795768","1391795765"],"photo_ids_order":["1391795765","1391795766","1391795768","1391795770","1391795772","1391795775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b157546bbae07737ab293289b7d9bf49.jpg","text":"TemporaryFile(/tmp/multipartBody3861739828570214699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061891091,"filename":"image_30102025_09_29_48_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/2/176d3a77a7d0f914216780295c2b1729.jpg","text":"TemporaryFile(/tmp/multipartBody1559094562108500553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061891091,"filename":"image_30102025_09_30_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/2/a205fcea2d86fa503b20d2a3a80a6385.jpg","text":"TemporaryFile(/tmp/multipartBody993672557672652578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061891091,"filename":"image_30102025_09_30_14_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/2/6cf4f6aa19805402925792a4c46c322b.jpg","text":"TemporaryFile(/tmp/multipartBody3198015803253793632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061891091,"filename":"image_30102025_09_29_32_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/2/646ed38786bd5833afad86ae42beff5e.jpg","text":"TemporaryFile(/tmp/multipartBody2562300672263199735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061891091,"filename":"image_30102025_09_29_45_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/2/1e06c82ed49a57559f3adbaa10da2796.jpg","text":"TemporaryFile(/tmp/multipartBody8657808243355012508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061891091,"filename":"image_30102025_09_29_20_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795768","file1":"1391795766","file0":"1391795765","file4":"1391795772","file5":"1391795775","file3":"1391795770"},"map_files_photo_id_array":[{"photo_id":"1391795775","filename":"file5"},{"photo_id":"1391795768","filename":"file2"},{"photo_id":"1391795772","filename":"file4"},{"photo_id":"1391795766","filename":"file1"},{"photo_id":"1391795765","filename":"file0"},{"photo_id":"1391795770","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795770":["hashtag1","hashtag2"]},{"1391795775":["hashtag1","hashtag2"]},{"1391795772":["hashtag1","hashtag2"]},{"1391795766":["hashtag1","hashtag2"]},{"1391795768":["hashtag1","hashtag2"]},{"1391795765":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795770, 1391795775, 1391795772, 1391795766, 1391795768, 1391795765)","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 = 1391795768 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/09/29/image_30102025_09_29_45_3702.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391795768 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/09/29/image_30102025_09_29_45_3702.jpg";
uploaded 6 photos
time to upload: 77.02175068855286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:38:22.262284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 06:38:42.190571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/29/image_30102025_09_29_20_2772.jpg', '/home/pi/Desktop/images/30102025/09/29/image_30102025_09_29_32_2689.jpg', '/home/pi/Desktop/images/30102025/09/29/image_30102025_09_29_45_3702.jpg', '/home/pi/Desktop/images/30102025/09/29/image_30102025_09_29_48_2816.jpg', '/home/pi/Desktop/images/30102025/09/30/image_30102025_09_30_14_2783.jpg', '/home/pi/Desktop/images/30102025/09/30/image_30102025_09_30_19_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/09/29/image_30102025_09_29_20_2772.jpg
/home/pi/Desktop/images/30102025/09/29/image_30102025_09_29_32_2689.jpg
/home/pi/Desktop/images/30102025/09/29/image_30102025_09_29_45_3702.jpg
/home/pi/Desktop/images/30102025/09/29/image_30102025_09_29_48_2816.jpg
/home/pi/Desktop/images/30102025/09/30/image_30102025_09_30_14_2783.jpg
/home/pi/Desktop/images/30102025/09/30/image_30102025_09_30_19_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795816","1391795827","1391795830","1391795824","1391795811","1391795820"],"photo_ids_order":["1391795811","1391795816","1391795820","1391795824","1391795827","1391795830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/86e147621cacbde89a548196dfeaaedc.jpg","text":"TemporaryFile(/tmp/multipartBody2401390100114911431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061984629,"filename":"image_30102025_09_29_32_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/2/46316750bf4699f3552d09a89202218d.jpg","text":"TemporaryFile(/tmp/multipartBody715685698752754558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061984629,"filename":"image_30102025_09_30_14_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/2/398828f67742c4d5d6501dd674ee69e1.jpg","text":"TemporaryFile(/tmp/multipartBody4062517869033109620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061984629,"filename":"image_30102025_09_30_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/2/35f6f17e0cfe1ebd979c26994910ba57.jpg","text":"TemporaryFile(/tmp/multipartBody3617021065830549231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061984629,"filename":"image_30102025_09_29_48_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/2/cde822d14ee8b436ebe4e88fe60c21e7.jpg","text":"TemporaryFile(/tmp/multipartBody2315374225732601630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061984629,"filename":"image_30102025_09_29_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/2/424ec39ec13bb5acba3b5b7f04bfbf75.jpg","text":"TemporaryFile(/tmp/multipartBody7000206750106255115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762061984629,"filename":"image_30102025_09_29_45_3702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795820","file1":"1391795816","file0":"1391795811","file4":"1391795827","file5":"1391795830","file3":"1391795824"},"map_files_photo_id_array":[{"photo_id":"1391795830","filename":"file5"},{"photo_id":"1391795820","filename":"file2"},{"photo_id":"1391795827","filename":"file4"},{"photo_id":"1391795816","filename":"file1"},{"photo_id":"1391795811","filename":"file0"},{"photo_id":"1391795824","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795816":["hashtag1","hashtag2"]},{"1391795827":["hashtag1","hashtag2"]},{"1391795830":["hashtag1","hashtag2"]},{"1391795824":["hashtag1","hashtag2"]},{"1391795811":["hashtag1","hashtag2"]},{"1391795820":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795816, 1391795827, 1391795830, 1391795824, 1391795811, 1391795820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.353904485702515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:39:22.228558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/30/image_30102025_09_30_32_3629.jpg', '/home/pi/Desktop/images/30102025/09/30/image_30102025_09_30_35_2649.jpg', '/home/pi/Desktop/images/30102025/09/30/image_30102025_09_30_37_2661.jpg', '/home/pi/Desktop/images/30102025/09/30/image_30102025_09_30_41_3775.jpg', '/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_08_3587.jpg', '/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_17_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/09/30/image_30102025_09_30_32_3629.jpg
/home/pi/Desktop/images/30102025/09/30/image_30102025_09_30_35_2649.jpg
/home/pi/Desktop/images/30102025/09/30/image_30102025_09_30_37_2661.jpg
/home/pi/Desktop/images/30102025/09/30/image_30102025_09_30_41_3775.jpg
/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_08_3587.jpg
/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_17_3661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795834","1391795851","1391795845","1391795836","1391795841","1391795849"],"photo_ids_order":["1391795834","1391795836","1391795841","1391795845","1391795849","1391795851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0c0c1223719f0f5b165103d75bab7b5e.jpg","text":"TemporaryFile(/tmp/multipartBody6880518222737280833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062027827,"filename":"image_30102025_09_30_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/2/3cf7e4215e5387d5b2c012d2864e860c.jpg","text":"TemporaryFile(/tmp/multipartBody7958952197917711016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062027827,"filename":"image_30102025_09_31_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/2/7a85e69b470b5ecdd9865905f9bd1d9f.jpg","text":"TemporaryFile(/tmp/multipartBody1246361541289391927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062027827,"filename":"image_30102025_09_30_41_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/784f4f451e29a90e9d9e541bbec19a4c.jpg","text":"TemporaryFile(/tmp/multipartBody5946599134096407475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062027827,"filename":"image_30102025_09_30_35_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/2/ae34d829ce513f2b55fe2cd0473d6285.jpg","text":"TemporaryFile(/tmp/multipartBody2272683707703086779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062027827,"filename":"image_30102025_09_30_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/2/9a7cb44034ffde6d4269d5874488d61b.jpg","text":"TemporaryFile(/tmp/multipartBody1624601371151978542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062027827,"filename":"image_30102025_09_31_08_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795841","file1":"1391795836","file0":"1391795834","file4":"1391795849","file5":"1391795851","file3":"1391795845"},"map_files_photo_id_array":[{"photo_id":"1391795851","filename":"file5"},{"photo_id":"1391795841","filename":"file2"},{"photo_id":"1391795849","filename":"file4"},{"photo_id":"1391795836","filename":"file1"},{"photo_id":"1391795834","filename":"file0"},{"photo_id":"1391795845","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795834":["hashtag1","hashtag2"]},{"1391795851":["hashtag1","hashtag2"]},{"1391795845":["hashtag1","hashtag2"]},{"1391795836":["hashtag1","hashtag2"]},{"1391795841":["hashtag1","hashtag2"]},{"1391795849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795834, 1391795851, 1391795845, 1391795836, 1391795841, 1391795849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.734678506851196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:40:22.186332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_20_2625.jpg', '/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_23_2637.jpg', '/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_26_3730.jpg', '/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_29_2735.jpg', '/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_34_2764.jpg', '/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_38_3517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_20_2625.jpg
/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_23_2637.jpg
/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_26_3730.jpg
/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_29_2735.jpg
/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_34_2764.jpg
/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_38_3517.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795866","1391795869","1391795874","1391795871","1391795868","1391795879"],"photo_ids_order":["1391795866","1391795868","1391795869","1391795871","1391795874","1391795879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4d89f6724826d7708c285f9e0a9768a6.jpg","text":"TemporaryFile(/tmp/multipartBody7631229108826176720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062084508,"filename":"image_30102025_09_31_20_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/2/f3ae155b4e0abe9bd5b2e2b603af17e4.jpg","text":"TemporaryFile(/tmp/multipartBody8987057928994466252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062084508,"filename":"image_30102025_09_31_26_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/2/d3754f1799c40bbb0d9a425171a0c2f1.jpg","text":"TemporaryFile(/tmp/multipartBody5385405605637437893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062084508,"filename":"image_30102025_09_31_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/2/68379a23ac70802fe65ade36364d3b71.jpg","text":"TemporaryFile(/tmp/multipartBody6606773162787760947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062084508,"filename":"image_30102025_09_31_29_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/2/2d2c580d2f9056af54d247ee458b19fb.jpg","text":"TemporaryFile(/tmp/multipartBody367298046305177844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062084508,"filename":"image_30102025_09_31_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/2/ca2021de836b7bc52a9eb6745c370544.jpg","text":"TemporaryFile(/tmp/multipartBody7085419010076077356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062084508,"filename":"image_30102025_09_31_38_3517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795869","file1":"1391795868","file0":"1391795866","file4":"1391795874","file5":"1391795879","file3":"1391795871"},"map_files_photo_id_array":[{"photo_id":"1391795879","filename":"file5"},{"photo_id":"1391795869","filename":"file2"},{"photo_id":"1391795874","filename":"file4"},{"photo_id":"1391795868","filename":"file1"},{"photo_id":"1391795866","filename":"file0"},{"photo_id":"1391795871","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795866":["hashtag1","hashtag2"]},{"1391795869":["hashtag1","hashtag2"]},{"1391795874":["hashtag1","hashtag2"]},{"1391795871":["hashtag1","hashtag2"]},{"1391795868":["hashtag1","hashtag2"]},{"1391795879":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795866, 1391795869, 1391795874, 1391795871, 1391795868, 1391795879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08924579620361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:41:03.087030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_43_2708.jpg', '/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_47_3783.jpg', '/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_50_2545.jpg', '/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_52_2655.jpg', '/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_56_3702.jpg', '/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_59_2799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_43_2708.jpg
/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_47_3783.jpg
/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_50_2545.jpg
/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_52_2655.jpg
/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_56_3702.jpg
/home/pi/Desktop/images/30102025/09/31/image_30102025_09_31_59_2799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795900","1391795899","1391795902","1391795910","1391795907","1391795904"],"photo_ids_order":["1391795899","1391795900","1391795902","1391795904","1391795907","1391795910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2d6e6d55cfd44b56252a8ecf5fc28adf.jpg","text":"TemporaryFile(/tmp/multipartBody1371641555006037835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062126957,"filename":"image_30102025_09_31_47_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/2/2bf1423f4568fcaab57007f45fbd81da.jpg","text":"TemporaryFile(/tmp/multipartBody6561377850536891909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062126957,"filename":"image_30102025_09_31_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/2/cd6957609b27176cc1bb3498f0e33a50.jpg","text":"TemporaryFile(/tmp/multipartBody6804111434203853562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062126957,"filename":"image_30102025_09_31_50_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/2/700fac922f4417e9e516e7bd3587a37a.jpg","text":"TemporaryFile(/tmp/multipartBody4812362468221143706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062126957,"filename":"image_30102025_09_31_59_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/2/c6ea21ed2dd93d0c54a02467de77e040.jpg","text":"TemporaryFile(/tmp/multipartBody3099075067294905391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062126957,"filename":"image_30102025_09_31_56_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/2/03d97081edc3f68511fe253def2c1d6d.jpg","text":"TemporaryFile(/tmp/multipartBody3615496751859743202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062126957,"filename":"image_30102025_09_31_52_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795902","file1":"1391795900","file0":"1391795899","file4":"1391795907","file5":"1391795910","file3":"1391795904"},"map_files_photo_id_array":[{"photo_id":"1391795910","filename":"file5"},{"photo_id":"1391795902","filename":"file2"},{"photo_id":"1391795907","filename":"file4"},{"photo_id":"1391795900","filename":"file1"},{"photo_id":"1391795899","filename":"file0"},{"photo_id":"1391795904","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795900":["hashtag1","hashtag2"]},{"1391795899":["hashtag1","hashtag2"]},{"1391795902":["hashtag1","hashtag2"]},{"1391795910":["hashtag1","hashtag2"]},{"1391795907":["hashtag1","hashtag2"]},{"1391795904":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795900, 1391795899, 1391795902, 1391795910, 1391795907, 1391795904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69001531600952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:42:02.991286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 06:42:23.451435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 06:42:42.595832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_02_2590.jpg', '/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_05_3631.jpg', '/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_08_2650.jpg', '/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_10_2581.jpg', '/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_14_3670.jpg', '/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_17_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/09/32/image_30102025_09_32_02_2590.jpg
/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_05_3631.jpg
/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_08_2650.jpg
/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_10_2581.jpg
/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_14_3670.jpg
/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_17_2622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795953","1391795961","1391795964","1391795967","1391795949","1391795957"],"photo_ids_order":["1391795949","1391795953","1391795957","1391795961","1391795964","1391795967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3746f91a9769a63baae6a584a8a191a0.jpg","text":"TemporaryFile(/tmp/multipartBody1800429746575248960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062223629,"filename":"image_30102025_09_32_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/2/9fe1f461f1a90de804ef85b38d17f7f9.jpg","text":"TemporaryFile(/tmp/multipartBody1774572089057190357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062223629,"filename":"image_30102025_09_32_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/2/184e9b263a6f65c68ecc9557189491e8.jpg","text":"TemporaryFile(/tmp/multipartBody5894678895180476315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062223629,"filename":"image_30102025_09_32_14_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/2/4bb614d17012fe5312e48eee4c0fa2cd.jpg","text":"TemporaryFile(/tmp/multipartBody6541237416918930198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062223629,"filename":"image_30102025_09_32_17_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/2/a6163c19714752beab45dca8dfc6fe48.jpg","text":"TemporaryFile(/tmp/multipartBody1929394871577631908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062223629,"filename":"image_30102025_09_32_02_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/2/cca4f71095a52c9c938492af141e2993.jpg","text":"TemporaryFile(/tmp/multipartBody2141467013228395314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062223629,"filename":"image_30102025_09_32_08_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795957","file1":"1391795953","file0":"1391795949","file4":"1391795964","file5":"1391795967","file3":"1391795961"},"map_files_photo_id_array":[{"photo_id":"1391795967","filename":"file5"},{"photo_id":"1391795957","filename":"file2"},{"photo_id":"1391795964","filename":"file4"},{"photo_id":"1391795953","filename":"file1"},{"photo_id":"1391795949","filename":"file0"},{"photo_id":"1391795961","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795953":["hashtag1","hashtag2"]},{"1391795961":["hashtag1","hashtag2"]},{"1391795964":["hashtag1","hashtag2"]},{"1391795967":["hashtag1","hashtag2"]},{"1391795949":["hashtag1","hashtag2"]},{"1391795957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795953, 1391795961, 1391795964, 1391795967, 1391795949, 1391795957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37873435020447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:43:21.778272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_19_2760.jpg', '/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_22_2812.jpg', '/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_26_3805.jpg', '/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_29_2870.jpg', '/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_32_2753.jpg', '/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_34_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/09/32/image_30102025_09_32_19_2760.jpg
/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_22_2812.jpg
/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_26_3805.jpg
/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_29_2870.jpg
/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_32_2753.jpg
/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_34_2724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391795977","1391795971","1391795974","1391795988","1391795984","1391795981"],"photo_ids_order":["1391795971","1391795974","1391795977","1391795981","1391795984","1391795988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7e13a7fb1e7f302446c8faf3447855a3.jpg","text":"TemporaryFile(/tmp/multipartBody2899042608354463382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062264444,"filename":"image_30102025_09_32_26_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/2/e1234cb85c8c7092eec515840d59d05f.jpg","text":"TemporaryFile(/tmp/multipartBody6403064896989022463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062264444,"filename":"image_30102025_09_32_19_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/2/c922ca16295cca2531076bc645721c47.jpg","text":"TemporaryFile(/tmp/multipartBody7102693888773657674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062264444,"filename":"image_30102025_09_32_22_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/2/96aed0213b275b8895c6bccb76f0ae1a.jpg","text":"TemporaryFile(/tmp/multipartBody7723057392007299444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062264444,"filename":"image_30102025_09_32_34_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/2/e793b7588b69f0c2870712e3d86d3aa1.jpg","text":"TemporaryFile(/tmp/multipartBody760723983555250485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062264444,"filename":"image_30102025_09_32_32_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/2/a07514c11a9af4bbf7af75402bc982c9.jpg","text":"TemporaryFile(/tmp/multipartBody1228457422883130235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062264444,"filename":"image_30102025_09_32_29_2870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391795977","file1":"1391795974","file0":"1391795971","file4":"1391795984","file5":"1391795988","file3":"1391795981"},"map_files_photo_id_array":[{"photo_id":"1391795988","filename":"file5"},{"photo_id":"1391795977","filename":"file2"},{"photo_id":"1391795984","filename":"file4"},{"photo_id":"1391795974","filename":"file1"},{"photo_id":"1391795971","filename":"file0"},{"photo_id":"1391795981","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391795977":["hashtag1","hashtag2"]},{"1391795971":["hashtag1","hashtag2"]},{"1391795974":["hashtag1","hashtag2"]},{"1391795988":["hashtag1","hashtag2"]},{"1391795984":["hashtag1","hashtag2"]},{"1391795981":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391795977, 1391795971, 1391795974, 1391795988, 1391795984, 1391795981)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.08354067802429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:44:22.002089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_38_3640.jpg', '/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_41_2753.jpg', '/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_44_2732.jpg', '/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_46_2841.jpg', '/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_50_3632.jpg', '/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_53_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/09/32/image_30102025_09_32_38_3640.jpg
/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_41_2753.jpg
/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_44_2732.jpg
/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_46_2841.jpg
/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_50_3632.jpg
/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_53_2803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391796022","1391796016","1391796019","1391796012","1391796006","1391796009"],"photo_ids_order":["1391796006","1391796009","1391796012","1391796016","1391796019","1391796022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f1a637697ce1ce6a3f9958c1e99c0c65.jpg","text":"TemporaryFile(/tmp/multipartBody8766190126842777476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062324474,"filename":"image_30102025_09_32_53_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/2/968fcb9305cf793391d2daf4f17b5c46.jpg","text":"TemporaryFile(/tmp/multipartBody3497443848356777647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062324474,"filename":"image_30102025_09_32_46_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/2/f4f42b9a0211bcafa96adc84be07d2ce.jpg","text":"TemporaryFile(/tmp/multipartBody7025111487897460805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062324474,"filename":"image_30102025_09_32_50_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/2/ac5ce755d6b67c09bcb67f8ed087aa57.jpg","text":"TemporaryFile(/tmp/multipartBody4594248599929643794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062324474,"filename":"image_30102025_09_32_44_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/2/d0f10adb856f0316ae796ddcf326ac60.jpg","text":"TemporaryFile(/tmp/multipartBody4264210070115190189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062324474,"filename":"image_30102025_09_32_38_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/2/5ae774be6038dbf02f7ecef34641dc71.jpg","text":"TemporaryFile(/tmp/multipartBody8397996282916946760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062324474,"filename":"image_30102025_09_32_41_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391796012","file1":"1391796009","file0":"1391796006","file4":"1391796019","file5":"1391796022","file3":"1391796016"},"map_files_photo_id_array":[{"photo_id":"1391796022","filename":"file5"},{"photo_id":"1391796012","filename":"file2"},{"photo_id":"1391796019","filename":"file4"},{"photo_id":"1391796009","filename":"file1"},{"photo_id":"1391796006","filename":"file0"},{"photo_id":"1391796016","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391796022":["hashtag1","hashtag2"]},{"1391796016":["hashtag1","hashtag2"]},{"1391796019":["hashtag1","hashtag2"]},{"1391796012":["hashtag1","hashtag2"]},{"1391796006":["hashtag1","hashtag2"]},{"1391796009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391796022, 1391796016, 1391796019, 1391796012, 1391796006, 1391796009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56625509262085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:45:02.915296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_56_2746.jpg', '/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_58_2627.jpg', '/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_02_3556.jpg', '/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_04_2674.jpg', '/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_07_2802.jpg', '/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_11_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/09/32/image_30102025_09_32_56_2746.jpg
/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_58_2627.jpg
/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_02_3556.jpg
/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_04_2674.jpg
/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_07_2802.jpg
/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_11_3757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391796052","1391796040","1391796053","1391796047","1391796050","1391796044"],"photo_ids_order":["1391796040","1391796044","1391796047","1391796050","1391796052","1391796053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/afa51ec24cc205a381ffa3ab0f2480a3.jpg","text":"TemporaryFile(/tmp/multipartBody5869524877456132007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062372886,"filename":"image_30102025_09_33_07_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/2/ca90bfb29beb821b25a9634e7c11f65b.jpg","text":"TemporaryFile(/tmp/multipartBody1199325532242795530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062372886,"filename":"image_30102025_09_32_56_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/2/5dd0f98f7a0005d2a64e0c0b0e713d08.jpg","text":"TemporaryFile(/tmp/multipartBody8752368926677055535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062372886,"filename":"image_30102025_09_33_11_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/2/8d7785bd8cceb07167fbbbaf7cd726eb.jpg","text":"TemporaryFile(/tmp/multipartBody5063309959077943797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062372886,"filename":"image_30102025_09_33_02_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/2/b6486196bd0c54a87e10f838547c0c56.jpg","text":"TemporaryFile(/tmp/multipartBody3828375499827125799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062372886,"filename":"image_30102025_09_33_04_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/2/c20e2d76aae1a4a38c5182d3d941b60c.jpg","text":"TemporaryFile(/tmp/multipartBody4445714739774729947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062372886,"filename":"image_30102025_09_32_58_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391796047","file1":"1391796044","file0":"1391796040","file4":"1391796052","file5":"1391796053","file3":"1391796050"},"map_files_photo_id_array":[{"photo_id":"1391796053","filename":"file5"},{"photo_id":"1391796047","filename":"file2"},{"photo_id":"1391796052","filename":"file4"},{"photo_id":"1391796044","filename":"file1"},{"photo_id":"1391796040","filename":"file0"},{"photo_id":"1391796050","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391796052":["hashtag1","hashtag2"]},{"1391796040":["hashtag1","hashtag2"]},{"1391796053":["hashtag1","hashtag2"]},{"1391796047":["hashtag1","hashtag2"]},{"1391796050":["hashtag1","hashtag2"]},{"1391796044":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391796052, 1391796040, 1391796053, 1391796047, 1391796050, 1391796044)","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 = 1391796047 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_02_3556.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391796047 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_02_3556.jpg";
uploaded 6 photos
time to upload: 70.31773138046265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:46:22.398277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 06:46:46.325588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 06:47:11.737849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT 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=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:47:25.873874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_56_2746.jpg', '/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_58_2627.jpg', '/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_02_3556.jpg', '/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_04_2674.jpg', '/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_07_2802.jpg', '/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_11_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/09/32/image_30102025_09_32_56_2746.jpg
/home/pi/Desktop/images/30102025/09/32/image_30102025_09_32_58_2627.jpg
/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_02_3556.jpg
/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_04_2674.jpg
/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_07_2802.jpg
/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_11_3757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391796107","1391796097","1391796103","1391796105","1391796101","1391796094"],"photo_ids_order":["1391796094","1391796097","1391796101","1391796103","1391796105","1391796107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4949f9b5d660f313cb0ccc77d7380f05.jpg","text":"TemporaryFile(/tmp/multipartBody8878934059406389014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062511342,"filename":"image_30102025_09_33_11_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/2/b045649b3f0fc803ebee0e8ec07d224d.jpg","text":"TemporaryFile(/tmp/multipartBody8694247147574615708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062511342,"filename":"image_30102025_09_32_58_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/2/36019474cfab305b63ea384757b0f188.jpg","text":"TemporaryFile(/tmp/multipartBody6259706146841773654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062511342,"filename":"image_30102025_09_33_04_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/2/862012c42b7887fee669fcfdcbde18e7.jpg","text":"TemporaryFile(/tmp/multipartBody7522482285144719005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062511342,"filename":"image_30102025_09_33_07_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/2/922af200cb3fcffdfe7084ffc36ce409.jpg","text":"TemporaryFile(/tmp/multipartBody3078168415166094091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062511342,"filename":"image_30102025_09_33_02_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/2/6d8e8134d94c5e74bde16b95bbc7b65d.jpg","text":"TemporaryFile(/tmp/multipartBody4946320107384268308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062511342,"filename":"image_30102025_09_32_56_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391796101","file1":"1391796097","file0":"1391796094","file4":"1391796105","file5":"1391796107","file3":"1391796103"},"map_files_photo_id_array":[{"photo_id":"1391796107","filename":"file5"},{"photo_id":"1391796101","filename":"file2"},{"photo_id":"1391796105","filename":"file4"},{"photo_id":"1391796097","filename":"file1"},{"photo_id":"1391796094","filename":"file0"},{"photo_id":"1391796103","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391796107":["hashtag1","hashtag2"]},{"1391796097":["hashtag1","hashtag2"]},{"1391796103":["hashtag1","hashtag2"]},{"1391796105":["hashtag1","hashtag2"]},{"1391796101":["hashtag1","hashtag2"]},{"1391796094":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391796107, 1391796097, 1391796103, 1391796105, 1391796101, 1391796094)","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 = 1391796101 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_02_3556.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 64.26894640922546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 06:48:41.994998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_14_2638.jpg', '/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_16_2686.jpg', '/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_20_3679.jpg', '/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_23_2726.jpg', '/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_25_2716.jpg', '/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_28_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/09/33/image_30102025_09_33_14_2638.jpg
/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_16_2686.jpg
/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_20_3679.jpg
/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_23_2726.jpg
/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_25_2716.jpg
/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_28_2749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391796145","1391796153","1391796156","1391796141","1391796150","1391796137"],"photo_ids_order":["1391796137","1391796141","1391796145","1391796150","1391796153","1391796156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d126bb1344e15c013bce96d8eb8ecfb5.jpg","text":"TemporaryFile(/tmp/multipartBody774430114053520311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062583117,"filename":"image_30102025_09_33_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/2/3fad08700da7cf5e0cc758c0eaf77418.jpg","text":"TemporaryFile(/tmp/multipartBody6076058366219507953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062583117,"filename":"image_30102025_09_33_25_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/2/f0a023f37bb83bcb3d968e126a8ac9a4.jpg","text":"TemporaryFile(/tmp/multipartBody5045034038199609138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062583117,"filename":"image_30102025_09_33_28_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/2/f7e8b2908df5ad8e1c0735909eb00879.jpg","text":"TemporaryFile(/tmp/multipartBody5132127104531042936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062583117,"filename":"image_30102025_09_33_16_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/2/adff4e57417ae82aea853b61179a3556.jpg","text":"TemporaryFile(/tmp/multipartBody176254558905489232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062583117,"filename":"image_30102025_09_33_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/2/0fdf5ab6382aad631a6e853026931338.jpg","text":"TemporaryFile(/tmp/multipartBody3587320644716481488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062583117,"filename":"image_30102025_09_33_14_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391796145","file1":"1391796141","file0":"1391796137","file4":"1391796153","file5":"1391796156","file3":"1391796150"},"map_files_photo_id_array":[{"photo_id":"1391796156","filename":"file5"},{"photo_id":"1391796145","filename":"file2"},{"photo_id":"1391796153","filename":"file4"},{"photo_id":"1391796141","filename":"file1"},{"photo_id":"1391796137","filename":"file0"},{"photo_id":"1391796150","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391796145":["hashtag1","hashtag2"]},{"1391796153":["hashtag1","hashtag2"]},{"1391796156":["hashtag1","hashtag2"]},{"1391796141":["hashtag1","hashtag2"]},{"1391796150":["hashtag1","hashtag2"]},{"1391796137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391796145, 1391796153, 1391796156, 1391796141, 1391796150, 1391796137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93966627120972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:49:22.169827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_32_3588.jpg', '/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_34_2695.jpg', '/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_37_2759.jpg', '/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_41_3587.jpg', '/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_43_2697.jpg', '/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_46_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/09/33/image_30102025_09_33_32_3588.jpg
/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_34_2695.jpg
/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_37_2759.jpg
/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_41_3587.jpg
/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_43_2697.jpg
/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_46_2807.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391796169","1391796178","1391796174","1391796159","1391796164","1391796161"],"photo_ids_order":["1391796159","1391796161","1391796164","1391796169","1391796174","1391796178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/be0e75a1a45c13006ed4d36f5de05795.jpg","text":"TemporaryFile(/tmp/multipartBody7276195252215066346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062624836,"filename":"image_30102025_09_33_41_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/2/fbc7244d7027c7762018abd43654062b.jpg","text":"TemporaryFile(/tmp/multipartBody3890755819564871657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062624836,"filename":"image_30102025_09_33_46_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/2/e91de6826d922d66f1bf1c66dbf159f0.jpg","text":"TemporaryFile(/tmp/multipartBody7740169527970064645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062624836,"filename":"image_30102025_09_33_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/2/d6ef5fe509ed1021979cac3d44e01a5b.jpg","text":"TemporaryFile(/tmp/multipartBody2801311685852029616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062624836,"filename":"image_30102025_09_33_32_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/2/7edead41905777e3cba7a3f5b3ca95a5.jpg","text":"TemporaryFile(/tmp/multipartBody5839733724518155278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062624836,"filename":"image_30102025_09_33_37_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/2/13e6d51b74a24ff010716a20e02f426b.jpg","text":"TemporaryFile(/tmp/multipartBody2416564671749542383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062624836,"filename":"image_30102025_09_33_34_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391796164","file1":"1391796161","file0":"1391796159","file4":"1391796174","file5":"1391796178","file3":"1391796169"},"map_files_photo_id_array":[{"photo_id":"1391796178","filename":"file5"},{"photo_id":"1391796164","filename":"file2"},{"photo_id":"1391796174","filename":"file4"},{"photo_id":"1391796161","filename":"file1"},{"photo_id":"1391796159","filename":"file0"},{"photo_id":"1391796169","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391796169":["hashtag1","hashtag2"]},{"1391796178":["hashtag1","hashtag2"]},{"1391796174":["hashtag1","hashtag2"]},{"1391796159":["hashtag1","hashtag2"]},{"1391796164":["hashtag1","hashtag2"]},{"1391796161":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391796169, 1391796178, 1391796174, 1391796159, 1391796164, 1391796161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08192276954651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:50:02.729448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_50_3702.jpg', '/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_53_2539.jpg', '/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_55_2661.jpg', '/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_59_3639.jpg', '/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_02_2741.jpg', '/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_04_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/09/33/image_30102025_09_33_50_3702.jpg
/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_53_2539.jpg
/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_55_2661.jpg
/home/pi/Desktop/images/30102025/09/33/image_30102025_09_33_59_3639.jpg
/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_02_2741.jpg
/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_04_2560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391796206","1391796196","1391796192","1391796210","1391796201","1391796187"],"photo_ids_order":["1391796187","1391796192","1391796196","1391796201","1391796206","1391796210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/328e4fad17469e332f0b63f52a308128.jpg","text":"TemporaryFile(/tmp/multipartBody1023223005040532506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062664910,"filename":"image_30102025_09_34_02_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/2/bf3b1e8e9adab3e67899132896046a02.jpg","text":"TemporaryFile(/tmp/multipartBody2424970732751099060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062664910,"filename":"image_30102025_09_33_55_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/2/a811a321663ac294b594c432fd5361cd.jpg","text":"TemporaryFile(/tmp/multipartBody5235259833956005630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062664910,"filename":"image_30102025_09_33_53_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/2/2bff0ca8fadd7a8afd8f0c8e7b286aa1.jpg","text":"TemporaryFile(/tmp/multipartBody1453214914101297549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062664910,"filename":"image_30102025_09_34_04_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/2/a595215b00b62f55a9570c09cf6b06ba.jpg","text":"TemporaryFile(/tmp/multipartBody6546522181115750219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062664910,"filename":"image_30102025_09_33_59_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/2/0ab88649e7f6afd61e1ebf8c94f90651.jpg","text":"TemporaryFile(/tmp/multipartBody2811397304636022394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062664910,"filename":"image_30102025_09_33_50_3702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391796196","file1":"1391796192","file0":"1391796187","file4":"1391796206","file5":"1391796210","file3":"1391796201"},"map_files_photo_id_array":[{"photo_id":"1391796210","filename":"file5"},{"photo_id":"1391796196","filename":"file2"},{"photo_id":"1391796206","filename":"file4"},{"photo_id":"1391796192","filename":"file1"},{"photo_id":"1391796187","filename":"file0"},{"photo_id":"1391796201","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391796206":["hashtag1","hashtag2"]},{"1391796196":["hashtag1","hashtag2"]},{"1391796192":["hashtag1","hashtag2"]},{"1391796210":["hashtag1","hashtag2"]},{"1391796201":["hashtag1","hashtag2"]},{"1391796187":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391796206, 1391796196, 1391796192, 1391796210, 1391796201, 1391796187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32749795913696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:51:03.263704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_08_3864.jpg', '/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_11_2714.jpg', '/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_13_2669.jpg', '/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_20_2664.jpg', '/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_22_2697.jpg', '/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_25_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/09/34/image_30102025_09_34_08_3864.jpg
/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_11_2714.jpg
/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_13_2669.jpg
/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_20_2664.jpg
/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_22_2697.jpg
/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_25_2712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391796256","1391796252","1391796249","1391796243","1391796245","1391796254"],"photo_ids_order":["1391796243","1391796245","1391796249","1391796252","1391796254","1391796256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/41106e602cc9697039da0fa89a09b1df.jpg","text":"TemporaryFile(/tmp/multipartBody7520694232621250352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062775096,"filename":"image_30102025_09_34_25_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/2/a90e6e872268c871bd7b834f527dcfd1.jpg","text":"TemporaryFile(/tmp/multipartBody6743805242067041839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062775096,"filename":"image_30102025_09_34_20_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/2/12dd10374029554f3f06e21b062a63e6.jpg","text":"TemporaryFile(/tmp/multipartBody4591622934846881187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062775096,"filename":"image_30102025_09_34_13_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/2/876aedba49248c1cd6fd917bfc432284.jpg","text":"TemporaryFile(/tmp/multipartBody8940512906404667016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062775096,"filename":"image_30102025_09_34_08_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/2/00d0306d5003e478ccce424ad5f02537.jpg","text":"TemporaryFile(/tmp/multipartBody9197581580848279755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062775096,"filename":"image_30102025_09_34_11_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/2/5376da1408cbf03d3b288df4da889662.jpg","text":"TemporaryFile(/tmp/multipartBody5724177177429436507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062775096,"filename":"image_30102025_09_34_22_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391796249","file1":"1391796245","file0":"1391796243","file4":"1391796254","file5":"1391796256","file3":"1391796252"},"map_files_photo_id_array":[{"photo_id":"1391796256","filename":"file5"},{"photo_id":"1391796249","filename":"file2"},{"photo_id":"1391796254","filename":"file4"},{"photo_id":"1391796245","filename":"file1"},{"photo_id":"1391796243","filename":"file0"},{"photo_id":"1391796252","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391796256":["hashtag1","hashtag2"]},{"1391796252":["hashtag1","hashtag2"]},{"1391796249":["hashtag1","hashtag2"]},{"1391796243":["hashtag1","hashtag2"]},{"1391796245":["hashtag1","hashtag2"]},{"1391796254":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391796256, 1391796252, 1391796249, 1391796243, 1391796245, 1391796254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 93.97380423545837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 06:52:55.224201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_29_3612.jpg', '/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_34_2805.jpg', '/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_38_3734.jpg', '/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_41_2708.jpg', '/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_43_2741.jpg', '/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_46_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/09/34/image_30102025_09_34_29_3612.jpg
/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_34_2805.jpg
/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_38_3734.jpg
/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_41_2708.jpg
/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_43_2741.jpg
/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_46_2773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391796294","1391796288","1391796303","1391796299","1391796290","1391796308"],"photo_ids_order":["1391796288","1391796290","1391796294","1391796299","1391796303","1391796308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/43b18e1cc6de5eba4ba89a0c4d645f42.jpg","text":"TemporaryFile(/tmp/multipartBody7023071047944094289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062869662,"filename":"image_30102025_09_34_38_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/2/bdbbeb545c4fa9a6e4237f65d9700239.jpg","text":"TemporaryFile(/tmp/multipartBody4887867187541119773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062869662,"filename":"image_30102025_09_34_29_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/2/77d528f26e20bf269f14144356b26e45.jpg","text":"TemporaryFile(/tmp/multipartBody6251352310249671361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062869662,"filename":"image_30102025_09_34_43_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/2/3659531b225e11cd63cba78518d2d070.jpg","text":"TemporaryFile(/tmp/multipartBody3157460395113738051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062869662,"filename":"image_30102025_09_34_41_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/2/a160ccaff34bae797f21e130877bb4ce.jpg","text":"TemporaryFile(/tmp/multipartBody6594117515438146603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062869662,"filename":"image_30102025_09_34_34_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/2/6f41db9f262c847baaefc779f30aa3f7.jpg","text":"TemporaryFile(/tmp/multipartBody980991668413018413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062869662,"filename":"image_30102025_09_34_46_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391796294","file1":"1391796290","file0":"1391796288","file4":"1391796303","file5":"1391796308","file3":"1391796299"},"map_files_photo_id_array":[{"photo_id":"1391796308","filename":"file5"},{"photo_id":"1391796294","filename":"file2"},{"photo_id":"1391796303","filename":"file4"},{"photo_id":"1391796290","filename":"file1"},{"photo_id":"1391796288","filename":"file0"},{"photo_id":"1391796299","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391796294":["hashtag1","hashtag2"]},{"1391796288":["hashtag1","hashtag2"]},{"1391796303":["hashtag1","hashtag2"]},{"1391796299":["hashtag1","hashtag2"]},{"1391796290":["hashtag1","hashtag2"]},{"1391796308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391796294, 1391796288, 1391796303, 1391796299, 1391796290, 1391796308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.77084374427795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:54:22.717346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_50_3525.jpg', '/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_52_2729.jpg', '/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_55_2641.jpg', '/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_59_3883.jpg', '/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_02_2669.jpg', '/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_04_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/09/34/image_30102025_09_34_50_3525.jpg
/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_52_2729.jpg
/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_55_2641.jpg
/home/pi/Desktop/images/30102025/09/34/image_30102025_09_34_59_3883.jpg
/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_02_2669.jpg
/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_04_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391796321","1391796330","1391796324","1391796338","1391796326","1391796335"],"photo_ids_order":["1391796321","1391796324","1391796326","1391796330","1391796335","1391796338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/58306eaeca99108990b26b95c990abb8.jpg","text":"TemporaryFile(/tmp/multipartBody2883883772212121155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062925069,"filename":"image_30102025_09_34_50_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/2/91f529f39e24301feb581668b92b9f7a.jpg","text":"TemporaryFile(/tmp/multipartBody3574586365950111812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062925069,"filename":"image_30102025_09_34_59_3883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4552c6b17b5fb607a7505c1f48d72835.jpg","text":"TemporaryFile(/tmp/multipartBody8921300588840040152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062925069,"filename":"image_30102025_09_34_52_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/2/a1e9ac83ef16e8708f11b7665f59cbeb.jpg","text":"TemporaryFile(/tmp/multipartBody4834637936910519966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062925069,"filename":"image_30102025_09_35_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/2/7d22a301d6694a470bd3fc5ebe08cbd0.jpg","text":"TemporaryFile(/tmp/multipartBody5268106958090210290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062925069,"filename":"image_30102025_09_34_55_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/2/33581e06e5927a58a984f84307c724c6.jpg","text":"TemporaryFile(/tmp/multipartBody58995599209948871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062925069,"filename":"image_30102025_09_35_02_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391796326","file1":"1391796324","file0":"1391796321","file4":"1391796335","file5":"1391796338","file3":"1391796330"},"map_files_photo_id_array":[{"photo_id":"1391796338","filename":"file5"},{"photo_id":"1391796326","filename":"file2"},{"photo_id":"1391796335","filename":"file4"},{"photo_id":"1391796324","filename":"file1"},{"photo_id":"1391796321","filename":"file0"},{"photo_id":"1391796330","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391796321":["hashtag1","hashtag2"]},{"1391796330":["hashtag1","hashtag2"]},{"1391796324":["hashtag1","hashtag2"]},{"1391796338":["hashtag1","hashtag2"]},{"1391796326":["hashtag1","hashtag2"]},{"1391796335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391796321, 1391796330, 1391796324, 1391796338, 1391796326, 1391796335)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.937928199768066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:55:21.897550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_07_2724.jpg', '/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_11_3768.jpg', '/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_14_2918.jpg', '/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_16_2713.jpg', '/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_19_2737.jpg', '/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_23_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/09/35/image_30102025_09_35_07_2724.jpg
/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_11_3768.jpg
/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_14_2918.jpg
/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_16_2713.jpg
/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_19_2737.jpg
/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_23_3726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391796361","1391796355","1391796370","1391796358","1391796352","1391796366"],"photo_ids_order":["1391796352","1391796355","1391796358","1391796361","1391796366","1391796370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bf4ffda78d59443253004ab590bb6b77.jpg","text":"TemporaryFile(/tmp/multipartBody7664815749836984709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062987641,"filename":"image_30102025_09_35_16_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/2/1864288e6431af1fbbfd4631b0dc65c9.jpg","text":"TemporaryFile(/tmp/multipartBody1391004058363190898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062987641,"filename":"image_30102025_09_35_11_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/2/b04c9a459a6f0e88a2ec14c80c174922.jpg","text":"TemporaryFile(/tmp/multipartBody8415575166622931666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062987641,"filename":"image_30102025_09_35_23_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/2/ad5f42d293cc8e8765cb8c23432f32ac.jpg","text":"TemporaryFile(/tmp/multipartBody195378894946213053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062987641,"filename":"image_30102025_09_35_14_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/2/f3ddd4f2eb868f26b5393ac1def7b6ce.jpg","text":"TemporaryFile(/tmp/multipartBody8085483909278119719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062987641,"filename":"image_30102025_09_35_07_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/2/0a56fccd6ac3143ac5fcc4c1e104c005.jpg","text":"TemporaryFile(/tmp/multipartBody5668157548533876101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762062987641,"filename":"image_30102025_09_35_19_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391796358","file1":"1391796355","file0":"1391796352","file4":"1391796366","file5":"1391796370","file3":"1391796361"},"map_files_photo_id_array":[{"photo_id":"1391796370","filename":"file5"},{"photo_id":"1391796358","filename":"file2"},{"photo_id":"1391796366","filename":"file4"},{"photo_id":"1391796355","filename":"file1"},{"photo_id":"1391796352","filename":"file0"},{"photo_id":"1391796361","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391796361":["hashtag1","hashtag2"]},{"1391796355":["hashtag1","hashtag2"]},{"1391796370":["hashtag1","hashtag2"]},{"1391796358":["hashtag1","hashtag2"]},{"1391796352":["hashtag1","hashtag2"]},{"1391796366":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391796361, 1391796355, 1391796370, 1391796358, 1391796352, 1391796366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.63062930107117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 06:56:22.046211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_25_2618.jpg', '/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_28_2556.jpg', '/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_32_3709.jpg', '/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_37_2691.jpg', '/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_40_2677.jpg', '/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_44_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/09/35/image_30102025_09_35_25_2618.jpg
/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_28_2556.jpg
/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_32_3709.jpg
/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_37_2691.jpg
/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_40_2677.jpg
/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_44_3557.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391796404","1391796394","1391796388","1391796396","1391796399","1391796391"],"photo_ids_order":["1391796388","1391796391","1391796394","1391796396","1391796399","1391796404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2dceef8c56b25bf325c93342e2d5a11f.jpg","text":"TemporaryFile(/tmp/multipartBody8824792357069122861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063044696,"filename":"image_30102025_09_35_44_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/2/97ad29e2a5f425273469d1157742c3fd.jpg","text":"TemporaryFile(/tmp/multipartBody5512010301653586445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063044696,"filename":"image_30102025_09_35_32_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/2/9fa6a233e394eb34f515bd52060a54d6.jpg","text":"TemporaryFile(/tmp/multipartBody8009976783562884961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063044696,"filename":"image_30102025_09_35_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/2/9faca252443ab796ba827e8ecc781c60.jpg","text":"TemporaryFile(/tmp/multipartBody3762561674249663380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063044696,"filename":"image_30102025_09_35_37_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/2/79c075eb09dc5641a3390c131a0bde3c.jpg","text":"TemporaryFile(/tmp/multipartBody6998341731856257522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063044696,"filename":"image_30102025_09_35_40_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/2/7f6572c871d064e111699f4e42044d84.jpg","text":"TemporaryFile(/tmp/multipartBody4656092351911076138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063044696,"filename":"image_30102025_09_35_28_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391796394","file1":"1391796391","file0":"1391796388","file4":"1391796399","file5":"1391796404","file3":"1391796396"},"map_files_photo_id_array":[{"photo_id":"1391796404","filename":"file5"},{"photo_id":"1391796394","filename":"file2"},{"photo_id":"1391796399","filename":"file4"},{"photo_id":"1391796391","filename":"file1"},{"photo_id":"1391796388","filename":"file0"},{"photo_id":"1391796396","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391796404":["hashtag1","hashtag2"]},{"1391796394":["hashtag1","hashtag2"]},{"1391796388":["hashtag1","hashtag2"]},{"1391796396":["hashtag1","hashtag2"]},{"1391796399":["hashtag1","hashtag2"]},{"1391796391":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391796404, 1391796394, 1391796388, 1391796396, 1391796399, 1391796391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0670063495636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:57:03.025201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_46_2833.jpg', '/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_49_2686.jpg', '/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_53_3736.jpg', '/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_58_2697.jpg', '/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_01_2662.jpg', '/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_05_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/09/35/image_30102025_09_35_46_2833.jpg
/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_49_2686.jpg
/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_53_3736.jpg
/home/pi/Desktop/images/30102025/09/35/image_30102025_09_35_58_2697.jpg
/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_01_2662.jpg
/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_05_3631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391796421","1391796427","1391796429","1391796423","1391796417","1391796425"],"photo_ids_order":["1391796417","1391796421","1391796423","1391796425","1391796427","1391796429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/88165c1e704d5a3a964a2f624047bb8a.jpg","text":"TemporaryFile(/tmp/multipartBody2676691521363220378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063085319,"filename":"image_30102025_09_35_49_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/2/e42676c48e0ab85609f34d77d92be402.jpg","text":"TemporaryFile(/tmp/multipartBody3904306714199901412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063085319,"filename":"image_30102025_09_36_01_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/2/55438a7ffb9ba9100acf0052a1c43ebd.jpg","text":"TemporaryFile(/tmp/multipartBody1697989559210042405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063085319,"filename":"image_30102025_09_36_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/2/a1bafd0d178d36201ff4a961ec13f9df.jpg","text":"TemporaryFile(/tmp/multipartBody6195763031912560271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063085319,"filename":"image_30102025_09_35_53_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/2/40684c56051c1371b2f6c3c41dae75cf.jpg","text":"TemporaryFile(/tmp/multipartBody8442555500467650202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063085319,"filename":"image_30102025_09_35_46_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/2/c96fc99318bc9d244ac334cf40b641c9.jpg","text":"TemporaryFile(/tmp/multipartBody4971464455545238620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063085319,"filename":"image_30102025_09_35_58_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391796423","file1":"1391796421","file0":"1391796417","file4":"1391796427","file5":"1391796429","file3":"1391796425"},"map_files_photo_id_array":[{"photo_id":"1391796429","filename":"file5"},{"photo_id":"1391796423","filename":"file2"},{"photo_id":"1391796427","filename":"file4"},{"photo_id":"1391796421","filename":"file1"},{"photo_id":"1391796417","filename":"file0"},{"photo_id":"1391796425","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391796421":["hashtag1","hashtag2"]},{"1391796427":["hashtag1","hashtag2"]},{"1391796429":["hashtag1","hashtag2"]},{"1391796423":["hashtag1","hashtag2"]},{"1391796417":["hashtag1","hashtag2"]},{"1391796425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391796421, 1391796427, 1391796429, 1391796423, 1391796417, 1391796425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26055121421814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 06:57:42.385893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_07_2700.jpg', '/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_10_2672.jpg', '/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_14_3736.jpg', '/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_16_2613.jpg', '/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_19_2826.jpg', '/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_23_3574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_07_2700.jpg
/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_10_2672.jpg
/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_14_3736.jpg
/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_16_2613.jpg
/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_19_2826.jpg
/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_23_3574.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391796586","1391796673","1391796505","1391796678","1391796543","1391796629"],"photo_ids_order":["1391796505","1391796543","1391796586","1391796629","1391796673","1391796678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/52fbc2f6c3203eeffb9fa99626761fd2.jpg","text":"TemporaryFile(/tmp/multipartBody6546526245523598347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063123517,"filename":"image_30102025_09_36_14_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/2/c1dc7805c9c6b6fbadf42dd71281fd5f.jpg","text":"TemporaryFile(/tmp/multipartBody6884855195264748015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063123517,"filename":"image_30102025_09_36_19_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/2/96e8d64d5bca023dd3439bd4ea891cb3.jpg","text":"TemporaryFile(/tmp/multipartBody3867577873734586261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063123517,"filename":"image_30102025_09_36_07_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/2/34c0a7e9f2c2cee66fcbfc8259c66f02.jpg","text":"TemporaryFile(/tmp/multipartBody4858306091010089721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063123517,"filename":"image_30102025_09_36_23_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/2/fb0d6457f801fa6e74092e1ffed6a95c.jpg","text":"TemporaryFile(/tmp/multipartBody2882344503308928849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063123517,"filename":"image_30102025_09_36_10_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/2/536779c2acffdf1fec28a5574e794f91.jpg","text":"TemporaryFile(/tmp/multipartBody4590292725070700048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063123517,"filename":"image_30102025_09_36_16_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391796586","file1":"1391796543","file0":"1391796505","file4":"1391796673","file5":"1391796678","file3":"1391796629"},"map_files_photo_id_array":[{"photo_id":"1391796678","filename":"file5"},{"photo_id":"1391796586","filename":"file2"},{"photo_id":"1391796673","filename":"file4"},{"photo_id":"1391796543","filename":"file1"},{"photo_id":"1391796505","filename":"file0"},{"photo_id":"1391796629","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391796586":["hashtag1","hashtag2"]},{"1391796673":["hashtag1","hashtag2"]},{"1391796505":["hashtag1","hashtag2"]},{"1391796678":["hashtag1","hashtag2"]},{"1391796543":["hashtag1","hashtag2"]},{"1391796629":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391796586, 1391796673, 1391796505, 1391796678, 1391796543, 1391796629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.522864818573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 06:59:03.162433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_26_2781.jpg', '/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_28_2660.jpg', '/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_31_2724.jpg', '/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_35_3738.jpg', '/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_37_2689.jpg', '/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_44_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/09/36/image_30102025_09_36_26_2781.jpg
/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_28_2660.jpg
/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_31_2724.jpg
/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_35_3738.jpg
/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_37_2689.jpg
/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_44_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":["1391796811","1391796820","1391796808","1391796817","1391796805","1391796801"],"photo_ids_order":["1391796801","1391796805","1391796808","1391796811","1391796817","1391796820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/83ee85485f957946b5ae3fd4c5c149e7.jpg","text":"TemporaryFile(/tmp/multipartBody7679663328068180133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063205342,"filename":"image_30102025_09_36_35_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/2/2d569deefe2f6e0a503d0de98e24f3c8.jpg","text":"TemporaryFile(/tmp/multipartBody4500572245641985575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063205342,"filename":"image_30102025_09_36_44_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/2/d409f9d1b280b1b2dc62b071493aad1f.jpg","text":"TemporaryFile(/tmp/multipartBody5673644621647116475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063205342,"filename":"image_30102025_09_36_31_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/2/aee4b1250a8a19a6b2cd94e522f1d31e.jpg","text":"TemporaryFile(/tmp/multipartBody287687684939432066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063205342,"filename":"image_30102025_09_36_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/2/06a541f8813101425f18abd1f5e112f5.jpg","text":"TemporaryFile(/tmp/multipartBody5420701203978579121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063205342,"filename":"image_30102025_09_36_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/2/759d21a0454ba2602d88e17d7eff4c5c.jpg","text":"TemporaryFile(/tmp/multipartBody9175814598263100802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063205342,"filename":"image_30102025_09_36_26_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391796808","file1":"1391796805","file0":"1391796801","file4":"1391796817","file5":"1391796820","file3":"1391796811"},"map_files_photo_id_array":[{"photo_id":"1391796820","filename":"file5"},{"photo_id":"1391796808","filename":"file2"},{"photo_id":"1391796817","filename":"file4"},{"photo_id":"1391796805","filename":"file1"},{"photo_id":"1391796801","filename":"file0"},{"photo_id":"1391796811","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391796811":["hashtag1","hashtag2"]},{"1391796820":["hashtag1","hashtag2"]},{"1391796808":["hashtag1","hashtag2"]},{"1391796817":["hashtag1","hashtag2"]},{"1391796805":["hashtag1","hashtag2"]},{"1391796801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391796811, 1391796820, 1391796808, 1391796817, 1391796805, 1391796801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.294973850250244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 07:00:02.648944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_46_2738.jpg', '/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_49_2770.jpg', '/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_52_2579.jpg', '/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_55_3655.jpg', '/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_58_2593.jpg', '/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_01_2848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_46_2738.jpg
/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_49_2770.jpg
/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_52_2579.jpg
/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_55_3655.jpg
/home/pi/Desktop/images/30102025/09/36/image_30102025_09_36_58_2593.jpg
/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_01_2848.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391796850","1391796847","1391796855","1391796858","1391796852","1391796848"],"photo_ids_order":["1391796847","1391796848","1391796850","1391796852","1391796855","1391796858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a6614741e1274bc0d777c2fd4e53cf59.jpg","text":"TemporaryFile(/tmp/multipartBody7993817993884873050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063267808,"filename":"image_30102025_09_36_52_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/2/6404d522fc8e5053db447b994315fb86.jpg","text":"TemporaryFile(/tmp/multipartBody730421866941438778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063267808,"filename":"image_30102025_09_36_46_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/2/e3e189a159ac98d557e003a2259cb559.jpg","text":"TemporaryFile(/tmp/multipartBody1575786600908115351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063267808,"filename":"image_30102025_09_36_58_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/2/621caaa1b8786b2e9c21601a30d82dc5.jpg","text":"TemporaryFile(/tmp/multipartBody2205153017687599619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063267808,"filename":"image_30102025_09_37_01_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/2/53396caaa096b4034fbd5529e9276051.jpg","text":"TemporaryFile(/tmp/multipartBody3402909618183973550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063267808,"filename":"image_30102025_09_36_55_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/2/6af4542fec66baf3b035a13b2da817b0.jpg","text":"TemporaryFile(/tmp/multipartBody8665757487987036189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063267808,"filename":"image_30102025_09_36_49_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391796850","file1":"1391796848","file0":"1391796847","file4":"1391796855","file5":"1391796858","file3":"1391796852"},"map_files_photo_id_array":[{"photo_id":"1391796858","filename":"file5"},{"photo_id":"1391796850","filename":"file2"},{"photo_id":"1391796855","filename":"file4"},{"photo_id":"1391796848","filename":"file1"},{"photo_id":"1391796847","filename":"file0"},{"photo_id":"1391796852","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391796850":["hashtag1","hashtag2"]},{"1391796847":["hashtag1","hashtag2"]},{"1391796855":["hashtag1","hashtag2"]},{"1391796858":["hashtag1","hashtag2"]},{"1391796852":["hashtag1","hashtag2"]},{"1391796848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391796850, 1391796847, 1391796855, 1391796858, 1391796852, 1391796848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.1799898147583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 07:01:04.560047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_05_3689.jpg', '/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_07_2575.jpg', '/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_14_3673.jpg', '/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_16_2677.jpg', '/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_19_2651.jpg', '/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_22_2914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_05_3689.jpg
/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_07_2575.jpg
/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_14_3673.jpg
/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_16_2677.jpg
/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_19_2651.jpg
/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_22_2914.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391797066","1391797020","1391797143","1391797391","1391797304","1391797226"],"photo_ids_order":["1391797020","1391797066","1391797143","1391797226","1391797304","1391797391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/652ebda9595bf1a543dd621e09ca13dc.jpg","text":"TemporaryFile(/tmp/multipartBody493384553245698119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063367946,"filename":"image_30102025_09_37_07_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/2/8eab9cab43d18a6a9dcc15945cf4a603.jpg","text":"TemporaryFile(/tmp/multipartBody9062754066694489333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063367946,"filename":"image_30102025_09_37_05_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/2/aaf50ef80c0a34413e6101c91920c395.jpg","text":"TemporaryFile(/tmp/multipartBody4376774161355082795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063367946,"filename":"image_30102025_09_37_14_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/2/f53e409cfb96626b4947744d82068956.jpg","text":"TemporaryFile(/tmp/multipartBody2735938572031108232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063367946,"filename":"image_30102025_09_37_22_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/2/78b944fe6748a5fdae962154bcc68644.jpg","text":"TemporaryFile(/tmp/multipartBody4584216649042722325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063367946,"filename":"image_30102025_09_37_19_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/2/c3a71c8d1104149dbf0177b58e3c480c.jpg","text":"TemporaryFile(/tmp/multipartBody2416452088954034040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063367946,"filename":"image_30102025_09_37_16_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391797143","file1":"1391797066","file0":"1391797020","file4":"1391797304","file5":"1391797391","file3":"1391797226"},"map_files_photo_id_array":[{"photo_id":"1391797391","filename":"file5"},{"photo_id":"1391797143","filename":"file2"},{"photo_id":"1391797304","filename":"file4"},{"photo_id":"1391797066","filename":"file1"},{"photo_id":"1391797020","filename":"file0"},{"photo_id":"1391797226","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391797066":["hashtag1","hashtag2"]},{"1391797020":["hashtag1","hashtag2"]},{"1391797143":["hashtag1","hashtag2"]},{"1391797391":["hashtag1","hashtag2"]},{"1391797304":["hashtag1","hashtag2"]},{"1391797226":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391797066, 1391797020, 1391797143, 1391797391, 1391797304, 1391797226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 78.76243352890015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 07:02:42.121861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_26_3695.jpg', '/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_28_2647.jpg', '/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_31_2739.jpg', '/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_35_3694.jpg', '/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_37_2566.jpg', '/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_40_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/09/37/image_30102025_09_37_26_3695.jpg
/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_28_2647.jpg
/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_31_2739.jpg
/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_35_3694.jpg
/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_37_2566.jpg
/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_40_2663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391798305","1391798382","1391798217","1391798132","1391798047","1391797963"],"photo_ids_order":["1391797963","1391798047","1391798132","1391798217","1391798305","1391798382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9c6aca0a38f0e0061bbc995229dd9450.jpg","text":"TemporaryFile(/tmp/multipartBody6193962128026735911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063423218,"filename":"image_30102025_09_37_37_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/2/e946b7029c9f3937c6a81dcae58fcf84.jpg","text":"TemporaryFile(/tmp/multipartBody4259700400242672491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063423218,"filename":"image_30102025_09_37_40_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/2/06b86c0be58757a522f21d0e9b7e6777.jpg","text":"TemporaryFile(/tmp/multipartBody2087914538308924974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063423218,"filename":"image_30102025_09_37_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/2/d9b6735191f990b716d87efdfbde3ba5.jpg","text":"TemporaryFile(/tmp/multipartBody8815241089569395062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063423218,"filename":"image_30102025_09_37_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/2/1a77fa072af014cc38e996522a004fae.jpg","text":"TemporaryFile(/tmp/multipartBody7621725532357225529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063423218,"filename":"image_30102025_09_37_28_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/2/7b8a8763865dd6d9722bfb64a6c6359e.jpg","text":"TemporaryFile(/tmp/multipartBody2817695868806790344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063423218,"filename":"image_30102025_09_37_26_3695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391798132","file1":"1391798047","file0":"1391797963","file4":"1391798305","file5":"1391798382","file3":"1391798217"},"map_files_photo_id_array":[{"photo_id":"1391798382","filename":"file5"},{"photo_id":"1391798132","filename":"file2"},{"photo_id":"1391798305","filename":"file4"},{"photo_id":"1391798047","filename":"file1"},{"photo_id":"1391797963","filename":"file0"},{"photo_id":"1391798217","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391798305":["hashtag1","hashtag2"]},{"1391798382":["hashtag1","hashtag2"]},{"1391798217":["hashtag1","hashtag2"]},{"1391798132":["hashtag1","hashtag2"]},{"1391798047":["hashtag1","hashtag2"]},{"1391797963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391798305, 1391798382, 1391798217, 1391798132, 1391798047, 1391797963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64514183998108 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 07:03:22.322610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_43_3639.jpg', '/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_46_2855.jpg', '/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_49_2573.jpg', '/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_52_2767.jpg', '/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_55_3720.jpg', '/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_58_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/09/37/image_30102025_09_37_43_3639.jpg
/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_46_2855.jpg
/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_49_2573.jpg
/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_52_2767.jpg
/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_55_3720.jpg
/home/pi/Desktop/images/30102025/09/37/image_30102025_09_37_58_2750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391798670","1391798588","1391798720","1391798725","1391798632","1391798713"],"photo_ids_order":["1391798588","1391798632","1391798670","1391798713","1391798720","1391798725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4e271553ed23c1953a6f29001ee8ca01.jpg","text":"TemporaryFile(/tmp/multipartBody1237023401786951015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063465020,"filename":"image_30102025_09_37_49_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/2/9558f7bc2fae9aa140b5754ddc13e12d.jpg","text":"TemporaryFile(/tmp/multipartBody1660319181242404558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063465020,"filename":"image_30102025_09_37_43_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/2/0420858c85e6bd7b64bf5e62271f9e4d.jpg","text":"TemporaryFile(/tmp/multipartBody7523252579531080054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063465020,"filename":"image_30102025_09_37_55_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/2/d19b206482f8357eff586a4c0f84b2fa.jpg","text":"TemporaryFile(/tmp/multipartBody1480662625343014959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063465020,"filename":"image_30102025_09_37_58_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/2/61f72ea8b524a1576d75b3b43c64b1f2.jpg","text":"TemporaryFile(/tmp/multipartBody6483840612579188849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063465020,"filename":"image_30102025_09_37_46_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/2/f8c299c95ba366611ab977bdbcafd994.jpg","text":"TemporaryFile(/tmp/multipartBody2826530354747261966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063465020,"filename":"image_30102025_09_37_52_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391798670","file1":"1391798632","file0":"1391798588","file4":"1391798720","file5":"1391798725","file3":"1391798713"},"map_files_photo_id_array":[{"photo_id":"1391798725","filename":"file5"},{"photo_id":"1391798670","filename":"file2"},{"photo_id":"1391798720","filename":"file4"},{"photo_id":"1391798632","filename":"file1"},{"photo_id":"1391798588","filename":"file0"},{"photo_id":"1391798713","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391798670":["hashtag1","hashtag2"]},{"1391798588":["hashtag1","hashtag2"]},{"1391798720":["hashtag1","hashtag2"]},{"1391798725":["hashtag1","hashtag2"]},{"1391798632":["hashtag1","hashtag2"]},{"1391798713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391798670, 1391798588, 1391798720, 1391798725, 1391798632, 1391798713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70327591896057 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-02 07:04:22.553101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_01_2891.jpg', '/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_04_2702.jpg', '/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_07_3661.jpg', '/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_10_2724.jpg', '/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_13_2822.jpg', '/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_16_2822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_01_2891.jpg
/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_04_2702.jpg
/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_07_3661.jpg
/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_10_2724.jpg
/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_13_2822.jpg
/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_16_2822.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391798748","1391799053","1391798888","1391798804","1391798974","1391798737"],"photo_ids_order":["1391798737","1391798748","1391798804","1391798888","1391798974","1391799053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ba1c8c3669a707260e81f030398ecc9b.jpg","text":"TemporaryFile(/tmp/multipartBody4759800889738334198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063525039,"filename":"image_30102025_09_38_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/2/c3642be5444b027e82707350611b551b.jpg","text":"TemporaryFile(/tmp/multipartBody8138282335143545130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063525039,"filename":"image_30102025_09_38_16_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/2/78a7fa69dc6c5e14b7adcc5542774d0d.jpg","text":"TemporaryFile(/tmp/multipartBody6821008416827723968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063525039,"filename":"image_30102025_09_38_10_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/2/df4a8576691cb52865558cc6308e9ec3.jpg","text":"TemporaryFile(/tmp/multipartBody9198854775011668386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063525039,"filename":"image_30102025_09_38_07_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/2/399dab397b4fd885a6ef39ce2b1e0d82.jpg","text":"TemporaryFile(/tmp/multipartBody6396625766983032422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063525039,"filename":"image_30102025_09_38_13_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/2/770af82d39b0e8b40487999acb5029e4.jpg","text":"TemporaryFile(/tmp/multipartBody2370490915740197097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063525039,"filename":"image_30102025_09_38_01_2891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391798804","file1":"1391798748","file0":"1391798737","file4":"1391798974","file5":"1391799053","file3":"1391798888"},"map_files_photo_id_array":[{"photo_id":"1391799053","filename":"file5"},{"photo_id":"1391798804","filename":"file2"},{"photo_id":"1391798974","filename":"file4"},{"photo_id":"1391798748","filename":"file1"},{"photo_id":"1391798737","filename":"file0"},{"photo_id":"1391798888","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391798748":["hashtag1","hashtag2"]},{"1391799053":["hashtag1","hashtag2"]},{"1391798888":["hashtag1","hashtag2"]},{"1391798804":["hashtag1","hashtag2"]},{"1391798974":["hashtag1","hashtag2"]},{"1391798737":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391798748, 1391799053, 1391798888, 1391798804, 1391798974, 1391798737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.70831871032715 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-02 07:05:22.736758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_19_3523.jpg', '/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_22_2659.jpg', '/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_28_2566.jpg', '/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_31_2787.jpg', '/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_35_3553.jpg', '/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_37_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/09/38/image_30102025_09_38_19_3523.jpg
/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_22_2659.jpg
/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_28_2566.jpg
/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_31_2787.jpg
/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_35_3553.jpg
/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_37_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":["1391799534","1391799458","1391799493","1391799511","1391799597","1391799579"],"photo_ids_order":["1391799458","1391799493","1391799511","1391799534","1391799579","1391799597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/09c65b86980b556d4ee3d2fbfd21f46e.jpg","text":"TemporaryFile(/tmp/multipartBody1047889864640883517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063585092,"filename":"image_30102025_09_38_31_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/2/e9870f9f12b01fa21d159e32f47a6ad9.jpg","text":"TemporaryFile(/tmp/multipartBody3396035958669098940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063585092,"filename":"image_30102025_09_38_19_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/2/4850492d8943aaa1679c0b02ccbd6e82.jpg","text":"TemporaryFile(/tmp/multipartBody3866891393713142760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063585092,"filename":"image_30102025_09_38_22_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/2/bb462fb2a141d4e733ba3388cb92e7ea.jpg","text":"TemporaryFile(/tmp/multipartBody5645574131666537064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063585092,"filename":"image_30102025_09_38_28_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/2/326fdefd5290e3d1123d77fc12e1e710.jpg","text":"TemporaryFile(/tmp/multipartBody2833449562939203048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063585092,"filename":"image_30102025_09_38_37_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/2/0bfec04c6e51fea8d65aade56861ec53.jpg","text":"TemporaryFile(/tmp/multipartBody4546687818777509772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063585092,"filename":"image_30102025_09_38_35_3553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391799511","file1":"1391799493","file0":"1391799458","file4":"1391799579","file5":"1391799597","file3":"1391799534"},"map_files_photo_id_array":[{"photo_id":"1391799597","filename":"file5"},{"photo_id":"1391799511","filename":"file2"},{"photo_id":"1391799579","filename":"file4"},{"photo_id":"1391799493","filename":"file1"},{"photo_id":"1391799458","filename":"file0"},{"photo_id":"1391799534","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391799534":["hashtag1","hashtag2"]},{"1391799458":["hashtag1","hashtag2"]},{"1391799493":["hashtag1","hashtag2"]},{"1391799511":["hashtag1","hashtag2"]},{"1391799597":["hashtag1","hashtag2"]},{"1391799579":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391799534, 1391799458, 1391799493, 1391799511, 1391799597, 1391799579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.80467414855957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 07:06:21.966476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_40_2675.jpg', '/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_43_3655.jpg', '/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_46_2737.jpg', '/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_49_2590.jpg', '/home/pi/Desktop/images/30102025/09/38/image_30102025_09_39_01_3619.jpg', '/home/pi/Desktop/images/30102025/09/39/image_30102025_09_39_04_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/09/38/image_30102025_09_38_40_2675.jpg
/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_43_3655.jpg
/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_46_2737.jpg
/home/pi/Desktop/images/30102025/09/38/image_30102025_09_38_49_2590.jpg
/home/pi/Desktop/images/30102025/09/38/image_30102025_09_39_01_3619.jpg
/home/pi/Desktop/images/30102025/09/39/image_30102025_09_39_04_2728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391799627","1391799632","1391799613","1391799622","1391799616","1391799618"],"photo_ids_order":["1391799613","1391799616","1391799618","1391799622","1391799627","1391799632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2ac33b4eef0af41080c88191acb485b9.jpg","text":"TemporaryFile(/tmp/multipartBody3541963862025447745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063644373,"filename":"image_30102025_09_39_01_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/2/6981df8b5615da2517905ad6168f2d1e.jpg","text":"TemporaryFile(/tmp/multipartBody8599055634236203925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063644373,"filename":"image_30102025_09_39_04_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/2/f25d3acd6cdd05a6a9494db5f28652c2.jpg","text":"TemporaryFile(/tmp/multipartBody2594611275301390715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063644373,"filename":"image_30102025_09_38_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/2/2040758b76913f9f01dd2bd4ddb0ded1.jpg","text":"TemporaryFile(/tmp/multipartBody8790215090752112396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063644373,"filename":"image_30102025_09_38_49_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/2/e6542eba5fbd0e86d12943315584336b.jpg","text":"TemporaryFile(/tmp/multipartBody1101776466250396417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063644373,"filename":"image_30102025_09_38_43_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/2/a74012c6f4bc912620c244e5946c6e19.jpg","text":"TemporaryFile(/tmp/multipartBody5988594203035072258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063644373,"filename":"image_30102025_09_38_46_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391799618","file1":"1391799616","file0":"1391799613","file4":"1391799627","file5":"1391799632","file3":"1391799622"},"map_files_photo_id_array":[{"photo_id":"1391799632","filename":"file5"},{"photo_id":"1391799618","filename":"file2"},{"photo_id":"1391799627","filename":"file4"},{"photo_id":"1391799616","filename":"file1"},{"photo_id":"1391799613","filename":"file0"},{"photo_id":"1391799622","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391799627":["hashtag1","hashtag2"]},{"1391799632":["hashtag1","hashtag2"]},{"1391799613":["hashtag1","hashtag2"]},{"1391799622":["hashtag1","hashtag2"]},{"1391799616":["hashtag1","hashtag2"]},{"1391799618":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391799627, 1391799632, 1391799613, 1391799622, 1391799616, 1391799618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08224153518677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 07:07:02.917223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/39/image_30102025_09_39_13_3782.jpg', '/home/pi/Desktop/images/30102025/09/39/image_30102025_09_39_19_2760.jpg', '/home/pi/Desktop/images/30102025/09/39/image_30102025_09_39_22_3734.jpg', '/home/pi/Desktop/images/30102025/09/39/image_30102025_09_39_25_2738.jpg', '/home/pi/Desktop/images/30102025/09/39/image_30102025_09_39_31_3699.jpg', '/home/pi/Desktop/images/30102025/09/39/image_30102025_09_39_34_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/09/39/image_30102025_09_39_13_3782.jpg
/home/pi/Desktop/images/30102025/09/39/image_30102025_09_39_19_2760.jpg
/home/pi/Desktop/images/30102025/09/39/image_30102025_09_39_22_3734.jpg
/home/pi/Desktop/images/30102025/09/39/image_30102025_09_39_25_2738.jpg
/home/pi/Desktop/images/30102025/09/39/image_30102025_09_39_31_3699.jpg
/home/pi/Desktop/images/30102025/09/39/image_30102025_09_39_34_2536.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391799653","1391799656","1391799641","1391799659","1391799646","1391799649"],"photo_ids_order":["1391799641","1391799646","1391799649","1391799653","1391799656","1391799659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/04cc50b00c4279d5a65771f3a5b23e1b.jpg","text":"TemporaryFile(/tmp/multipartBody4686873604983885047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063685010,"filename":"image_30102025_09_39_25_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/2/74142a7ccd0d63680521f6b9e4ed9882.jpg","text":"TemporaryFile(/tmp/multipartBody1338611892536756292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063685010,"filename":"image_30102025_09_39_31_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/2/950a8bf750d5db95316f4b633f0c9286.jpg","text":"TemporaryFile(/tmp/multipartBody6819134294317293912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063685010,"filename":"image_30102025_09_39_13_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/2/779d395100e4db8939446844c6416a8c.jpg","text":"TemporaryFile(/tmp/multipartBody2748591680496564580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063685010,"filename":"image_30102025_09_39_34_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/2/1819dcb1d3988faeb4c6bd1eb8a3dfbb.jpg","text":"TemporaryFile(/tmp/multipartBody1082041925115666992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063685010,"filename":"image_30102025_09_39_19_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/2/1aa201709193cd63f138aa4523872505.jpg","text":"TemporaryFile(/tmp/multipartBody1690462461281935446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063685010,"filename":"image_30102025_09_39_22_3734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391799649","file1":"1391799646","file0":"1391799641","file4":"1391799656","file5":"1391799659","file3":"1391799653"},"map_files_photo_id_array":[{"photo_id":"1391799659","filename":"file5"},{"photo_id":"1391799649","filename":"file2"},{"photo_id":"1391799656","filename":"file4"},{"photo_id":"1391799646","filename":"file1"},{"photo_id":"1391799641","filename":"file0"},{"photo_id":"1391799653","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391799653":["hashtag1","hashtag2"]},{"1391799656":["hashtag1","hashtag2"]},{"1391799641":["hashtag1","hashtag2"]},{"1391799659":["hashtag1","hashtag2"]},{"1391799646":["hashtag1","hashtag2"]},{"1391799649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391799653, 1391799656, 1391799641, 1391799659, 1391799646, 1391799649)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.014607429504395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 07:08:03.153527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/39/image_30102025_09_39_40_3688.jpg', '/home/pi/Desktop/images/30102025/09/39/image_30102025_09_39_43_2679.jpg', '/home/pi/Desktop/images/30102025/09/39/image_30102025_09_39_58_3608.jpg', '/home/pi/Desktop/images/30102025/09/40/image_30102025_09_40_01_2596.jpg', '/home/pi/Desktop/images/30102025/09/40/image_30102025_09_40_04_2828.jpg', '/home/pi/Desktop/images/30102025/09/40/image_30102025_09_40_16_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/09/39/image_30102025_09_39_40_3688.jpg
/home/pi/Desktop/images/30102025/09/39/image_30102025_09_39_43_2679.jpg
/home/pi/Desktop/images/30102025/09/39/image_30102025_09_39_58_3608.jpg
/home/pi/Desktop/images/30102025/09/40/image_30102025_09_40_01_2596.jpg
/home/pi/Desktop/images/30102025/09/40/image_30102025_09_40_04_2828.jpg
/home/pi/Desktop/images/30102025/09/40/image_30102025_09_40_16_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":["1391799698","1391799692","1391799695","1391799688","1391799679","1391799684"],"photo_ids_order":["1391799679","1391799684","1391799688","1391799692","1391799695","1391799698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ece08cd46ccf0d864f175281ca19177f.jpg","text":"TemporaryFile(/tmp/multipartBody5273720903087137978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063748003,"filename":"image_30102025_09_40_16_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/2/3d808295c3b23e28f3f29d6c724e34bf.jpg","text":"TemporaryFile(/tmp/multipartBody4969140328044390766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063748003,"filename":"image_30102025_09_40_01_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/2/8103c8e5f246b3b314e276762a8e717c.jpg","text":"TemporaryFile(/tmp/multipartBody2368003282859367734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063748003,"filename":"image_30102025_09_40_04_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/2/b958cc96e9590ed56d5e0748c4e4804a.jpg","text":"TemporaryFile(/tmp/multipartBody9051199764909466914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063748003,"filename":"image_30102025_09_39_58_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/2/c6e55882564b4e6ddb42271ca2baab95.jpg","text":"TemporaryFile(/tmp/multipartBody1026125075622770585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063748003,"filename":"image_30102025_09_39_40_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/2/ea9edb7c51079375db0c0c06c9c4d1d0.jpg","text":"TemporaryFile(/tmp/multipartBody2292496443463288774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063748003,"filename":"image_30102025_09_39_43_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391799688","file1":"1391799684","file0":"1391799679","file4":"1391799695","file5":"1391799698","file3":"1391799692"},"map_files_photo_id_array":[{"photo_id":"1391799698","filename":"file5"},{"photo_id":"1391799688","filename":"file2"},{"photo_id":"1391799695","filename":"file4"},{"photo_id":"1391799684","filename":"file1"},{"photo_id":"1391799679","filename":"file0"},{"photo_id":"1391799692","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391799698":["hashtag1","hashtag2"]},{"1391799692":["hashtag1","hashtag2"]},{"1391799695":["hashtag1","hashtag2"]},{"1391799688":["hashtag1","hashtag2"]},{"1391799679":["hashtag1","hashtag2"]},{"1391799684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391799698, 1391799692, 1391799695, 1391799688, 1391799679, 1391799684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.504688024520874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 07:09:04.266232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 07:09:21.849839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/40/image_30102025_09_40_19_2606.jpg', '/home/pi/Desktop/images/30102025/09/40/image_30102025_09_40_22_2806.jpg', '/home/pi/Desktop/images/30102025/09/40/image_30102025_09_40_40_3670.jpg', '/home/pi/Desktop/images/30102025/09/40/image_30102025_09_40_45_2662.jpg', '/home/pi/Desktop/images/30102025/09/40/image_30102025_09_40_52_2713.jpg', '/home/pi/Desktop/images/30102025/09/40/image_30102025_09_40_58_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/09/40/image_30102025_09_40_19_2606.jpg
/home/pi/Desktop/images/30102025/09/40/image_30102025_09_40_22_2806.jpg
/home/pi/Desktop/images/30102025/09/40/image_30102025_09_40_40_3670.jpg
/home/pi/Desktop/images/30102025/09/40/image_30102025_09_40_45_2662.jpg
/home/pi/Desktop/images/30102025/09/40/image_30102025_09_40_52_2713.jpg
/home/pi/Desktop/images/30102025/09/40/image_30102025_09_40_58_3702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391799726","1391799737","1391799739","1391799730","1391799733","1391799723"],"photo_ids_order":["1391799723","1391799726","1391799730","1391799733","1391799737","1391799739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/41d0b44fd1ac9ab837969cb28a7a4aa2.jpg","text":"TemporaryFile(/tmp/multipartBody5453403965357796456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063836426,"filename":"image_30102025_09_40_22_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/2/36c4cacec1701f000dee42bb9278e983.jpg","text":"TemporaryFile(/tmp/multipartBody7555606671795159539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063836426,"filename":"image_30102025_09_40_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/2/51493c2b1c6ef25098e1843d8bd9344f.jpg","text":"TemporaryFile(/tmp/multipartBody5644021235092448279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063836426,"filename":"image_30102025_09_40_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/2/1fde85172d891fc97918d141d87434a2.jpg","text":"TemporaryFile(/tmp/multipartBody3842294630357115623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063836426,"filename":"image_30102025_09_40_40_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/2/a414fc19f69f2d0fda6ffa71624072f5.jpg","text":"TemporaryFile(/tmp/multipartBody1298883796301044048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063836426,"filename":"image_30102025_09_40_45_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/2/94b98ea5cdd559251ba0282828f41747.jpg","text":"TemporaryFile(/tmp/multipartBody2457981873640174357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063836426,"filename":"image_30102025_09_40_19_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391799730","file1":"1391799726","file0":"1391799723","file4":"1391799737","file5":"1391799739","file3":"1391799733"},"map_files_photo_id_array":[{"photo_id":"1391799739","filename":"file5"},{"photo_id":"1391799730","filename":"file2"},{"photo_id":"1391799737","filename":"file4"},{"photo_id":"1391799726","filename":"file1"},{"photo_id":"1391799723","filename":"file0"},{"photo_id":"1391799733","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391799726":["hashtag1","hashtag2"]},{"1391799737":["hashtag1","hashtag2"]},{"1391799739":["hashtag1","hashtag2"]},{"1391799730":["hashtag1","hashtag2"]},{"1391799733":["hashtag1","hashtag2"]},{"1391799723":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391799726, 1391799737, 1391799739, 1391799730, 1391799733, 1391799723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.89709186553955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 07:10:22.299770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_01_2695.jpg', '/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_03_2548.jpg', '/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_07_3713.jpg', '/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_10_2611.jpg', '/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_12_2723.jpg', '/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_16_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/09/41/image_30102025_09_41_01_2695.jpg
/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_03_2548.jpg
/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_07_3713.jpg
/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_10_2611.jpg
/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_12_2723.jpg
/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_16_3733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391799764","1391799773","1391799752","1391799769","1391799756","1391799759"],"photo_ids_order":["1391799752","1391799756","1391799759","1391799764","1391799769","1391799773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/780bbbe8688be02f35fe39cfe7a86935.jpg","text":"TemporaryFile(/tmp/multipartBody947583695089844995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063890706,"filename":"image_30102025_09_41_10_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/2/6835a0a5e6d3df755ae6174961ce04de.jpg","text":"TemporaryFile(/tmp/multipartBody5870557611835718605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063890706,"filename":"image_30102025_09_41_16_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/2/266b2f0780d7f05cb0a147d8571715b4.jpg","text":"TemporaryFile(/tmp/multipartBody2848011722768417449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063890706,"filename":"image_30102025_09_41_01_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/2/000ec8e646151f7961717ed4588322e5.jpg","text":"TemporaryFile(/tmp/multipartBody3779552109726675354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063890706,"filename":"image_30102025_09_41_12_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/2/95e1d83a1aae456f387d10121a5a5ede.jpg","text":"TemporaryFile(/tmp/multipartBody9216692796508236995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063890706,"filename":"image_30102025_09_41_03_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/2/6fe44e53230a90ae01ec4231f3670ade.jpg","text":"TemporaryFile(/tmp/multipartBody3775494860554737797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063890706,"filename":"image_30102025_09_41_07_3713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391799759","file1":"1391799756","file0":"1391799752","file4":"1391799769","file5":"1391799773","file3":"1391799764"},"map_files_photo_id_array":[{"photo_id":"1391799773","filename":"file5"},{"photo_id":"1391799759","filename":"file2"},{"photo_id":"1391799769","filename":"file4"},{"photo_id":"1391799756","filename":"file1"},{"photo_id":"1391799752","filename":"file0"},{"photo_id":"1391799764","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391799764":["hashtag1","hashtag2"]},{"1391799773":["hashtag1","hashtag2"]},{"1391799752":["hashtag1","hashtag2"]},{"1391799769":["hashtag1","hashtag2"]},{"1391799756":["hashtag1","hashtag2"]},{"1391799759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391799764, 1391799773, 1391799752, 1391799769, 1391799756, 1391799759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.50408387184143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 07:11:22.535348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_19_2630.jpg', '/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_22_2756.jpg', '/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_25_3549.jpg', '/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_28_2696.jpg', '/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_31_2832.jpg', '/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_33_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/09/41/image_30102025_09_41_19_2630.jpg
/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_22_2756.jpg
/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_25_3549.jpg
/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_28_2696.jpg
/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_31_2832.jpg
/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_33_2737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391799804","1391799797","1391799801","1391799785","1391799793","1391799789"],"photo_ids_order":["1391799785","1391799789","1391799793","1391799797","1391799801","1391799804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8459b7aa0781b1bc58da23b0d580b62f.jpg","text":"TemporaryFile(/tmp/multipartBody2540039464110333919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063946620,"filename":"image_30102025_09_41_33_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/2/35b8c5bbfb573dc23bdbaa37ddedbda7.jpg","text":"TemporaryFile(/tmp/multipartBody8800733676722916886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063946620,"filename":"image_30102025_09_41_28_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/2/fe4c70f9adf853c3ca64d0a1c31c0261.jpg","text":"TemporaryFile(/tmp/multipartBody8673116762895273151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063946620,"filename":"image_30102025_09_41_31_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/2/fb90fd53c5bbe2bbbc8a9b9a80bf52ee.jpg","text":"TemporaryFile(/tmp/multipartBody3994084110059265821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063946620,"filename":"image_30102025_09_41_19_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/2/2bca7910bdb62252d17bec313ae809b3.jpg","text":"TemporaryFile(/tmp/multipartBody3103849672325348802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063946620,"filename":"image_30102025_09_41_25_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/2/a650db671415b53c5b4d3360131a4ab7.jpg","text":"TemporaryFile(/tmp/multipartBody1172939942913695403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762063946620,"filename":"image_30102025_09_41_22_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391799793","file1":"1391799789","file0":"1391799785","file4":"1391799801","file5":"1391799804","file3":"1391799797"},"map_files_photo_id_array":[{"photo_id":"1391799804","filename":"file5"},{"photo_id":"1391799793","filename":"file2"},{"photo_id":"1391799801","filename":"file4"},{"photo_id":"1391799789","filename":"file1"},{"photo_id":"1391799785","filename":"file0"},{"photo_id":"1391799797","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391799804":["hashtag1","hashtag2"]},{"1391799797":["hashtag1","hashtag2"]},{"1391799801":["hashtag1","hashtag2"]},{"1391799785":["hashtag1","hashtag2"]},{"1391799793":["hashtag1","hashtag2"]},{"1391799789":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391799804, 1391799797, 1391799801, 1391799785, 1391799793, 1391799789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.562949657440186 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-02 07:12:22.710437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_37_3712.jpg', '/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_40_2664.jpg', '/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_45_5229.jpg', '/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_47_1880.jpg', '/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_49_1738.jpg', '/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_52_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/09/41/image_30102025_09_41_37_3712.jpg
/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_40_2664.jpg
/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_45_5229.jpg
/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_47_1880.jpg
/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_49_1738.jpg
/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_52_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: 4.93993353843689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 07:12:42.798701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_37_3712.jpg', '/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_40_2664.jpg', '/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_45_5229.jpg', '/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_47_1880.jpg', '/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_49_1738.jpg', '/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_52_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/09/41/image_30102025_09_41_37_3712.jpg
/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_40_2664.jpg
/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_45_5229.jpg
/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_47_1880.jpg
/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_49_1738.jpg
/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_52_3640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391799833","1391799850","1391799838","1391799847","1391799852","1391799843"],"photo_ids_order":["1391799833","1391799838","1391799843","1391799847","1391799850","1391799852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3dcfcf1ea3df97493d3d6078cbf12496.jpg","text":"TemporaryFile(/tmp/multipartBody1073239363582491773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064023774,"filename":"image_30102025_09_41_37_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/2/9f50ac29d26fe461c1d2e41f0e641699.jpg","text":"TemporaryFile(/tmp/multipartBody8251670652281863798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064023774,"filename":"image_30102025_09_41_49_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/2/603822bd7ceb5388ccef5b8bdd590b3c.jpg","text":"TemporaryFile(/tmp/multipartBody482485207270286996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064023774,"filename":"image_30102025_09_41_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/2/7c0ae0af279301df32ac4f0f58991e33.jpg","text":"TemporaryFile(/tmp/multipartBody453125165819049896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064023774,"filename":"image_30102025_09_41_47_1880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/26a41e6680411e577826d46ce18e9c1d.jpg","text":"TemporaryFile(/tmp/multipartBody6809265303360961716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064023774,"filename":"image_30102025_09_41_52_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/2/d84028448cadfe378afa05aac32a3dd4.jpg","text":"TemporaryFile(/tmp/multipartBody3373568952688506992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064023774,"filename":"image_30102025_09_41_45_5229.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391799843","file1":"1391799838","file0":"1391799833","file4":"1391799850","file5":"1391799852","file3":"1391799847"},"map_files_photo_id_array":[{"photo_id":"1391799852","filename":"file5"},{"photo_id":"1391799843","filename":"file2"},{"photo_id":"1391799850","filename":"file4"},{"photo_id":"1391799838","filename":"file1"},{"photo_id":"1391799833","filename":"file0"},{"photo_id":"1391799847","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391799833":["hashtag1","hashtag2"]},{"1391799850":["hashtag1","hashtag2"]},{"1391799838":["hashtag1","hashtag2"]},{"1391799847":["hashtag1","hashtag2"]},{"1391799852":["hashtag1","hashtag2"]},{"1391799843":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391799833, 1391799850, 1391799838, 1391799847, 1391799852, 1391799843)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.71159338951111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 07:13:41.924023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_55_2657.jpg', '/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_58_2762.jpg', '/home/pi/Desktop/images/30102025/09/41/image_30102025_09_42_00_2619.jpg', '/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_04_3674.jpg', '/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_07_2720.jpg', '/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_09_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/09/41/image_30102025_09_41_55_2657.jpg
/home/pi/Desktop/images/30102025/09/41/image_30102025_09_41_58_2762.jpg
/home/pi/Desktop/images/30102025/09/41/image_30102025_09_42_00_2619.jpg
/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_04_3674.jpg
/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_07_2720.jpg
/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_09_2727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391799883","1391799871","1391799879","1391799873","1391799867","1391799876"],"photo_ids_order":["1391799867","1391799871","1391799873","1391799876","1391799879","1391799883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/89315801e66467164e69672adf37a9b9.jpg","text":"TemporaryFile(/tmp/multipartBody7085167322516787746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064082962,"filename":"image_30102025_09_42_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/2/58c8f34c42582678d80248f6d62a82ab.jpg","text":"TemporaryFile(/tmp/multipartBody937081615861745074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064082962,"filename":"image_30102025_09_41_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/2/e66acd0ba669872f3e90bb097f71dbb3.jpg","text":"TemporaryFile(/tmp/multipartBody7865087027489266592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064082962,"filename":"image_30102025_09_42_07_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/2/14d1e71bb2935a629a64d165812d6b3d.jpg","text":"TemporaryFile(/tmp/multipartBody1057442678063762018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064082962,"filename":"image_30102025_09_42_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/2/58dd223f7a4ddeec281ea0a05c55777f.jpg","text":"TemporaryFile(/tmp/multipartBody6603330893066435987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064082962,"filename":"image_30102025_09_41_55_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/2/48d56a19ea9786c6d2a86526c4b71fc6.jpg","text":"TemporaryFile(/tmp/multipartBody2648760504635581314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064082962,"filename":"image_30102025_09_42_04_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391799873","file1":"1391799871","file0":"1391799867","file4":"1391799879","file5":"1391799883","file3":"1391799876"},"map_files_photo_id_array":[{"photo_id":"1391799883","filename":"file5"},{"photo_id":"1391799873","filename":"file2"},{"photo_id":"1391799879","filename":"file4"},{"photo_id":"1391799871","filename":"file1"},{"photo_id":"1391799867","filename":"file0"},{"photo_id":"1391799876","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391799883":["hashtag1","hashtag2"]},{"1391799871":["hashtag1","hashtag2"]},{"1391799879":["hashtag1","hashtag2"]},{"1391799873":["hashtag1","hashtag2"]},{"1391799867":["hashtag1","hashtag2"]},{"1391799876":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391799883, 1391799871, 1391799879, 1391799873, 1391799867, 1391799876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9132194519043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 07:14:22.166261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_13_3748.jpg', '/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_28_2678.jpg', '/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_30_2632.jpg', '/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_34_3745.jpg', '/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_37_2758.jpg', '/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_40_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/09/42/image_30102025_09_42_13_3748.jpg
/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_28_2678.jpg
/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_30_2632.jpg
/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_34_3745.jpg
/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_37_2758.jpg
/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_40_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":["1391799903","1391799906","1391799899","1391799911","1391799897","1391799901"],"photo_ids_order":["1391799897","1391799899","1391799901","1391799903","1391799906","1391799911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e93d7ba69222409ada3589aa4b3bdee9.jpg","text":"TemporaryFile(/tmp/multipartBody1402113859657952938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064126979,"filename":"image_30102025_09_42_34_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/2/b9eabfc0bef0afb26c9eb4235148029f.jpg","text":"TemporaryFile(/tmp/multipartBody8304795956090816648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064126979,"filename":"image_30102025_09_42_37_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/2/f3d00d91d8c78530bc192f0116643a69.jpg","text":"TemporaryFile(/tmp/multipartBody3283653371677868600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064126979,"filename":"image_30102025_09_42_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/2/b6a834c65c3038bd701f1e91b228c457.jpg","text":"TemporaryFile(/tmp/multipartBody7580374796435619839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064126979,"filename":"image_30102025_09_42_40_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/2/c9993c6014b0c9f9f5cd0ad0372a6134.jpg","text":"TemporaryFile(/tmp/multipartBody1137235510300156048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064126979,"filename":"image_30102025_09_42_13_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/2/09b4f215c7b5fdef013a453628e245f7.jpg","text":"TemporaryFile(/tmp/multipartBody8740373685455423119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064126979,"filename":"image_30102025_09_42_30_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391799901","file1":"1391799899","file0":"1391799897","file4":"1391799906","file5":"1391799911","file3":"1391799903"},"map_files_photo_id_array":[{"photo_id":"1391799911","filename":"file5"},{"photo_id":"1391799901","filename":"file2"},{"photo_id":"1391799906","filename":"file4"},{"photo_id":"1391799899","filename":"file1"},{"photo_id":"1391799897","filename":"file0"},{"photo_id":"1391799903","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391799903":["hashtag1","hashtag2"]},{"1391799906":["hashtag1","hashtag2"]},{"1391799899":["hashtag1","hashtag2"]},{"1391799911":["hashtag1","hashtag2"]},{"1391799897":["hashtag1","hashtag2"]},{"1391799901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391799903, 1391799906, 1391799899, 1391799911, 1391799897, 1391799901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.11981010437012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 07:15:22.361950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_43_2847.jpg', '/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_45_2720.jpg', '/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_49_3806.jpg', '/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_52_2667.jpg', '/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_54_2648.jpg', '/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_58_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_43_2847.jpg
/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_45_2720.jpg
/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_49_3806.jpg
/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_52_2667.jpg
/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_54_2648.jpg
/home/pi/Desktop/images/30102025/09/42/image_30102025_09_42_58_3626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391799939","1391799930","1391799932","1391799935","1391799928","1391799942"],"photo_ids_order":["1391799928","1391799930","1391799932","1391799935","1391799939","1391799942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3372bd739899235ecf4d5434ed63fee7.jpg","text":"TemporaryFile(/tmp/multipartBody1346840506379649565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064185200,"filename":"image_30102025_09_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/2/08bd17ff26aeb9660e981313d2cb61d1.jpg","text":"TemporaryFile(/tmp/multipartBody5409280358501610532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064185200,"filename":"image_30102025_09_42_45_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/2/f1cda6558856c55da61790ac11c500aa.jpg","text":"TemporaryFile(/tmp/multipartBody4976882958048994361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064185200,"filename":"image_30102025_09_42_49_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/2/f074e630c87278061085f866c77b6ce2.jpg","text":"TemporaryFile(/tmp/multipartBody5186600003960570319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064185200,"filename":"image_30102025_09_42_52_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/2/bd8671e04acc0b0d4b3027e6cfe47d2a.jpg","text":"TemporaryFile(/tmp/multipartBody1418873069439432362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064185200,"filename":"image_30102025_09_42_43_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/2/8f9c896e1ddb53137d759ed9c38e557c.jpg","text":"TemporaryFile(/tmp/multipartBody6712025927092545748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064185200,"filename":"image_30102025_09_42_58_3626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391799932","file1":"1391799930","file0":"1391799928","file4":"1391799939","file5":"1391799942","file3":"1391799935"},"map_files_photo_id_array":[{"photo_id":"1391799942","filename":"file5"},{"photo_id":"1391799932","filename":"file2"},{"photo_id":"1391799939","filename":"file4"},{"photo_id":"1391799930","filename":"file1"},{"photo_id":"1391799928","filename":"file0"},{"photo_id":"1391799935","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391799939":["hashtag1","hashtag2"]},{"1391799930":["hashtag1","hashtag2"]},{"1391799932":["hashtag1","hashtag2"]},{"1391799935":["hashtag1","hashtag2"]},{"1391799928":["hashtag1","hashtag2"]},{"1391799942":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391799939, 1391799930, 1391799932, 1391799935, 1391799928, 1391799942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91641354560852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 07:16:03.082384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_03_2552.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_07_3748.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_10_2991.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_13_2849.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_15_2557.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_18_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/09/43/image_30102025_09_43_03_2552.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_07_3748.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_10_2991.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_13_2849.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_15_2557.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_18_2796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391799950","1391799968","1391799961","1391799955","1391799964","1391799958"],"photo_ids_order":["1391799950","1391799955","1391799958","1391799961","1391799964","1391799968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9dae86cc9f6949e7388072c1a6aa3172.jpg","text":"TemporaryFile(/tmp/multipartBody7474939148394107454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064225216,"filename":"image_30102025_09_43_03_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/2/88224453c37f989abe97d3689d28fa82.jpg","text":"TemporaryFile(/tmp/multipartBody8810104219431566831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064225216,"filename":"image_30102025_09_43_18_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/2/fae5c7e1a5cfd7fd69f6a1929a781b9d.jpg","text":"TemporaryFile(/tmp/multipartBody8194902025677064363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064225216,"filename":"image_30102025_09_43_13_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/2/e33d556300d754aeb6e3efe0481f1963.jpg","text":"TemporaryFile(/tmp/multipartBody247034839274656707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064225216,"filename":"image_30102025_09_43_07_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/2/f62a516241705dd8af4db12aa4815995.jpg","text":"TemporaryFile(/tmp/multipartBody1278339117460896195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064225216,"filename":"image_30102025_09_43_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/2/aa1043399b666f19c28c7bfbe4298853.jpg","text":"TemporaryFile(/tmp/multipartBody8514312718826664583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064225216,"filename":"image_30102025_09_43_10_2991.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391799958","file1":"1391799955","file0":"1391799950","file4":"1391799964","file5":"1391799968","file3":"1391799961"},"map_files_photo_id_array":[{"photo_id":"1391799968","filename":"file5"},{"photo_id":"1391799958","filename":"file2"},{"photo_id":"1391799964","filename":"file4"},{"photo_id":"1391799955","filename":"file1"},{"photo_id":"1391799950","filename":"file0"},{"photo_id":"1391799961","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391799950":["hashtag1","hashtag2"]},{"1391799968":["hashtag1","hashtag2"]},{"1391799961":["hashtag1","hashtag2"]},{"1391799955":["hashtag1","hashtag2"]},{"1391799964":["hashtag1","hashtag2"]},{"1391799958":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391799950, 1391799968, 1391799961, 1391799955, 1391799964, 1391799958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.652198791503906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 07:16:42.568941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_22_3638.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_25_2639.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_27_2757.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_30_2861.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_34_3705.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_37_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/09/43/image_30102025_09_43_22_3638.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_25_2639.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_27_2757.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_30_2861.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_34_3705.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_37_2660.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.0210230350494385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 07:17:03.369279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_22_3638.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_25_2639.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_27_2757.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_30_2861.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_34_3705.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_37_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/09/43/image_30102025_09_43_22_3638.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_25_2639.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_27_2757.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_30_2861.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_34_3705.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_37_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800001","1391800003","1391799994","1391799997","1391799999","1391800005"],"photo_ids_order":["1391799994","1391799997","1391799999","1391800001","1391800003","1391800005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4de4af7c6a2d0a41695285d24a4b80bc.jpg","text":"TemporaryFile(/tmp/multipartBody7282551124235975602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064285444,"filename":"image_30102025_09_43_30_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/2/dfd18935e9c9ece349d50f0fc78bd679.jpg","text":"TemporaryFile(/tmp/multipartBody8677514724459104821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064285444,"filename":"image_30102025_09_43_34_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/2/e45b4d2b52636a4315fd8165ce700db5.jpg","text":"TemporaryFile(/tmp/multipartBody7145145316213096649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064285444,"filename":"image_30102025_09_43_22_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/2/34a179ce93434663bf305a3277831b07.jpg","text":"TemporaryFile(/tmp/multipartBody5227616240319279637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064285444,"filename":"image_30102025_09_43_25_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/2/a01331a9be3f406c9d7cc6351673b07f.jpg","text":"TemporaryFile(/tmp/multipartBody3524608314552819758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064285444,"filename":"image_30102025_09_43_27_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/2/108742cd8a5cf2e74511cea7d08ff154.jpg","text":"TemporaryFile(/tmp/multipartBody6040007850576069530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064285444,"filename":"image_30102025_09_43_37_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391799999","file1":"1391799997","file0":"1391799994","file4":"1391800003","file5":"1391800005","file3":"1391800001"},"map_files_photo_id_array":[{"photo_id":"1391800005","filename":"file5"},{"photo_id":"1391799999","filename":"file2"},{"photo_id":"1391800003","filename":"file4"},{"photo_id":"1391799997","filename":"file1"},{"photo_id":"1391799994","filename":"file0"},{"photo_id":"1391800001","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800001":["hashtag1","hashtag2"]},{"1391800003":["hashtag1","hashtag2"]},{"1391799994":["hashtag1","hashtag2"]},{"1391799997":["hashtag1","hashtag2"]},{"1391799999":["hashtag1","hashtag2"]},{"1391800005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800001, 1391800003, 1391799994, 1391799997, 1391799999, 1391800005)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.51634168624878 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 07:18:02.611360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_39_2616.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_42_3213.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_45_2747.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_52_2772.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_54_2591.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_58_3729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_39_2616.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_42_3213.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_45_2747.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_52_2772.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_54_2591.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_58_3729.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.008760452270508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 07:18:22.124536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_39_2616.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_42_3213.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_45_2747.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_52_2772.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_54_2591.jpg', '/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_58_3729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_39_2616.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_42_3213.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_45_2747.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_52_2772.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_54_2591.jpg
/home/pi/Desktop/images/30102025/09/43/image_30102025_09_43_58_3729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800037","1391800051","1391800056","1391800044","1391800047","1391800041"],"photo_ids_order":["1391800037","1391800041","1391800044","1391800047","1391800051","1391800056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f15cd3349eb3ef65a23d660d1efceb47.jpg","text":"TemporaryFile(/tmp/multipartBody1060545612391678797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064364653,"filename":"image_30102025_09_43_39_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/2/7174df90170d4c3448b955558605a8c3.jpg","text":"TemporaryFile(/tmp/multipartBody319867283626267238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064364653,"filename":"image_30102025_09_43_54_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/2/0c808de1ae24649325bd84b5cc52cc41.jpg","text":"TemporaryFile(/tmp/multipartBody180495626876499638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064364653,"filename":"image_30102025_09_43_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/2/b19d20468603e83aea12a6dd8a9f32fd.jpg","text":"TemporaryFile(/tmp/multipartBody6592061170002586424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064364653,"filename":"image_30102025_09_43_45_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/2/ddc8943120e410339872c4cdddee2c9e.jpg","text":"TemporaryFile(/tmp/multipartBody6105186533474372214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064364653,"filename":"image_30102025_09_43_52_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/2/8f51812896d57af0bbc496005b343667.jpg","text":"TemporaryFile(/tmp/multipartBody5119094631692510000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064364653,"filename":"image_30102025_09_43_42_3213.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800044","file1":"1391800041","file0":"1391800037","file4":"1391800051","file5":"1391800056","file3":"1391800047"},"map_files_photo_id_array":[{"photo_id":"1391800056","filename":"file5"},{"photo_id":"1391800044","filename":"file2"},{"photo_id":"1391800051","filename":"file4"},{"photo_id":"1391800041","filename":"file1"},{"photo_id":"1391800037","filename":"file0"},{"photo_id":"1391800047","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800037":["hashtag1","hashtag2"]},{"1391800051":["hashtag1","hashtag2"]},{"1391800056":["hashtag1","hashtag2"]},{"1391800044":["hashtag1","hashtag2"]},{"1391800047":["hashtag1","hashtag2"]},{"1391800041":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800037, 1391800051, 1391800056, 1391800044, 1391800047, 1391800041)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.16051530838013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 07:19:22.339065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/44/image_30102025_09_44_03_2708.jpg', '/home/pi/Desktop/images/30102025/09/44/image_30102025_09_44_07_3773.jpg', '/home/pi/Desktop/images/30102025/09/44/image_30102025_09_44_16_3583.jpg', '/home/pi/Desktop/images/30102025/09/44/image_30102025_09_44_19_2700.jpg', '/home/pi/Desktop/images/30102025/09/44/image_30102025_09_44_21_2636.jpg', '/home/pi/Desktop/images/30102025/09/44/image_30102025_09_44_25_3781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/44/image_30102025_09_44_03_2708.jpg
/home/pi/Desktop/images/30102025/09/44/image_30102025_09_44_07_3773.jpg
/home/pi/Desktop/images/30102025/09/44/image_30102025_09_44_16_3583.jpg
/home/pi/Desktop/images/30102025/09/44/image_30102025_09_44_19_2700.jpg
/home/pi/Desktop/images/30102025/09/44/image_30102025_09_44_21_2636.jpg
/home/pi/Desktop/images/30102025/09/44/image_30102025_09_44_25_3781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800078","1391800087","1391800072","1391800074","1391800083","1391800076"],"photo_ids_order":["1391800072","1391800074","1391800076","1391800078","1391800083","1391800087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b79829f23d47f6147d12c6d9b6d8cfa8.jpg","text":"TemporaryFile(/tmp/multipartBody5292145394539212505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064425037,"filename":"image_30102025_09_44_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/2/eae6f49979b4be269d4557d7ea703619.jpg","text":"TemporaryFile(/tmp/multipartBody6651954657317272899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064425037,"filename":"image_30102025_09_44_25_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/2/35ccad4b64d9f17892cdd2782b830433.jpg","text":"TemporaryFile(/tmp/multipartBody6907996510663424052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064425037,"filename":"image_30102025_09_44_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/2/b11cedcfb88f3f58d18d9a12d4da0457.jpg","text":"TemporaryFile(/tmp/multipartBody7094125054422132814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064425037,"filename":"image_30102025_09_44_07_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/2/75bab9a2c442e0936610681af05ebc39.jpg","text":"TemporaryFile(/tmp/multipartBody3044106764825764091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064425037,"filename":"image_30102025_09_44_21_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/2/37be5866ad3c34b5bccaa9e6d6f7b8f7.jpg","text":"TemporaryFile(/tmp/multipartBody5706432868357085342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064425037,"filename":"image_30102025_09_44_16_3583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800076","file1":"1391800074","file0":"1391800072","file4":"1391800083","file5":"1391800087","file3":"1391800078"},"map_files_photo_id_array":[{"photo_id":"1391800087","filename":"file5"},{"photo_id":"1391800076","filename":"file2"},{"photo_id":"1391800083","filename":"file4"},{"photo_id":"1391800074","filename":"file1"},{"photo_id":"1391800072","filename":"file0"},{"photo_id":"1391800078","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800078":["hashtag1","hashtag2"]},{"1391800087":["hashtag1","hashtag2"]},{"1391800072":["hashtag1","hashtag2"]},{"1391800074":["hashtag1","hashtag2"]},{"1391800083":["hashtag1","hashtag2"]},{"1391800076":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800078, 1391800087, 1391800072, 1391800074, 1391800083, 1391800076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.113487243652344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 07:20:22.457448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/44/image_30102025_09_44_28_2592.jpg', '/home/pi/Desktop/images/30102025/09/44/image_30102025_09_44_30_2666.jpg', '/home/pi/Desktop/images/30102025/09/44/image_30102025_09_44_34_3687.jpg', '/home/pi/Desktop/images/30102025/09/44/image_30102025_09_44_39_2655.jpg', '/home/pi/Desktop/images/30102025/09/44/image_30102025_09_44_43_3572.jpg', '/home/pi/Desktop/images/30102025/09/45/image_30102025_09_45_34_3540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/44/image_30102025_09_44_28_2592.jpg
/home/pi/Desktop/images/30102025/09/44/image_30102025_09_44_30_2666.jpg
/home/pi/Desktop/images/30102025/09/44/image_30102025_09_44_34_3687.jpg
/home/pi/Desktop/images/30102025/09/44/image_30102025_09_44_39_2655.jpg
/home/pi/Desktop/images/30102025/09/44/image_30102025_09_44_43_3572.jpg
/home/pi/Desktop/images/30102025/09/45/image_30102025_09_45_34_3540.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800103","1391800106","1391800099","1391800111","1391800119","1391800116"],"photo_ids_order":["1391800099","1391800103","1391800106","1391800111","1391800116","1391800119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/807ebb00c710b3b7f11b01cec3b5390b.jpg","text":"TemporaryFile(/tmp/multipartBody2918318036872457738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064485171,"filename":"image_30102025_09_44_30_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/2/13a3bfb5f1ed803a3d76be60374b1fca.jpg","text":"TemporaryFile(/tmp/multipartBody8932146603788838010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064485171,"filename":"image_30102025_09_44_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/2/6263be2dc895c5dfc358d7335f8517dd.jpg","text":"TemporaryFile(/tmp/multipartBody7910646125744611454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064485171,"filename":"image_30102025_09_44_28_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/2/ea3b3a8b49dc9f237410013c25684440.jpg","text":"TemporaryFile(/tmp/multipartBody6557490059950581371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064485171,"filename":"image_30102025_09_44_39_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/2/972ee62f0e5c884880bbd6f7349abde0.jpg","text":"TemporaryFile(/tmp/multipartBody7867663599299712414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064485171,"filename":"image_30102025_09_45_34_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/2/c74246554aef0cc10ae2608c2123f297.jpg","text":"TemporaryFile(/tmp/multipartBody1408409624212159193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064485171,"filename":"image_30102025_09_44_43_3572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800106","file1":"1391800103","file0":"1391800099","file4":"1391800116","file5":"1391800119","file3":"1391800111"},"map_files_photo_id_array":[{"photo_id":"1391800119","filename":"file5"},{"photo_id":"1391800106","filename":"file2"},{"photo_id":"1391800116","filename":"file4"},{"photo_id":"1391800103","filename":"file1"},{"photo_id":"1391800099","filename":"file0"},{"photo_id":"1391800111","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800103":["hashtag1","hashtag2"]},{"1391800106":["hashtag1","hashtag2"]},{"1391800099":["hashtag1","hashtag2"]},{"1391800111":["hashtag1","hashtag2"]},{"1391800119":["hashtag1","hashtag2"]},{"1391800116":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800103, 1391800106, 1391800099, 1391800111, 1391800119, 1391800116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.774115800857544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 07:21:03.363597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/45/image_30102025_09_45_36_2616.jpg', '/home/pi/Desktop/images/30102025/09/45/image_30102025_09_45_48_2618.jpg', '/home/pi/Desktop/images/30102025/09/45/image_30102025_09_45_57_2593.jpg', '/home/pi/Desktop/images/30102025/09/45/image_30102025_09_46_01_3694.jpg', '/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_03_2739.jpg', '/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_09_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/09/45/image_30102025_09_45_36_2616.jpg
/home/pi/Desktop/images/30102025/09/45/image_30102025_09_45_48_2618.jpg
/home/pi/Desktop/images/30102025/09/45/image_30102025_09_45_57_2593.jpg
/home/pi/Desktop/images/30102025/09/45/image_30102025_09_46_01_3694.jpg
/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_03_2739.jpg
/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_09_2729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800136","1391800139","1391800130","1391800124","1391800127","1391800133"],"photo_ids_order":["1391800124","1391800127","1391800130","1391800133","1391800136","1391800139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6723dda9c6ab8a6f318d2c0ccf39905d.jpg","text":"TemporaryFile(/tmp/multipartBody2587026462129865353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064525562,"filename":"image_30102025_09_46_03_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/2/def9eb5ef99f7d7a021ea7aeb4434364.jpg","text":"TemporaryFile(/tmp/multipartBody5932489339321687313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064525562,"filename":"image_30102025_09_46_09_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/2/86f7beddd5e26f1b0e4fe6e231d9821a.jpg","text":"TemporaryFile(/tmp/multipartBody1033359834377693685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064525562,"filename":"image_30102025_09_45_57_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/2/7a06a84823d2af35b1bf2afc64e1d474.jpg","text":"TemporaryFile(/tmp/multipartBody8850475101608990576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064525562,"filename":"image_30102025_09_45_36_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/2/7377d2636d4547a9b1addf1992211f3b.jpg","text":"TemporaryFile(/tmp/multipartBody8826112268842103614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064525562,"filename":"image_30102025_09_45_48_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/2/ce39670b846a5f1ce54e7d52f4cd8aa0.jpg","text":"TemporaryFile(/tmp/multipartBody1739147618550445873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064525562,"filename":"image_30102025_09_46_01_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800130","file1":"1391800127","file0":"1391800124","file4":"1391800136","file5":"1391800139","file3":"1391800133"},"map_files_photo_id_array":[{"photo_id":"1391800139","filename":"file5"},{"photo_id":"1391800130","filename":"file2"},{"photo_id":"1391800136","filename":"file4"},{"photo_id":"1391800127","filename":"file1"},{"photo_id":"1391800124","filename":"file0"},{"photo_id":"1391800133","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800136":["hashtag1","hashtag2"]},{"1391800139":["hashtag1","hashtag2"]},{"1391800130":["hashtag1","hashtag2"]},{"1391800124":["hashtag1","hashtag2"]},{"1391800127":["hashtag1","hashtag2"]},{"1391800133":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800136, 1391800139, 1391800130, 1391800124, 1391800127, 1391800133)","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.6213059425354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 07:22:36.213986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_13_3669.jpg', '/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_15_2686.jpg', '/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_18_2686.jpg', '/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_21_2892.jpg', '/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_27_2695.jpg', '/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_30_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/09/46/image_30102025_09_46_13_3669.jpg
/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_15_2686.jpg
/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_18_2686.jpg
/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_21_2892.jpg
/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_27_2695.jpg
/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_30_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":["1391800174","1391800191","1391800179","1391800184","1391800193","1391800187"],"photo_ids_order":["1391800174","1391800179","1391800184","1391800187","1391800191","1391800193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/994611976f0294d9d59fbf18fab26fad.jpg","text":"TemporaryFile(/tmp/multipartBody1202595954929404319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064619206,"filename":"image_30102025_09_46_13_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/2/34192e62e6f1ae6eb1460de49bee907f.jpg","text":"TemporaryFile(/tmp/multipartBody2134774776069086423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064619206,"filename":"image_30102025_09_46_27_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/2/7398e326204fb9e3a0beb6123a5505d7.jpg","text":"TemporaryFile(/tmp/multipartBody5842052063918721075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064619206,"filename":"image_30102025_09_46_15_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/2/879750bd62a1f58ea5a7645d882454e2.jpg","text":"TemporaryFile(/tmp/multipartBody241803561370290323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064619206,"filename":"image_30102025_09_46_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/2/aa086f77451f0f4c15aa5e59958cec9d.jpg","text":"TemporaryFile(/tmp/multipartBody1510556374129284284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064619206,"filename":"image_30102025_09_46_30_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/2/e9852ed36a0281d46de8970f97075795.jpg","text":"TemporaryFile(/tmp/multipartBody1461517618026363326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064619206,"filename":"image_30102025_09_46_21_2892.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800184","file1":"1391800179","file0":"1391800174","file4":"1391800191","file5":"1391800193","file3":"1391800187"},"map_files_photo_id_array":[{"photo_id":"1391800193","filename":"file5"},{"photo_id":"1391800184","filename":"file2"},{"photo_id":"1391800191","filename":"file4"},{"photo_id":"1391800179","filename":"file1"},{"photo_id":"1391800174","filename":"file0"},{"photo_id":"1391800187","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800174":["hashtag1","hashtag2"]},{"1391800191":["hashtag1","hashtag2"]},{"1391800179":["hashtag1","hashtag2"]},{"1391800184":["hashtag1","hashtag2"]},{"1391800193":["hashtag1","hashtag2"]},{"1391800187":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800174, 1391800191, 1391800179, 1391800184, 1391800193, 1391800187)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 63.05648374557495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 07:23:49.043911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_34_3742.jpg', '/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_36_2718.jpg', '/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_45_2612.jpg', '/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_48_2594.jpg', '/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_52_3820.jpg', '/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_54_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/09/46/image_30102025_09_46_34_3742.jpg
/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_36_2718.jpg
/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_45_2612.jpg
/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_48_2594.jpg
/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_52_3820.jpg
/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_54_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":["1391800220","1391800223","1391800231","1391800234","1391800216","1391800227"],"photo_ids_order":["1391800216","1391800220","1391800223","1391800227","1391800231","1391800234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/708561056961af12925709c56ac419bc.jpg","text":"TemporaryFile(/tmp/multipartBody6509520716646658901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064692117,"filename":"image_30102025_09_46_36_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/2/86c04f687668874347d5bc9717cc010a.jpg","text":"TemporaryFile(/tmp/multipartBody2097578641109834655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064692117,"filename":"image_30102025_09_46_45_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/2/5fcc9377f8ebfbcfa0ff42cd18262a91.jpg","text":"TemporaryFile(/tmp/multipartBody5456113188087825313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064692117,"filename":"image_30102025_09_46_52_3820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bd8697c7c9afa38ef93dd27a0a454e0a.jpg","text":"TemporaryFile(/tmp/multipartBody435611674629531198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064692117,"filename":"image_30102025_09_46_54_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/2/5feb061a40b2a3cb9e5993e6eacd32d3.jpg","text":"TemporaryFile(/tmp/multipartBody218809006423407889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064692117,"filename":"image_30102025_09_46_34_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/2/b62ac6cc3cc96e9b8e0febaee24fc751.jpg","text":"TemporaryFile(/tmp/multipartBody3403473597290909262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064692117,"filename":"image_30102025_09_46_48_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800223","file1":"1391800220","file0":"1391800216","file4":"1391800231","file5":"1391800234","file3":"1391800227"},"map_files_photo_id_array":[{"photo_id":"1391800234","filename":"file5"},{"photo_id":"1391800223","filename":"file2"},{"photo_id":"1391800231","filename":"file4"},{"photo_id":"1391800220","filename":"file1"},{"photo_id":"1391800216","filename":"file0"},{"photo_id":"1391800227","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800220":["hashtag1","hashtag2"]},{"1391800223":["hashtag1","hashtag2"]},{"1391800231":["hashtag1","hashtag2"]},{"1391800234":["hashtag1","hashtag2"]},{"1391800216":["hashtag1","hashtag2"]},{"1391800227":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800220, 1391800223, 1391800231, 1391800234, 1391800216, 1391800227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.90673470497131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 07:24:42.223643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/46/image_30102025_09_46_57_2666.jpg', '/home/pi/Desktop/images/30102025/09/46/image_30102025_09_47_01_3611.jpg', '/home/pi/Desktop/images/30102025/09/47/image_30102025_09_47_03_2576.jpg', '/home/pi/Desktop/images/30102025/09/47/image_30102025_09_47_06_2621.jpg', '/home/pi/Desktop/images/30102025/09/47/image_30102025_09_47_10_3677.jpg', '/home/pi/Desktop/images/30102025/09/47/image_30102025_09_47_12_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/09/46/image_30102025_09_46_57_2666.jpg
/home/pi/Desktop/images/30102025/09/46/image_30102025_09_47_01_3611.jpg
/home/pi/Desktop/images/30102025/09/47/image_30102025_09_47_03_2576.jpg
/home/pi/Desktop/images/30102025/09/47/image_30102025_09_47_06_2621.jpg
/home/pi/Desktop/images/30102025/09/47/image_30102025_09_47_10_3677.jpg
/home/pi/Desktop/images/30102025/09/47/image_30102025_09_47_12_2613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800258","1391800243","1391800246","1391800255","1391800250","1391800253"],"photo_ids_order":["1391800243","1391800246","1391800250","1391800253","1391800255","1391800258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0f7e73eb8e9f982756df524aa2a48374.jpg","text":"TemporaryFile(/tmp/multipartBody7328810356392612373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064743329,"filename":"image_30102025_09_47_12_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/2/36efa29220b7cdf27d752af5750f8e73.jpg","text":"TemporaryFile(/tmp/multipartBody451900235877092981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064743329,"filename":"image_30102025_09_46_57_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/2/8b6ec58d144f092380d9aa5dfb6ad597.jpg","text":"TemporaryFile(/tmp/multipartBody8692618426709965784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064743329,"filename":"image_30102025_09_47_01_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/2/7d3e62c21a66fccd573303d1270955e9.jpg","text":"TemporaryFile(/tmp/multipartBody7718013523135914797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064743329,"filename":"image_30102025_09_47_10_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/2/ff8469792ebe216052f6af4002281de0.jpg","text":"TemporaryFile(/tmp/multipartBody7744489367734362699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064743329,"filename":"image_30102025_09_47_03_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/2/335a0f6439e10d401f3a1659b3a7f598.jpg","text":"TemporaryFile(/tmp/multipartBody8209458471900512076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064743329,"filename":"image_30102025_09_47_06_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800250","file1":"1391800246","file0":"1391800243","file4":"1391800255","file5":"1391800258","file3":"1391800253"},"map_files_photo_id_array":[{"photo_id":"1391800258","filename":"file5"},{"photo_id":"1391800250","filename":"file2"},{"photo_id":"1391800255","filename":"file4"},{"photo_id":"1391800246","filename":"file1"},{"photo_id":"1391800243","filename":"file0"},{"photo_id":"1391800253","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800258":["hashtag1","hashtag2"]},{"1391800243":["hashtag1","hashtag2"]},{"1391800246":["hashtag1","hashtag2"]},{"1391800255":["hashtag1","hashtag2"]},{"1391800250":["hashtag1","hashtag2"]},{"1391800253":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800258, 1391800243, 1391800246, 1391800255, 1391800250, 1391800253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.811381578445435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 07:25:22.389591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/47/image_30102025_09_47_15_2692.jpg', '/home/pi/Desktop/images/30102025/09/47/image_30102025_09_47_27_2855.jpg', '/home/pi/Desktop/images/30102025/09/47/image_30102025_09_47_31_3797.jpg', '/home/pi/Desktop/images/30102025/09/47/image_30102025_09_47_33_2758.jpg', '/home/pi/Desktop/images/30102025/09/47/image_30102025_09_47_42_3558.jpg', '/home/pi/Desktop/images/30102025/09/47/image_30102025_09_47_45_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/09/47/image_30102025_09_47_15_2692.jpg
/home/pi/Desktop/images/30102025/09/47/image_30102025_09_47_27_2855.jpg
/home/pi/Desktop/images/30102025/09/47/image_30102025_09_47_31_3797.jpg
/home/pi/Desktop/images/30102025/09/47/image_30102025_09_47_33_2758.jpg
/home/pi/Desktop/images/30102025/09/47/image_30102025_09_47_42_3558.jpg
/home/pi/Desktop/images/30102025/09/47/image_30102025_09_47_45_2709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800261","1391800279","1391800275","1391800269","1391800263","1391800265"],"photo_ids_order":["1391800261","1391800263","1391800265","1391800269","1391800275","1391800279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d4e12c783e4e7083925e00894b078497.jpg","text":"TemporaryFile(/tmp/multipartBody5505637112666688327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064785052,"filename":"image_30102025_09_47_15_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/2/db9531cf1ec677a0b26aea64ab391ef3.jpg","text":"TemporaryFile(/tmp/multipartBody8924465235476404921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064785052,"filename":"image_30102025_09_47_45_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/2/5771ddd829f43e9d5f1d1f7381d64621.jpg","text":"TemporaryFile(/tmp/multipartBody7592013402923945295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064785052,"filename":"image_30102025_09_47_42_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/2/f2cb7914470725b59a82149022d7fe20.jpg","text":"TemporaryFile(/tmp/multipartBody1087657930145416092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064785052,"filename":"image_30102025_09_47_33_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/2/a8dc20bc8b219f6e75574fe64924aced.jpg","text":"TemporaryFile(/tmp/multipartBody2152109252180967366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064785052,"filename":"image_30102025_09_47_27_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/2/9c7d01f8d911f34a5cfddd95d40c8379.jpg","text":"TemporaryFile(/tmp/multipartBody5081777404596649859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064785052,"filename":"image_30102025_09_47_31_3797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800265","file1":"1391800263","file0":"1391800261","file4":"1391800275","file5":"1391800279","file3":"1391800269"},"map_files_photo_id_array":[{"photo_id":"1391800279","filename":"file5"},{"photo_id":"1391800265","filename":"file2"},{"photo_id":"1391800275","filename":"file4"},{"photo_id":"1391800263","filename":"file1"},{"photo_id":"1391800261","filename":"file0"},{"photo_id":"1391800269","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800261":["hashtag1","hashtag2"]},{"1391800279":["hashtag1","hashtag2"]},{"1391800275":["hashtag1","hashtag2"]},{"1391800269":["hashtag1","hashtag2"]},{"1391800263":["hashtag1","hashtag2"]},{"1391800265":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800261, 1391800279, 1391800275, 1391800269, 1391800263, 1391800265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.619808197021484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 07:26:03.021843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/47/image_30102025_09_47_57_2762.jpg', '/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_03_2604.jpg', '/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_12_2697.jpg', '/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_18_3741.jpg', '/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_21_2691.jpg', '/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_28_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/09/47/image_30102025_09_47_57_2762.jpg
/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_03_2604.jpg
/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_12_2697.jpg
/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_18_3741.jpg
/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_21_2691.jpg
/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_28_3585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800294","1391800288","1391800290","1391800293","1391800295","1391800286"],"photo_ids_order":["1391800286","1391800288","1391800290","1391800293","1391800294","1391800295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5c1e916e065b977ae3589d4358e3e213.jpg","text":"TemporaryFile(/tmp/multipartBody718612007328941284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064832343,"filename":"image_30102025_09_48_21_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/2/d251d1e39b79d16ae33e6241d4dab326.jpg","text":"TemporaryFile(/tmp/multipartBody1929095917340335016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064832343,"filename":"image_30102025_09_48_03_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/2/433c6e41d66d536eb9983e162fbac85b.jpg","text":"TemporaryFile(/tmp/multipartBody8156529226950463034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064832343,"filename":"image_30102025_09_48_12_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/2/fc1119e1be7d06848903dc00abe83f4b.jpg","text":"TemporaryFile(/tmp/multipartBody91455462717923650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064832343,"filename":"image_30102025_09_48_18_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/2/22ee3d1e8fd5414b9a7f99513a23b4f0.jpg","text":"TemporaryFile(/tmp/multipartBody8305038391562083532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064832343,"filename":"image_30102025_09_48_28_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/2/c6bc02ac2bba1bbb76a0f950919fa28f.jpg","text":"TemporaryFile(/tmp/multipartBody5265206192342874225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064832343,"filename":"image_30102025_09_47_57_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800290","file1":"1391800288","file0":"1391800286","file4":"1391800294","file5":"1391800295","file3":"1391800293"},"map_files_photo_id_array":[{"photo_id":"1391800295","filename":"file5"},{"photo_id":"1391800290","filename":"file2"},{"photo_id":"1391800294","filename":"file4"},{"photo_id":"1391800288","filename":"file1"},{"photo_id":"1391800286","filename":"file0"},{"photo_id":"1391800293","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800294":["hashtag1","hashtag2"]},{"1391800288":["hashtag1","hashtag2"]},{"1391800290":["hashtag1","hashtag2"]},{"1391800293":["hashtag1","hashtag2"]},{"1391800295":["hashtag1","hashtag2"]},{"1391800286":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800294, 1391800288, 1391800290, 1391800293, 1391800295, 1391800286)","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 = 1391800290 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_12_2697.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 64.0112156867981 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 07:27:21.780693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_30_2695.jpg', '/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_33_2594.jpg', '/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_36_2912.jpg', '/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_39_3615.jpg', '/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_42_2626.jpg', '/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_45_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/09/48/image_30102025_09_48_30_2695.jpg
/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_33_2594.jpg
/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_36_2912.jpg
/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_39_3615.jpg
/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_42_2626.jpg
/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_45_2612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800313","1391800316","1391800310","1391800323","1391800320","1391800308"],"photo_ids_order":["1391800308","1391800310","1391800313","1391800316","1391800320","1391800323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5267f19e7c6bfd96661974fd24c93557.jpg","text":"TemporaryFile(/tmp/multipartBody8941407736348680579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064907504,"filename":"image_30102025_09_48_36_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/2/6a502a40ad34eff475be88b53d91a781.jpg","text":"TemporaryFile(/tmp/multipartBody2922274516863594487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064907504,"filename":"image_30102025_09_48_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/2/e78daab8528dded6eb62eaa2f0238370.jpg","text":"TemporaryFile(/tmp/multipartBody27840279150677331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064907504,"filename":"image_30102025_09_48_33_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/2/4de6edd301eeb7a215aab05469fee28b.jpg","text":"TemporaryFile(/tmp/multipartBody7152436346295668805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064907504,"filename":"image_30102025_09_48_45_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/2/8616110eaf54651ac41d7824db26b620.jpg","text":"TemporaryFile(/tmp/multipartBody2235571441381134623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064907504,"filename":"image_30102025_09_48_42_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/2/2cc9bc90d57e863f973d214bd371ebe3.jpg","text":"TemporaryFile(/tmp/multipartBody4773068894616277040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762064907504,"filename":"image_30102025_09_48_30_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800313","file1":"1391800310","file0":"1391800308","file4":"1391800320","file5":"1391800323","file3":"1391800316"},"map_files_photo_id_array":[{"photo_id":"1391800323","filename":"file5"},{"photo_id":"1391800313","filename":"file2"},{"photo_id":"1391800320","filename":"file4"},{"photo_id":"1391800310","filename":"file1"},{"photo_id":"1391800308","filename":"file0"},{"photo_id":"1391800316","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800313":["hashtag1","hashtag2"]},{"1391800316":["hashtag1","hashtag2"]},{"1391800310":["hashtag1","hashtag2"]},{"1391800323":["hashtag1","hashtag2"]},{"1391800320":["hashtag1","hashtag2"]},{"1391800308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800313, 1391800316, 1391800310, 1391800323, 1391800320, 1391800308)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 63.157580852508545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 07:28:42.371937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_51_2638.jpg', '/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_55_3674.jpg', '/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_57_2626.jpg', '/home/pi/Desktop/images/30102025/09/48/image_30102025_09_49_00_2598.jpg', '/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_03_3643.jpg', '/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_06_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/09/48/image_30102025_09_48_51_2638.jpg
/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_55_3674.jpg
/home/pi/Desktop/images/30102025/09/48/image_30102025_09_48_57_2626.jpg
/home/pi/Desktop/images/30102025/09/48/image_30102025_09_49_00_2598.jpg
/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_03_3643.jpg
/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_06_2666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800357","1391800366","1391800371","1391800368","1391800370","1391800373"],"photo_ids_order":["1391800357","1391800366","1391800368","1391800370","1391800371","1391800373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/859b7572c030292e7a6570e1cfc2a464.jpg","text":"TemporaryFile(/tmp/multipartBody1152806776119507232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065042799,"filename":"image_30102025_09_48_51_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/2/5193eb4a4c8d0e70d5a6d09b9f2c929e.jpg","text":"TemporaryFile(/tmp/multipartBody1016914308359928350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065042799,"filename":"image_30102025_09_48_55_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/2/03ef49c9163ddeda1433cc25e7b7a626.jpg","text":"TemporaryFile(/tmp/multipartBody7272232185592752960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065042799,"filename":"image_30102025_09_49_03_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/2/7b9b2248c88c90884a2f7b3914ad61b2.jpg","text":"TemporaryFile(/tmp/multipartBody327785113252917254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065042799,"filename":"image_30102025_09_48_57_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/2/623af563d6de6d8845691a57bcb4aa69.jpg","text":"TemporaryFile(/tmp/multipartBody1743428585224595083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065042799,"filename":"image_30102025_09_49_00_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/2/b222d1a6a4fe36781774b56469f179d2.jpg","text":"TemporaryFile(/tmp/multipartBody1111417576228484208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065042799,"filename":"image_30102025_09_49_06_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800368","file1":"1391800366","file0":"1391800357","file4":"1391800371","file5":"1391800373","file3":"1391800370"},"map_files_photo_id_array":[{"photo_id":"1391800373","filename":"file5"},{"photo_id":"1391800368","filename":"file2"},{"photo_id":"1391800371","filename":"file4"},{"photo_id":"1391800366","filename":"file1"},{"photo_id":"1391800357","filename":"file0"},{"photo_id":"1391800370","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800357":["hashtag1","hashtag2"]},{"1391800366":["hashtag1","hashtag2"]},{"1391800371":["hashtag1","hashtag2"]},{"1391800368":["hashtag1","hashtag2"]},{"1391800370":["hashtag1","hashtag2"]},{"1391800373":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800357, 1391800366, 1391800371, 1391800368, 1391800370, 1391800373)","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: 155.7127718925476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 07:31:24.376376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_09_2566.jpg', '/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_12_3720.jpg', '/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_15_2772.jpg', '/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_18_2709.jpg', '/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_22_3646.jpg', '/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_24_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/09/49/image_30102025_09_49_09_2566.jpg
/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_12_3720.jpg
/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_15_2772.jpg
/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_18_2709.jpg
/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_22_3646.jpg
/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_24_2721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800412","1391800415","1391800399","1391800405","1391800408","1391800402"],"photo_ids_order":["1391800399","1391800402","1391800405","1391800408","1391800412","1391800415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7e7b7a59da9bfdc4d5f54a055419cdb6.jpg","text":"TemporaryFile(/tmp/multipartBody7931851270584975304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065147065,"filename":"image_30102025_09_49_22_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/2/4f7753e8d5041659602104ce1188f828.jpg","text":"TemporaryFile(/tmp/multipartBody5517732758580536087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065147065,"filename":"image_30102025_09_49_24_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/2/6bcde2b2c0549e126ef70008f10d0085.jpg","text":"TemporaryFile(/tmp/multipartBody4584161225209298290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065147065,"filename":"image_30102025_09_49_09_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/2/756d16e88d2cf735c21662086d23ede7.jpg","text":"TemporaryFile(/tmp/multipartBody6595195458099377352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065147065,"filename":"image_30102025_09_49_15_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/2/8c1b78fc1edd448be37f38da47f605f2.jpg","text":"TemporaryFile(/tmp/multipartBody4188646847890764999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065147065,"filename":"image_30102025_09_49_18_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/2/caffb012754b205729cbe6e5de54ebae.jpg","text":"TemporaryFile(/tmp/multipartBody7425276428517220514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065147065,"filename":"image_30102025_09_49_12_3720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800405","file1":"1391800402","file0":"1391800399","file4":"1391800412","file5":"1391800415","file3":"1391800408"},"map_files_photo_id_array":[{"photo_id":"1391800415","filename":"file5"},{"photo_id":"1391800405","filename":"file2"},{"photo_id":"1391800412","filename":"file4"},{"photo_id":"1391800402","filename":"file1"},{"photo_id":"1391800399","filename":"file0"},{"photo_id":"1391800408","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800412":["hashtag1","hashtag2"]},{"1391800415":["hashtag1","hashtag2"]},{"1391800399":["hashtag1","hashtag2"]},{"1391800405":["hashtag1","hashtag2"]},{"1391800408":["hashtag1","hashtag2"]},{"1391800402":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800412, 1391800415, 1391800399, 1391800405, 1391800408, 1391800402)","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: 85.578542470932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 07:33:03.466134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_27_2561.jpg', '/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_30_3684.jpg', '/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_33_2728.jpg', '/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_36_2552.jpg', '/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_39_3627.jpg', '/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_42_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/09/49/image_30102025_09_49_27_2561.jpg
/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_30_3684.jpg
/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_33_2728.jpg
/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_36_2552.jpg
/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_39_3627.jpg
/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_42_2590.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":["1391800454","1391800448","1391800450","1391800452","1391800455","1391800458"],"photo_ids_order":["1391800448","1391800450","1391800452","1391800454","1391800455","1391800458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c860d2fb7804041469736296b79fd1f7.jpg","text":"TemporaryFile(/tmp/multipartBody6310844914250332072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065245701,"filename":"image_30102025_09_49_36_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/2/7027f566e4cfcb009f1e83448c6d251d.jpg","text":"TemporaryFile(/tmp/multipartBody5913878084033679825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065245701,"filename":"image_30102025_09_49_27_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/2/df6d73cb69c0b4825b8ee50bc635e8d1.jpg","text":"TemporaryFile(/tmp/multipartBody4926002910242936949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065245701,"filename":"image_30102025_09_49_30_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/2/341e60c4b181b5d648a8660f812fb93c.jpg","text":"TemporaryFile(/tmp/multipartBody8609444689112747503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065245701,"filename":"image_30102025_09_49_33_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/2/778af57fb2b8be6a3b4f93d0e2c18662.jpg","text":"TemporaryFile(/tmp/multipartBody5550559849975736615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065245701,"filename":"image_30102025_09_49_39_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/2/168c8631d62f15f6fec7f6579f002f2f.jpg","text":"TemporaryFile(/tmp/multipartBody6068663930888817650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065245701,"filename":"image_30102025_09_49_42_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800452","file1":"1391800450","file0":"1391800448","file4":"1391800455","file5":"1391800458","file3":"1391800454"},"map_files_photo_id_array":[{"photo_id":"1391800458","filename":"file5"},{"photo_id":"1391800452","filename":"file2"},{"photo_id":"1391800455","filename":"file4"},{"photo_id":"1391800450","filename":"file1"},{"photo_id":"1391800448","filename":"file0"},{"photo_id":"1391800454","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800454":["hashtag1","hashtag2"]},{"1391800448":["hashtag1","hashtag2"]},{"1391800450":["hashtag1","hashtag2"]},{"1391800452":["hashtag1","hashtag2"]},{"1391800455":["hashtag1","hashtag2"]},{"1391800458":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800454, 1391800448, 1391800450, 1391800452, 1391800455, 1391800458)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 60.9623703956604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 07:34:24.944538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_45_2925.jpg', '/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_48_2613.jpg', '/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_51_3657.jpg', '/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_54_2680.jpg', '/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_57_2858.jpg', '/home/pi/Desktop/images/30102025/09/49/image_30102025_09_50_00_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/09/49/image_30102025_09_49_45_2925.jpg
/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_48_2613.jpg
/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_51_3657.jpg
/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_54_2680.jpg
/home/pi/Desktop/images/30102025/09/49/image_30102025_09_49_57_2858.jpg
/home/pi/Desktop/images/30102025/09/49/image_30102025_09_50_00_3706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800489","1391800491","1391800493","1391800496","1391800490","1391800487"],"photo_ids_order":["1391800487","1391800489","1391800490","1391800491","1391800493","1391800496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fd9986a912caed14eec194fc5cdd32fc.jpg","text":"TemporaryFile(/tmp/multipartBody5211213336120244939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065327616,"filename":"image_30102025_09_49_48_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/2/3860c5e2b8a9a2bc4ee9886f02485343.jpg","text":"TemporaryFile(/tmp/multipartBody1679215489450507155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065327616,"filename":"image_30102025_09_49_54_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/2/2d671f61cc7f1d0733414926d2e39bf5.jpg","text":"TemporaryFile(/tmp/multipartBody5552136014290964875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065327616,"filename":"image_30102025_09_49_57_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/2/69d728766a26046ca6a81f9843ec0bb8.jpg","text":"TemporaryFile(/tmp/multipartBody6233046152824498659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065327616,"filename":"image_30102025_09_50_00_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/2/c1db5fda08992327dbaf67a545ba240a.jpg","text":"TemporaryFile(/tmp/multipartBody2863025423664323051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065327616,"filename":"image_30102025_09_49_51_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/2/a9f6830f8b6ed37d5f39ca3e2f8490da.jpg","text":"TemporaryFile(/tmp/multipartBody3514300453223540168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065327616,"filename":"image_30102025_09_49_45_2925.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800490","file1":"1391800489","file0":"1391800487","file4":"1391800493","file5":"1391800496","file3":"1391800491"},"map_files_photo_id_array":[{"photo_id":"1391800496","filename":"file5"},{"photo_id":"1391800490","filename":"file2"},{"photo_id":"1391800493","filename":"file4"},{"photo_id":"1391800489","filename":"file1"},{"photo_id":"1391800487","filename":"file0"},{"photo_id":"1391800491","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800489":["hashtag1","hashtag2"]},{"1391800491":["hashtag1","hashtag2"]},{"1391800493":["hashtag1","hashtag2"]},{"1391800496":["hashtag1","hashtag2"]},{"1391800490":["hashtag1","hashtag2"]},{"1391800487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800489, 1391800491, 1391800493, 1391800496, 1391800490, 1391800487)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 36.92693042755127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 07:35:22.255452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_03_2605.jpg', '/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_06_2511.jpg', '/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_09_3720.jpg', '/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_12_2550.jpg', '/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_18_2564.jpg', '/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_21_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/09/50/image_30102025_09_50_03_2605.jpg
/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_06_2511.jpg
/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_09_3720.jpg
/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_12_2550.jpg
/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_18_2564.jpg
/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_21_3591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800511","1391800508","1391800536","1391800515","1391800524","1391800518"],"photo_ids_order":["1391800508","1391800511","1391800515","1391800518","1391800524","1391800536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/49044a501ff9c502b4a15160114783b0.jpg","text":"TemporaryFile(/tmp/multipartBody7041201089919558553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065384943,"filename":"image_30102025_09_50_06_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/2/f0ca5f43b4553ea25427e22c3b0aebc7.jpg","text":"TemporaryFile(/tmp/multipartBody3666294852463779685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065384943,"filename":"image_30102025_09_50_03_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/2/9e081c6f41c086e76d2f6481e4cb1be5.jpg","text":"TemporaryFile(/tmp/multipartBody5026809926428237678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065384943,"filename":"image_30102025_09_50_21_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/2/fbd2a64ce8236246dc9e1627f154aa1f.jpg","text":"TemporaryFile(/tmp/multipartBody4158338424447400378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065384943,"filename":"image_30102025_09_50_09_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/2/8315c0382f9be76c386b964b25ffa949.jpg","text":"TemporaryFile(/tmp/multipartBody3186351192544501977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065384943,"filename":"image_30102025_09_50_18_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/2/08dfe64fb53615ef27f50acbac368c70.jpg","text":"TemporaryFile(/tmp/multipartBody2134826597879401993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065384943,"filename":"image_30102025_09_50_12_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800515","file1":"1391800511","file0":"1391800508","file4":"1391800524","file5":"1391800536","file3":"1391800518"},"map_files_photo_id_array":[{"photo_id":"1391800536","filename":"file5"},{"photo_id":"1391800515","filename":"file2"},{"photo_id":"1391800524","filename":"file4"},{"photo_id":"1391800511","filename":"file1"},{"photo_id":"1391800508","filename":"file0"},{"photo_id":"1391800518","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800511":["hashtag1","hashtag2"]},{"1391800508":["hashtag1","hashtag2"]},{"1391800536":["hashtag1","hashtag2"]},{"1391800515":["hashtag1","hashtag2"]},{"1391800524":["hashtag1","hashtag2"]},{"1391800518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800511, 1391800508, 1391800536, 1391800515, 1391800524, 1391800518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16398096084595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 07:36:02.995915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_24_2703.jpg', '/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_27_2663.jpg', '/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_30_3699.jpg', '/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_33_2656.jpg', '/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_36_2777.jpg', '/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_38_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/09/50/image_30102025_09_50_24_2703.jpg
/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_27_2663.jpg
/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_30_3699.jpg
/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_33_2656.jpg
/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_36_2777.jpg
/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_38_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800552","1391800540","1391800543","1391800545","1391800548","1391800556"],"photo_ids_order":["1391800540","1391800543","1391800545","1391800548","1391800552","1391800556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d0fd9c86e4ff944a35e6200a3a0cb7a3.jpg","text":"TemporaryFile(/tmp/multipartBody7816859608063967176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065425141,"filename":"image_30102025_09_50_36_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/2/5c8851a2c28a6fffdd0fe78e03b67d1a.jpg","text":"TemporaryFile(/tmp/multipartBody8546094114842958635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065425141,"filename":"image_30102025_09_50_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/2/1dd627d59850f225168d3a83eba3d2e4.jpg","text":"TemporaryFile(/tmp/multipartBody3546705182404230633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065425141,"filename":"image_30102025_09_50_27_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/2/e61441bb0868e5d540ec187c5199b2cf.jpg","text":"TemporaryFile(/tmp/multipartBody2551762946735548758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065425141,"filename":"image_30102025_09_50_30_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/2/a0452abde7890f363ecaf255b24a5fe2.jpg","text":"TemporaryFile(/tmp/multipartBody8855416267206992539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065425141,"filename":"image_30102025_09_50_33_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/2/1177d8223dc1b050c230920e0fe5cc5b.jpg","text":"TemporaryFile(/tmp/multipartBody1625390656386386846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065425141,"filename":"image_30102025_09_50_38_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800545","file1":"1391800543","file0":"1391800540","file4":"1391800552","file5":"1391800556","file3":"1391800548"},"map_files_photo_id_array":[{"photo_id":"1391800556","filename":"file5"},{"photo_id":"1391800545","filename":"file2"},{"photo_id":"1391800552","filename":"file4"},{"photo_id":"1391800543","filename":"file1"},{"photo_id":"1391800540","filename":"file0"},{"photo_id":"1391800548","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800552":["hashtag1","hashtag2"]},{"1391800540":["hashtag1","hashtag2"]},{"1391800543":["hashtag1","hashtag2"]},{"1391800545":["hashtag1","hashtag2"]},{"1391800548":["hashtag1","hashtag2"]},{"1391800556":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800552, 1391800540, 1391800543, 1391800545, 1391800548, 1391800556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.204742670059204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 07:36:42.574498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_42_3597.jpg', '/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_45_2846.jpg', '/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_48_2688.jpg', '/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_51_3567.jpg', '/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_54_2695.jpg', '/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_57_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/09/50/image_30102025_09_50_42_3597.jpg
/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_45_2846.jpg
/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_48_2688.jpg
/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_51_3567.jpg
/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_54_2695.jpg
/home/pi/Desktop/images/30102025/09/50/image_30102025_09_50_57_2804.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800573","1391800575","1391800569","1391800574","1391800571","1391800565"],"photo_ids_order":["1391800565","1391800569","1391800571","1391800573","1391800574","1391800575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/dd8cb0c8666291ff4a4cec733ec101a9.jpg","text":"TemporaryFile(/tmp/multipartBody1027650340936263459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065463717,"filename":"image_30102025_09_50_51_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/2/b092ee72250637ab830734737fbc6b2e.jpg","text":"TemporaryFile(/tmp/multipartBody2913676694346967602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065463717,"filename":"image_30102025_09_50_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/2/506c20371a8198315ac8c9cce3bcd0bb.jpg","text":"TemporaryFile(/tmp/multipartBody846738395369959684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065463717,"filename":"image_30102025_09_50_45_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/2/0af26daec07ffb7183750918c3885535.jpg","text":"TemporaryFile(/tmp/multipartBody447180429812605487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065463717,"filename":"image_30102025_09_50_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/2/ea56952fde4a1a39ca170dd47af7f353.jpg","text":"TemporaryFile(/tmp/multipartBody1528403594696633509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065463717,"filename":"image_30102025_09_50_48_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/2/25c8d8ba45fe02bdaba7e6a137d42f7d.jpg","text":"TemporaryFile(/tmp/multipartBody4266530491953414057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065463717,"filename":"image_30102025_09_50_42_3597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800571","file1":"1391800569","file0":"1391800565","file4":"1391800574","file5":"1391800575","file3":"1391800573"},"map_files_photo_id_array":[{"photo_id":"1391800575","filename":"file5"},{"photo_id":"1391800571","filename":"file2"},{"photo_id":"1391800574","filename":"file4"},{"photo_id":"1391800569","filename":"file1"},{"photo_id":"1391800565","filename":"file0"},{"photo_id":"1391800573","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800573":["hashtag1","hashtag2"]},{"1391800575":["hashtag1","hashtag2"]},{"1391800569":["hashtag1","hashtag2"]},{"1391800574":["hashtag1","hashtag2"]},{"1391800571":["hashtag1","hashtag2"]},{"1391800565":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800573, 1391800575, 1391800569, 1391800574, 1391800571, 1391800565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.320857763290405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 07:37:22.835924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/50/image_30102025_09_51_00_3545.jpg', '/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_03_2789.jpg', '/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_06_2629.jpg', '/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_08_2732.jpg', '/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_12_3523.jpg', '/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_14_2528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/50/image_30102025_09_51_00_3545.jpg
/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_03_2789.jpg
/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_06_2629.jpg
/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_08_2732.jpg
/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_12_3523.jpg
/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_14_2528.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800597","1391800594","1391800581","1391800590","1391800584","1391800586"],"photo_ids_order":["1391800581","1391800584","1391800586","1391800590","1391800594","1391800597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cffd3bea51628a5508023f4a29185dbc.jpg","text":"TemporaryFile(/tmp/multipartBody9213302978538132677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065505735,"filename":"image_30102025_09_51_14_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/2/455d58649060a2c578e8f87cc7f2164a.jpg","text":"TemporaryFile(/tmp/multipartBody4674524812470782748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065505735,"filename":"image_30102025_09_51_12_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/2/5b2b08faa7c072fa3f0bb6613fed67f8.jpg","text":"TemporaryFile(/tmp/multipartBody5684451254304312071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065505735,"filename":"image_30102025_09_51_00_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/2/93eeed91a44014495002c27fa14a9472.jpg","text":"TemporaryFile(/tmp/multipartBody1150156643238811748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065505735,"filename":"image_30102025_09_51_08_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/2/bab5187995356f266bf2d53edc6066a0.jpg","text":"TemporaryFile(/tmp/multipartBody8613957929934739128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065505735,"filename":"image_30102025_09_51_03_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/2/6716e2a733421966ca318ef98f2102fe.jpg","text":"TemporaryFile(/tmp/multipartBody4662194936124218381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065505735,"filename":"image_30102025_09_51_06_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800586","file1":"1391800584","file0":"1391800581","file4":"1391800594","file5":"1391800597","file3":"1391800590"},"map_files_photo_id_array":[{"photo_id":"1391800597","filename":"file5"},{"photo_id":"1391800586","filename":"file2"},{"photo_id":"1391800594","filename":"file4"},{"photo_id":"1391800584","filename":"file1"},{"photo_id":"1391800581","filename":"file0"},{"photo_id":"1391800590","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800597":["hashtag1","hashtag2"]},{"1391800594":["hashtag1","hashtag2"]},{"1391800581":["hashtag1","hashtag2"]},{"1391800590":["hashtag1","hashtag2"]},{"1391800584":["hashtag1","hashtag2"]},{"1391800586":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800597, 1391800594, 1391800581, 1391800590, 1391800584, 1391800586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58410024642944 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-02 07:38:21.845605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_18_3676.jpg', '/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_21_2655.jpg', '/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_23_2612.jpg', '/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_27_3708.jpg', '/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_30_2654.jpg', '/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_33_2808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_18_3676.jpg
/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_21_2655.jpg
/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_23_2612.jpg
/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_27_3708.jpg
/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_30_2654.jpg
/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_33_2808.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800613","1391800612","1391800609","1391800614","1391800617","1391800611"],"photo_ids_order":["1391800609","1391800611","1391800612","1391800613","1391800614","1391800617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8eff9a49f45d5993d8f996b9513bd203.jpg","text":"TemporaryFile(/tmp/multipartBody1290897653788894756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065564445,"filename":"image_30102025_09_51_27_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/2/cb9f4724926e9e07a381ed675b60bb2d.jpg","text":"TemporaryFile(/tmp/multipartBody5978806680271208127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065564445,"filename":"image_30102025_09_51_23_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/2/3d5535888e02cce56a051aafb75244e4.jpg","text":"TemporaryFile(/tmp/multipartBody1603437474448441644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065564445,"filename":"image_30102025_09_51_18_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/2/50d47d5d1abb3ce8126c77c0ca0138f5.jpg","text":"TemporaryFile(/tmp/multipartBody3596674680009880341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065564445,"filename":"image_30102025_09_51_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/2/d59812f08b77b132e0265308ad04753c.jpg","text":"TemporaryFile(/tmp/multipartBody8842945260420559287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065564445,"filename":"image_30102025_09_51_33_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/2/f496bebf534f3a8cb03a749af7924944.jpg","text":"TemporaryFile(/tmp/multipartBody3129113166194844561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065564445,"filename":"image_30102025_09_51_21_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800612","file1":"1391800611","file0":"1391800609","file4":"1391800614","file5":"1391800617","file3":"1391800613"},"map_files_photo_id_array":[{"photo_id":"1391800617","filename":"file5"},{"photo_id":"1391800612","filename":"file2"},{"photo_id":"1391800614","filename":"file4"},{"photo_id":"1391800611","filename":"file1"},{"photo_id":"1391800609","filename":"file0"},{"photo_id":"1391800613","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800613":["hashtag1","hashtag2"]},{"1391800612":["hashtag1","hashtag2"]},{"1391800609":["hashtag1","hashtag2"]},{"1391800614":["hashtag1","hashtag2"]},{"1391800617":["hashtag1","hashtag2"]},{"1391800611":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800613, 1391800612, 1391800609, 1391800614, 1391800617, 1391800611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76517629623413 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 07:39:02.845066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_36_3697.jpg', '/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_39_2633.jpg', '/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_42_2632.jpg', '/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_45_3699.jpg', '/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_48_2639.jpg', '/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_51_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/09/51/image_30102025_09_51_36_3697.jpg
/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_39_2633.jpg
/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_42_2632.jpg
/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_45_3699.jpg
/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_48_2639.jpg
/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_51_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":["1391800631","1391800634","1391800633","1391800632","1391800635","1391800638"],"photo_ids_order":["1391800631","1391800632","1391800633","1391800634","1391800635","1391800638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/741f3724b503f665fa53ee7093f3bc14.jpg","text":"TemporaryFile(/tmp/multipartBody3580252720855753382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065605092,"filename":"image_30102025_09_51_36_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/2/b2d72684341d232232fa0fa0cdde064b.jpg","text":"TemporaryFile(/tmp/multipartBody4019180652960358270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065605092,"filename":"image_30102025_09_51_45_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/2/d0ea93a965d51fe90817f220c5fd514c.jpg","text":"TemporaryFile(/tmp/multipartBody5056191456305948108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065605092,"filename":"image_30102025_09_51_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/2/a629883ad728ab1280e39de19a0e1f22.jpg","text":"TemporaryFile(/tmp/multipartBody5217429518267793673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065605092,"filename":"image_30102025_09_51_39_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/2/e1269e4376a58b6398c03559908570ed.jpg","text":"TemporaryFile(/tmp/multipartBody1828572015288880920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065605092,"filename":"image_30102025_09_51_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/2/29cab42cfcbd512ece66953118e46e94.jpg","text":"TemporaryFile(/tmp/multipartBody7642632079828116542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065605092,"filename":"image_30102025_09_51_51_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800633","file1":"1391800632","file0":"1391800631","file4":"1391800635","file5":"1391800638","file3":"1391800634"},"map_files_photo_id_array":[{"photo_id":"1391800638","filename":"file5"},{"photo_id":"1391800633","filename":"file2"},{"photo_id":"1391800635","filename":"file4"},{"photo_id":"1391800632","filename":"file1"},{"photo_id":"1391800631","filename":"file0"},{"photo_id":"1391800634","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800631":["hashtag1","hashtag2"]},{"1391800634":["hashtag1","hashtag2"]},{"1391800633":["hashtag1","hashtag2"]},{"1391800632":["hashtag1","hashtag2"]},{"1391800635":["hashtag1","hashtag2"]},{"1391800638":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800631, 1391800634, 1391800633, 1391800632, 1391800635, 1391800638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03457593917847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 07:40:02.912728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_54_3704.jpg', '/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_57_2746.jpg', '/home/pi/Desktop/images/30102025/09/51/image_30102025_09_52_00_2678.jpg', '/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_02_2620.jpg', '/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_06_3749.jpg', '/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_09_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/09/51/image_30102025_09_51_54_3704.jpg
/home/pi/Desktop/images/30102025/09/51/image_30102025_09_51_57_2746.jpg
/home/pi/Desktop/images/30102025/09/51/image_30102025_09_52_00_2678.jpg
/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_02_2620.jpg
/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_06_3749.jpg
/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_09_2631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800651","1391800657","1391800659","1391800653","1391800661","1391800655"],"photo_ids_order":["1391800651","1391800653","1391800655","1391800657","1391800659","1391800661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2f1ef21e2246fb37217e81e009dbc0c8.jpg","text":"TemporaryFile(/tmp/multipartBody1948602684909474306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065665014,"filename":"image_30102025_09_51_54_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/2/58882bd6950dcb3b9dda1380e8fd53b7.jpg","text":"TemporaryFile(/tmp/multipartBody7021683044912206618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065665014,"filename":"image_30102025_09_52_02_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/2/f95b6ada7290c27b460db994616b424e.jpg","text":"TemporaryFile(/tmp/multipartBody1936335083481429587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065665014,"filename":"image_30102025_09_52_06_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/2/79b2046c821cfed0cbfbef26b03c15f8.jpg","text":"TemporaryFile(/tmp/multipartBody6636410317261952696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065665014,"filename":"image_30102025_09_51_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/2/236ebe8ce1eea6917163b9e9d5ff2e40.jpg","text":"TemporaryFile(/tmp/multipartBody3027018229478492050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065665014,"filename":"image_30102025_09_52_09_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/2/04da73cea1788c954c0b44768f9b5f1b.jpg","text":"TemporaryFile(/tmp/multipartBody8258904575521499883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065665014,"filename":"image_30102025_09_52_00_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800655","file1":"1391800653","file0":"1391800651","file4":"1391800659","file5":"1391800661","file3":"1391800657"},"map_files_photo_id_array":[{"photo_id":"1391800661","filename":"file5"},{"photo_id":"1391800655","filename":"file2"},{"photo_id":"1391800659","filename":"file4"},{"photo_id":"1391800653","filename":"file1"},{"photo_id":"1391800651","filename":"file0"},{"photo_id":"1391800657","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800651":["hashtag1","hashtag2"]},{"1391800657":["hashtag1","hashtag2"]},{"1391800659":["hashtag1","hashtag2"]},{"1391800653":["hashtag1","hashtag2"]},{"1391800661":["hashtag1","hashtag2"]},{"1391800655":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800651, 1391800657, 1391800659, 1391800653, 1391800661, 1391800655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61439800262451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 07:40:42.340257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_11_2711.jpg', '/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_15_3666.jpg', '/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_18_2597.jpg', '/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_20_2616.jpg', '/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_24_3654.jpg', '/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_27_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/09/52/image_30102025_09_52_11_2711.jpg
/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_15_3666.jpg
/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_18_2597.jpg
/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_20_2616.jpg
/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_24_3654.jpg
/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_27_2661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800678","1391800666","1391800680","1391800673","1391800676","1391800670"],"photo_ids_order":["1391800666","1391800670","1391800673","1391800676","1391800678","1391800680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6f28d5d67455310ef8cb0b6fa45a1583.jpg","text":"TemporaryFile(/tmp/multipartBody3221506376113958276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065705094,"filename":"image_30102025_09_52_24_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/2/5b012716ca3cb38beee86afe7f6b1f0b.jpg","text":"TemporaryFile(/tmp/multipartBody2642877126932792250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065705094,"filename":"image_30102025_09_52_11_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/2/3f20cd8a79a8819b72140199418f831f.jpg","text":"TemporaryFile(/tmp/multipartBody8262536096766112326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065705094,"filename":"image_30102025_09_52_27_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/2/952ab613c7319c73042f0967cb6e629a.jpg","text":"TemporaryFile(/tmp/multipartBody6893485146826645488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065705094,"filename":"image_30102025_09_52_18_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/2/cde4c58e063b3521335ca4c975de2f80.jpg","text":"TemporaryFile(/tmp/multipartBody823714537694546400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065705094,"filename":"image_30102025_09_52_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/2/8d2bc38d6efd1409958f47f217fa5af8.jpg","text":"TemporaryFile(/tmp/multipartBody5580759849913357913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065705094,"filename":"image_30102025_09_52_15_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800673","file1":"1391800670","file0":"1391800666","file4":"1391800678","file5":"1391800680","file3":"1391800676"},"map_files_photo_id_array":[{"photo_id":"1391800680","filename":"file5"},{"photo_id":"1391800673","filename":"file2"},{"photo_id":"1391800678","filename":"file4"},{"photo_id":"1391800670","filename":"file1"},{"photo_id":"1391800666","filename":"file0"},{"photo_id":"1391800676","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800678":["hashtag1","hashtag2"]},{"1391800666":["hashtag1","hashtag2"]},{"1391800680":["hashtag1","hashtag2"]},{"1391800673":["hashtag1","hashtag2"]},{"1391800676":["hashtag1","hashtag2"]},{"1391800670":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800678, 1391800666, 1391800680, 1391800673, 1391800676, 1391800670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27136707305908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 07:41:22.506834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_29_2749.jpg', '/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_33_3794.jpg', '/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_36_2654.jpg', '/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_38_2663.jpg', '/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_41_2795.jpg', '/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_45_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/09/52/image_30102025_09_52_29_2749.jpg
/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_33_3794.jpg
/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_36_2654.jpg
/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_38_2663.jpg
/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_41_2795.jpg
/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_45_3638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800690","1391800684","1391800693","1391800695","1391800686","1391800682"],"photo_ids_order":["1391800682","1391800684","1391800686","1391800690","1391800693","1391800695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/88927694ea82ad908090b84f0d9efe16.jpg","text":"TemporaryFile(/tmp/multipartBody952179641458832154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065745309,"filename":"image_30102025_09_52_38_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/2/c51213ed4173b12f8ca0824801b1d4ce.jpg","text":"TemporaryFile(/tmp/multipartBody444887632602958519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065745309,"filename":"image_30102025_09_52_33_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/2/df5d822bfda320afd1c36441f3d69d2e.jpg","text":"TemporaryFile(/tmp/multipartBody2495582324045552269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065745309,"filename":"image_30102025_09_52_41_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/2/118902e169bc2e300702fc687b5096c1.jpg","text":"TemporaryFile(/tmp/multipartBody847027850879561167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065745309,"filename":"image_30102025_09_52_45_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/2/3c8ced0a06cc2a6ea999cdca43352724.jpg","text":"TemporaryFile(/tmp/multipartBody767093219621649745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065745309,"filename":"image_30102025_09_52_36_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/2/82fd2365c8a0efdb0f0fe5bd8211df92.jpg","text":"TemporaryFile(/tmp/multipartBody4854664162733229810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065745309,"filename":"image_30102025_09_52_29_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800686","file1":"1391800684","file0":"1391800682","file4":"1391800693","file5":"1391800695","file3":"1391800690"},"map_files_photo_id_array":[{"photo_id":"1391800695","filename":"file5"},{"photo_id":"1391800686","filename":"file2"},{"photo_id":"1391800693","filename":"file4"},{"photo_id":"1391800684","filename":"file1"},{"photo_id":"1391800682","filename":"file0"},{"photo_id":"1391800690","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800690":["hashtag1","hashtag2"]},{"1391800684":["hashtag1","hashtag2"]},{"1391800693":["hashtag1","hashtag2"]},{"1391800695":["hashtag1","hashtag2"]},{"1391800686":["hashtag1","hashtag2"]},{"1391800682":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800690, 1391800684, 1391800693, 1391800695, 1391800686, 1391800682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.265175342559814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 07:42:03.070666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_48_2646.jpg', '/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_50_2661.jpg', '/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_54_3542.jpg', '/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_56_2682.jpg', '/home/pi/Desktop/images/30102025/09/52/image_30102025_09_53_00_3674.jpg', '/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_03_2918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_48_2646.jpg
/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_50_2661.jpg
/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_54_3542.jpg
/home/pi/Desktop/images/30102025/09/52/image_30102025_09_52_56_2682.jpg
/home/pi/Desktop/images/30102025/09/52/image_30102025_09_53_00_3674.jpg
/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_03_2918.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800724","1391800720","1391800714","1391800717","1391800711","1391800722"],"photo_ids_order":["1391800711","1391800714","1391800717","1391800720","1391800722","1391800724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4999ac19a61d8dc72f7cff970caabe7b.jpg","text":"TemporaryFile(/tmp/multipartBody5595943219821158406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065785206,"filename":"image_30102025_09_53_03_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/2/97642976fcd415ecfe6faec8c42492a5.jpg","text":"TemporaryFile(/tmp/multipartBody2594160639576986693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065785206,"filename":"image_30102025_09_52_56_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/2/0912429766940aba5880a645105bceb4.jpg","text":"TemporaryFile(/tmp/multipartBody5994056188065740521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065785206,"filename":"image_30102025_09_52_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/2/c310e1dc7ccb6aac215200f952c85a48.jpg","text":"TemporaryFile(/tmp/multipartBody5176396370145492433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065785206,"filename":"image_30102025_09_52_54_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/2/1899bdec69e332508df1434490f9828c.jpg","text":"TemporaryFile(/tmp/multipartBody6154997292007468378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065785206,"filename":"image_30102025_09_52_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/2/3dbc282d8c2d7c4e2e5c0628f1fccb40.jpg","text":"TemporaryFile(/tmp/multipartBody2629504380584584734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065785206,"filename":"image_30102025_09_53_00_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800717","file1":"1391800714","file0":"1391800711","file4":"1391800722","file5":"1391800724","file3":"1391800720"},"map_files_photo_id_array":[{"photo_id":"1391800724","filename":"file5"},{"photo_id":"1391800717","filename":"file2"},{"photo_id":"1391800722","filename":"file4"},{"photo_id":"1391800714","filename":"file1"},{"photo_id":"1391800711","filename":"file0"},{"photo_id":"1391800720","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800724":["hashtag1","hashtag2"]},{"1391800720":["hashtag1","hashtag2"]},{"1391800714":["hashtag1","hashtag2"]},{"1391800717":["hashtag1","hashtag2"]},{"1391800711":["hashtag1","hashtag2"]},{"1391800722":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800724, 1391800720, 1391800714, 1391800717, 1391800711, 1391800722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95841360092163 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 07:42:42.672201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_06_2620.jpg', '/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_08_2723.jpg', '/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_12_3551.jpg', '/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_15_2876.jpg', '/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_18_2769.jpg', '/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_20_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/09/53/image_30102025_09_53_06_2620.jpg
/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_08_2723.jpg
/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_12_3551.jpg
/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_15_2876.jpg
/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_18_2769.jpg
/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_20_2587.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.085181713104248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 07:43:02.499343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_06_2620.jpg', '/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_08_2723.jpg', '/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_12_3551.jpg', '/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_15_2876.jpg', '/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_18_2769.jpg', '/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_20_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/09/53/image_30102025_09_53_06_2620.jpg
/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_08_2723.jpg
/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_12_3551.jpg
/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_15_2876.jpg
/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_18_2769.jpg
/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_20_2587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800750","1391800756","1391800752","1391800760","1391800754","1391800757"],"photo_ids_order":["1391800750","1391800752","1391800754","1391800756","1391800757","1391800760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/eb4d1e123b6ff6f221dc2a95c66a53ae.jpg","text":"TemporaryFile(/tmp/multipartBody5400522138876623872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065845018,"filename":"image_30102025_09_53_06_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/2/2ca1df7e7a6a37238c9090971b05f059.jpg","text":"TemporaryFile(/tmp/multipartBody7498125798913129461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065845018,"filename":"image_30102025_09_53_15_2876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5a66360f7af959fe460788d27840f7b3.jpg","text":"TemporaryFile(/tmp/multipartBody818992305256048263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065845018,"filename":"image_30102025_09_53_08_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/2/aaa1a3da19afa90d837be8b4ef15896d.jpg","text":"TemporaryFile(/tmp/multipartBody4808690370646245044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065845018,"filename":"image_30102025_09_53_20_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/2/0c77f4f5c89f54e362bff7785c2a7ae2.jpg","text":"TemporaryFile(/tmp/multipartBody2672809286148672439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065845018,"filename":"image_30102025_09_53_12_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/2/cd3c9a1df8b16f3f0abc282014c16420.jpg","text":"TemporaryFile(/tmp/multipartBody5306527325696139007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065845018,"filename":"image_30102025_09_53_18_2769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800754","file1":"1391800752","file0":"1391800750","file4":"1391800757","file5":"1391800760","file3":"1391800756"},"map_files_photo_id_array":[{"photo_id":"1391800760","filename":"file5"},{"photo_id":"1391800754","filename":"file2"},{"photo_id":"1391800757","filename":"file4"},{"photo_id":"1391800752","filename":"file1"},{"photo_id":"1391800750","filename":"file0"},{"photo_id":"1391800756","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800750":["hashtag1","hashtag2"]},{"1391800756":["hashtag1","hashtag2"]},{"1391800752":["hashtag1","hashtag2"]},{"1391800760":["hashtag1","hashtag2"]},{"1391800754":["hashtag1","hashtag2"]},{"1391800757":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800750, 1391800756, 1391800752, 1391800760, 1391800754, 1391800757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.091957092285156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 07:43:41.900956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_24_3613.jpg', '/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_26_2579.jpg', '/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_30_3710.jpg', '/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_33_2725.jpg', '/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_36_2739.jpg', '/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_38_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/09/53/image_30102025_09_53_24_3613.jpg
/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_26_2579.jpg
/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_30_3710.jpg
/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_33_2725.jpg
/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_36_2739.jpg
/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_38_2641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800774","1391800776","1391800770","1391800773","1391800767","1391800772"],"photo_ids_order":["1391800767","1391800770","1391800772","1391800773","1391800774","1391800776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a6ce25264a1e67a06380ae393ba73563.jpg","text":"TemporaryFile(/tmp/multipartBody8041070206058511589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065883070,"filename":"image_30102025_09_53_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/2/7707bb5b05b7474597839b68c824aa04.jpg","text":"TemporaryFile(/tmp/multipartBody8570834597025167189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065883070,"filename":"image_30102025_09_53_38_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/2/fa42b5f3d72d98b6a4ea025c32e961a5.jpg","text":"TemporaryFile(/tmp/multipartBody7127109285341967719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065883070,"filename":"image_30102025_09_53_26_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/2/04f074d4de1c1df07e189a0ac79e68ac.jpg","text":"TemporaryFile(/tmp/multipartBody4816927910941751238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065883070,"filename":"image_30102025_09_53_33_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/2/ecaae0ae3c22915a1c7c32b9a7900217.jpg","text":"TemporaryFile(/tmp/multipartBody6084342083207394346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065883070,"filename":"image_30102025_09_53_24_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/2/6ba45ea76f1852f8443b36a6ef4e0377.jpg","text":"TemporaryFile(/tmp/multipartBody2728858696228877426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065883070,"filename":"image_30102025_09_53_30_3710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800772","file1":"1391800770","file0":"1391800767","file4":"1391800774","file5":"1391800776","file3":"1391800773"},"map_files_photo_id_array":[{"photo_id":"1391800776","filename":"file5"},{"photo_id":"1391800772","filename":"file2"},{"photo_id":"1391800774","filename":"file4"},{"photo_id":"1391800770","filename":"file1"},{"photo_id":"1391800767","filename":"file0"},{"photo_id":"1391800773","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800774":["hashtag1","hashtag2"]},{"1391800776":["hashtag1","hashtag2"]},{"1391800770":["hashtag1","hashtag2"]},{"1391800773":["hashtag1","hashtag2"]},{"1391800767":["hashtag1","hashtag2"]},{"1391800772":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800774, 1391800776, 1391800770, 1391800773, 1391800767, 1391800772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23129415512085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 07:44:21.963733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_42_3821.jpg', '/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_45_2823.jpg', '/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_48_3111.jpg', '/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_51_2687.jpg', '/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_53_2793.jpg', '/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_56_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/09/53/image_30102025_09_53_42_3821.jpg
/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_45_2823.jpg
/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_48_3111.jpg
/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_51_2687.jpg
/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_53_2793.jpg
/home/pi/Desktop/images/30102025/09/53/image_30102025_09_53_56_2738.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800795","1391800786","1391800789","1391800791","1391800784","1391800787"],"photo_ids_order":["1391800784","1391800786","1391800787","1391800789","1391800791","1391800795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bcb317eaf9b5a2f358775548c8853667.jpg","text":"TemporaryFile(/tmp/multipartBody8726456249450569793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065924689,"filename":"image_30102025_09_53_56_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/2/bebe90d8efd4d62eabb0d46a25d25873.jpg","text":"TemporaryFile(/tmp/multipartBody2004517938070930386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065924689,"filename":"image_30102025_09_53_45_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/2/80c24d33492d8f60cd95ee5f7c351678.jpg","text":"TemporaryFile(/tmp/multipartBody6756531871152156114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065924689,"filename":"image_30102025_09_53_51_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/2/5f670d2c9abf9a212dff6f4a48a38f10.jpg","text":"TemporaryFile(/tmp/multipartBody5685479313197976003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065924689,"filename":"image_30102025_09_53_53_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/2/28954df8367988bca61a4a47e6e32afd.jpg","text":"TemporaryFile(/tmp/multipartBody713038921670322364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065924689,"filename":"image_30102025_09_53_42_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/2/81fe7e05aefa467138fa70440447c88f.jpg","text":"TemporaryFile(/tmp/multipartBody2298381281412552714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065924689,"filename":"image_30102025_09_53_48_3111.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800787","file1":"1391800786","file0":"1391800784","file4":"1391800791","file5":"1391800795","file3":"1391800789"},"map_files_photo_id_array":[{"photo_id":"1391800795","filename":"file5"},{"photo_id":"1391800787","filename":"file2"},{"photo_id":"1391800791","filename":"file4"},{"photo_id":"1391800786","filename":"file1"},{"photo_id":"1391800784","filename":"file0"},{"photo_id":"1391800789","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800795":["hashtag1","hashtag2"]},{"1391800786":["hashtag1","hashtag2"]},{"1391800789":["hashtag1","hashtag2"]},{"1391800791":["hashtag1","hashtag2"]},{"1391800784":["hashtag1","hashtag2"]},{"1391800787":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800795, 1391800786, 1391800789, 1391800791, 1391800784, 1391800787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57656264305115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 07:45:03.042431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/53/image_30102025_09_54_00_3670.jpg', '/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_02_2633.jpg', '/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_05_2643.jpg', '/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_09_3650.jpg', '/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_11_2656.jpg', '/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_14_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/09/53/image_30102025_09_54_00_3670.jpg
/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_02_2633.jpg
/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_05_2643.jpg
/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_09_3650.jpg
/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_11_2656.jpg
/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_14_2700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800823","1391800822","1391800816","1391800825","1391800819","1391800821"],"photo_ids_order":["1391800816","1391800819","1391800821","1391800822","1391800823","1391800825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/df443b841ef2b4a49a84379d734a06f7.jpg","text":"TemporaryFile(/tmp/multipartBody8816328674728703553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065965233,"filename":"image_30102025_09_54_11_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/2/920b25929f34da490e8ac43ba8ce98de.jpg","text":"TemporaryFile(/tmp/multipartBody8976615596863509668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065965233,"filename":"image_30102025_09_54_09_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/2/2ce0b5f8ed2107b9ca3fb55d2e77389f.jpg","text":"TemporaryFile(/tmp/multipartBody6134403685815225402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065965233,"filename":"image_30102025_09_54_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/2/360279e9780e534f8630b2baef405e69.jpg","text":"TemporaryFile(/tmp/multipartBody8716326660250144740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065965233,"filename":"image_30102025_09_54_14_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/2/e4bdbe50e9153049e16ab98bcfb0fdf0.jpg","text":"TemporaryFile(/tmp/multipartBody7512796468123694018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065965233,"filename":"image_30102025_09_54_02_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/2/ec88a45b20df26ac14b0c0119bc7e302.jpg","text":"TemporaryFile(/tmp/multipartBody4709125291128138042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762065965233,"filename":"image_30102025_09_54_05_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800821","file1":"1391800819","file0":"1391800816","file4":"1391800823","file5":"1391800825","file3":"1391800822"},"map_files_photo_id_array":[{"photo_id":"1391800825","filename":"file5"},{"photo_id":"1391800821","filename":"file2"},{"photo_id":"1391800823","filename":"file4"},{"photo_id":"1391800819","filename":"file1"},{"photo_id":"1391800816","filename":"file0"},{"photo_id":"1391800822","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800823":["hashtag1","hashtag2"]},{"1391800822":["hashtag1","hashtag2"]},{"1391800816":["hashtag1","hashtag2"]},{"1391800825":["hashtag1","hashtag2"]},{"1391800819":["hashtag1","hashtag2"]},{"1391800821":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800823, 1391800822, 1391800816, 1391800825, 1391800819, 1391800821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87508583068848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 07:45:42.377064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_18_3554.jpg', '/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_20_2760.jpg', '/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_23_2752.jpg', '/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_27_3703.jpg', '/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_29_2650.jpg', '/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_32_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/09/54/image_30102025_09_54_18_3554.jpg
/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_20_2760.jpg
/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_23_2752.jpg
/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_27_3703.jpg
/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_29_2650.jpg
/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_32_2674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800844","1391800834","1391800837","1391800842","1391800839","1391800841"],"photo_ids_order":["1391800834","1391800837","1391800839","1391800841","1391800842","1391800844"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fc874b7c05f896e7445e93d5ba9f045f.jpg","text":"TemporaryFile(/tmp/multipartBody5337184242801368307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066003673,"filename":"image_30102025_09_54_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/2/6f0e12737c7e69a4f3a2a759beedfc93.jpg","text":"TemporaryFile(/tmp/multipartBody6659212547688831125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066003673,"filename":"image_30102025_09_54_18_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/2/41d72656876e8ba08df999baaf0601be.jpg","text":"TemporaryFile(/tmp/multipartBody8879557002555502506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066003673,"filename":"image_30102025_09_54_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/2/5fe9bf1beb14b469e8cc6bb0cb860079.jpg","text":"TemporaryFile(/tmp/multipartBody6177098315398944280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066003673,"filename":"image_30102025_09_54_29_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/2/99df46b3f709ad569a6fb89e8ef7ef68.jpg","text":"TemporaryFile(/tmp/multipartBody4717517604773738321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066003673,"filename":"image_30102025_09_54_23_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/2/2a36597e28f9f2e8c931563d342b0285.jpg","text":"TemporaryFile(/tmp/multipartBody2367116894979427880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066003673,"filename":"image_30102025_09_54_27_3703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800839","file1":"1391800837","file0":"1391800834","file4":"1391800842","file5":"1391800844","file3":"1391800841"},"map_files_photo_id_array":[{"photo_id":"1391800844","filename":"file5"},{"photo_id":"1391800839","filename":"file2"},{"photo_id":"1391800842","filename":"file4"},{"photo_id":"1391800837","filename":"file1"},{"photo_id":"1391800834","filename":"file0"},{"photo_id":"1391800841","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800844":["hashtag1","hashtag2"]},{"1391800834":["hashtag1","hashtag2"]},{"1391800837":["hashtag1","hashtag2"]},{"1391800842":["hashtag1","hashtag2"]},{"1391800839":["hashtag1","hashtag2"]},{"1391800841":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800844, 1391800834, 1391800837, 1391800842, 1391800839, 1391800841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66238522529602 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 07:46:22.546388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_36_3673.jpg', '/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_38_2634.jpg', '/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_41_2568.jpg', '/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_45_3784.jpg', '/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_48_2734.jpg', '/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_50_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/09/54/image_30102025_09_54_36_3673.jpg
/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_38_2634.jpg
/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_41_2568.jpg
/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_45_3784.jpg
/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_48_2734.jpg
/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_50_2726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800855","1391800860","1391800854","1391800857","1391800866","1391800853"],"photo_ids_order":["1391800853","1391800854","1391800855","1391800857","1391800860","1391800866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/da89c8a0f71a5228b08aa652f32c8ea5.jpg","text":"TemporaryFile(/tmp/multipartBody1695918838053679184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066045287,"filename":"image_30102025_09_54_41_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/2/42dfc3f6cbad92a7cf089f671a5ffa73.jpg","text":"TemporaryFile(/tmp/multipartBody3546644894455875620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066045287,"filename":"image_30102025_09_54_48_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/2/04235dbf839ddc1a491d23e2ca5b7ddb.jpg","text":"TemporaryFile(/tmp/multipartBody493640910737894739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066045287,"filename":"image_30102025_09_54_38_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/2/b7ac734322e5c37f58abc1daac59778e.jpg","text":"TemporaryFile(/tmp/multipartBody4786503160807042234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066045287,"filename":"image_30102025_09_54_45_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/2/8aedef9de8698074419817b6d3ebdde0.jpg","text":"TemporaryFile(/tmp/multipartBody7366349154406183650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066045287,"filename":"image_30102025_09_54_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/2/2064994d84135c45971d900134f87e83.jpg","text":"TemporaryFile(/tmp/multipartBody666016294686832329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066045287,"filename":"image_30102025_09_54_36_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800855","file1":"1391800854","file0":"1391800853","file4":"1391800860","file5":"1391800866","file3":"1391800857"},"map_files_photo_id_array":[{"photo_id":"1391800866","filename":"file5"},{"photo_id":"1391800855","filename":"file2"},{"photo_id":"1391800860","filename":"file4"},{"photo_id":"1391800854","filename":"file1"},{"photo_id":"1391800853","filename":"file0"},{"photo_id":"1391800857","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800855":["hashtag1","hashtag2"]},{"1391800860":["hashtag1","hashtag2"]},{"1391800854":["hashtag1","hashtag2"]},{"1391800857":["hashtag1","hashtag2"]},{"1391800866":["hashtag1","hashtag2"]},{"1391800853":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800855, 1391800860, 1391800854, 1391800857, 1391800866, 1391800853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35364365577698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 07:47:03.277522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_53_2840.jpg', '/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_57_3692.jpg', '/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_59_2615.jpg', '/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_02_2745.jpg', '/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_05_2879.jpg', '/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_09_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/09/54/image_30102025_09_54_53_2840.jpg
/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_57_3692.jpg
/home/pi/Desktop/images/30102025/09/54/image_30102025_09_54_59_2615.jpg
/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_02_2745.jpg
/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_05_2879.jpg
/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_09_3652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800882","1391800879","1391800873","1391800875","1391800874","1391800877"],"photo_ids_order":["1391800873","1391800874","1391800875","1391800877","1391800879","1391800882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3694a9cc55788d899616cb9cadfd7c5d.jpg","text":"TemporaryFile(/tmp/multipartBody5217262681880609710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066085492,"filename":"image_30102025_09_55_09_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/2/82c977f93b00b665cc2f8648ba350862.jpg","text":"TemporaryFile(/tmp/multipartBody330051530857088303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066085492,"filename":"image_30102025_09_55_05_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/2/332b66ca8a46254802638a289b0caa74.jpg","text":"TemporaryFile(/tmp/multipartBody5321189076682344062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066085492,"filename":"image_30102025_09_54_53_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/2/f0df603aab97faa9832e98744e56f756.jpg","text":"TemporaryFile(/tmp/multipartBody7140128314175340842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066085492,"filename":"image_30102025_09_54_59_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/2/29e7cba4b090ba77094942c9bdacab2b.jpg","text":"TemporaryFile(/tmp/multipartBody3719831443165452771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066085492,"filename":"image_30102025_09_54_57_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/2/6b4890bf690eeb60e5db5f7f3e886cc0.jpg","text":"TemporaryFile(/tmp/multipartBody8203995908148951163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066085492,"filename":"image_30102025_09_55_02_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800875","file1":"1391800874","file0":"1391800873","file4":"1391800879","file5":"1391800882","file3":"1391800877"},"map_files_photo_id_array":[{"photo_id":"1391800882","filename":"file5"},{"photo_id":"1391800875","filename":"file2"},{"photo_id":"1391800879","filename":"file4"},{"photo_id":"1391800874","filename":"file1"},{"photo_id":"1391800873","filename":"file0"},{"photo_id":"1391800877","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800882":["hashtag1","hashtag2"]},{"1391800879":["hashtag1","hashtag2"]},{"1391800873":["hashtag1","hashtag2"]},{"1391800875":["hashtag1","hashtag2"]},{"1391800874":["hashtag1","hashtag2"]},{"1391800877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800882, 1391800879, 1391800873, 1391800875, 1391800874, 1391800877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00922608375549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 07:47:42.761728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_11_2701.jpg', '/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_14_2640.jpg', '/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_18_3750.jpg', '/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_20_2656.jpg', '/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_23_2562.jpg', '/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_27_3579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_11_2701.jpg
/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_14_2640.jpg
/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_18_3750.jpg
/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_20_2656.jpg
/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_23_2562.jpg
/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_27_3579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800910","1391800904","1391800907","1391800893","1391800906","1391800902"],"photo_ids_order":["1391800893","1391800902","1391800904","1391800906","1391800907","1391800910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/48d3e4ad278350da8aea760d1011a0c1.jpg","text":"TemporaryFile(/tmp/multipartBody6341547471892513121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066123927,"filename":"image_30102025_09_55_27_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/2/de328971760129185ab4239dc360e6b9.jpg","text":"TemporaryFile(/tmp/multipartBody5955210718089069396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066123927,"filename":"image_30102025_09_55_18_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/2/4ffc1077c2f3a761cf08026c2d5ff83a.jpg","text":"TemporaryFile(/tmp/multipartBody5941372184455195115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066123927,"filename":"image_30102025_09_55_23_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/2/459b7bcf13c440a2a11547e9e6103b8b.jpg","text":"TemporaryFile(/tmp/multipartBody4778972904747112418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066123927,"filename":"image_30102025_09_55_11_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/2/61965667502343b99a1a4d4f5a0f1626.jpg","text":"TemporaryFile(/tmp/multipartBody6899119652773756242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066123927,"filename":"image_30102025_09_55_20_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/2/38986357f46272feff3ec66962a5cbe2.jpg","text":"TemporaryFile(/tmp/multipartBody5837991548741564553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066123927,"filename":"image_30102025_09_55_14_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800904","file1":"1391800902","file0":"1391800893","file4":"1391800907","file5":"1391800910","file3":"1391800906"},"map_files_photo_id_array":[{"photo_id":"1391800910","filename":"file5"},{"photo_id":"1391800904","filename":"file2"},{"photo_id":"1391800907","filename":"file4"},{"photo_id":"1391800902","filename":"file1"},{"photo_id":"1391800893","filename":"file0"},{"photo_id":"1391800906","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800910":["hashtag1","hashtag2"]},{"1391800904":["hashtag1","hashtag2"]},{"1391800907":["hashtag1","hashtag2"]},{"1391800893":["hashtag1","hashtag2"]},{"1391800906":["hashtag1","hashtag2"]},{"1391800902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800910, 1391800904, 1391800907, 1391800893, 1391800906, 1391800902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.648842096328735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 07:48:21.871888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_29_2865.jpg', '/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_32_2700.jpg', '/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_35_2736.jpg', '/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_38_3570.jpg', '/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_41_2664.jpg', '/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_45_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/09/55/image_30102025_09_55_29_2865.jpg
/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_32_2700.jpg
/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_35_2736.jpg
/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_38_3570.jpg
/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_41_2664.jpg
/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_45_3687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800921","1391800918","1391800923","1391800926","1391800934","1391800928"],"photo_ids_order":["1391800918","1391800921","1391800923","1391800926","1391800928","1391800934"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/51b273e79bb28766842f1fac98a03b7c.jpg","text":"TemporaryFile(/tmp/multipartBody7634278322571722385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066164590,"filename":"image_30102025_09_55_32_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/2/8a202373c48cb7bbb616798b0a748be2.jpg","text":"TemporaryFile(/tmp/multipartBody8283843601537145530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066164590,"filename":"image_30102025_09_55_29_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/2/64584f3315c03c01ba6f945a5788815c.jpg","text":"TemporaryFile(/tmp/multipartBody6505099586101525892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066164590,"filename":"image_30102025_09_55_35_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/2/badfd1e9258ee2d4bc8493f74b952ca8.jpg","text":"TemporaryFile(/tmp/multipartBody3126456094910985944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066164590,"filename":"image_30102025_09_55_38_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/2/c61d7a5eff3686b97a5f96f0210f57e8.jpg","text":"TemporaryFile(/tmp/multipartBody2413681651499610930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066164590,"filename":"image_30102025_09_55_45_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/2/bb7a5097d14cbea87d2666aa13b3a885.jpg","text":"TemporaryFile(/tmp/multipartBody3951744018112583025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066164590,"filename":"image_30102025_09_55_41_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800923","file1":"1391800921","file0":"1391800918","file4":"1391800928","file5":"1391800934","file3":"1391800926"},"map_files_photo_id_array":[{"photo_id":"1391800934","filename":"file5"},{"photo_id":"1391800923","filename":"file2"},{"photo_id":"1391800928","filename":"file4"},{"photo_id":"1391800921","filename":"file1"},{"photo_id":"1391800918","filename":"file0"},{"photo_id":"1391800926","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800921":["hashtag1","hashtag2"]},{"1391800918":["hashtag1","hashtag2"]},{"1391800923":["hashtag1","hashtag2"]},{"1391800926":["hashtag1","hashtag2"]},{"1391800934":["hashtag1","hashtag2"]},{"1391800928":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800921, 1391800918, 1391800923, 1391800926, 1391800934, 1391800928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62319850921631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 07:49:03.333635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_48_2677.jpg', '/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_50_2612.jpg', '/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_53_2741.jpg', '/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_57_3670.jpg', '/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_59_2572.jpg', '/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_02_2898.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_48_2677.jpg
/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_50_2612.jpg
/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_53_2741.jpg
/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_57_3670.jpg
/home/pi/Desktop/images/30102025/09/55/image_30102025_09_55_59_2572.jpg
/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_02_2898.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800943","1391800945","1391800950","1391800944","1391800947","1391800946"],"photo_ids_order":["1391800943","1391800944","1391800945","1391800946","1391800947","1391800950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2a855aa1596bdb6307f779ef6fa44dd3.jpg","text":"TemporaryFile(/tmp/multipartBody7217627256433352380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066205645,"filename":"image_30102025_09_55_48_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/2/c5f4ec198ef66a7887168e1f98d240bd.jpg","text":"TemporaryFile(/tmp/multipartBody6664085563093621483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066205645,"filename":"image_30102025_09_55_53_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/2/5d8f7055b289f111c99c747d5a4477e5.jpg","text":"TemporaryFile(/tmp/multipartBody5269713714034371886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066205645,"filename":"image_30102025_09_56_02_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/2/ce50d8c922db0ee140f0cd9994c449ba.jpg","text":"TemporaryFile(/tmp/multipartBody130662494446885465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066205645,"filename":"image_30102025_09_55_50_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/2/1d341b7031ec4b0b8c6c534bf2a52c71.jpg","text":"TemporaryFile(/tmp/multipartBody3878268687369430904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066205645,"filename":"image_30102025_09_55_59_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/2/5eebc3621a309f2aa65f83171b4dbf10.jpg","text":"TemporaryFile(/tmp/multipartBody9015702361643793557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066205645,"filename":"image_30102025_09_55_57_3670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800945","file1":"1391800944","file0":"1391800943","file4":"1391800947","file5":"1391800950","file3":"1391800946"},"map_files_photo_id_array":[{"photo_id":"1391800950","filename":"file5"},{"photo_id":"1391800945","filename":"file2"},{"photo_id":"1391800947","filename":"file4"},{"photo_id":"1391800944","filename":"file1"},{"photo_id":"1391800943","filename":"file0"},{"photo_id":"1391800946","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800943":["hashtag1","hashtag2"]},{"1391800945":["hashtag1","hashtag2"]},{"1391800950":["hashtag1","hashtag2"]},{"1391800944":["hashtag1","hashtag2"]},{"1391800947":["hashtag1","hashtag2"]},{"1391800946":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800943, 1391800945, 1391800950, 1391800944, 1391800947, 1391800946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.593087911605835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 07:49:42.579878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_06_3684.jpg', '/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_08_2716.jpg', '/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_11_2874.jpg', '/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_14_2583.jpg', '/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_17_3603.jpg', '/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_20_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/09/56/image_30102025_09_56_06_3684.jpg
/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_08_2716.jpg
/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_11_2874.jpg
/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_14_2583.jpg
/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_17_3603.jpg
/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_20_2605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800958","1391800963","1391800957","1391800960","1391800961","1391800955"],"photo_ids_order":["1391800955","1391800957","1391800958","1391800960","1391800961","1391800963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4c14b42887e88950262ad7348d05c7ba.jpg","text":"TemporaryFile(/tmp/multipartBody8645661922800304658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066243701,"filename":"image_30102025_09_56_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/2/a84e7a0c35a23066503672ae49fe05d1.jpg","text":"TemporaryFile(/tmp/multipartBody5134695613447000987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066243701,"filename":"image_30102025_09_56_20_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/2/7cbf5e8d149f8eafa864f6e5a3a8f425.jpg","text":"TemporaryFile(/tmp/multipartBody1705526635217073431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066243701,"filename":"image_30102025_09_56_08_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/2/075136bd048d46189ca56b1164881d87.jpg","text":"TemporaryFile(/tmp/multipartBody2435634775290502643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066243701,"filename":"image_30102025_09_56_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/2/0e981a4d19f20aecaae41de8f8646c3b.jpg","text":"TemporaryFile(/tmp/multipartBody1892454735121321586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066243701,"filename":"image_30102025_09_56_17_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/2/be7e2932df30a2baad5931c613735c3d.jpg","text":"TemporaryFile(/tmp/multipartBody4049559199816653926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066243701,"filename":"image_30102025_09_56_06_3684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800958","file1":"1391800957","file0":"1391800955","file4":"1391800961","file5":"1391800963","file3":"1391800960"},"map_files_photo_id_array":[{"photo_id":"1391800963","filename":"file5"},{"photo_id":"1391800958","filename":"file2"},{"photo_id":"1391800961","filename":"file4"},{"photo_id":"1391800957","filename":"file1"},{"photo_id":"1391800955","filename":"file0"},{"photo_id":"1391800960","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800958":["hashtag1","hashtag2"]},{"1391800963":["hashtag1","hashtag2"]},{"1391800957":["hashtag1","hashtag2"]},{"1391800960":["hashtag1","hashtag2"]},{"1391800961":["hashtag1","hashtag2"]},{"1391800955":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800958, 1391800963, 1391800957, 1391800960, 1391800961, 1391800955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.11683750152588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 07:50:22.756782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_23_2845.jpg', '/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_27_3694.jpg', '/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_29_2714.jpg', '/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_32_2739.jpg', '/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_36_3699.jpg', '/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_38_2537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_23_2845.jpg
/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_27_3694.jpg
/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_29_2714.jpg
/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_32_2739.jpg
/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_36_3699.jpg
/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_38_2537.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800969","1391800972","1391800971","1391800974","1391800979","1391800988"],"photo_ids_order":["1391800969","1391800971","1391800972","1391800974","1391800979","1391800988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8abca489f385a17c4f2c65f9b2b9038b.jpg","text":"TemporaryFile(/tmp/multipartBody8119001001981131920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066285473,"filename":"image_30102025_09_56_23_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/2/e52a1ee3a5737c600e097efde4d31d38.jpg","text":"TemporaryFile(/tmp/multipartBody5032272313151628046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066285473,"filename":"image_30102025_09_56_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/2/836033b99228fdb73b870875bd5b774f.jpg","text":"TemporaryFile(/tmp/multipartBody2307590742161390699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066285473,"filename":"image_30102025_09_56_27_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/2/993e89c38f4ee247e6bc5f96ec3139bf.jpg","text":"TemporaryFile(/tmp/multipartBody7039816203299158075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066285473,"filename":"image_30102025_09_56_32_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/2/ac46fccfe4dbdc1c00c9a8280ca5b412.jpg","text":"TemporaryFile(/tmp/multipartBody4970347504628364301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066285473,"filename":"image_30102025_09_56_36_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/2/c9c7610135f487abfec7539d75845123.jpg","text":"TemporaryFile(/tmp/multipartBody6477317540614325479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066285473,"filename":"image_30102025_09_56_38_2537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800972","file1":"1391800971","file0":"1391800969","file4":"1391800979","file5":"1391800988","file3":"1391800974"},"map_files_photo_id_array":[{"photo_id":"1391800988","filename":"file5"},{"photo_id":"1391800972","filename":"file2"},{"photo_id":"1391800979","filename":"file4"},{"photo_id":"1391800971","filename":"file1"},{"photo_id":"1391800969","filename":"file0"},{"photo_id":"1391800974","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800969":["hashtag1","hashtag2"]},{"1391800972":["hashtag1","hashtag2"]},{"1391800971":["hashtag1","hashtag2"]},{"1391800974":["hashtag1","hashtag2"]},{"1391800979":["hashtag1","hashtag2"]},{"1391800988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800969, 1391800972, 1391800971, 1391800974, 1391800979, 1391800988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55810832977295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 07:51:02.605746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_41_2665.jpg', '/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_44_2847.jpg', '/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_47_3609.jpg', '/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_50_2792.jpg', '/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_53_2592.jpg', '/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_57_3752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_41_2665.jpg
/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_44_2847.jpg
/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_47_3609.jpg
/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_50_2792.jpg
/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_53_2592.jpg
/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_57_3752.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391800996","1391800998","1391800995","1391801001","1391800997","1391801000"],"photo_ids_order":["1391800995","1391800996","1391800997","1391800998","1391801000","1391801001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/14dbd15fb7c3d31bff513713babb26b3.jpg","text":"TemporaryFile(/tmp/multipartBody9150521129022762873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066326532,"filename":"image_30102025_09_56_44_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/2/e4c9382947b8b7db7a4cc82af0ccb559.jpg","text":"TemporaryFile(/tmp/multipartBody3106597391052233540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066326532,"filename":"image_30102025_09_56_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/2/c300b52b02511a4f20c0d21172d75ff7.jpg","text":"TemporaryFile(/tmp/multipartBody4827761583141437912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066326532,"filename":"image_30102025_09_56_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/2/b66a08987f9471ebd0df98107275839a.jpg","text":"TemporaryFile(/tmp/multipartBody100686353132785209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066326532,"filename":"image_30102025_09_56_57_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/2/be2d763e9f46beb2bbd572cc8ed36e8c.jpg","text":"TemporaryFile(/tmp/multipartBody7911249480736735863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066326532,"filename":"image_30102025_09_56_47_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/2/4b6ea64bff20dbd7f451c37ffa158b85.jpg","text":"TemporaryFile(/tmp/multipartBody6651709373027811313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066326532,"filename":"image_30102025_09_56_53_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391800997","file1":"1391800996","file0":"1391800995","file4":"1391801000","file5":"1391801001","file3":"1391800998"},"map_files_photo_id_array":[{"photo_id":"1391801001","filename":"file5"},{"photo_id":"1391800997","filename":"file2"},{"photo_id":"1391801000","filename":"file4"},{"photo_id":"1391800996","filename":"file1"},{"photo_id":"1391800995","filename":"file0"},{"photo_id":"1391800998","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391800996":["hashtag1","hashtag2"]},{"1391800998":["hashtag1","hashtag2"]},{"1391800995":["hashtag1","hashtag2"]},{"1391801001":["hashtag1","hashtag2"]},{"1391800997":["hashtag1","hashtag2"]},{"1391801000":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391800996, 1391800998, 1391800995, 1391801001, 1391800997, 1391801000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09888505935669 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 07:51:41.859362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/56/image_30102025_09_56_59_2775.jpg', '/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_02_2681.jpg', '/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_06_3632.jpg', '/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_08_2569.jpg', '/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_11_2691.jpg', '/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_14_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/09/56/image_30102025_09_56_59_2775.jpg
/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_02_2681.jpg
/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_06_3632.jpg
/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_08_2569.jpg
/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_11_2691.jpg
/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_14_3583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391801008","1391801017","1391801019","1391801013","1391801021","1391801024"],"photo_ids_order":["1391801008","1391801013","1391801017","1391801019","1391801021","1391801024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6320d7ede9895369326b11257f8eea09.jpg","text":"TemporaryFile(/tmp/multipartBody6501637244943653322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066362996,"filename":"image_30102025_09_56_59_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/2/9cdf4c153c2e564f15bad30dca5a0811.jpg","text":"TemporaryFile(/tmp/multipartBody6440684191180667847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066362996,"filename":"image_30102025_09_57_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/2/437f652e10a870c4d42e56dccc46aba8.jpg","text":"TemporaryFile(/tmp/multipartBody8861082834701075305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066362996,"filename":"image_30102025_09_57_08_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/2/539cdc0f89fdfdf839c09c020565aa2b.jpg","text":"TemporaryFile(/tmp/multipartBody7203586342612965976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066362996,"filename":"image_30102025_09_57_02_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/2/1e8e89e764d5e4e50070cf86988f7e26.jpg","text":"TemporaryFile(/tmp/multipartBody5855301829936236762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066362996,"filename":"image_30102025_09_57_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/2/79ac67de769703238852b38626cb3acb.jpg","text":"TemporaryFile(/tmp/multipartBody4843916259151667949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066362996,"filename":"image_30102025_09_57_14_3583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391801017","file1":"1391801013","file0":"1391801008","file4":"1391801021","file5":"1391801024","file3":"1391801019"},"map_files_photo_id_array":[{"photo_id":"1391801024","filename":"file5"},{"photo_id":"1391801017","filename":"file2"},{"photo_id":"1391801021","filename":"file4"},{"photo_id":"1391801013","filename":"file1"},{"photo_id":"1391801008","filename":"file0"},{"photo_id":"1391801019","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391801008":["hashtag1","hashtag2"]},{"1391801017":["hashtag1","hashtag2"]},{"1391801019":["hashtag1","hashtag2"]},{"1391801013":["hashtag1","hashtag2"]},{"1391801021":["hashtag1","hashtag2"]},{"1391801024":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391801008, 1391801017, 1391801019, 1391801013, 1391801021, 1391801024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81762671470642 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 07:52:22.027024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_17_2712.jpg', '/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_20_2757.jpg', '/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_26_2733.jpg', '/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_29_2726.jpg', '/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_33_3573.jpg', '/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_35_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/09/57/image_30102025_09_57_17_2712.jpg
/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_20_2757.jpg
/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_26_2733.jpg
/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_29_2726.jpg
/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_33_3573.jpg
/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_35_2690.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.608877182006836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 07:52:42.062489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_17_2712.jpg', '/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_20_2757.jpg', '/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_26_2733.jpg', '/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_29_2726.jpg', '/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_33_3573.jpg', '/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_35_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/09/57/image_30102025_09_57_17_2712.jpg
/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_20_2757.jpg
/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_26_2733.jpg
/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_29_2726.jpg
/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_33_3573.jpg
/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_35_2690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391801056","1391801050","1391801053","1391801047","1391801058","1391801043"],"photo_ids_order":["1391801043","1391801047","1391801050","1391801053","1391801056","1391801058"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/65479dd9009e1abb61cecc63fa78ca6a.jpg","text":"TemporaryFile(/tmp/multipartBody7123206864855474126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066423076,"filename":"image_30102025_09_57_33_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/2/e384c68dcc24892f1277bfbdb230bd20.jpg","text":"TemporaryFile(/tmp/multipartBody6819745950221297813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066423076,"filename":"image_30102025_09_57_26_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/2/ccdf085b1f688ffe43b0a32bcac4fc4c.jpg","text":"TemporaryFile(/tmp/multipartBody3165275508397499653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066423076,"filename":"image_30102025_09_57_29_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/2/6405cb2197a5f1852e1e05165b498bec.jpg","text":"TemporaryFile(/tmp/multipartBody5450283126182096252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066423076,"filename":"image_30102025_09_57_20_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/2/ea62725a1ae3c37dbedafe09f8ca6c12.jpg","text":"TemporaryFile(/tmp/multipartBody7859147011638787709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066423076,"filename":"image_30102025_09_57_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/2/9e8c716d996011bf9211efc0e846f55d.jpg","text":"TemporaryFile(/tmp/multipartBody4255054107437788278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066423076,"filename":"image_30102025_09_57_17_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391801050","file1":"1391801047","file0":"1391801043","file4":"1391801056","file5":"1391801058","file3":"1391801053"},"map_files_photo_id_array":[{"photo_id":"1391801058","filename":"file5"},{"photo_id":"1391801050","filename":"file2"},{"photo_id":"1391801056","filename":"file4"},{"photo_id":"1391801047","filename":"file1"},{"photo_id":"1391801043","filename":"file0"},{"photo_id":"1391801053","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391801056":["hashtag1","hashtag2"]},{"1391801050":["hashtag1","hashtag2"]},{"1391801053":["hashtag1","hashtag2"]},{"1391801047":["hashtag1","hashtag2"]},{"1391801058":["hashtag1","hashtag2"]},{"1391801043":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391801056, 1391801050, 1391801053, 1391801047, 1391801058, 1391801043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25929403305054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 07:53:22.273950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_38_2691.jpg', '/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_41_2753.jpg', '/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_44_3583.jpg', '/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_47_2774.jpg', '/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_50_2568.jpg', '/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_53_3639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_38_2691.jpg
/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_41_2753.jpg
/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_44_3583.jpg
/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_47_2774.jpg
/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_50_2568.jpg
/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_53_3639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391801071","1391801065","1391801067","1391801061","1391801063","1391801069"],"photo_ids_order":["1391801061","1391801063","1391801065","1391801067","1391801069","1391801071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/94a30af7ffe8afba210331885b93ba34.jpg","text":"TemporaryFile(/tmp/multipartBody2201815007099442933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066465135,"filename":"image_30102025_09_57_53_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/2/0f9512fded3032cdc90bd14f4be3a16e.jpg","text":"TemporaryFile(/tmp/multipartBody9096204557067836272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066465135,"filename":"image_30102025_09_57_44_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/2/4bffab5f477d5177b002c098c7e2310a.jpg","text":"TemporaryFile(/tmp/multipartBody3852976907561853463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066465135,"filename":"image_30102025_09_57_47_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/2/f1a73a515f351f7c2a6e8a2f43271d8d.jpg","text":"TemporaryFile(/tmp/multipartBody627902109202862554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066465135,"filename":"image_30102025_09_57_38_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/2/2d4e1cb903b4721baa4fd986604d8366.jpg","text":"TemporaryFile(/tmp/multipartBody7032010338011822920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066465135,"filename":"image_30102025_09_57_41_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/2/3e81030cb00bc1217f59a9132cfc1770.jpg","text":"TemporaryFile(/tmp/multipartBody2878871690054849191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066465135,"filename":"image_30102025_09_57_50_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391801065","file1":"1391801063","file0":"1391801061","file4":"1391801069","file5":"1391801071","file3":"1391801067"},"map_files_photo_id_array":[{"photo_id":"1391801071","filename":"file5"},{"photo_id":"1391801065","filename":"file2"},{"photo_id":"1391801069","filename":"file4"},{"photo_id":"1391801063","filename":"file1"},{"photo_id":"1391801061","filename":"file0"},{"photo_id":"1391801067","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391801071":["hashtag1","hashtag2"]},{"1391801065":["hashtag1","hashtag2"]},{"1391801067":["hashtag1","hashtag2"]},{"1391801061":["hashtag1","hashtag2"]},{"1391801063":["hashtag1","hashtag2"]},{"1391801069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391801071, 1391801065, 1391801067, 1391801061, 1391801063, 1391801069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7632098197937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 07:54:03.045225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_56_2692.jpg', '/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_59_2703.jpg', '/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_02_3598.jpg', '/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_05_2737.jpg', '/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_08_2611.jpg', '/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_11_3768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_56_2692.jpg
/home/pi/Desktop/images/30102025/09/57/image_30102025_09_57_59_2703.jpg
/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_02_3598.jpg
/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_05_2737.jpg
/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_08_2611.jpg
/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_11_3768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391801080","1391801074","1391801082","1391801076","1391801084","1391801078"],"photo_ids_order":["1391801074","1391801076","1391801078","1391801080","1391801082","1391801084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e1682f3fc10ee68054a69467ad6c2faa.jpg","text":"TemporaryFile(/tmp/multipartBody4983004897350911114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066505271,"filename":"image_30102025_09_58_05_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/2/1b7a11bf973c11b10bb8e88de19de9e2.jpg","text":"TemporaryFile(/tmp/multipartBody4263822416654167443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066505271,"filename":"image_30102025_09_57_56_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/2/e26874dcb16456a7225e97212400a767.jpg","text":"TemporaryFile(/tmp/multipartBody5499357986523127605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066505271,"filename":"image_30102025_09_58_08_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/2/36c60bd2efbbd986025614878115cc7c.jpg","text":"TemporaryFile(/tmp/multipartBody5190911844431292882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066505271,"filename":"image_30102025_09_57_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/2/9e16a05b63f8df40b256e4f5e467567c.jpg","text":"TemporaryFile(/tmp/multipartBody1641824520510831886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066505271,"filename":"image_30102025_09_58_11_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/2/9c3fe0b3776a96a3949588d4bc99181c.jpg","text":"TemporaryFile(/tmp/multipartBody8067129568396539411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066505271,"filename":"image_30102025_09_58_02_3598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391801078","file1":"1391801076","file0":"1391801074","file4":"1391801082","file5":"1391801084","file3":"1391801080"},"map_files_photo_id_array":[{"photo_id":"1391801084","filename":"file5"},{"photo_id":"1391801078","filename":"file2"},{"photo_id":"1391801082","filename":"file4"},{"photo_id":"1391801076","filename":"file1"},{"photo_id":"1391801074","filename":"file0"},{"photo_id":"1391801080","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391801080":["hashtag1","hashtag2"]},{"1391801074":["hashtag1","hashtag2"]},{"1391801082":["hashtag1","hashtag2"]},{"1391801076":["hashtag1","hashtag2"]},{"1391801084":["hashtag1","hashtag2"]},{"1391801078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391801080, 1391801074, 1391801082, 1391801076, 1391801084, 1391801078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.124698638916016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 07:54:42.431412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_14_2577.jpg', '/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_17_2682.jpg', '/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_20_3626.jpg', '/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_23_2683.jpg', '/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_26_2593.jpg', '/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_29_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/09/58/image_30102025_09_58_14_2577.jpg
/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_17_2682.jpg
/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_20_3626.jpg
/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_23_2683.jpg
/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_26_2593.jpg
/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_29_3569.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.0386440753936768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 07:55:03.336185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_14_2577.jpg', '/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_17_2682.jpg', '/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_20_3626.jpg', '/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_23_2683.jpg', '/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_26_2593.jpg', '/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_29_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/09/58/image_30102025_09_58_14_2577.jpg
/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_17_2682.jpg
/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_20_3626.jpg
/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_23_2683.jpg
/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_26_2593.jpg
/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_29_3569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391801111","1391801110","1391801113","1391801115","1391801112","1391801117"],"photo_ids_order":["1391801110","1391801111","1391801112","1391801113","1391801115","1391801117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0aeb3cd38bd452d5929bfa9a08a5766a.jpg","text":"TemporaryFile(/tmp/multipartBody1841126564069332461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066565348,"filename":"image_30102025_09_58_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/2/457a4b5e7bfc9b1bd4854ae9c4849a38.jpg","text":"TemporaryFile(/tmp/multipartBody1547348042205179697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066565348,"filename":"image_30102025_09_58_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/2/4ce6714fddf5f41563ee5aa8375573cc.jpg","text":"TemporaryFile(/tmp/multipartBody6984055954446299501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066565348,"filename":"image_30102025_09_58_23_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/2/9cb65ec974f1e52a44bf85ba91e0b72f.jpg","text":"TemporaryFile(/tmp/multipartBody7855704152273037820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066565348,"filename":"image_30102025_09_58_26_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/2/56032f810f47402634da6018e7fd2d6e.jpg","text":"TemporaryFile(/tmp/multipartBody5958487717765001904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066565348,"filename":"image_30102025_09_58_20_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/2/556ef5fe6ae269b2b563d2ed5847bce1.jpg","text":"TemporaryFile(/tmp/multipartBody5535055638077111943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066565348,"filename":"image_30102025_09_58_29_3569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391801112","file1":"1391801111","file0":"1391801110","file4":"1391801115","file5":"1391801117","file3":"1391801113"},"map_files_photo_id_array":[{"photo_id":"1391801117","filename":"file5"},{"photo_id":"1391801112","filename":"file2"},{"photo_id":"1391801115","filename":"file4"},{"photo_id":"1391801111","filename":"file1"},{"photo_id":"1391801110","filename":"file0"},{"photo_id":"1391801113","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391801111":["hashtag1","hashtag2"]},{"1391801110":["hashtag1","hashtag2"]},{"1391801113":["hashtag1","hashtag2"]},{"1391801115":["hashtag1","hashtag2"]},{"1391801112":["hashtag1","hashtag2"]},{"1391801117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391801111, 1391801110, 1391801113, 1391801115, 1391801112, 1391801117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79192066192627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 07:55:42.587397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_36_3663.jpg', '/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_38_2757.jpg', '/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_41_2835.jpg', '/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_44_2606.jpg', '/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_47_3632.jpg', '/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_50_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/09/58/image_30102025_09_58_36_3663.jpg
/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_38_2757.jpg
/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_41_2835.jpg
/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_44_2606.jpg
/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_47_3632.jpg
/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_50_2735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391801125","1391801133","1391801130","1391801127","1391801132","1391801135"],"photo_ids_order":["1391801125","1391801127","1391801130","1391801132","1391801133","1391801135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0bf5e1a70435a877962a90c6fd16a940.jpg","text":"TemporaryFile(/tmp/multipartBody8782852028183989504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066605967,"filename":"image_30102025_09_58_36_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/2/7c629934447952391d22259e32582dc9.jpg","text":"TemporaryFile(/tmp/multipartBody2164517640442855532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066605967,"filename":"image_30102025_09_58_47_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/2/a5a814332d91f81e7f5041cbaf9b23f1.jpg","text":"TemporaryFile(/tmp/multipartBody8531988667492952854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066605967,"filename":"image_30102025_09_58_41_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/2/9426a076e0feb9d0cba4765aa7b9d83b.jpg","text":"TemporaryFile(/tmp/multipartBody5512704596799901948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066605967,"filename":"image_30102025_09_58_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/2/c9e6af2baf06b0f250344aa5eb89b842.jpg","text":"TemporaryFile(/tmp/multipartBody5728583097826340232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066605967,"filename":"image_30102025_09_58_44_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/2/1ce5885a05949337aeb13c3947ae1c5a.jpg","text":"TemporaryFile(/tmp/multipartBody8567748995807752408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066605967,"filename":"image_30102025_09_58_50_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391801130","file1":"1391801127","file0":"1391801125","file4":"1391801133","file5":"1391801135","file3":"1391801132"},"map_files_photo_id_array":[{"photo_id":"1391801135","filename":"file5"},{"photo_id":"1391801130","filename":"file2"},{"photo_id":"1391801133","filename":"file4"},{"photo_id":"1391801127","filename":"file1"},{"photo_id":"1391801125","filename":"file0"},{"photo_id":"1391801132","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391801125":["hashtag1","hashtag2"]},{"1391801133":["hashtag1","hashtag2"]},{"1391801130":["hashtag1","hashtag2"]},{"1391801127":["hashtag1","hashtag2"]},{"1391801132":["hashtag1","hashtag2"]},{"1391801135":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391801125, 1391801133, 1391801130, 1391801127, 1391801132, 1391801135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95524978637695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 07:56:22.734998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_53_2595.jpg', '/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_56_3632.jpg', '/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_59_2645.jpg', '/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_02_2593.jpg', '/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_05_3677.jpg', '/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_11_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/09/58/image_30102025_09_58_53_2595.jpg
/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_56_3632.jpg
/home/pi/Desktop/images/30102025/09/58/image_30102025_09_58_59_2645.jpg
/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_02_2593.jpg
/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_05_3677.jpg
/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_11_2903.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391801155","1391801146","1391801151","1391801148","1391801142","1391801145"],"photo_ids_order":["1391801142","1391801145","1391801146","1391801148","1391801151","1391801155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b5929bb14d7ae890bf596b5b2afbb766.jpg","text":"TemporaryFile(/tmp/multipartBody7654633597165328804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066645433,"filename":"image_30102025_09_59_11_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/2/047e5ed5b3329088a1c69b5737e328b7.jpg","text":"TemporaryFile(/tmp/multipartBody4987695711237382962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066645433,"filename":"image_30102025_09_58_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/2/3a8cc6fa77ebb76ced2e257a81bf4f96.jpg","text":"TemporaryFile(/tmp/multipartBody7346247649119092506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066645433,"filename":"image_30102025_09_59_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/2/db26d7b5021b8eb2cc42b02db514ae53.jpg","text":"TemporaryFile(/tmp/multipartBody1554731323953392306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066645433,"filename":"image_30102025_09_59_02_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/2/7b06da5385557b89d5e78ccde955c0f1.jpg","text":"TemporaryFile(/tmp/multipartBody3021188442863951065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066645433,"filename":"image_30102025_09_58_53_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/2/b54cc3121263da7d86f2c8e8090468bb.jpg","text":"TemporaryFile(/tmp/multipartBody8842653910306914560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066645433,"filename":"image_30102025_09_58_56_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391801146","file1":"1391801145","file0":"1391801142","file4":"1391801151","file5":"1391801155","file3":"1391801148"},"map_files_photo_id_array":[{"photo_id":"1391801155","filename":"file5"},{"photo_id":"1391801146","filename":"file2"},{"photo_id":"1391801151","filename":"file4"},{"photo_id":"1391801145","filename":"file1"},{"photo_id":"1391801142","filename":"file0"},{"photo_id":"1391801148","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391801155":["hashtag1","hashtag2"]},{"1391801146":["hashtag1","hashtag2"]},{"1391801151":["hashtag1","hashtag2"]},{"1391801148":["hashtag1","hashtag2"]},{"1391801142":["hashtag1","hashtag2"]},{"1391801145":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391801155, 1391801146, 1391801151, 1391801148, 1391801142, 1391801145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.588500022888184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 07:57:02.672460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_14_3676.jpg', '/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_17_2762.jpg', '/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_20_2553.jpg', '/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_23_3633.jpg', '/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_26_2743.jpg', '/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_29_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/09/59/image_30102025_09_59_14_3676.jpg
/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_17_2762.jpg
/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_20_2553.jpg
/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_23_3633.jpg
/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_26_2743.jpg
/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_29_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391801173","1391801167","1391801175","1391801169","1391801180","1391801177"],"photo_ids_order":["1391801167","1391801169","1391801173","1391801175","1391801177","1391801180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/49e88047204355a7df76ddd9e4e2a4d8.jpg","text":"TemporaryFile(/tmp/multipartBody7589601763672104856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066686781,"filename":"image_30102025_09_59_20_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/2/e6f28768e5c016e1f0af70ae6d7e6882.jpg","text":"TemporaryFile(/tmp/multipartBody1139423123002088769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066686781,"filename":"image_30102025_09_59_14_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/2/952a2b9ead796556b15d9fdbee5d958f.jpg","text":"TemporaryFile(/tmp/multipartBody4445793172573904781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066686781,"filename":"image_30102025_09_59_23_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/2/cdd14673e46ab666c2b1e6c721313cb9.jpg","text":"TemporaryFile(/tmp/multipartBody7767384825062120807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066686781,"filename":"image_30102025_09_59_17_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/2/552d6af2b7e6a06f8bcb27103b182d0f.jpg","text":"TemporaryFile(/tmp/multipartBody6304491926608055635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066686781,"filename":"image_30102025_09_59_29_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/2/b93f0d1fd2a2d00030c635192ecdc8a0.jpg","text":"TemporaryFile(/tmp/multipartBody4334026095082384823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066686781,"filename":"image_30102025_09_59_26_2743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391801173","file1":"1391801169","file0":"1391801167","file4":"1391801177","file5":"1391801180","file3":"1391801175"},"map_files_photo_id_array":[{"photo_id":"1391801180","filename":"file5"},{"photo_id":"1391801173","filename":"file2"},{"photo_id":"1391801177","filename":"file4"},{"photo_id":"1391801169","filename":"file1"},{"photo_id":"1391801167","filename":"file0"},{"photo_id":"1391801175","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391801173":["hashtag1","hashtag2"]},{"1391801167":["hashtag1","hashtag2"]},{"1391801175":["hashtag1","hashtag2"]},{"1391801169":["hashtag1","hashtag2"]},{"1391801180":["hashtag1","hashtag2"]},{"1391801177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391801173, 1391801167, 1391801175, 1391801169, 1391801180, 1391801177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.59834122657776 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-02 07:59:03.289709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_32_3565.jpg', '/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_35_2677.jpg', '/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_41_2677.jpg', '/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_44_3757.jpg', '/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_47_2819.jpg', '/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_50_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/09/59/image_30102025_09_59_32_3565.jpg
/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_35_2677.jpg
/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_41_2677.jpg
/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_44_3757.jpg
/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_47_2819.jpg
/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_50_2759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391801204","1391801218","1391801206","1391801214","1391801211","1391801208"],"photo_ids_order":["1391801204","1391801206","1391801208","1391801211","1391801214","1391801218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1663bb0d67cb2e26537dace95d7401f1.jpg","text":"TemporaryFile(/tmp/multipartBody418523562550560156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066805669,"filename":"image_30102025_09_59_32_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/2/c106f8ea7de603755d637d79cf9c5c47.jpg","text":"TemporaryFile(/tmp/multipartBody8142168555868907959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066805669,"filename":"image_30102025_09_59_50_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/2/0b3ddb70d0085b5f88f7b5a3e290bca7.jpg","text":"TemporaryFile(/tmp/multipartBody2889360398803336400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066805669,"filename":"image_30102025_09_59_35_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/2/3de55aa9751fe9aa12a22b676b9581e9.jpg","text":"TemporaryFile(/tmp/multipartBody5576038628129776650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066805669,"filename":"image_30102025_09_59_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/2/fee95042d09b757210fc7e6c13605a17.jpg","text":"TemporaryFile(/tmp/multipartBody2123896183083423015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066805669,"filename":"image_30102025_09_59_44_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/2/e4cf93c02487c1bf4223bd1e5cf5c539.jpg","text":"TemporaryFile(/tmp/multipartBody7742902328345418871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066805669,"filename":"image_30102025_09_59_41_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391801208","file1":"1391801206","file0":"1391801204","file4":"1391801214","file5":"1391801218","file3":"1391801211"},"map_files_photo_id_array":[{"photo_id":"1391801218","filename":"file5"},{"photo_id":"1391801208","filename":"file2"},{"photo_id":"1391801214","filename":"file4"},{"photo_id":"1391801206","filename":"file1"},{"photo_id":"1391801204","filename":"file0"},{"photo_id":"1391801211","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391801204":["hashtag1","hashtag2"]},{"1391801218":["hashtag1","hashtag2"]},{"1391801206":["hashtag1","hashtag2"]},{"1391801214":["hashtag1","hashtag2"]},{"1391801211":["hashtag1","hashtag2"]},{"1391801208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391801204, 1391801218, 1391801206, 1391801214, 1391801211, 1391801208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.885560274124146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 08:00:02.792817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_53_3533.jpg', '/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_56_2605.jpg', '/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_59_2637.jpg', '/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_07_3013.jpg', '/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_11_3652.jpg', '/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_14_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/09/59/image_30102025_09_59_53_3533.jpg
/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_56_2605.jpg
/home/pi/Desktop/images/30102025/09/59/image_30102025_09_59_59_2637.jpg
/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_07_3013.jpg
/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_11_3652.jpg
/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_14_2751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391801245","1391801256","1391801241","1391801252","1391801255","1391801249"],"photo_ids_order":["1391801241","1391801245","1391801249","1391801252","1391801255","1391801256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0473bc58832e64103fd0fd5d8075df68.jpg","text":"TemporaryFile(/tmp/multipartBody282650806238379488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066868596,"filename":"image_30102025_09_59_56_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/2/30c09a7fc7ba424b34531df277a53891.jpg","text":"TemporaryFile(/tmp/multipartBody2041895938987284659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066868596,"filename":"image_30102025_10_00_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/2/da9cd88362f58c78068f038525a966ec.jpg","text":"TemporaryFile(/tmp/multipartBody3484644891935883393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066868596,"filename":"image_30102025_09_59_53_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/2/4da1a1419c1a65cfbedc982d9baf5c31.jpg","text":"TemporaryFile(/tmp/multipartBody1037927956538478185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066868596,"filename":"image_30102025_10_00_07_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a9ef08af58ae873306fb0e59e043263a.jpg","text":"TemporaryFile(/tmp/multipartBody6184218148165164189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066868596,"filename":"image_30102025_10_00_11_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/2/2ff3204d74e9af36e944ec8991f2d43e.jpg","text":"TemporaryFile(/tmp/multipartBody258649383043314289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066868596,"filename":"image_30102025_09_59_59_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391801249","file1":"1391801245","file0":"1391801241","file4":"1391801255","file5":"1391801256","file3":"1391801252"},"map_files_photo_id_array":[{"photo_id":"1391801256","filename":"file5"},{"photo_id":"1391801249","filename":"file2"},{"photo_id":"1391801255","filename":"file4"},{"photo_id":"1391801245","filename":"file1"},{"photo_id":"1391801241","filename":"file0"},{"photo_id":"1391801252","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391801245":["hashtag1","hashtag2"]},{"1391801256":["hashtag1","hashtag2"]},{"1391801241":["hashtag1","hashtag2"]},{"1391801252":["hashtag1","hashtag2"]},{"1391801255":["hashtag1","hashtag2"]},{"1391801249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391801245, 1391801256, 1391801241, 1391801252, 1391801255, 1391801249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.49446082115173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 08:01:03.314792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_16_2688.jpg', '/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_20_3702.jpg', '/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_23_2697.jpg', '/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_29_3661.jpg', '/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_32_2612.jpg', '/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_38_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/10/00/image_30102025_10_00_16_2688.jpg
/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_20_3702.jpg
/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_23_2697.jpg
/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_29_3661.jpg
/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_32_2612.jpg
/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_38_3585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391801272","1391801269","1391801271","1391801274","1391801276","1391801273"],"photo_ids_order":["1391801269","1391801271","1391801272","1391801273","1391801274","1391801276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c1e9974bf270a38a8b4673a2c48b6537.jpg","text":"TemporaryFile(/tmp/multipartBody2809719483843989420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066925542,"filename":"image_30102025_10_00_23_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/2/2ffcf38e310a9b0fcd4b157333250274.jpg","text":"TemporaryFile(/tmp/multipartBody5539553098793082950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066925542,"filename":"image_30102025_10_00_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/2/817a8c5d75c0abd4c7551681c4c2c990.jpg","text":"TemporaryFile(/tmp/multipartBody4871973101510902729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066925542,"filename":"image_30102025_10_00_20_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/2/ab41d233faca7e86bccae5a0a3e3de96.jpg","text":"TemporaryFile(/tmp/multipartBody1677441479030682833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066925542,"filename":"image_30102025_10_00_32_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/2/d3de2e6d7b50ffbfc4486d7579348965.jpg","text":"TemporaryFile(/tmp/multipartBody4679128182497973376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066925542,"filename":"image_30102025_10_00_38_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/2/238e5a4ac21459a8edcfbc17a8e68346.jpg","text":"TemporaryFile(/tmp/multipartBody573642298338992301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066925542,"filename":"image_30102025_10_00_29_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391801272","file1":"1391801271","file0":"1391801269","file4":"1391801274","file5":"1391801276","file3":"1391801273"},"map_files_photo_id_array":[{"photo_id":"1391801276","filename":"file5"},{"photo_id":"1391801272","filename":"file2"},{"photo_id":"1391801274","filename":"file4"},{"photo_id":"1391801271","filename":"file1"},{"photo_id":"1391801269","filename":"file0"},{"photo_id":"1391801273","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391801272":["hashtag1","hashtag2"]},{"1391801269":["hashtag1","hashtag2"]},{"1391801271":["hashtag1","hashtag2"]},{"1391801274":["hashtag1","hashtag2"]},{"1391801276":["hashtag1","hashtag2"]},{"1391801273":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391801272, 1391801269, 1391801271, 1391801274, 1391801276, 1391801273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75372052192688 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-02 08:02:02.461131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_41_2685.jpg', '/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_44_2688.jpg', '/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_53_3662.jpg', '/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_56_2678.jpg', '/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_58_2788.jpg', '/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_02_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/10/00/image_30102025_10_00_41_2685.jpg
/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_44_2688.jpg
/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_53_3662.jpg
/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_56_2678.jpg
/home/pi/Desktop/images/30102025/10/00/image_30102025_10_00_58_2788.jpg
/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_02_3718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391801305","1391801308","1391801313","1391801294","1391801297","1391801300"],"photo_ids_order":["1391801294","1391801297","1391801300","1391801305","1391801308","1391801313"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/16358f096d8eb6aa5de134903f6c10d1.jpg","text":"TemporaryFile(/tmp/multipartBody8774067463298487505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066984570,"filename":"image_30102025_10_00_56_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/2/6c76b8e7350624319770bbd03e3dbbd6.jpg","text":"TemporaryFile(/tmp/multipartBody7554473509301516185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066984570,"filename":"image_30102025_10_00_58_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/2/b4e680f3f6ec32e3d4844ff6e7257fcd.jpg","text":"TemporaryFile(/tmp/multipartBody6871884047535135806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066984570,"filename":"image_30102025_10_01_02_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/2/cfb18bd767dc01f48ca1f7a0eb973a29.jpg","text":"TemporaryFile(/tmp/multipartBody2181310685783179715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066984570,"filename":"image_30102025_10_00_41_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/2/dc0012fb67a7a0943f885ae671ec6d38.jpg","text":"TemporaryFile(/tmp/multipartBody4923540788874906267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066984570,"filename":"image_30102025_10_00_44_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/2/a3874043a0bb7e419f8f19842e572c92.jpg","text":"TemporaryFile(/tmp/multipartBody5307127802930633792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762066984570,"filename":"image_30102025_10_00_53_3662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391801300","file1":"1391801297","file0":"1391801294","file4":"1391801308","file5":"1391801313","file3":"1391801305"},"map_files_photo_id_array":[{"photo_id":"1391801313","filename":"file5"},{"photo_id":"1391801300","filename":"file2"},{"photo_id":"1391801308","filename":"file4"},{"photo_id":"1391801297","filename":"file1"},{"photo_id":"1391801294","filename":"file0"},{"photo_id":"1391801305","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391801305":["hashtag1","hashtag2"]},{"1391801308":["hashtag1","hashtag2"]},{"1391801313":["hashtag1","hashtag2"]},{"1391801294":["hashtag1","hashtag2"]},{"1391801297":["hashtag1","hashtag2"]},{"1391801300":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391801305, 1391801308, 1391801313, 1391801294, 1391801297, 1391801300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05901622772217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 08:02:42.016936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_05_2823.jpg', '/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_08_2820.jpg', '/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_10_2610.jpg', '/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_14_3676.jpg', '/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_17_2652.jpg', '/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_20_2809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_05_2823.jpg
/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_08_2820.jpg
/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_10_2610.jpg
/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_14_3676.jpg
/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_17_2652.jpg
/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_20_2809.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391801479","1391801341","1391801445","1391801418","1391801378","1391801318"],"photo_ids_order":["1391801318","1391801341","1391801378","1391801418","1391801445","1391801479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/15bfc12bbe2ae7877b4da18f9dd637a0.jpg","text":"TemporaryFile(/tmp/multipartBody2342046533528778939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067023144,"filename":"image_30102025_10_01_20_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/2/712036bbeafc8e64658aa68fdae55ff0.jpg","text":"TemporaryFile(/tmp/multipartBody4837871128156137279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067023144,"filename":"image_30102025_10_01_08_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/2/06e4689074a7e335e7cb258a1dd00e54.jpg","text":"TemporaryFile(/tmp/multipartBody6617452950635123993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067023144,"filename":"image_30102025_10_01_17_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/2/8175759ddd16e388267e2e7f0e300624.jpg","text":"TemporaryFile(/tmp/multipartBody7076065918738500273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067023144,"filename":"image_30102025_10_01_14_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/2/493f9c30a8bda03dd29cf744d3115906.jpg","text":"TemporaryFile(/tmp/multipartBody6209191601982483761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067023144,"filename":"image_30102025_10_01_10_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/2/a348add53aaf9724d68a81d399c07a76.jpg","text":"TemporaryFile(/tmp/multipartBody5624163181040595126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067023144,"filename":"image_30102025_10_01_05_2823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391801378","file1":"1391801341","file0":"1391801318","file4":"1391801445","file5":"1391801479","file3":"1391801418"},"map_files_photo_id_array":[{"photo_id":"1391801479","filename":"file5"},{"photo_id":"1391801378","filename":"file2"},{"photo_id":"1391801445","filename":"file4"},{"photo_id":"1391801341","filename":"file1"},{"photo_id":"1391801318","filename":"file0"},{"photo_id":"1391801418","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391801479":["hashtag1","hashtag2"]},{"1391801341":["hashtag1","hashtag2"]},{"1391801445":["hashtag1","hashtag2"]},{"1391801418":["hashtag1","hashtag2"]},{"1391801378":["hashtag1","hashtag2"]},{"1391801318":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391801479, 1391801341, 1391801445, 1391801418, 1391801378, 1391801318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.656856298446655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:03:22.151026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_22_2670.jpg', '/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_26_3713.jpg', '/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_29_2692.jpg', '/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_31_2663.jpg', '/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_35_3687.jpg', '/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_38_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/10/01/image_30102025_10_01_22_2670.jpg
/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_26_3713.jpg
/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_29_2692.jpg
/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_31_2663.jpg
/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_35_3687.jpg
/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_38_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391802180","1391801868","1391801943","1391802104","1391801786","1391802017"],"photo_ids_order":["1391801786","1391801868","1391801943","1391802017","1391802104","1391802180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/582d43434059fc269316e42d067fe23f.jpg","text":"TemporaryFile(/tmp/multipartBody710357793992393101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067064843,"filename":"image_30102025_10_01_38_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/2/17034d0a129b6bb282d9011c254ccabb.jpg","text":"TemporaryFile(/tmp/multipartBody8959098002278522838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067064843,"filename":"image_30102025_10_01_26_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/2/63583922126c90acf1d3d386c01215c2.jpg","text":"TemporaryFile(/tmp/multipartBody3609389407193286122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067064843,"filename":"image_30102025_10_01_29_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/2/2f480c95c795d87236d7c0a032070243.jpg","text":"TemporaryFile(/tmp/multipartBody6494540723295892980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067064843,"filename":"image_30102025_10_01_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/2/215ec92fbee73938ccbec8e70f1c6672.jpg","text":"TemporaryFile(/tmp/multipartBody1828378471233857468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067064843,"filename":"image_30102025_10_01_22_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/2/1f2a1cbf5a1d2be3afd9d45dbe8b8d45.jpg","text":"TemporaryFile(/tmp/multipartBody3963248532597784809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067064843,"filename":"image_30102025_10_01_31_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391801943","file1":"1391801868","file0":"1391801786","file4":"1391802104","file5":"1391802180","file3":"1391802017"},"map_files_photo_id_array":[{"photo_id":"1391802180","filename":"file5"},{"photo_id":"1391801943","filename":"file2"},{"photo_id":"1391802104","filename":"file4"},{"photo_id":"1391801868","filename":"file1"},{"photo_id":"1391801786","filename":"file0"},{"photo_id":"1391802017","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391802180":["hashtag1","hashtag2"]},{"1391801868":["hashtag1","hashtag2"]},{"1391801943":["hashtag1","hashtag2"]},{"1391802104":["hashtag1","hashtag2"]},{"1391801786":["hashtag1","hashtag2"]},{"1391802017":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391802180, 1391801868, 1391801943, 1391802104, 1391801786, 1391802017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69771075248718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 08:04:02.843391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_40_2671.jpg', '/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_44_3609.jpg', '/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_47_2715.jpg', '/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_50_2874.jpg', '/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_52_2847.jpg', '/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_55_2811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_40_2671.jpg
/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_44_3609.jpg
/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_47_2715.jpg
/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_50_2874.jpg
/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_52_2847.jpg
/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_55_2811.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391802375","1391802369","1391802383","1391802371","1391802380","1391802373"],"photo_ids_order":["1391802369","1391802371","1391802373","1391802375","1391802380","1391802383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7b014077371fb9c67bfe472488a93aff.jpg","text":"TemporaryFile(/tmp/multipartBody7204850232922558767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067105784,"filename":"image_30102025_10_01_50_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/2/d063e7eb86f9067bed073208478c21c0.jpg","text":"TemporaryFile(/tmp/multipartBody6686063536512856627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067105784,"filename":"image_30102025_10_01_40_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/2/e14c1df7f4e9b93b7525de528b5a0afc.jpg","text":"TemporaryFile(/tmp/multipartBody638797665845909039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067105784,"filename":"image_30102025_10_01_55_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/2/cf8ab2a3351b3e08c21cb8a135eff594.jpg","text":"TemporaryFile(/tmp/multipartBody5371274511992525943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067105784,"filename":"image_30102025_10_01_44_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/2/de200d647b507b3c3f2128c58c3ea7d7.jpg","text":"TemporaryFile(/tmp/multipartBody6763605621869798016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067105784,"filename":"image_30102025_10_01_52_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/2/c15233c5487f9099b29115571d5d136c.jpg","text":"TemporaryFile(/tmp/multipartBody7075211645287729351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067105784,"filename":"image_30102025_10_01_47_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391802373","file1":"1391802371","file0":"1391802369","file4":"1391802380","file5":"1391802383","file3":"1391802375"},"map_files_photo_id_array":[{"photo_id":"1391802383","filename":"file5"},{"photo_id":"1391802373","filename":"file2"},{"photo_id":"1391802380","filename":"file4"},{"photo_id":"1391802371","filename":"file1"},{"photo_id":"1391802369","filename":"file0"},{"photo_id":"1391802375","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391802375":["hashtag1","hashtag2"]},{"1391802369":["hashtag1","hashtag2"]},{"1391802383":["hashtag1","hashtag2"]},{"1391802371":["hashtag1","hashtag2"]},{"1391802380":["hashtag1","hashtag2"]},{"1391802373":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391802375, 1391802369, 1391802383, 1391802371, 1391802380, 1391802373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27962064743042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 08:04:42.132354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/01/image_30102025_10_01_58_2949.jpg', '/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_02_3599.jpg', '/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_04_2718.jpg', '/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_07_2709.jpg', '/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_11_3624.jpg', '/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_13_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/10/01/image_30102025_10_01_58_2949.jpg
/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_02_3599.jpg
/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_04_2718.jpg
/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_07_2709.jpg
/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_11_3624.jpg
/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_13_2634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391802838","1391802907","1391802618","1391802770","1391802673","1391802559"],"photo_ids_order":["1391802559","1391802618","1391802673","1391802770","1391802838","1391802907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b0de5a4f885a8323bc86ead355b68e2a.jpg","text":"TemporaryFile(/tmp/multipartBody8012294238989800067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067143268,"filename":"image_30102025_10_02_11_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/2/162e79906cc18c819f33f954e9c8f3e6.jpg","text":"TemporaryFile(/tmp/multipartBody3326129579925427024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067143268,"filename":"image_30102025_10_02_13_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/2/b469d9807f74de9b5bf6c7a2fa6a5a2a.jpg","text":"TemporaryFile(/tmp/multipartBody8348869557310923736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067143268,"filename":"image_30102025_10_02_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/2/c298720b792110d2d363386d95b24bd3.jpg","text":"TemporaryFile(/tmp/multipartBody2395069598508904013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067143268,"filename":"image_30102025_10_02_07_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/2/2122865978abbf012a5a00e0c2fb9c0a.jpg","text":"TemporaryFile(/tmp/multipartBody580159500853430585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067143268,"filename":"image_30102025_10_02_04_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/2/54e1b23a994a681946eba3f5a4527ba8.jpg","text":"TemporaryFile(/tmp/multipartBody9098212871988880079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067143268,"filename":"image_30102025_10_01_58_2949.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391802673","file1":"1391802618","file0":"1391802559","file4":"1391802838","file5":"1391802907","file3":"1391802770"},"map_files_photo_id_array":[{"photo_id":"1391802907","filename":"file5"},{"photo_id":"1391802673","filename":"file2"},{"photo_id":"1391802838","filename":"file4"},{"photo_id":"1391802618","filename":"file1"},{"photo_id":"1391802559","filename":"file0"},{"photo_id":"1391802770","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391802838":["hashtag1","hashtag2"]},{"1391802907":["hashtag1","hashtag2"]},{"1391802618":["hashtag1","hashtag2"]},{"1391802770":["hashtag1","hashtag2"]},{"1391802673":["hashtag1","hashtag2"]},{"1391802559":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391802838, 1391802907, 1391802618, 1391802770, 1391802673, 1391802559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.777661085128784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:05:22.301329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_16_2693.jpg', '/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_20_3687.jpg', '/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_22_2644.jpg', '/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_25_2760.jpg', '/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_29_3837.jpg', '/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_35_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/10/02/image_30102025_10_02_16_2693.jpg
/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_20_3687.jpg
/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_22_2644.jpg
/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_25_2760.jpg
/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_29_3837.jpg
/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_35_2763.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391803182","1391803302","1391803262","1391803349","1391803136","1391803223"],"photo_ids_order":["1391803136","1391803182","1391803223","1391803262","1391803302","1391803349"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7f5387a906766f7cea02f8823dd2ef24.jpg","text":"TemporaryFile(/tmp/multipartBody686095328170400870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067185016,"filename":"image_30102025_10_02_20_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/2/210c56f9ec79b3ef396615ba86c0189d.jpg","text":"TemporaryFile(/tmp/multipartBody3474246684735789915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067185016,"filename":"image_30102025_10_02_29_3837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f32dac024a0267db778c376557ef49fc.jpg","text":"TemporaryFile(/tmp/multipartBody1375240002507697243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067185016,"filename":"image_30102025_10_02_25_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/2/13d9b456149150a0f68904523971cd4d.jpg","text":"TemporaryFile(/tmp/multipartBody8596229022307916422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067185016,"filename":"image_30102025_10_02_35_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/2/57673526eecdd47b10bec52528705eff.jpg","text":"TemporaryFile(/tmp/multipartBody4474925177837006241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067185016,"filename":"image_30102025_10_02_16_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/2/9c2571afff7987e136517a889963d211.jpg","text":"TemporaryFile(/tmp/multipartBody2726260869936720130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067185016,"filename":"image_30102025_10_02_22_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391803223","file1":"1391803182","file0":"1391803136","file4":"1391803302","file5":"1391803349","file3":"1391803262"},"map_files_photo_id_array":[{"photo_id":"1391803349","filename":"file5"},{"photo_id":"1391803223","filename":"file2"},{"photo_id":"1391803302","filename":"file4"},{"photo_id":"1391803182","filename":"file1"},{"photo_id":"1391803136","filename":"file0"},{"photo_id":"1391803262","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391803182":["hashtag1","hashtag2"]},{"1391803302":["hashtag1","hashtag2"]},{"1391803262":["hashtag1","hashtag2"]},{"1391803349":["hashtag1","hashtag2"]},{"1391803136":["hashtag1","hashtag2"]},{"1391803223":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391803182, 1391803302, 1391803262, 1391803349, 1391803136, 1391803223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.760761737823486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 08:06:02.871924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_37_2796.jpg', '/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_41_3640.jpg', '/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_46_2683.jpg', '/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_53_3725.jpg', '/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_56_2875.jpg', '/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_58_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/10/02/image_30102025_10_02_37_2796.jpg
/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_41_3640.jpg
/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_46_2683.jpg
/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_53_3725.jpg
/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_56_2875.jpg
/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_58_2745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391803677","1391803600","1391803638","1391803718","1391803561","1391803522"],"photo_ids_order":["1391803522","1391803561","1391803600","1391803638","1391803677","1391803718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/051067401c5ddee3ce3709f1734c34d2.jpg","text":"TemporaryFile(/tmp/multipartBody2157833387271684310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067227278,"filename":"image_30102025_10_02_56_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/2/f01f5240185f3c3075213ccca0f27e00.jpg","text":"TemporaryFile(/tmp/multipartBody4701583666925993481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067227278,"filename":"image_30102025_10_02_46_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/2/76fd9fb9e1bc6107cb4eaa406d0f022a.jpg","text":"TemporaryFile(/tmp/multipartBody6927930750100318683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067227278,"filename":"image_30102025_10_02_53_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/2/83f351105ea2e96ec25496c3b5e6380d.jpg","text":"TemporaryFile(/tmp/multipartBody516389074418738887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067227278,"filename":"image_30102025_10_02_58_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/2/68e4a7c94c5aca917dea03d12421427e.jpg","text":"TemporaryFile(/tmp/multipartBody4958882978847847461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067227278,"filename":"image_30102025_10_02_41_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/2/eb28ee98109505e94dd4172586f1b5e6.jpg","text":"TemporaryFile(/tmp/multipartBody8836565838503149443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067227278,"filename":"image_30102025_10_02_37_2796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391803600","file1":"1391803561","file0":"1391803522","file4":"1391803677","file5":"1391803718","file3":"1391803638"},"map_files_photo_id_array":[{"photo_id":"1391803718","filename":"file5"},{"photo_id":"1391803600","filename":"file2"},{"photo_id":"1391803677","filename":"file4"},{"photo_id":"1391803561","filename":"file1"},{"photo_id":"1391803522","filename":"file0"},{"photo_id":"1391803638","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391803677":["hashtag1","hashtag2"]},{"1391803600":["hashtag1","hashtag2"]},{"1391803638":["hashtag1","hashtag2"]},{"1391803718":["hashtag1","hashtag2"]},{"1391803561":["hashtag1","hashtag2"]},{"1391803522":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391803677, 1391803600, 1391803638, 1391803718, 1391803561, 1391803522)","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 = 1391803600 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/10/02/image_30102025_10_02_46_2683.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 63.29573202133179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:07:22.079195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_01_2749.jpg', '/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_05_3676.jpg', '/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_08_2729.jpg', '/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_10_2759.jpg', '/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_14_3624.jpg', '/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_17_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/10/03/image_30102025_10_03_01_2749.jpg
/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_05_3676.jpg
/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_08_2729.jpg
/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_10_2759.jpg
/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_14_3624.jpg
/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_17_2801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391803842","1391803845","1391803839","1391803859","1391803850","1391803855"],"photo_ids_order":["1391803839","1391803842","1391803845","1391803850","1391803855","1391803859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c8bc32e995855e500f1e3a382f3ac02d.jpg","text":"TemporaryFile(/tmp/multipartBody6190413232713913178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067305213,"filename":"image_30102025_10_03_05_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/2/a9a7bf8ee7d751691aedcdbcfea2d45f.jpg","text":"TemporaryFile(/tmp/multipartBody8809857997595592268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067305213,"filename":"image_30102025_10_03_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/2/caf23ceb136b4d0c5b3aae7e23bdb86f.jpg","text":"TemporaryFile(/tmp/multipartBody5988137174372487801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067305213,"filename":"image_30102025_10_03_01_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/2/cf3561ac0fbe9914421c67b42b84b4a7.jpg","text":"TemporaryFile(/tmp/multipartBody7171466513231852995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067305213,"filename":"image_30102025_10_03_17_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/2/9d0886a05ddcf894c4b2af767ed9e1e6.jpg","text":"TemporaryFile(/tmp/multipartBody7166766287190053735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067305213,"filename":"image_30102025_10_03_10_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/2/3be19d7d811ce7e1a77aece4c29b526f.jpg","text":"TemporaryFile(/tmp/multipartBody8810743071895606906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067305213,"filename":"image_30102025_10_03_14_3624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391803845","file1":"1391803842","file0":"1391803839","file4":"1391803855","file5":"1391803859","file3":"1391803850"},"map_files_photo_id_array":[{"photo_id":"1391803859","filename":"file5"},{"photo_id":"1391803845","filename":"file2"},{"photo_id":"1391803855","filename":"file4"},{"photo_id":"1391803842","filename":"file1"},{"photo_id":"1391803839","filename":"file0"},{"photo_id":"1391803850","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391803842":["hashtag1","hashtag2"]},{"1391803845":["hashtag1","hashtag2"]},{"1391803839":["hashtag1","hashtag2"]},{"1391803859":["hashtag1","hashtag2"]},{"1391803850":["hashtag1","hashtag2"]},{"1391803855":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391803842, 1391803845, 1391803839, 1391803859, 1391803850, 1391803855)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.593090295791626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:08:26.371487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_19_2682.jpg', '/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_22_2744.jpg', '/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_26_3661.jpg', '/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_29_2787.jpg', '/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_31_2549.jpg', '/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_38_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/10/03/image_30102025_10_03_19_2682.jpg
/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_22_2744.jpg
/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_26_3661.jpg
/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_29_2787.jpg
/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_31_2549.jpg
/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_38_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":["1391804256","1391804177","1391804240","1391804251","1391804218","1391804280"],"photo_ids_order":["1391804177","1391804218","1391804240","1391804251","1391804256","1391804280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2e0dd47275104cde0dc46c8434927e9c.jpg","text":"TemporaryFile(/tmp/multipartBody4050619815099874078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067371608,"filename":"image_30102025_10_03_31_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/2/9c35f566f879da753b5b80b02133b5d6.jpg","text":"TemporaryFile(/tmp/multipartBody9078408631126482476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067371608,"filename":"image_30102025_10_03_19_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/2/68e21e26ee202d83346372a0055e78ec.jpg","text":"TemporaryFile(/tmp/multipartBody4780325033514479875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067371608,"filename":"image_30102025_10_03_26_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/2/017b306e2ffc9a3d5be80e1f30fb83a8.jpg","text":"TemporaryFile(/tmp/multipartBody5187429811926883417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067371608,"filename":"image_30102025_10_03_29_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/2/2e00b099453e83187332894c097eee4b.jpg","text":"TemporaryFile(/tmp/multipartBody70863954774218009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067371608,"filename":"image_30102025_10_03_22_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/2/450978fb1080cb80e99d27b316e7d6ca.jpg","text":"TemporaryFile(/tmp/multipartBody8651865030447449016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067371608,"filename":"image_30102025_10_03_38_2728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391804240","file1":"1391804218","file0":"1391804177","file4":"1391804256","file5":"1391804280","file3":"1391804251"},"map_files_photo_id_array":[{"photo_id":"1391804280","filename":"file5"},{"photo_id":"1391804240","filename":"file2"},{"photo_id":"1391804256","filename":"file4"},{"photo_id":"1391804218","filename":"file1"},{"photo_id":"1391804177","filename":"file0"},{"photo_id":"1391804251","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391804256":["hashtag1","hashtag2"]},{"1391804177":["hashtag1","hashtag2"]},{"1391804240":["hashtag1","hashtag2"]},{"1391804251":["hashtag1","hashtag2"]},{"1391804218":["hashtag1","hashtag2"]},{"1391804280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391804256, 1391804177, 1391804240, 1391804251, 1391804218, 1391804280)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 63.0036563873291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 08:09:42.586184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_40_2664.jpg', '/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_44_3573.jpg', '/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_47_2788.jpg', '/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_49_2522.jpg', '/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_52_2823.jpg', '/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_56_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/10/03/image_30102025_10_03_40_2664.jpg
/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_44_3573.jpg
/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_47_2788.jpg
/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_49_2522.jpg
/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_52_2823.jpg
/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_56_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":["1391804406","1391804411","1391804414","1391804402","1391804416","1391804419"],"photo_ids_order":["1391804402","1391804406","1391804411","1391804414","1391804416","1391804419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0ee6957770c0284f7742aa2089b45de6.jpg","text":"TemporaryFile(/tmp/multipartBody8485447237636500323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067444718,"filename":"image_30102025_10_03_44_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/2/e4c0bc75b6336ec16ffcb345e996af75.jpg","text":"TemporaryFile(/tmp/multipartBody5181561648285078242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067444718,"filename":"image_30102025_10_03_47_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/2/600814945d618ce505fbc86ae2392cc3.jpg","text":"TemporaryFile(/tmp/multipartBody2375658534777821246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067444718,"filename":"image_30102025_10_03_49_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/2/b85f4b5fb85e53dc22208b3e87a06fcb.jpg","text":"TemporaryFile(/tmp/multipartBody4843921877831305248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067444718,"filename":"image_30102025_10_03_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/2/9a8816dd88bd2eafadfeec8fb0321c7e.jpg","text":"TemporaryFile(/tmp/multipartBody7642404559254263253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067444718,"filename":"image_30102025_10_03_52_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/2/2363bb4e88442c0749038225b1b1bc34.jpg","text":"TemporaryFile(/tmp/multipartBody6780688322713635288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067444718,"filename":"image_30102025_10_03_56_3730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391804411","file1":"1391804406","file0":"1391804402","file4":"1391804416","file5":"1391804419","file3":"1391804414"},"map_files_photo_id_array":[{"photo_id":"1391804419","filename":"file5"},{"photo_id":"1391804411","filename":"file2"},{"photo_id":"1391804416","filename":"file4"},{"photo_id":"1391804406","filename":"file1"},{"photo_id":"1391804402","filename":"file0"},{"photo_id":"1391804414","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391804406":["hashtag1","hashtag2"]},{"1391804411":["hashtag1","hashtag2"]},{"1391804414":["hashtag1","hashtag2"]},{"1391804402":["hashtag1","hashtag2"]},{"1391804416":["hashtag1","hashtag2"]},{"1391804419":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391804406, 1391804411, 1391804414, 1391804402, 1391804416, 1391804419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37345600128174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 08:10:41.886506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_58_2664.jpg', '/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_01_2703.jpg', '/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_05_3624.jpg', '/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_10_2786.jpg', '/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_13_2928.jpg', '/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_16_2859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_58_2664.jpg
/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_01_2703.jpg
/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_05_3624.jpg
/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_10_2786.jpg
/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_13_2928.jpg
/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_16_2859.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.0455644130706787 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 08:11:02.703922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_58_2664.jpg', '/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_01_2703.jpg', '/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_05_3624.jpg', '/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_10_2786.jpg', '/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_13_2928.jpg', '/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_16_2859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/03/image_30102025_10_03_58_2664.jpg
/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_01_2703.jpg
/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_05_3624.jpg
/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_10_2786.jpg
/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_13_2928.jpg
/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_16_2859.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391804465","1391804468","1391804462","1391804456","1391804459","1391804452"],"photo_ids_order":["1391804452","1391804456","1391804459","1391804462","1391804465","1391804468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4b720819d3532a44824720e198f8b88c.jpg","text":"TemporaryFile(/tmp/multipartBody3735508997224286710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067524832,"filename":"image_30102025_10_04_13_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/2/3a89282c94c4764b424910c3bc9f4f04.jpg","text":"TemporaryFile(/tmp/multipartBody1989712575698281981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067524832,"filename":"image_30102025_10_04_16_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/2/046b70f4267bb0bb4cb15f9f41feca65.jpg","text":"TemporaryFile(/tmp/multipartBody1024393832460160902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067524832,"filename":"image_30102025_10_04_10_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/2/5b87e752f2f6b3695e1731cdfed46557.jpg","text":"TemporaryFile(/tmp/multipartBody3776163218514839104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067524832,"filename":"image_30102025_10_04_01_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/2/b6235722a9a111547ef371fb81016c92.jpg","text":"TemporaryFile(/tmp/multipartBody4401742388714636230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067524832,"filename":"image_30102025_10_04_05_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/2/25cfc7c02566b75592d906d84f8e8db5.jpg","text":"TemporaryFile(/tmp/multipartBody8284755693624320393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067524832,"filename":"image_30102025_10_03_58_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391804459","file1":"1391804456","file0":"1391804452","file4":"1391804465","file5":"1391804468","file3":"1391804462"},"map_files_photo_id_array":[{"photo_id":"1391804468","filename":"file5"},{"photo_id":"1391804459","filename":"file2"},{"photo_id":"1391804465","filename":"file4"},{"photo_id":"1391804456","filename":"file1"},{"photo_id":"1391804452","filename":"file0"},{"photo_id":"1391804462","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391804465":["hashtag1","hashtag2"]},{"1391804468":["hashtag1","hashtag2"]},{"1391804462":["hashtag1","hashtag2"]},{"1391804456":["hashtag1","hashtag2"]},{"1391804459":["hashtag1","hashtag2"]},{"1391804452":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391804465, 1391804468, 1391804462, 1391804456, 1391804459, 1391804452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.174888610839844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 08:11:41.981625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_20_3618.jpg', '/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_22_2753.jpg', '/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_25_2829.jpg', '/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_28_2607.jpg', '/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_32_3706.jpg', '/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_34_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/10/04/image_30102025_10_04_20_3618.jpg
/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_22_2753.jpg
/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_25_2829.jpg
/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_28_2607.jpg
/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_32_3706.jpg
/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_34_2769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391804477","1391804482","1391804473","1391804487","1391804496","1391804490"],"photo_ids_order":["1391804473","1391804477","1391804482","1391804487","1391804490","1391804496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/96a2e0517ba597fafe201729c8e8c320.jpg","text":"TemporaryFile(/tmp/multipartBody2032446621742047174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067563001,"filename":"image_30102025_10_04_22_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/2/e49f954d1394029a4d55bac29c7eed07.jpg","text":"TemporaryFile(/tmp/multipartBody3821511288901488654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067563001,"filename":"image_30102025_10_04_25_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/2/4cfa02214be17242ce3e996869d21871.jpg","text":"TemporaryFile(/tmp/multipartBody5272810388191595882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067563001,"filename":"image_30102025_10_04_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/2/22af85b52368d7fc1acaed21981309d8.jpg","text":"TemporaryFile(/tmp/multipartBody3782968135147077764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067563001,"filename":"image_30102025_10_04_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/2/607e77360e0adebef6d43135f36177cd.jpg","text":"TemporaryFile(/tmp/multipartBody1685292226560288776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067563001,"filename":"image_30102025_10_04_34_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/2/5f8b5878ec89c939c7092e9c741cfed2.jpg","text":"TemporaryFile(/tmp/multipartBody7201368224787087298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067563001,"filename":"image_30102025_10_04_32_3706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391804482","file1":"1391804477","file0":"1391804473","file4":"1391804490","file5":"1391804496","file3":"1391804487"},"map_files_photo_id_array":[{"photo_id":"1391804496","filename":"file5"},{"photo_id":"1391804482","filename":"file2"},{"photo_id":"1391804490","filename":"file4"},{"photo_id":"1391804477","filename":"file1"},{"photo_id":"1391804473","filename":"file0"},{"photo_id":"1391804487","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391804477":["hashtag1","hashtag2"]},{"1391804482":["hashtag1","hashtag2"]},{"1391804473":["hashtag1","hashtag2"]},{"1391804487":["hashtag1","hashtag2"]},{"1391804496":["hashtag1","hashtag2"]},{"1391804490":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391804477, 1391804482, 1391804473, 1391804487, 1391804496, 1391804490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76357913017273 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:12:22.225200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_44_3751.jpg', '/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_46_2617.jpg', '/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_49_2637.jpg', '/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_53_3627.jpg', '/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_55_2892.jpg', '/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_58_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/10/04/image_30102025_10_04_44_3751.jpg
/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_46_2617.jpg
/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_49_2637.jpg
/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_53_3627.jpg
/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_55_2892.jpg
/home/pi/Desktop/images/30102025/10/04/image_30102025_10_04_58_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391804505","1391804525","1391804519","1391804513","1391804507","1391804509"],"photo_ids_order":["1391804505","1391804507","1391804509","1391804513","1391804519","1391804525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d84eb223236d7224c11cfd45bdaa932e.jpg","text":"TemporaryFile(/tmp/multipartBody7106238940317352639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067604946,"filename":"image_30102025_10_04_44_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/2/063ca5955ce896bbaa93e2205962f414.jpg","text":"TemporaryFile(/tmp/multipartBody1228273443705448957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067604946,"filename":"image_30102025_10_04_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/2/6ff02be1611d8bfcb395f77e79314288.jpg","text":"TemporaryFile(/tmp/multipartBody7873585403440154759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067604946,"filename":"image_30102025_10_04_55_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/2/7508bec0c8f4c8564d084596221d6220.jpg","text":"TemporaryFile(/tmp/multipartBody2794890936094607393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067604946,"filename":"image_30102025_10_04_53_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/2/a8aa5aae1b7b2c225343571fe94e5cd5.jpg","text":"TemporaryFile(/tmp/multipartBody9091492208617873462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067604946,"filename":"image_30102025_10_04_46_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/2/16e967f9f93218696236b4192a3e82c2.jpg","text":"TemporaryFile(/tmp/multipartBody8509026173285595670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067604946,"filename":"image_30102025_10_04_49_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391804509","file1":"1391804507","file0":"1391804505","file4":"1391804519","file5":"1391804525","file3":"1391804513"},"map_files_photo_id_array":[{"photo_id":"1391804525","filename":"file5"},{"photo_id":"1391804509","filename":"file2"},{"photo_id":"1391804519","filename":"file4"},{"photo_id":"1391804507","filename":"file1"},{"photo_id":"1391804505","filename":"file0"},{"photo_id":"1391804513","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391804505":["hashtag1","hashtag2"]},{"1391804525":["hashtag1","hashtag2"]},{"1391804519":["hashtag1","hashtag2"]},{"1391804513":["hashtag1","hashtag2"]},{"1391804507":["hashtag1","hashtag2"]},{"1391804509":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391804505, 1391804525, 1391804519, 1391804513, 1391804507, 1391804509)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.24909496307373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:13:22.390339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_07_3015.jpg', '/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_11_3716.jpg', '/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_14_2679.jpg', '/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_17_2700.jpg', '/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_20_3652.jpg', '/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_23_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_07_3015.jpg
/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_11_3716.jpg
/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_14_2679.jpg
/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_17_2700.jpg
/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_20_3652.jpg
/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_23_2588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391804552","1391804540","1391804537","1391804545","1391804548","1391804542"],"photo_ids_order":["1391804537","1391804540","1391804542","1391804545","1391804548","1391804552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9726d861fc91a06d3330df277c71fa72.jpg","text":"TemporaryFile(/tmp/multipartBody5085162215604109775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067664766,"filename":"image_30102025_10_05_23_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/2/50c2b53afb494edbf536f8dad5beeb80.jpg","text":"TemporaryFile(/tmp/multipartBody1039922452610641440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067664766,"filename":"image_30102025_10_05_11_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/2/8f70ed26f58c36bed45d67a3c7eb4d9b.jpg","text":"TemporaryFile(/tmp/multipartBody4069278099885298005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067664766,"filename":"image_30102025_10_05_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/2/5569d23f22e69414840f04c951828402.jpg","text":"TemporaryFile(/tmp/multipartBody3094638639222664115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067664766,"filename":"image_30102025_10_05_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/2/56cf5aa6869e6f15348631594b4dd41d.jpg","text":"TemporaryFile(/tmp/multipartBody3775299214588620344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067664766,"filename":"image_30102025_10_05_20_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/2/ec90f42c64e64bca32a1819599dcc4b8.jpg","text":"TemporaryFile(/tmp/multipartBody1867815258427612357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067664766,"filename":"image_30102025_10_05_14_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391804542","file1":"1391804540","file0":"1391804537","file4":"1391804548","file5":"1391804552","file3":"1391804545"},"map_files_photo_id_array":[{"photo_id":"1391804552","filename":"file5"},{"photo_id":"1391804542","filename":"file2"},{"photo_id":"1391804548","filename":"file4"},{"photo_id":"1391804540","filename":"file1"},{"photo_id":"1391804537","filename":"file0"},{"photo_id":"1391804545","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391804552":["hashtag1","hashtag2"]},{"1391804540":["hashtag1","hashtag2"]},{"1391804537":["hashtag1","hashtag2"]},{"1391804545":["hashtag1","hashtag2"]},{"1391804548":["hashtag1","hashtag2"]},{"1391804542":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391804552, 1391804540, 1391804537, 1391804545, 1391804548, 1391804542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15398049354553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 08:14:03.283885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_26_2777.jpg', '/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_29_3593.jpg', '/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_32_2650.jpg', '/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_35_2718.jpg', '/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_38_3580.jpg', '/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_41_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/10/05/image_30102025_10_05_26_2777.jpg
/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_29_3593.jpg
/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_32_2650.jpg
/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_35_2718.jpg
/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_38_3580.jpg
/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_41_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391804567","1391804569","1391804574","1391804562","1391804571","1391804565"],"photo_ids_order":["1391804562","1391804565","1391804567","1391804569","1391804571","1391804574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/935b7ce4a10bbdfccfe9e1bfc9bc95a1.jpg","text":"TemporaryFile(/tmp/multipartBody2491732683325097474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067705466,"filename":"image_30102025_10_05_32_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/2/44278fdf47c9ea3eee2e059ae4810534.jpg","text":"TemporaryFile(/tmp/multipartBody4919528877291269255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067705466,"filename":"image_30102025_10_05_35_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/2/b4fc56ce56dee2426f66bea7b17dd178.jpg","text":"TemporaryFile(/tmp/multipartBody9212474981070774133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067705466,"filename":"image_30102025_10_05_41_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/2/a23ad55a636d1ea6b9a8a767b122f682.jpg","text":"TemporaryFile(/tmp/multipartBody5226239105643212971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067705466,"filename":"image_30102025_10_05_26_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/2/b53e35b10789a95b8508323742eff8fe.jpg","text":"TemporaryFile(/tmp/multipartBody8896784974153693237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067705466,"filename":"image_30102025_10_05_38_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/2/0197548b8cd84bb64c2dc9f49b51207f.jpg","text":"TemporaryFile(/tmp/multipartBody624645422601482674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067705466,"filename":"image_30102025_10_05_29_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391804567","file1":"1391804565","file0":"1391804562","file4":"1391804571","file5":"1391804574","file3":"1391804569"},"map_files_photo_id_array":[{"photo_id":"1391804574","filename":"file5"},{"photo_id":"1391804567","filename":"file2"},{"photo_id":"1391804571","filename":"file4"},{"photo_id":"1391804565","filename":"file1"},{"photo_id":"1391804562","filename":"file0"},{"photo_id":"1391804569","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391804567":["hashtag1","hashtag2"]},{"1391804569":["hashtag1","hashtag2"]},{"1391804574":["hashtag1","hashtag2"]},{"1391804562":["hashtag1","hashtag2"]},{"1391804571":["hashtag1","hashtag2"]},{"1391804565":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391804567, 1391804569, 1391804574, 1391804562, 1391804571, 1391804565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54949879646301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 08:14:42.599065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_43_2636.jpg', '/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_47_3651.jpg', '/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_50_2703.jpg', '/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_53_2676.jpg', '/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_59_2771.jpg', '/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_02_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/10/05/image_30102025_10_05_43_2636.jpg
/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_47_3651.jpg
/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_50_2703.jpg
/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_53_2676.jpg
/home/pi/Desktop/images/30102025/10/05/image_30102025_10_05_59_2771.jpg
/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_02_2584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391804597","1391804591","1391804600","1391804584","1391804587","1391804595"],"photo_ids_order":["1391804584","1391804587","1391804591","1391804595","1391804597","1391804600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0317c4399a15d14163e0f4f5dc7b9eed.jpg","text":"TemporaryFile(/tmp/multipartBody7929362506575780105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067743730,"filename":"image_30102025_10_05_59_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/2/0e4039c4b3888381dbba18f950560422.jpg","text":"TemporaryFile(/tmp/multipartBody1345404274367606116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067743730,"filename":"image_30102025_10_05_50_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/2/8b03ba6028d4278ea35ee8face8a4bb9.jpg","text":"TemporaryFile(/tmp/multipartBody1067218673283692685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067743730,"filename":"image_30102025_10_06_02_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/2/c6beb8823199e4a890bf6618404098cf.jpg","text":"TemporaryFile(/tmp/multipartBody4503059578200449372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067743730,"filename":"image_30102025_10_05_43_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/2/c17225de91614be7bfa71cf17a2db169.jpg","text":"TemporaryFile(/tmp/multipartBody8328355556296119755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067743730,"filename":"image_30102025_10_05_47_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/2/99128054e807de463da8ad1c6a177581.jpg","text":"TemporaryFile(/tmp/multipartBody6322164054532905387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067743730,"filename":"image_30102025_10_05_53_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391804591","file1":"1391804587","file0":"1391804584","file4":"1391804597","file5":"1391804600","file3":"1391804595"},"map_files_photo_id_array":[{"photo_id":"1391804600","filename":"file5"},{"photo_id":"1391804591","filename":"file2"},{"photo_id":"1391804597","filename":"file4"},{"photo_id":"1391804587","filename":"file1"},{"photo_id":"1391804584","filename":"file0"},{"photo_id":"1391804595","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391804597":["hashtag1","hashtag2"]},{"1391804591":["hashtag1","hashtag2"]},{"1391804600":["hashtag1","hashtag2"]},{"1391804584":["hashtag1","hashtag2"]},{"1391804587":["hashtag1","hashtag2"]},{"1391804595":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391804597, 1391804591, 1391804600, 1391804584, 1391804587, 1391804595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6431725025177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:15:22.824225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_08_2862.jpg', '/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_11_2801.jpg', '/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_14_2692.jpg', '/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_17_3731.jpg', '/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_20_2582.jpg', '/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_23_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/10/06/image_30102025_10_06_08_2862.jpg
/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_11_2801.jpg
/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_14_2692.jpg
/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_17_3731.jpg
/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_20_2582.jpg
/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_23_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":["1391804615","1391804609","1391804630","1391804632","1391804626","1391804620"],"photo_ids_order":["1391804609","1391804615","1391804620","1391804626","1391804630","1391804632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/339c470812b07e77226ee3e30a692e87.jpg","text":"TemporaryFile(/tmp/multipartBody3619326854245151773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067798844,"filename":"image_30102025_10_06_11_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/2/2c64e40cf76f9eb70177ed47740862bd.jpg","text":"TemporaryFile(/tmp/multipartBody7001975881574663616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067798844,"filename":"image_30102025_10_06_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/2/4c743b10738af4dd810dc027179de80c.jpg","text":"TemporaryFile(/tmp/multipartBody5431978769196157147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067798844,"filename":"image_30102025_10_06_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/2/20cd7e012c99a342df829912a0f21754.jpg","text":"TemporaryFile(/tmp/multipartBody4219476276991087709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067798844,"filename":"image_30102025_10_06_23_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/2/fe50a62553461aa025f5df767adf5ca4.jpg","text":"TemporaryFile(/tmp/multipartBody609075561366313614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067798844,"filename":"image_30102025_10_06_17_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/2/9fc1221ee88c8aa03cc6fa1b835a2433.jpg","text":"TemporaryFile(/tmp/multipartBody5609427360353431832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067798844,"filename":"image_30102025_10_06_14_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391804620","file1":"1391804615","file0":"1391804609","file4":"1391804630","file5":"1391804632","file3":"1391804626"},"map_files_photo_id_array":[{"photo_id":"1391804632","filename":"file5"},{"photo_id":"1391804620","filename":"file2"},{"photo_id":"1391804630","filename":"file4"},{"photo_id":"1391804615","filename":"file1"},{"photo_id":"1391804609","filename":"file0"},{"photo_id":"1391804626","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391804615":["hashtag1","hashtag2"]},{"1391804609":["hashtag1","hashtag2"]},{"1391804630":["hashtag1","hashtag2"]},{"1391804632":["hashtag1","hashtag2"]},{"1391804626":["hashtag1","hashtag2"]},{"1391804620":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391804615, 1391804609, 1391804630, 1391804632, 1391804626, 1391804620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.881834983825684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:16:22.065105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_26_3716.jpg', '/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_29_2570.jpg', '/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_31_2629.jpg', '/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_35_3636.jpg', '/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_38_2617.jpg', '/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_40_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/10/06/image_30102025_10_06_26_3716.jpg
/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_29_2570.jpg
/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_31_2629.jpg
/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_35_3636.jpg
/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_38_2617.jpg
/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_40_2608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391804645","1391804657","1391804642","1391804639","1391804653","1391804649"],"photo_ids_order":["1391804639","1391804642","1391804645","1391804649","1391804653","1391804657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3dd9e8798a7e935dea786960f2ea615b.jpg","text":"TemporaryFile(/tmp/multipartBody5718924540139155818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067844757,"filename":"image_30102025_10_06_31_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/2/e09f243fac6134561853fd9f65c637a6.jpg","text":"TemporaryFile(/tmp/multipartBody2660020519053084734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067844757,"filename":"image_30102025_10_06_40_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/2/66efbf9129256e6352e3b85db1a8eed0.jpg","text":"TemporaryFile(/tmp/multipartBody7607230600662560854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067844757,"filename":"image_30102025_10_06_29_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/2/ef992a0de50c15e3159a37d2e0b9165a.jpg","text":"TemporaryFile(/tmp/multipartBody5077412405853312008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067844757,"filename":"image_30102025_10_06_26_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/2/9c6035155c8a14914835d27d35fac2d4.jpg","text":"TemporaryFile(/tmp/multipartBody2884078874630233104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067844757,"filename":"image_30102025_10_06_38_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/2/144c3f023848fb640d29ee060f6a4262.jpg","text":"TemporaryFile(/tmp/multipartBody3261996228321760714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067844757,"filename":"image_30102025_10_06_35_3636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391804645","file1":"1391804642","file0":"1391804639","file4":"1391804653","file5":"1391804657","file3":"1391804649"},"map_files_photo_id_array":[{"photo_id":"1391804657","filename":"file5"},{"photo_id":"1391804645","filename":"file2"},{"photo_id":"1391804653","filename":"file4"},{"photo_id":"1391804642","filename":"file1"},{"photo_id":"1391804639","filename":"file0"},{"photo_id":"1391804649","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391804645":["hashtag1","hashtag2"]},{"1391804657":["hashtag1","hashtag2"]},{"1391804642":["hashtag1","hashtag2"]},{"1391804639":["hashtag1","hashtag2"]},{"1391804653":["hashtag1","hashtag2"]},{"1391804649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391804645, 1391804657, 1391804642, 1391804639, 1391804653, 1391804649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08619737625122 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 08:17:02.910834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_44_3715.jpg', '/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_47_2820.jpg', '/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_49_2544.jpg', '/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_53_3666.jpg', '/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_56_2729.jpg', '/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_59_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/10/06/image_30102025_10_06_44_3715.jpg
/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_47_2820.jpg
/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_49_2544.jpg
/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_53_3666.jpg
/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_56_2729.jpg
/home/pi/Desktop/images/30102025/10/06/image_30102025_10_06_59_2693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391804663","1391804680","1391804677","1391804671","1391804668","1391804673"],"photo_ids_order":["1391804663","1391804668","1391804671","1391804673","1391804677","1391804680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c66bec08d30923a2c3b82319ca206fee.jpg","text":"TemporaryFile(/tmp/multipartBody7208611933549865878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067885085,"filename":"image_30102025_10_06_44_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/2/0084c0495db7ec893b5d55c67ff6bf45.jpg","text":"TemporaryFile(/tmp/multipartBody3493589742165419222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067885085,"filename":"image_30102025_10_06_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/2/a0920f90370594f17ebe2752ae206c9c.jpg","text":"TemporaryFile(/tmp/multipartBody3861938698599537587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067885085,"filename":"image_30102025_10_06_56_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/2/f02c00acb7d8979a519cee9dc537ca32.jpg","text":"TemporaryFile(/tmp/multipartBody3165832842563404163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067885085,"filename":"image_30102025_10_06_49_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/2/572a9093043474ba51efc043d5d17d1e.jpg","text":"TemporaryFile(/tmp/multipartBody1791546267896373339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067885085,"filename":"image_30102025_10_06_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/2/0907f9a240125a2eeeca3e7d9cdc1427.jpg","text":"TemporaryFile(/tmp/multipartBody4019764834155585493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067885085,"filename":"image_30102025_10_06_53_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391804671","file1":"1391804668","file0":"1391804663","file4":"1391804677","file5":"1391804680","file3":"1391804673"},"map_files_photo_id_array":[{"photo_id":"1391804680","filename":"file5"},{"photo_id":"1391804671","filename":"file2"},{"photo_id":"1391804677","filename":"file4"},{"photo_id":"1391804668","filename":"file1"},{"photo_id":"1391804663","filename":"file0"},{"photo_id":"1391804673","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391804663":["hashtag1","hashtag2"]},{"1391804680":["hashtag1","hashtag2"]},{"1391804677":["hashtag1","hashtag2"]},{"1391804671":["hashtag1","hashtag2"]},{"1391804668":["hashtag1","hashtag2"]},{"1391804673":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391804663, 1391804680, 1391804677, 1391804671, 1391804668, 1391804673)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.17414307594299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 08:18:02.951597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_02_3731.jpg', '/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_05_2645.jpg', '/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_08_2707.jpg', '/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_10_2704.jpg', '/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_17_2678.jpg', '/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_19_2775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_02_3731.jpg
/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_05_2645.jpg
/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_08_2707.jpg
/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_10_2704.jpg
/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_17_2678.jpg
/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_19_2775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391804712","1391804714","1391804708","1391804717","1391804710","1391804704"],"photo_ids_order":["1391804704","1391804708","1391804710","1391804712","1391804714","1391804717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1a8901ef737f115fcf41501e25ff4205.jpg","text":"TemporaryFile(/tmp/multipartBody4329766342244462073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067945038,"filename":"image_30102025_10_07_10_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/2/b6b82a4256cfffd09583bfddb235d2ae.jpg","text":"TemporaryFile(/tmp/multipartBody3049396384977057099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067945038,"filename":"image_30102025_10_07_17_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/2/7839bfa3b044da9e6053e16aa039abe0.jpg","text":"TemporaryFile(/tmp/multipartBody6828301959991080044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067945038,"filename":"image_30102025_10_07_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/2/b031f7ca30e48cf03f214ae4c8eb7fa9.jpg","text":"TemporaryFile(/tmp/multipartBody5712509273690401044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067945038,"filename":"image_30102025_10_07_19_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/2/7ecc967d697970c088d18bd3f9d395db.jpg","text":"TemporaryFile(/tmp/multipartBody376236170913646122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067945038,"filename":"image_30102025_10_07_08_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/2/90f345f6be921a59d7a058df6353fb6f.jpg","text":"TemporaryFile(/tmp/multipartBody7487735458147056737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762067945038,"filename":"image_30102025_10_07_02_3731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391804710","file1":"1391804708","file0":"1391804704","file4":"1391804714","file5":"1391804717","file3":"1391804712"},"map_files_photo_id_array":[{"photo_id":"1391804717","filename":"file5"},{"photo_id":"1391804710","filename":"file2"},{"photo_id":"1391804714","filename":"file4"},{"photo_id":"1391804708","filename":"file1"},{"photo_id":"1391804704","filename":"file0"},{"photo_id":"1391804712","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391804712":["hashtag1","hashtag2"]},{"1391804714":["hashtag1","hashtag2"]},{"1391804708":["hashtag1","hashtag2"]},{"1391804717":["hashtag1","hashtag2"]},{"1391804710":["hashtag1","hashtag2"]},{"1391804704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391804712, 1391804714, 1391804708, 1391804717, 1391804710, 1391804704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.516608476638794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 08:18:42.455613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_23_3703.jpg', '/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_26_2570.jpg', '/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_28_2643.jpg', '/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_32_3724.jpg', '/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_35_2721.jpg', '/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_37_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/10/07/image_30102025_10_07_23_3703.jpg
/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_26_2570.jpg
/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_28_2643.jpg
/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_32_3724.jpg
/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_35_2721.jpg
/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_37_2671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391804750","1391804752","1391804746","1391804754","1391804748","1391804757"],"photo_ids_order":["1391804746","1391804748","1391804750","1391804752","1391804754","1391804757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7b2dceca1a8a7cfd479910d91171fb6c.jpg","text":"TemporaryFile(/tmp/multipartBody167963458673927941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068012659,"filename":"image_30102025_10_07_28_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/2/37f2cb0989a1fa45f2fe7cedef15a580.jpg","text":"TemporaryFile(/tmp/multipartBody5054139071706598700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068012659,"filename":"image_30102025_10_07_32_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/2/cd42dc215fa165b669dbbdb218deffa0.jpg","text":"TemporaryFile(/tmp/multipartBody7692898900112790632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068012659,"filename":"image_30102025_10_07_23_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/2/a45675269f6a167bb98adb5896ff9191.jpg","text":"TemporaryFile(/tmp/multipartBody5462689770519115043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068012659,"filename":"image_30102025_10_07_35_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/2/cb16557b8fcaa88b71108f40e7280c64.jpg","text":"TemporaryFile(/tmp/multipartBody5770174424419021087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068012659,"filename":"image_30102025_10_07_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/2/284fb40c169bcaf61a2ce97ba228b8d9.jpg","text":"TemporaryFile(/tmp/multipartBody7207229674909761227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068012659,"filename":"image_30102025_10_07_37_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391804750","file1":"1391804748","file0":"1391804746","file4":"1391804754","file5":"1391804757","file3":"1391804752"},"map_files_photo_id_array":[{"photo_id":"1391804757","filename":"file5"},{"photo_id":"1391804750","filename":"file2"},{"photo_id":"1391804754","filename":"file4"},{"photo_id":"1391804748","filename":"file1"},{"photo_id":"1391804746","filename":"file0"},{"photo_id":"1391804752","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391804750":["hashtag1","hashtag2"]},{"1391804752":["hashtag1","hashtag2"]},{"1391804746":["hashtag1","hashtag2"]},{"1391804754":["hashtag1","hashtag2"]},{"1391804748":["hashtag1","hashtag2"]},{"1391804757":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391804750, 1391804752, 1391804746, 1391804754, 1391804748, 1391804757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.231942653656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 08:20:02.468303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_41_3694.jpg', '/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_44_2702.jpg', '/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_46_2615.jpg', '/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_50_3723.jpg', '/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_53_2705.jpg', '/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_55_2566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_41_3694.jpg
/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_44_2702.jpg
/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_46_2615.jpg
/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_50_3723.jpg
/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_53_2705.jpg
/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_55_2566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391804777","1391804774","1391804785","1391804779","1391804790","1391804781"],"photo_ids_order":["1391804774","1391804777","1391804779","1391804781","1391804785","1391804790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0fa174912e01a1d2d7b3b03f2449d6bc.jpg","text":"TemporaryFile(/tmp/multipartBody5851863423227212385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068064621,"filename":"image_30102025_10_07_44_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/2/bbad1e40f0ea2504ab7aa9d24c85b0f9.jpg","text":"TemporaryFile(/tmp/multipartBody4975103656091382987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068064621,"filename":"image_30102025_10_07_41_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/2/001e7b653c4a005fba6176e8ffe2849a.jpg","text":"TemporaryFile(/tmp/multipartBody6372798866717816433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068064621,"filename":"image_30102025_10_07_53_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/2/bed0e69050b6c0dd0855e3ab8b7da5d2.jpg","text":"TemporaryFile(/tmp/multipartBody1427681062484180869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068064621,"filename":"image_30102025_10_07_46_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/2/092f6bd49e469d33b367dfcfb257d992.jpg","text":"TemporaryFile(/tmp/multipartBody2650659964916186365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068064621,"filename":"image_30102025_10_07_55_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/2/d54d89105c59c01bcb600cd25fe93be2.jpg","text":"TemporaryFile(/tmp/multipartBody8352218541812149020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068064621,"filename":"image_30102025_10_07_50_3723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391804779","file1":"1391804777","file0":"1391804774","file4":"1391804785","file5":"1391804790","file3":"1391804781"},"map_files_photo_id_array":[{"photo_id":"1391804790","filename":"file5"},{"photo_id":"1391804779","filename":"file2"},{"photo_id":"1391804785","filename":"file4"},{"photo_id":"1391804777","filename":"file1"},{"photo_id":"1391804774","filename":"file0"},{"photo_id":"1391804781","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391804777":["hashtag1","hashtag2"]},{"1391804774":["hashtag1","hashtag2"]},{"1391804785":["hashtag1","hashtag2"]},{"1391804779":["hashtag1","hashtag2"]},{"1391804790":["hashtag1","hashtag2"]},{"1391804781":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391804777, 1391804774, 1391804785, 1391804779, 1391804790, 1391804781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02006506919861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 08:20:42.061842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/07/image_30102025_10_07_59_3657.jpg', '/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_02_2720.jpg', '/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_05_2664.jpg', '/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_08_3545.jpg', '/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_11_2690.jpg', '/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_13_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/10/07/image_30102025_10_07_59_3657.jpg
/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_02_2720.jpg
/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_05_2664.jpg
/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_08_3545.jpg
/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_11_2690.jpg
/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_13_2707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391804807","1391804816","1391804801","1391804810","1391804804","1391804812"],"photo_ids_order":["1391804801","1391804804","1391804807","1391804810","1391804812","1391804816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/86a8dfab3a1d37528afb51fd9bff4d3c.jpg","text":"TemporaryFile(/tmp/multipartBody339162484158293604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068103132,"filename":"image_30102025_10_08_05_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/2/7b33cc86e534950686773fb46a78836d.jpg","text":"TemporaryFile(/tmp/multipartBody7538587060447198646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068103132,"filename":"image_30102025_10_08_13_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/2/afbeba81477dfbb2daf4ee01ac0aa809.jpg","text":"TemporaryFile(/tmp/multipartBody2147137533138824519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068103132,"filename":"image_30102025_10_07_59_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/2/2ed3aab7c0160802bc61b69aad3c090a.jpg","text":"TemporaryFile(/tmp/multipartBody5125829787797698421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068103132,"filename":"image_30102025_10_08_08_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/2/40563d5bfbbf43ffd6591eab795ebfa4.jpg","text":"TemporaryFile(/tmp/multipartBody438238903979792672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068103132,"filename":"image_30102025_10_08_02_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/2/acf9b130df1f702d134ab8831cbdc4f0.jpg","text":"TemporaryFile(/tmp/multipartBody5231212426051283495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068103132,"filename":"image_30102025_10_08_11_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391804807","file1":"1391804804","file0":"1391804801","file4":"1391804812","file5":"1391804816","file3":"1391804810"},"map_files_photo_id_array":[{"photo_id":"1391804816","filename":"file5"},{"photo_id":"1391804807","filename":"file2"},{"photo_id":"1391804812","filename":"file4"},{"photo_id":"1391804804","filename":"file1"},{"photo_id":"1391804801","filename":"file0"},{"photo_id":"1391804810","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391804807":["hashtag1","hashtag2"]},{"1391804816":["hashtag1","hashtag2"]},{"1391804801":["hashtag1","hashtag2"]},{"1391804810":["hashtag1","hashtag2"]},{"1391804804":["hashtag1","hashtag2"]},{"1391804812":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391804807, 1391804816, 1391804801, 1391804810, 1391804804, 1391804812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37202048301697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:21:22.376554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_17_3623.jpg', '/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_20_2665.jpg', '/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_22_2695.jpg', '/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_25_2705.jpg', '/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_29_3655.jpg', '/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_31_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/10/08/image_30102025_10_08_17_3623.jpg
/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_20_2665.jpg
/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_22_2695.jpg
/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_25_2705.jpg
/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_29_3655.jpg
/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_31_2691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391804831","1391804840","1391804834","1391804836","1391804832","1391804829"],"photo_ids_order":["1391804829","1391804831","1391804832","1391804834","1391804836","1391804840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a8ac502e64b206bf0c017dabfbcbf4ee.jpg","text":"TemporaryFile(/tmp/multipartBody4437183473600118352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068145091,"filename":"image_30102025_10_08_20_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/2/48ad34e596a9e4ace171d33ba255dc21.jpg","text":"TemporaryFile(/tmp/multipartBody1843926588542275020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068145091,"filename":"image_30102025_10_08_31_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/2/c69cb5fc9391a10dfe0dc3e708a308d4.jpg","text":"TemporaryFile(/tmp/multipartBody8445540710329138869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068145091,"filename":"image_30102025_10_08_25_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/2/13c358da35066ab5d5fdd6ce335ced79.jpg","text":"TemporaryFile(/tmp/multipartBody3283893185194162727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068145091,"filename":"image_30102025_10_08_29_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/2/73798e2a6198ef04768485fe01d32d24.jpg","text":"TemporaryFile(/tmp/multipartBody9209690537081912410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068145091,"filename":"image_30102025_10_08_22_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/2/6ac29d6ff9df0e3cd12ddda3fdab937a.jpg","text":"TemporaryFile(/tmp/multipartBody9014685569387681441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068145091,"filename":"image_30102025_10_08_17_3623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391804832","file1":"1391804831","file0":"1391804829","file4":"1391804836","file5":"1391804840","file3":"1391804834"},"map_files_photo_id_array":[{"photo_id":"1391804840","filename":"file5"},{"photo_id":"1391804832","filename":"file2"},{"photo_id":"1391804836","filename":"file4"},{"photo_id":"1391804831","filename":"file1"},{"photo_id":"1391804829","filename":"file0"},{"photo_id":"1391804834","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391804831":["hashtag1","hashtag2"]},{"1391804840":["hashtag1","hashtag2"]},{"1391804834":["hashtag1","hashtag2"]},{"1391804836":["hashtag1","hashtag2"]},{"1391804832":["hashtag1","hashtag2"]},{"1391804829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391804831, 1391804840, 1391804834, 1391804836, 1391804832, 1391804829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3809769153595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 08:22:02.957429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_34_2727.jpg', '/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_38_3576.jpg', '/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_41_2761.jpg', '/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_43_2636.jpg', '/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_47_3668.jpg', '/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_49_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/10/08/image_30102025_10_08_34_2727.jpg
/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_38_3576.jpg
/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_41_2761.jpg
/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_43_2636.jpg
/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_47_3668.jpg
/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_49_2560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391804858","1391804852","1391804855","1391804860","1391804857","1391804862"],"photo_ids_order":["1391804852","1391804855","1391804857","1391804858","1391804860","1391804862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2a36f81c47070fb97a2834c72b046d2b.jpg","text":"TemporaryFile(/tmp/multipartBody498501334308518736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068185075,"filename":"image_30102025_10_08_43_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/2/a05eaa5bdfbcacae3f7a9002c967e42e.jpg","text":"TemporaryFile(/tmp/multipartBody6954726513854352477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068185075,"filename":"image_30102025_10_08_34_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/2/532db62c7bcecf2cc8b9c0f360bc1c40.jpg","text":"TemporaryFile(/tmp/multipartBody8675411307706819666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068185075,"filename":"image_30102025_10_08_38_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/2/80f75492b3dffa31f353d652b9044601.jpg","text":"TemporaryFile(/tmp/multipartBody6003188803671603526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068185075,"filename":"image_30102025_10_08_47_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/2/f449fc938398fb4eb66e1d56e20f9bca.jpg","text":"TemporaryFile(/tmp/multipartBody7717530194553767398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068185075,"filename":"image_30102025_10_08_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/2/4909c95aa462ecf5563d3d9e7122ad07.jpg","text":"TemporaryFile(/tmp/multipartBody8082522087518809809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068185075,"filename":"image_30102025_10_08_49_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391804857","file1":"1391804855","file0":"1391804852","file4":"1391804860","file5":"1391804862","file3":"1391804858"},"map_files_photo_id_array":[{"photo_id":"1391804862","filename":"file5"},{"photo_id":"1391804857","filename":"file2"},{"photo_id":"1391804860","filename":"file4"},{"photo_id":"1391804855","filename":"file1"},{"photo_id":"1391804852","filename":"file0"},{"photo_id":"1391804858","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391804858":["hashtag1","hashtag2"]},{"1391804852":["hashtag1","hashtag2"]},{"1391804855":["hashtag1","hashtag2"]},{"1391804860":["hashtag1","hashtag2"]},{"1391804857":["hashtag1","hashtag2"]},{"1391804862":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391804858, 1391804852, 1391804855, 1391804860, 1391804857, 1391804862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57665801048279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 08:22:42.611611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_52_2747.jpg', '/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_56_3739.jpg', '/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_59_2604.jpg', '/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_01_2665.jpg', '/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_08_2687.jpg', '/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_10_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/10/08/image_30102025_10_08_52_2747.jpg
/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_56_3739.jpg
/home/pi/Desktop/images/30102025/10/08/image_30102025_10_08_59_2604.jpg
/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_01_2665.jpg
/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_08_2687.jpg
/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_10_2640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391804888","1391804882","1391804891","1391804872","1391804878","1391804886"],"photo_ids_order":["1391804872","1391804878","1391804882","1391804886","1391804888","1391804891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7d01fd58437b37ae185177ee64021018.jpg","text":"TemporaryFile(/tmp/multipartBody4410053279778226272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068223797,"filename":"image_30102025_10_09_08_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/2/5a3eaf17a41c072a1bcdef630b5a97e1.jpg","text":"TemporaryFile(/tmp/multipartBody213409992849329515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068223797,"filename":"image_30102025_10_08_59_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/2/56bf1629a8ac0d6596dc21889c52dff0.jpg","text":"TemporaryFile(/tmp/multipartBody1389621088650147907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068223797,"filename":"image_30102025_10_09_10_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/2/293de8013fb307ea0b52acc8c559cd4c.jpg","text":"TemporaryFile(/tmp/multipartBody8514087736084462274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068223797,"filename":"image_30102025_10_08_52_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/2/12010826bae9c84a489a3be58b1d4863.jpg","text":"TemporaryFile(/tmp/multipartBody2150265445262322444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068223797,"filename":"image_30102025_10_08_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/2/4b8cf51f739f242eab522da265621cc3.jpg","text":"TemporaryFile(/tmp/multipartBody6239483944264825014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068223797,"filename":"image_30102025_10_09_01_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391804882","file1":"1391804878","file0":"1391804872","file4":"1391804888","file5":"1391804891","file3":"1391804886"},"map_files_photo_id_array":[{"photo_id":"1391804891","filename":"file5"},{"photo_id":"1391804882","filename":"file2"},{"photo_id":"1391804888","filename":"file4"},{"photo_id":"1391804878","filename":"file1"},{"photo_id":"1391804872","filename":"file0"},{"photo_id":"1391804886","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391804888":["hashtag1","hashtag2"]},{"1391804882":["hashtag1","hashtag2"]},{"1391804891":["hashtag1","hashtag2"]},{"1391804872":["hashtag1","hashtag2"]},{"1391804878":["hashtag1","hashtag2"]},{"1391804886":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391804888, 1391804882, 1391804891, 1391804872, 1391804878, 1391804886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79910588264465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:23:22.766448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_14_3575.jpg', '/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_19_2614.jpg', '/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_23_3848.jpg', '/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_26_2715.jpg', '/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_28_2629.jpg', '/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_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/10/09/image_30102025_10_09_14_3575.jpg
/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_19_2614.jpg
/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_23_3848.jpg
/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_26_2715.jpg
/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_28_2629.jpg
/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_32_3634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391804916","1391804901","1391804907","1391804899","1391804903","1391804911"],"photo_ids_order":["1391804899","1391804901","1391804903","1391804907","1391804911","1391804916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/756c35f582d2f45e2f912b64327ac31c.jpg","text":"TemporaryFile(/tmp/multipartBody7900177895112138994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068265476,"filename":"image_30102025_10_09_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/2/891db3bc18f4d078f8bfd016d4213a60.jpg","text":"TemporaryFile(/tmp/multipartBody6062262992544707008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068265476,"filename":"image_30102025_10_09_19_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/2/f1771eb8f19483636ead6968f63bdd5c.jpg","text":"TemporaryFile(/tmp/multipartBody5141742346243067820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068265476,"filename":"image_30102025_10_09_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/2/74818fe5dff77274888d2fb0259bea88.jpg","text":"TemporaryFile(/tmp/multipartBody7549542170098176510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068265476,"filename":"image_30102025_10_09_14_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/2/7671783ddbc9ada601f89ece30d910a3.jpg","text":"TemporaryFile(/tmp/multipartBody3692915562460962905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068265476,"filename":"image_30102025_10_09_23_3848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ff6fb71440967c6567f4da4f1d13d8d4.jpg","text":"TemporaryFile(/tmp/multipartBody8648235783275560896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068265476,"filename":"image_30102025_10_09_28_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391804903","file1":"1391804901","file0":"1391804899","file4":"1391804911","file5":"1391804916","file3":"1391804907"},"map_files_photo_id_array":[{"photo_id":"1391804916","filename":"file5"},{"photo_id":"1391804903","filename":"file2"},{"photo_id":"1391804911","filename":"file4"},{"photo_id":"1391804901","filename":"file1"},{"photo_id":"1391804899","filename":"file0"},{"photo_id":"1391804907","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391804916":["hashtag1","hashtag2"]},{"1391804901":["hashtag1","hashtag2"]},{"1391804907":["hashtag1","hashtag2"]},{"1391804899":["hashtag1","hashtag2"]},{"1391804903":["hashtag1","hashtag2"]},{"1391804911":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391804916, 1391804901, 1391804907, 1391804899, 1391804903, 1391804911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89162015914917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 08:24:02.638651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_35_2594.jpg', '/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_37_2726.jpg', '/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_40_2722.jpg', '/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_44_3752.jpg', '/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_47_2790.jpg', '/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_49_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/10/09/image_30102025_10_09_35_2594.jpg
/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_37_2726.jpg
/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_40_2722.jpg
/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_44_3752.jpg
/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_47_2790.jpg
/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_49_2531.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391804933","1391804936","1391804929","1391804938","1391804931","1391804934"],"photo_ids_order":["1391804929","1391804931","1391804933","1391804934","1391804936","1391804938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2f2d93313e009b3d2f614d1b0c27e770.jpg","text":"TemporaryFile(/tmp/multipartBody5642583160681924426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068304794,"filename":"image_30102025_10_09_40_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/2/3a2c65d441de89c7ba8cb28d63d37854.jpg","text":"TemporaryFile(/tmp/multipartBody4454240310759052517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068304794,"filename":"image_30102025_10_09_47_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/2/1e8c5b91cf7e556d80bd2fb7eb6f8f76.jpg","text":"TemporaryFile(/tmp/multipartBody772416825359099672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068304794,"filename":"image_30102025_10_09_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/2/8e6bdf4e9e722704f4b94fd45b787cdc.jpg","text":"TemporaryFile(/tmp/multipartBody1544224554044557658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068304794,"filename":"image_30102025_10_09_49_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/2/ce5e1b3bfad0d920eba4f8970c615e30.jpg","text":"TemporaryFile(/tmp/multipartBody3815541556948454214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068304794,"filename":"image_30102025_10_09_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/2/b33cde4c197457409adce0ba0c88ecd8.jpg","text":"TemporaryFile(/tmp/multipartBody7449100802431132256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068304794,"filename":"image_30102025_10_09_44_3752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391804933","file1":"1391804931","file0":"1391804929","file4":"1391804936","file5":"1391804938","file3":"1391804934"},"map_files_photo_id_array":[{"photo_id":"1391804938","filename":"file5"},{"photo_id":"1391804933","filename":"file2"},{"photo_id":"1391804936","filename":"file4"},{"photo_id":"1391804931","filename":"file1"},{"photo_id":"1391804929","filename":"file0"},{"photo_id":"1391804934","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391804933":["hashtag1","hashtag2"]},{"1391804936":["hashtag1","hashtag2"]},{"1391804929":["hashtag1","hashtag2"]},{"1391804938":["hashtag1","hashtag2"]},{"1391804931":["hashtag1","hashtag2"]},{"1391804934":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391804933, 1391804936, 1391804929, 1391804938, 1391804931, 1391804934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.820971965789795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 08:24:41.844466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_53_3805.jpg', '/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_56_2613.jpg', '/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_58_2706.jpg', '/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_08_3013.jpg', '/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_12_3767.jpg', '/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_15_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/10/09/image_30102025_10_09_53_3805.jpg
/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_56_2613.jpg
/home/pi/Desktop/images/30102025/10/09/image_30102025_10_09_58_2706.jpg
/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_08_3013.jpg
/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_12_3767.jpg
/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_15_2690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391804975","1391804960","1391804970","1391804964","1391804967","1391804955"],"photo_ids_order":["1391804955","1391804960","1391804964","1391804967","1391804970","1391804975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7e87c1f4bd4ace6c01d2fce98c6127c3.jpg","text":"TemporaryFile(/tmp/multipartBody645640232164025134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068342946,"filename":"image_30102025_10_10_15_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/2/4875e05062864638cf2caf39d9c722a9.jpg","text":"TemporaryFile(/tmp/multipartBody7596072946404105154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068342946,"filename":"image_30102025_10_09_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/2/b959d9c848e350dec12097f591266edb.jpg","text":"TemporaryFile(/tmp/multipartBody631640277762982493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068342946,"filename":"image_30102025_10_10_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/2/abeb5b87e026f359de256ab522425bb2.jpg","text":"TemporaryFile(/tmp/multipartBody3846820696424367957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068342946,"filename":"image_30102025_10_09_58_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/2/8f2a21c530edd1ff0e511a6d06b8bc1b.jpg","text":"TemporaryFile(/tmp/multipartBody4366402553595195721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068342946,"filename":"image_30102025_10_10_08_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/238936ebba4c2b7aad690e35deaad417.jpg","text":"TemporaryFile(/tmp/multipartBody8130509079906624330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068342946,"filename":"image_30102025_10_09_53_3805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391804964","file1":"1391804960","file0":"1391804955","file4":"1391804970","file5":"1391804975","file3":"1391804967"},"map_files_photo_id_array":[{"photo_id":"1391804975","filename":"file5"},{"photo_id":"1391804964","filename":"file2"},{"photo_id":"1391804970","filename":"file4"},{"photo_id":"1391804960","filename":"file1"},{"photo_id":"1391804955","filename":"file0"},{"photo_id":"1391804967","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391804975":["hashtag1","hashtag2"]},{"1391804960":["hashtag1","hashtag2"]},{"1391804970":["hashtag1","hashtag2"]},{"1391804964":["hashtag1","hashtag2"]},{"1391804967":["hashtag1","hashtag2"]},{"1391804955":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391804975, 1391804960, 1391804970, 1391804964, 1391804967, 1391804955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37523055076599 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:25:22.064152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_17_2700.jpg', '/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_21_3680.jpg', '/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_24_2678.jpg', '/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_26_2715.jpg', '/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_29_2738.jpg', '/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_35_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/10/10/image_30102025_10_10_17_2700.jpg
/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_21_3680.jpg
/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_24_2678.jpg
/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_26_2715.jpg
/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_29_2738.jpg
/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_35_2731.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.619614362716675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 08:25:42.160957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_17_2700.jpg', '/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_21_3680.jpg', '/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_24_2678.jpg', '/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_26_2715.jpg', '/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_29_2738.jpg', '/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_35_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/10/10/image_30102025_10_10_17_2700.jpg
/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_21_3680.jpg
/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_24_2678.jpg
/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_26_2715.jpg
/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_29_2738.jpg
/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_35_2731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805006","1391805014","1391805012","1391805009","1391805018","1391805003"],"photo_ids_order":["1391805003","1391805006","1391805009","1391805012","1391805014","1391805018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cc2a70402f05c9ecea352ca3b78ab8b8.jpg","text":"TemporaryFile(/tmp/multipartBody1983021437375550247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068403147,"filename":"image_30102025_10_10_21_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/2/41778b4eb50948d0571e9dac1ad78aa0.jpg","text":"TemporaryFile(/tmp/multipartBody4190320931797098313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068403147,"filename":"image_30102025_10_10_29_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/2/ff5ccfb5c70d6914a9fc5f286c1b0053.jpg","text":"TemporaryFile(/tmp/multipartBody8805914735580997888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068403147,"filename":"image_30102025_10_10_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/2/7fa7625b55370d509cb0e5d20aaef9e3.jpg","text":"TemporaryFile(/tmp/multipartBody8401220443566446903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068403147,"filename":"image_30102025_10_10_24_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/2/5ccd4f60953e3176a15a0abd5db0a449.jpg","text":"TemporaryFile(/tmp/multipartBody118121645352336319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068403147,"filename":"image_30102025_10_10_35_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/2/58b1c68916ee83ae52bfbaec3e146f93.jpg","text":"TemporaryFile(/tmp/multipartBody4688296314673705620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068403147,"filename":"image_30102025_10_10_17_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805009","file1":"1391805006","file0":"1391805003","file4":"1391805014","file5":"1391805018","file3":"1391805012"},"map_files_photo_id_array":[{"photo_id":"1391805018","filename":"file5"},{"photo_id":"1391805009","filename":"file2"},{"photo_id":"1391805014","filename":"file4"},{"photo_id":"1391805006","filename":"file1"},{"photo_id":"1391805003","filename":"file0"},{"photo_id":"1391805012","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805006":["hashtag1","hashtag2"]},{"1391805014":["hashtag1","hashtag2"]},{"1391805012":["hashtag1","hashtag2"]},{"1391805009":["hashtag1","hashtag2"]},{"1391805018":["hashtag1","hashtag2"]},{"1391805003":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805006, 1391805014, 1391805012, 1391805009, 1391805018, 1391805003)","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 = 1391805009 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_24_2678.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 55.2130868434906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 08:26:53.744140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_42_3743.jpg', '/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_45_2666.jpg', '/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_47_2639.jpg', '/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_50_2884.jpg', '/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_54_3638.jpg', '/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_56_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/10/10/image_30102025_10_10_42_3743.jpg
/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_45_2666.jpg
/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_47_2639.jpg
/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_50_2884.jpg
/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_54_3638.jpg
/home/pi/Desktop/images/30102025/10/10/image_30102025_10_10_56_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":["1391805050","1391805044","1391805047","1391805046","1391805048","1391805042"],"photo_ids_order":["1391805042","1391805044","1391805046","1391805047","1391805048","1391805050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6a2a11ba0953cf35d647436e70723567.jpg","text":"TemporaryFile(/tmp/multipartBody4937583930481510183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068478442,"filename":"image_30102025_10_10_56_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/2/f8f81ad25666a5ff0d477acc9ce65759.jpg","text":"TemporaryFile(/tmp/multipartBody8942364465462059175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068478442,"filename":"image_30102025_10_10_45_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/2/930383b7fc50670df9b4a9d473bf11be.jpg","text":"TemporaryFile(/tmp/multipartBody64274584300378932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068478442,"filename":"image_30102025_10_10_50_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/2/291fb0350bd38910befc03387c7962e8.jpg","text":"TemporaryFile(/tmp/multipartBody3095314205284994779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068478442,"filename":"image_30102025_10_10_47_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/2/f41615f9bc258ad03fe74387310e8c44.jpg","text":"TemporaryFile(/tmp/multipartBody631672924162060454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068478442,"filename":"image_30102025_10_10_54_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/2/9b004fa8b97e39e6fffadc17e6e69baa.jpg","text":"TemporaryFile(/tmp/multipartBody5284606730286236735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068478442,"filename":"image_30102025_10_10_42_3743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805046","file1":"1391805044","file0":"1391805042","file4":"1391805048","file5":"1391805050","file3":"1391805047"},"map_files_photo_id_array":[{"photo_id":"1391805050","filename":"file5"},{"photo_id":"1391805046","filename":"file2"},{"photo_id":"1391805048","filename":"file4"},{"photo_id":"1391805044","filename":"file1"},{"photo_id":"1391805042","filename":"file0"},{"photo_id":"1391805047","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805050":["hashtag1","hashtag2"]},{"1391805044":["hashtag1","hashtag2"]},{"1391805047":["hashtag1","hashtag2"]},{"1391805046":["hashtag1","hashtag2"]},{"1391805048":["hashtag1","hashtag2"]},{"1391805042":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805050, 1391805044, 1391805047, 1391805046, 1391805048, 1391805042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.14406895637512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 08:27:45.121186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_02_2542.jpg', '/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_05_2743.jpg', '/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_12_6431.jpg', '/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_13_1605.jpg', '/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_15_1623.jpg', '/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_18_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/10/11/image_30102025_10_11_02_2542.jpg
/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_05_2743.jpg
/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_12_6431.jpg
/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_13_1605.jpg
/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_15_1623.jpg
/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_18_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":["1391805068","1391805071","1391805070","1391805075","1391805078","1391805066"],"photo_ids_order":["1391805066","1391805068","1391805070","1391805071","1391805075","1391805078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1368e4bf4ca94389ffcb9602d1efabb1.jpg","text":"TemporaryFile(/tmp/multipartBody8153148507762716876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068528389,"filename":"image_30102025_10_11_05_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/2/b76748bb00c820cd714951bf15fdf43b.jpg","text":"TemporaryFile(/tmp/multipartBody670322343949068775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068528389,"filename":"image_30102025_10_11_13_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/2/673274d8b3835ba089da2c671a77996e.jpg","text":"TemporaryFile(/tmp/multipartBody6383642969475098939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068528389,"filename":"image_30102025_10_11_12_6431.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a1441881e5133180664a7e55f2391363.jpg","text":"TemporaryFile(/tmp/multipartBody1737644012111747380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068528389,"filename":"image_30102025_10_11_15_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/2/537407d4901d264585a608d13a51e842.jpg","text":"TemporaryFile(/tmp/multipartBody7625692749273654487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068528389,"filename":"image_30102025_10_11_18_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/2/5b1791ec6c0e905b9f69beed19a984b5.jpg","text":"TemporaryFile(/tmp/multipartBody1885127185281086012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068528389,"filename":"image_30102025_10_11_02_2542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805070","file1":"1391805068","file0":"1391805066","file4":"1391805075","file5":"1391805078","file3":"1391805071"},"map_files_photo_id_array":[{"photo_id":"1391805078","filename":"file5"},{"photo_id":"1391805070","filename":"file2"},{"photo_id":"1391805075","filename":"file4"},{"photo_id":"1391805068","filename":"file1"},{"photo_id":"1391805066","filename":"file0"},{"photo_id":"1391805071","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805068":["hashtag1","hashtag2"]},{"1391805071":["hashtag1","hashtag2"]},{"1391805070":["hashtag1","hashtag2"]},{"1391805075":["hashtag1","hashtag2"]},{"1391805078":["hashtag1","hashtag2"]},{"1391805066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805068, 1391805071, 1391805070, 1391805075, 1391805078, 1391805066)","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 = 1391805070 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_12_6431.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 60.82275342941284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 08:29:03.735621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_20_2574.jpg', '/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_24_3759.jpg', '/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_27_2729.jpg', '/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_29_2547.jpg', '/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_32_2882.jpg', '/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_36_3564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_20_2574.jpg
/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_24_3759.jpg
/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_27_2729.jpg
/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_29_2547.jpg
/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_32_2882.jpg
/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_36_3564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805113","1391805115","1391805109","1391805106","1391805111","1391805108"],"photo_ids_order":["1391805106","1391805108","1391805109","1391805111","1391805113","1391805115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bbb4296c29ef22c3a6013e13addc726f.jpg","text":"TemporaryFile(/tmp/multipartBody7985270577125739400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068610765,"filename":"image_30102025_10_11_32_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/2/57d89af1b0c3d913d07dec152f6ed19f.jpg","text":"TemporaryFile(/tmp/multipartBody8426690002544689012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068610765,"filename":"image_30102025_10_11_36_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/2/9844c1400398396f5e347c9977fe159e.jpg","text":"TemporaryFile(/tmp/multipartBody4011209490526723679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068610765,"filename":"image_30102025_10_11_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/2/1b672f8a9412a4ee53fb9688a95c7290.jpg","text":"TemporaryFile(/tmp/multipartBody6062212205031915552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068610765,"filename":"image_30102025_10_11_20_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/2/11d30754a54420a68527b805de91346a.jpg","text":"TemporaryFile(/tmp/multipartBody4414577521793769305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068610765,"filename":"image_30102025_10_11_29_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/2/e6017c4e84d8f40276f9bf2cab9d6dc6.jpg","text":"TemporaryFile(/tmp/multipartBody2160142779695846218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068610765,"filename":"image_30102025_10_11_24_3759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805109","file1":"1391805108","file0":"1391805106","file4":"1391805113","file5":"1391805115","file3":"1391805111"},"map_files_photo_id_array":[{"photo_id":"1391805115","filename":"file5"},{"photo_id":"1391805109","filename":"file2"},{"photo_id":"1391805113","filename":"file4"},{"photo_id":"1391805108","filename":"file1"},{"photo_id":"1391805106","filename":"file0"},{"photo_id":"1391805111","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805113":["hashtag1","hashtag2"]},{"1391805115":["hashtag1","hashtag2"]},{"1391805109":["hashtag1","hashtag2"]},{"1391805106":["hashtag1","hashtag2"]},{"1391805111":["hashtag1","hashtag2"]},{"1391805108":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805113, 1391805115, 1391805109, 1391805106, 1391805111, 1391805108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.001657009124756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 08:30:02.326708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_38_2769.jpg', '/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_41_2558.jpg', '/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_45_3777.jpg', '/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_48_2741.jpg', '/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_53_2671.jpg', '/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_57_3745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_38_2769.jpg
/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_41_2558.jpg
/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_45_3777.jpg
/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_48_2741.jpg
/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_53_2671.jpg
/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_57_3745.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.0662529468536377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:30:21.860804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_38_2769.jpg', '/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_41_2558.jpg', '/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_45_3777.jpg', '/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_48_2741.jpg', '/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_53_2671.jpg', '/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_57_3745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_38_2769.jpg
/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_41_2558.jpg
/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_45_3777.jpg
/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_48_2741.jpg
/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_53_2671.jpg
/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_57_3745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805140","1391805143","1391805137","1391805151","1391805156","1391805147"],"photo_ids_order":["1391805137","1391805140","1391805143","1391805147","1391805151","1391805156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/529f96860a0b82578f45408059929ef3.jpg","text":"TemporaryFile(/tmp/multipartBody1117394264304541548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068684241,"filename":"image_30102025_10_11_41_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/2/20f6a0142ea9427858189819855089e0.jpg","text":"TemporaryFile(/tmp/multipartBody5305583380538813416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068684241,"filename":"image_30102025_10_11_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/2/edc02cea8ba32ac427bded29a617dad0.jpg","text":"TemporaryFile(/tmp/multipartBody7159872147697737327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068684241,"filename":"image_30102025_10_11_38_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/2/89b5da8d3e90226043c9d36e9caa4add.jpg","text":"TemporaryFile(/tmp/multipartBody4284293993133362343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068684241,"filename":"image_30102025_10_11_53_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/2/b0c2f8396daa97257f63a79daf17934f.jpg","text":"TemporaryFile(/tmp/multipartBody9194141834623503377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068684241,"filename":"image_30102025_10_11_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/2/60e069d7d3bef5544f39559f50c1fb7d.jpg","text":"TemporaryFile(/tmp/multipartBody7338136139251884270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068684241,"filename":"image_30102025_10_11_48_2741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805143","file1":"1391805140","file0":"1391805137","file4":"1391805151","file5":"1391805156","file3":"1391805147"},"map_files_photo_id_array":[{"photo_id":"1391805156","filename":"file5"},{"photo_id":"1391805143","filename":"file2"},{"photo_id":"1391805151","filename":"file4"},{"photo_id":"1391805140","filename":"file1"},{"photo_id":"1391805137","filename":"file0"},{"photo_id":"1391805147","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805140":["hashtag1","hashtag2"]},{"1391805143":["hashtag1","hashtag2"]},{"1391805137":["hashtag1","hashtag2"]},{"1391805151":["hashtag1","hashtag2"]},{"1391805156":["hashtag1","hashtag2"]},{"1391805147":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805140, 1391805143, 1391805137, 1391805151, 1391805156, 1391805147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80030965805054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 08:31:02.747053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/11/image_30102025_10_11_59_2615.jpg', '/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_02_2615.jpg', '/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_06_3577.jpg', '/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_08_2803.jpg', '/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_11_2857.jpg', '/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_15_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/10/11/image_30102025_10_11_59_2615.jpg
/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_02_2615.jpg
/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_06_3577.jpg
/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_08_2803.jpg
/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_11_2857.jpg
/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_15_3555.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805182","1391805176","1391805172","1391805169","1391805174","1391805179"],"photo_ids_order":["1391805169","1391805172","1391805174","1391805176","1391805179","1391805182"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e3325485bdc8194f5ff3ddd337a4e679.jpg","text":"TemporaryFile(/tmp/multipartBody1768202614356744538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068724979,"filename":"image_30102025_10_12_15_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/2/c36a58896212ea0f72df3ef4173c3e66.jpg","text":"TemporaryFile(/tmp/multipartBody8565966030828407190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068724979,"filename":"image_30102025_10_12_08_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/2/0a9882882fda8b8d63f12684e6315cbf.jpg","text":"TemporaryFile(/tmp/multipartBody5720813068126334953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068724979,"filename":"image_30102025_10_12_02_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/2/0c0e052511391e368ebfd839911966ea.jpg","text":"TemporaryFile(/tmp/multipartBody1381374725692942585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068724979,"filename":"image_30102025_10_11_59_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/2/dcc08e07e3df476437ce68dc55b6ca8c.jpg","text":"TemporaryFile(/tmp/multipartBody722459742358443686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068724979,"filename":"image_30102025_10_12_06_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/2/f30e0cab7678e5edb7ea1e85e7784191.jpg","text":"TemporaryFile(/tmp/multipartBody8119253405725381011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068724979,"filename":"image_30102025_10_12_11_2857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805174","file1":"1391805172","file0":"1391805169","file4":"1391805179","file5":"1391805182","file3":"1391805176"},"map_files_photo_id_array":[{"photo_id":"1391805182","filename":"file5"},{"photo_id":"1391805174","filename":"file2"},{"photo_id":"1391805179","filename":"file4"},{"photo_id":"1391805172","filename":"file1"},{"photo_id":"1391805169","filename":"file0"},{"photo_id":"1391805176","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805182":["hashtag1","hashtag2"]},{"1391805176":["hashtag1","hashtag2"]},{"1391805172":["hashtag1","hashtag2"]},{"1391805169":["hashtag1","hashtag2"]},{"1391805174":["hashtag1","hashtag2"]},{"1391805179":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805182, 1391805176, 1391805172, 1391805169, 1391805174, 1391805179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71842646598816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 08:31:42.123926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_18_2725.jpg', '/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_20_2708.jpg', '/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_23_2726.jpg', '/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_27_3602.jpg', '/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_29_2814.jpg', '/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_32_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/10/12/image_30102025_10_12_18_2725.jpg
/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_20_2708.jpg
/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_23_2726.jpg
/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_27_3602.jpg
/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_29_2814.jpg
/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_32_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805194","1391805206","1391805208","1391805202","1391805211","1391805198"],"photo_ids_order":["1391805194","1391805198","1391805202","1391805206","1391805208","1391805211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d51eef38b0af1b080a1aa284eb867b4c.jpg","text":"TemporaryFile(/tmp/multipartBody175149690782883663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068763292,"filename":"image_30102025_10_12_18_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/2/5d1cb77db5f6898db0b6f72e408a09d4.jpg","text":"TemporaryFile(/tmp/multipartBody995093671111054873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068763292,"filename":"image_30102025_10_12_27_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/2/46507d5f05cd0a2d94322f8e3bed27d3.jpg","text":"TemporaryFile(/tmp/multipartBody3786118872596277233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068763292,"filename":"image_30102025_10_12_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/2/7610e5c52493ac7432f66b6918d9c9a5.jpg","text":"TemporaryFile(/tmp/multipartBody2583618381953734228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068763292,"filename":"image_30102025_10_12_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/2/22e96e93cbd3eac4295256a92a63f353.jpg","text":"TemporaryFile(/tmp/multipartBody7721115019993879980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068763292,"filename":"image_30102025_10_12_32_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/2/94afe2562f934d5dbfaf21b5e1f6ea19.jpg","text":"TemporaryFile(/tmp/multipartBody3696635287478003904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068763292,"filename":"image_30102025_10_12_20_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805202","file1":"1391805198","file0":"1391805194","file4":"1391805208","file5":"1391805211","file3":"1391805206"},"map_files_photo_id_array":[{"photo_id":"1391805211","filename":"file5"},{"photo_id":"1391805202","filename":"file2"},{"photo_id":"1391805208","filename":"file4"},{"photo_id":"1391805198","filename":"file1"},{"photo_id":"1391805194","filename":"file0"},{"photo_id":"1391805206","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805194":["hashtag1","hashtag2"]},{"1391805206":["hashtag1","hashtag2"]},{"1391805208":["hashtag1","hashtag2"]},{"1391805202":["hashtag1","hashtag2"]},{"1391805211":["hashtag1","hashtag2"]},{"1391805198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805194, 1391805206, 1391805208, 1391805202, 1391805211, 1391805198)","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 = 1391805202 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_23_2726.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 61.42870259284973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 08:33:02.955759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 08:33:22.254016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_36_3562.jpg', '/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_38_2811.jpg', '/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_41_2535.jpg', '/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_45_3665.jpg', '/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_47_2690.jpg', '/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_50_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/10/12/image_30102025_10_12_36_3562.jpg
/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_38_2811.jpg
/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_41_2535.jpg
/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_45_3665.jpg
/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_47_2690.jpg
/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_50_2797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805266","1391805275","1391805260","1391805271","1391805256","1391805278"],"photo_ids_order":["1391805256","1391805260","1391805266","1391805271","1391805275","1391805278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/018c901bed71ecd3f8f37c99bcffc08a.jpg","text":"TemporaryFile(/tmp/multipartBody1998897258487560749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068869999,"filename":"image_30102025_10_12_41_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/2/91ceebdbfbf92fb8d4dfca3d1ff4e65a.jpg","text":"TemporaryFile(/tmp/multipartBody1738652709450727035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068869999,"filename":"image_30102025_10_12_47_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/2/373316aa32d68b402e6ee4b46f544159.jpg","text":"TemporaryFile(/tmp/multipartBody3609769081617593360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068869999,"filename":"image_30102025_10_12_38_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/2/4318ca0bcb7da09e36ad4104e481bd1c.jpg","text":"TemporaryFile(/tmp/multipartBody1855090749609541157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068869999,"filename":"image_30102025_10_12_45_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/2/ab58b7c2321dfc01c2e8dfed7785cead.jpg","text":"TemporaryFile(/tmp/multipartBody2512852919071904359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068869999,"filename":"image_30102025_10_12_36_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/2/b4b2362756561ec1b5c448c90f70251c.jpg","text":"TemporaryFile(/tmp/multipartBody3822868980348992770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068869999,"filename":"image_30102025_10_12_50_2797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805266","file1":"1391805260","file0":"1391805256","file4":"1391805275","file5":"1391805278","file3":"1391805271"},"map_files_photo_id_array":[{"photo_id":"1391805278","filename":"file5"},{"photo_id":"1391805266","filename":"file2"},{"photo_id":"1391805275","filename":"file4"},{"photo_id":"1391805260","filename":"file1"},{"photo_id":"1391805256","filename":"file0"},{"photo_id":"1391805271","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805266":["hashtag1","hashtag2"]},{"1391805275":["hashtag1","hashtag2"]},{"1391805260":["hashtag1","hashtag2"]},{"1391805271":["hashtag1","hashtag2"]},{"1391805256":["hashtag1","hashtag2"]},{"1391805278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805266, 1391805275, 1391805260, 1391805271, 1391805256, 1391805278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.36207556724548 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:34:22.281890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_54_3561.jpg', '/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_57_2905.jpg', '/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_59_2706.jpg', '/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_02_2712.jpg', '/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_06_3694.jpg', '/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_08_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/10/12/image_30102025_10_12_54_3561.jpg
/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_57_2905.jpg
/home/pi/Desktop/images/30102025/10/12/image_30102025_10_12_59_2706.jpg
/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_02_2712.jpg
/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_06_3694.jpg
/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_08_2715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805302","1391805311","1391805295","1391805298","1391805306","1391805299"],"photo_ids_order":["1391805295","1391805298","1391805299","1391805302","1391805306","1391805311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9bb9ac402cc0dbbd1cf90b4290b76147.jpg","text":"TemporaryFile(/tmp/multipartBody6411301481489768012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068925097,"filename":"image_30102025_10_13_02_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/2/9855c4b1b316a15887f33866de8d03b9.jpg","text":"TemporaryFile(/tmp/multipartBody6118733439463020512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068925097,"filename":"image_30102025_10_13_08_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/2/9b624f190f1eb46c83eba6848cd350f2.jpg","text":"TemporaryFile(/tmp/multipartBody2926018758031587419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068925097,"filename":"image_30102025_10_12_54_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/2/35de9722c5df6f38b569ab7fa023bdd3.jpg","text":"TemporaryFile(/tmp/multipartBody3593909508442474151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068925097,"filename":"image_30102025_10_12_57_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/2/977286d36039c5aa3e33792baa164f6f.jpg","text":"TemporaryFile(/tmp/multipartBody7876239973961995801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068925097,"filename":"image_30102025_10_13_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/2/86fd660ca3b0ba4d1823032995fcaa2a.jpg","text":"TemporaryFile(/tmp/multipartBody6141356410629728876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068925097,"filename":"image_30102025_10_12_59_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805299","file1":"1391805298","file0":"1391805295","file4":"1391805306","file5":"1391805311","file3":"1391805302"},"map_files_photo_id_array":[{"photo_id":"1391805311","filename":"file5"},{"photo_id":"1391805299","filename":"file2"},{"photo_id":"1391805306","filename":"file4"},{"photo_id":"1391805298","filename":"file1"},{"photo_id":"1391805295","filename":"file0"},{"photo_id":"1391805302","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805302":["hashtag1","hashtag2"]},{"1391805311":["hashtag1","hashtag2"]},{"1391805295":["hashtag1","hashtag2"]},{"1391805298":["hashtag1","hashtag2"]},{"1391805306":["hashtag1","hashtag2"]},{"1391805299":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805302, 1391805311, 1391805295, 1391805298, 1391805306, 1391805299)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.241148471832275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:35:27.400001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_11_2782.jpg', '/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_14_2671.jpg', '/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_18_3727.jpg', '/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_20_2877.jpg', '/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_23_2700.jpg', '/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_26_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/10/13/image_30102025_10_13_11_2782.jpg
/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_14_2671.jpg
/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_18_3727.jpg
/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_20_2877.jpg
/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_23_2700.jpg
/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_26_2913.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805332","1391805338","1391805343","1391805349","1391805328","1391805324"],"photo_ids_order":["1391805324","1391805328","1391805332","1391805338","1391805343","1391805349"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e898523ce9877fa613a8fe4fcb58cf56.jpg","text":"TemporaryFile(/tmp/multipartBody2326228831009585273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068990097,"filename":"image_30102025_10_13_18_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/2/90bcc5c8b2792ea3244338124512ba1b.jpg","text":"TemporaryFile(/tmp/multipartBody126304810513959830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068990097,"filename":"image_30102025_10_13_20_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/2/8f96e109bf348f9587f636ab823ca0c7.jpg","text":"TemporaryFile(/tmp/multipartBody8593753913075786523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068990097,"filename":"image_30102025_10_13_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/2/4acc1ed8603d3cf4008af177d4628578.jpg","text":"TemporaryFile(/tmp/multipartBody2056646042096517999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068990097,"filename":"image_30102025_10_13_26_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/2/a7d67f68de3f03e6e4d7bc978425bd70.jpg","text":"TemporaryFile(/tmp/multipartBody5735153828772962620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068990097,"filename":"image_30102025_10_13_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/2/d9df0de4758e24b1fd57082b8b84d389.jpg","text":"TemporaryFile(/tmp/multipartBody1760623594871957250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762068990097,"filename":"image_30102025_10_13_11_2782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805332","file1":"1391805328","file0":"1391805324","file4":"1391805343","file5":"1391805349","file3":"1391805338"},"map_files_photo_id_array":[{"photo_id":"1391805349","filename":"file5"},{"photo_id":"1391805332","filename":"file2"},{"photo_id":"1391805343","filename":"file4"},{"photo_id":"1391805328","filename":"file1"},{"photo_id":"1391805324","filename":"file0"},{"photo_id":"1391805338","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805332":["hashtag1","hashtag2"]},{"1391805338":["hashtag1","hashtag2"]},{"1391805343":["hashtag1","hashtag2"]},{"1391805349":["hashtag1","hashtag2"]},{"1391805328":["hashtag1","hashtag2"]},{"1391805324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805332, 1391805338, 1391805343, 1391805349, 1391805328, 1391805324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.61753582954407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:36:21.922073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_29_2658.jpg', '/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_33_3916.jpg', '/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_35_2586.jpg', '/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_38_2827.jpg', '/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_41_2657.jpg', '/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_44_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/10/13/image_30102025_10_13_29_2658.jpg
/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_33_3916.jpg
/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_35_2586.jpg
/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_38_2827.jpg
/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_41_2657.jpg
/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_44_3724.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.7546021938323975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 08:36:41.986201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_29_2658.jpg', '/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_33_3916.jpg', '/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_35_2586.jpg', '/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_38_2827.jpg', '/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_41_2657.jpg', '/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_44_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/10/13/image_30102025_10_13_29_2658.jpg
/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_33_3916.jpg
/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_35_2586.jpg
/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_38_2827.jpg
/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_41_2657.jpg
/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_44_3724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805386","1391805389","1391805391","1391805395","1391805383","1391805377"],"photo_ids_order":["1391805377","1391805383","1391805386","1391805389","1391805391","1391805395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ebf934822e18cb8cf403edbb21e65f62.jpg","text":"TemporaryFile(/tmp/multipartBody8711903588128222060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069062970,"filename":"image_30102025_10_13_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/2/6d1cdf5d1bb3c3ebf542b70c5ac83de3.jpg","text":"TemporaryFile(/tmp/multipartBody1835091548557349532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069062970,"filename":"image_30102025_10_13_38_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/2/8476693b858d9d3e60d6419f4a217c27.jpg","text":"TemporaryFile(/tmp/multipartBody7196479213907361958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069062970,"filename":"image_30102025_10_13_41_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/2/0ef3613e32c04f5e83514e1b698a5ad6.jpg","text":"TemporaryFile(/tmp/multipartBody204461028096273088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069062970,"filename":"image_30102025_10_13_44_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/2/5b0fe77521eb3ce55e66b1849032d8d2.jpg","text":"TemporaryFile(/tmp/multipartBody4744331138912517311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069062970,"filename":"image_30102025_10_13_33_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/2/2ad37416f02d7660af06e1ea1bddbbaa.jpg","text":"TemporaryFile(/tmp/multipartBody1204540301232307985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069062970,"filename":"image_30102025_10_13_29_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805386","file1":"1391805383","file0":"1391805377","file4":"1391805391","file5":"1391805395","file3":"1391805389"},"map_files_photo_id_array":[{"photo_id":"1391805395","filename":"file5"},{"photo_id":"1391805386","filename":"file2"},{"photo_id":"1391805391","filename":"file4"},{"photo_id":"1391805383","filename":"file1"},{"photo_id":"1391805377","filename":"file0"},{"photo_id":"1391805389","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805386":["hashtag1","hashtag2"]},{"1391805389":["hashtag1","hashtag2"]},{"1391805391":["hashtag1","hashtag2"]},{"1391805395":["hashtag1","hashtag2"]},{"1391805383":["hashtag1","hashtag2"]},{"1391805377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805386, 1391805389, 1391805391, 1391805395, 1391805383, 1391805377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64543151855469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:37:22.106072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_47_2652.jpg', '/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_50_2599.jpg', '/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_53_3752.jpg', '/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_56_2617.jpg', '/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_05_2649.jpg', '/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_08_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/10/13/image_30102025_10_13_47_2652.jpg
/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_50_2599.jpg
/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_53_3752.jpg
/home/pi/Desktop/images/30102025/10/13/image_30102025_10_13_56_2617.jpg
/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_05_2649.jpg
/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_08_2755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805413","1391805406","1391805409","1391805418","1391805411","1391805408"],"photo_ids_order":["1391805406","1391805408","1391805409","1391805411","1391805413","1391805418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/11085461b08e755cafaa25b6a3917e65.jpg","text":"TemporaryFile(/tmp/multipartBody729623956394662885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069104849,"filename":"image_30102025_10_14_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/2/10146773962b048e260020ef53908d04.jpg","text":"TemporaryFile(/tmp/multipartBody2791105386309386396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069104849,"filename":"image_30102025_10_13_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/2/09febea939c23f2766fea973551a29a0.jpg","text":"TemporaryFile(/tmp/multipartBody6637900595209050770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069104849,"filename":"image_30102025_10_13_53_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/2/a8c4e73c414f4fcdb43b23bc18f91ede.jpg","text":"TemporaryFile(/tmp/multipartBody1396585146131435067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069104849,"filename":"image_30102025_10_14_08_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/2/55796335e5fa0995c7317176c5e6a159.jpg","text":"TemporaryFile(/tmp/multipartBody54687046983992060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069104849,"filename":"image_30102025_10_13_56_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/2/46caa659eea102cbf43e417040c5027b.jpg","text":"TemporaryFile(/tmp/multipartBody3950151498101323844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069104849,"filename":"image_30102025_10_13_50_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805409","file1":"1391805408","file0":"1391805406","file4":"1391805413","file5":"1391805418","file3":"1391805411"},"map_files_photo_id_array":[{"photo_id":"1391805418","filename":"file5"},{"photo_id":"1391805409","filename":"file2"},{"photo_id":"1391805413","filename":"file4"},{"photo_id":"1391805408","filename":"file1"},{"photo_id":"1391805406","filename":"file0"},{"photo_id":"1391805411","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805413":["hashtag1","hashtag2"]},{"1391805406":["hashtag1","hashtag2"]},{"1391805409":["hashtag1","hashtag2"]},{"1391805418":["hashtag1","hashtag2"]},{"1391805411":["hashtag1","hashtag2"]},{"1391805408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805413, 1391805406, 1391805409, 1391805418, 1391805411, 1391805408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15351128578186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 08:38:02.865730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_11_2798.jpg', '/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_14_3723.jpg', '/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_17_2772.jpg', '/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_20_2707.jpg', '/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_23_2799.jpg', '/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_27_3806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_11_2798.jpg
/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_14_3723.jpg
/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_17_2772.jpg
/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_20_2707.jpg
/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_23_2799.jpg
/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_27_3806.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805434","1391805437","1391805439","1391805435","1391805429","1391805432"],"photo_ids_order":["1391805429","1391805432","1391805434","1391805435","1391805437","1391805439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2e55a7e95b52e33b7d6e6c0b44fe61ec.jpg","text":"TemporaryFile(/tmp/multipartBody6479783143473128397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069144991,"filename":"image_30102025_10_14_17_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/2/39103ff50473b061155ffa980f943e28.jpg","text":"TemporaryFile(/tmp/multipartBody2710043610757762020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069144991,"filename":"image_30102025_10_14_23_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/2/30ff9a694948fd76cf8d932920f43eef.jpg","text":"TemporaryFile(/tmp/multipartBody6457251500708331452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069144991,"filename":"image_30102025_10_14_27_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/2/5d60167cb4a46a8547db42d606275456.jpg","text":"TemporaryFile(/tmp/multipartBody7614398193959538091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069144991,"filename":"image_30102025_10_14_20_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/2/88b4f77d8d5448e62f0ea219e8133b6f.jpg","text":"TemporaryFile(/tmp/multipartBody8392456029439060124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069144991,"filename":"image_30102025_10_14_11_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/2/d43a1975b92badae60148050d8b444a2.jpg","text":"TemporaryFile(/tmp/multipartBody7644809388444591496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069144991,"filename":"image_30102025_10_14_14_3723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805434","file1":"1391805432","file0":"1391805429","file4":"1391805437","file5":"1391805439","file3":"1391805435"},"map_files_photo_id_array":[{"photo_id":"1391805439","filename":"file5"},{"photo_id":"1391805434","filename":"file2"},{"photo_id":"1391805437","filename":"file4"},{"photo_id":"1391805432","filename":"file1"},{"photo_id":"1391805429","filename":"file0"},{"photo_id":"1391805435","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805434":["hashtag1","hashtag2"]},{"1391805437":["hashtag1","hashtag2"]},{"1391805439":["hashtag1","hashtag2"]},{"1391805435":["hashtag1","hashtag2"]},{"1391805429":["hashtag1","hashtag2"]},{"1391805432":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805434, 1391805437, 1391805439, 1391805435, 1391805429, 1391805432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47563195228577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 08:38:42.299705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_29_2693.jpg', '/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_32_2576.jpg', '/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_35_3620.jpg', '/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_38_2730.jpg', '/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_41_2562.jpg', '/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_44_2952.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_29_2693.jpg
/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_32_2576.jpg
/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_35_3620.jpg
/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_38_2730.jpg
/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_41_2562.jpg
/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_44_2952.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805467","1391805461","1391805449","1391805463","1391805457","1391805453"],"photo_ids_order":["1391805449","1391805453","1391805457","1391805461","1391805463","1391805467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/322ba22a1f07d73a88bcf2b2b1331e6a.jpg","text":"TemporaryFile(/tmp/multipartBody4533777795398128190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069183515,"filename":"image_30102025_10_14_44_2952.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f6bd1d444deff7d827165ebf36854ff0.jpg","text":"TemporaryFile(/tmp/multipartBody3902274623947164866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069183515,"filename":"image_30102025_10_14_38_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/2/ae85c30aedb913b14a4592e6e2fb3475.jpg","text":"TemporaryFile(/tmp/multipartBody680292257727071593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069183515,"filename":"image_30102025_10_14_29_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/2/a31e26bfd284f076bb2abe56c0f58bae.jpg","text":"TemporaryFile(/tmp/multipartBody7900975614976837634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069183515,"filename":"image_30102025_10_14_41_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/2/6849e2af4d41a62a51e9fc221c802e49.jpg","text":"TemporaryFile(/tmp/multipartBody6065152703901154641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069183515,"filename":"image_30102025_10_14_35_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/2/0a411059d395e56adf509d1e11605968.jpg","text":"TemporaryFile(/tmp/multipartBody5552073641242811025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069183515,"filename":"image_30102025_10_14_32_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805457","file1":"1391805453","file0":"1391805449","file4":"1391805463","file5":"1391805467","file3":"1391805461"},"map_files_photo_id_array":[{"photo_id":"1391805467","filename":"file5"},{"photo_id":"1391805457","filename":"file2"},{"photo_id":"1391805463","filename":"file4"},{"photo_id":"1391805453","filename":"file1"},{"photo_id":"1391805449","filename":"file0"},{"photo_id":"1391805461","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805467":["hashtag1","hashtag2"]},{"1391805461":["hashtag1","hashtag2"]},{"1391805449":["hashtag1","hashtag2"]},{"1391805463":["hashtag1","hashtag2"]},{"1391805457":["hashtag1","hashtag2"]},{"1391805453":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805467, 1391805461, 1391805449, 1391805463, 1391805457, 1391805453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55657744407654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:39:22.407279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_47_3822.jpg', '/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_53_2624.jpg', '/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_56_3554.jpg', '/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_59_2707.jpg', '/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_07_3012.jpg', '/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_14_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/10/14/image_30102025_10_14_47_3822.jpg
/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_53_2624.jpg
/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_56_3554.jpg
/home/pi/Desktop/images/30102025/10/14/image_30102025_10_14_59_2707.jpg
/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_07_3012.jpg
/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_14_2751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805473","1391805484","1391805478","1391805489","1391805480","1391805476"],"photo_ids_order":["1391805473","1391805476","1391805478","1391805480","1391805484","1391805489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1f14b9ed5550e21d5d78c2411d872986.jpg","text":"TemporaryFile(/tmp/multipartBody8388667380808153180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069225121,"filename":"image_30102025_10_14_47_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/2/55fd9c1639c846a5b0a9a71b0287c761.jpg","text":"TemporaryFile(/tmp/multipartBody2133177679316845075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069225121,"filename":"image_30102025_10_15_07_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/2/13063a2300e737defa49c1ef6d67cc01.jpg","text":"TemporaryFile(/tmp/multipartBody8304076781322763392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069225121,"filename":"image_30102025_10_14_56_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/2/181a52652f751ee60ac24f46c6f129be.jpg","text":"TemporaryFile(/tmp/multipartBody4797039720327724596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069225121,"filename":"image_30102025_10_15_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/2/5c6c3fdc3e28754df8b7f280cbb2b0b7.jpg","text":"TemporaryFile(/tmp/multipartBody6023809434268499375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069225121,"filename":"image_30102025_10_14_59_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/2/a1f7829aacd8650ad27b026a855436a8.jpg","text":"TemporaryFile(/tmp/multipartBody8762495125766439927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069225121,"filename":"image_30102025_10_14_53_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805478","file1":"1391805476","file0":"1391805473","file4":"1391805484","file5":"1391805489","file3":"1391805480"},"map_files_photo_id_array":[{"photo_id":"1391805489","filename":"file5"},{"photo_id":"1391805478","filename":"file2"},{"photo_id":"1391805484","filename":"file4"},{"photo_id":"1391805476","filename":"file1"},{"photo_id":"1391805473","filename":"file0"},{"photo_id":"1391805480","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805473":["hashtag1","hashtag2"]},{"1391805484":["hashtag1","hashtag2"]},{"1391805478":["hashtag1","hashtag2"]},{"1391805489":["hashtag1","hashtag2"]},{"1391805480":["hashtag1","hashtag2"]},{"1391805476":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805473, 1391805484, 1391805478, 1391805489, 1391805480, 1391805476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69843101501465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 08:40:03.094949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_16_2567.jpg', '/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_20_3610.jpg', '/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_22_2717.jpg', '/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_28_2831.jpg', '/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_32_3754.jpg', '/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_34_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/10/15/image_30102025_10_15_16_2567.jpg
/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_20_3610.jpg
/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_22_2717.jpg
/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_28_2831.jpg
/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_32_3754.jpg
/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_34_2578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805503","1391805505","1391805498","1391805501","1391805510","1391805513"],"photo_ids_order":["1391805498","1391805501","1391805503","1391805505","1391805510","1391805513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8971f9b43a9d722538ef4657002ed670.jpg","text":"TemporaryFile(/tmp/multipartBody1972847822109579870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069265220,"filename":"image_30102025_10_15_22_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/2/aafc25c31e73425fc36c1a549bd995c5.jpg","text":"TemporaryFile(/tmp/multipartBody7211289468678076591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069265220,"filename":"image_30102025_10_15_28_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/2/7da5236aba6a939f04f825d09037d4bd.jpg","text":"TemporaryFile(/tmp/multipartBody1239042987023392619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069265220,"filename":"image_30102025_10_15_16_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/2/765eec78e13f75df80c368a2def20576.jpg","text":"TemporaryFile(/tmp/multipartBody5621466968954644594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069265220,"filename":"image_30102025_10_15_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/2/1cdc69698578dffc66a9f94e631c3883.jpg","text":"TemporaryFile(/tmp/multipartBody57054837883814519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069265220,"filename":"image_30102025_10_15_32_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/2/1e252540bd194a1748ab4a5b442c28d0.jpg","text":"TemporaryFile(/tmp/multipartBody7463279188421747754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069265220,"filename":"image_30102025_10_15_34_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805503","file1":"1391805501","file0":"1391805498","file4":"1391805510","file5":"1391805513","file3":"1391805505"},"map_files_photo_id_array":[{"photo_id":"1391805513","filename":"file5"},{"photo_id":"1391805503","filename":"file2"},{"photo_id":"1391805510","filename":"file4"},{"photo_id":"1391805501","filename":"file1"},{"photo_id":"1391805498","filename":"file0"},{"photo_id":"1391805505","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805503":["hashtag1","hashtag2"]},{"1391805505":["hashtag1","hashtag2"]},{"1391805498":["hashtag1","hashtag2"]},{"1391805501":["hashtag1","hashtag2"]},{"1391805510":["hashtag1","hashtag2"]},{"1391805513":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805503, 1391805505, 1391805498, 1391805501, 1391805510, 1391805513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45875310897827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 08:40:42.504617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_37_2578.jpg', '/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_40_3589.jpg', '/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_43_2580.jpg', '/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_47_3782.jpg', '/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_49_2716.jpg', '/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_52_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/10/15/image_30102025_10_15_37_2578.jpg
/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_40_3589.jpg
/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_43_2580.jpg
/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_47_3782.jpg
/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_49_2716.jpg
/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_52_2892.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805539","1391805533","1391805535","1391805529","1391805531","1391805525"],"photo_ids_order":["1391805525","1391805529","1391805531","1391805533","1391805535","1391805539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/08f912861a3c0e8c7ae86586e0c2fec3.jpg","text":"TemporaryFile(/tmp/multipartBody6787928358150591655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069303638,"filename":"image_30102025_10_15_52_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/2/2a2efb5f3f37469114054784eaf120a3.jpg","text":"TemporaryFile(/tmp/multipartBody8614711363308135876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069303638,"filename":"image_30102025_10_15_47_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/2/06a4d4e58e9e0517077dbf0249497167.jpg","text":"TemporaryFile(/tmp/multipartBody2341121446566316577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069303638,"filename":"image_30102025_10_15_49_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/2/cf41c1e8d60bb83cfd71e7d7a4fab778.jpg","text":"TemporaryFile(/tmp/multipartBody27275302077894972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069303638,"filename":"image_30102025_10_15_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/2/0c35091023f7405bac30ae8fc4002916.jpg","text":"TemporaryFile(/tmp/multipartBody581657239174057238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069303638,"filename":"image_30102025_10_15_43_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/2/efb479a7fded039bc4a721a79a750850.jpg","text":"TemporaryFile(/tmp/multipartBody3930258547667247033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069303638,"filename":"image_30102025_10_15_37_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805531","file1":"1391805529","file0":"1391805525","file4":"1391805535","file5":"1391805539","file3":"1391805533"},"map_files_photo_id_array":[{"photo_id":"1391805539","filename":"file5"},{"photo_id":"1391805531","filename":"file2"},{"photo_id":"1391805535","filename":"file4"},{"photo_id":"1391805529","filename":"file1"},{"photo_id":"1391805525","filename":"file0"},{"photo_id":"1391805533","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805539":["hashtag1","hashtag2"]},{"1391805533":["hashtag1","hashtag2"]},{"1391805535":["hashtag1","hashtag2"]},{"1391805529":["hashtag1","hashtag2"]},{"1391805531":["hashtag1","hashtag2"]},{"1391805525":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805539, 1391805533, 1391805535, 1391805529, 1391805531, 1391805525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.20655560493469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:41:22.649205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_55_2707.jpg', '/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_59_3635.jpg', '/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_01_2744.jpg', '/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_04_2716.jpg', '/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_07_2692.jpg', '/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_11_3856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_55_2707.jpg
/home/pi/Desktop/images/30102025/10/15/image_30102025_10_15_59_3635.jpg
/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_01_2744.jpg
/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_04_2716.jpg
/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_07_2692.jpg
/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_11_3856.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805557","1391805551","1391805560","1391805554","1391805564","1391805567"],"photo_ids_order":["1391805551","1391805554","1391805557","1391805560","1391805564","1391805567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f333136c0e4979e759a5eed2f674051b.jpg","text":"TemporaryFile(/tmp/multipartBody6068089417666482991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069345338,"filename":"image_30102025_10_16_01_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/2/1d510973031071986bac1c070a959003.jpg","text":"TemporaryFile(/tmp/multipartBody4697226292247702987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069345338,"filename":"image_30102025_10_15_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/2/26816ef9242a41b6c148335e7ffcc5e1.jpg","text":"TemporaryFile(/tmp/multipartBody6530282603377570128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069345338,"filename":"image_30102025_10_16_04_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/2/d14cfe1ca7a1da18a7ef319e9e41af0d.jpg","text":"TemporaryFile(/tmp/multipartBody6834889740835698784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069345338,"filename":"image_30102025_10_15_59_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/2/b9bb648a889a61b098ed7936b5f36b6e.jpg","text":"TemporaryFile(/tmp/multipartBody3562212848009144309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069345338,"filename":"image_30102025_10_16_07_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/2/45d66f9937568442f6962f5cbc4af5d7.jpg","text":"TemporaryFile(/tmp/multipartBody694815218099856590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069345338,"filename":"image_30102025_10_16_11_3856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805557","file1":"1391805554","file0":"1391805551","file4":"1391805564","file5":"1391805567","file3":"1391805560"},"map_files_photo_id_array":[{"photo_id":"1391805567","filename":"file5"},{"photo_id":"1391805557","filename":"file2"},{"photo_id":"1391805564","filename":"file4"},{"photo_id":"1391805554","filename":"file1"},{"photo_id":"1391805551","filename":"file0"},{"photo_id":"1391805560","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805557":["hashtag1","hashtag2"]},{"1391805551":["hashtag1","hashtag2"]},{"1391805560":["hashtag1","hashtag2"]},{"1391805554":["hashtag1","hashtag2"]},{"1391805564":["hashtag1","hashtag2"]},{"1391805567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805557, 1391805551, 1391805560, 1391805554, 1391805564, 1391805567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.906997203826904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 08:42:02.374428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_14_2994.jpg', '/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_16_2719.jpg', '/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_22_2761.jpg', '/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_25_3628.jpg', '/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_31_2706.jpg', '/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_34_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/10/16/image_30102025_10_16_14_2994.jpg
/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_16_2719.jpg
/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_22_2761.jpg
/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_25_3628.jpg
/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_31_2706.jpg
/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_34_2704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805586","1391805574","1391805583","1391805577","1391805579","1391805581"],"photo_ids_order":["1391805574","1391805577","1391805579","1391805581","1391805583","1391805586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/252b83bdc1efdcd16ef602ddba6dca96.jpg","text":"TemporaryFile(/tmp/multipartBody2084975865957163002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069384490,"filename":"image_30102025_10_16_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/2/846813015741971eb7c187f26797afa6.jpg","text":"TemporaryFile(/tmp/multipartBody6878386076451843838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069384490,"filename":"image_30102025_10_16_14_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/2/89a55559fdc1e767710220dedf3b320c.jpg","text":"TemporaryFile(/tmp/multipartBody503652779418312971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069384490,"filename":"image_30102025_10_16_31_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/2/1712ea769828331d426adfa16fcca58a.jpg","text":"TemporaryFile(/tmp/multipartBody5333178940452337301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069384490,"filename":"image_30102025_10_16_16_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/2/3b752f7810a7606d9467ff78bd7d7359.jpg","text":"TemporaryFile(/tmp/multipartBody939083078022511455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069384490,"filename":"image_30102025_10_16_22_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/2/eb9c647898b8961f86fc22f362b01596.jpg","text":"TemporaryFile(/tmp/multipartBody2029925691695373131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069384490,"filename":"image_30102025_10_16_25_3628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805579","file1":"1391805577","file0":"1391805574","file4":"1391805583","file5":"1391805586","file3":"1391805581"},"map_files_photo_id_array":[{"photo_id":"1391805586","filename":"file5"},{"photo_id":"1391805579","filename":"file2"},{"photo_id":"1391805583","filename":"file4"},{"photo_id":"1391805577","filename":"file1"},{"photo_id":"1391805574","filename":"file0"},{"photo_id":"1391805581","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805586":["hashtag1","hashtag2"]},{"1391805574":["hashtag1","hashtag2"]},{"1391805583":["hashtag1","hashtag2"]},{"1391805577":["hashtag1","hashtag2"]},{"1391805579":["hashtag1","hashtag2"]},{"1391805581":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805586, 1391805574, 1391805583, 1391805577, 1391805579, 1391805581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3833270072937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 08:42:41.916768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_37_3657.jpg', '/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_40_2716.jpg', '/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_43_2736.jpg', '/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_47_3751.jpg', '/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_49_2661.jpg', '/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_52_2549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_37_3657.jpg
/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_40_2716.jpg
/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_43_2736.jpg
/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_47_3751.jpg
/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_49_2661.jpg
/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_52_2549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805595","1391805607","1391805609","1391805600","1391805603","1391805612"],"photo_ids_order":["1391805595","1391805600","1391805603","1391805607","1391805609","1391805612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e4439cb028c53599cdcb05f624c00ddc.jpg","text":"TemporaryFile(/tmp/multipartBody4815424832796863751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069423069,"filename":"image_30102025_10_16_37_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/2/2363817a9df771977b1b8fd7aed0043e.jpg","text":"TemporaryFile(/tmp/multipartBody6024265836056022401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069423069,"filename":"image_30102025_10_16_47_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/2/8f686dd22a12f6dc4bad5d50cc762bf7.jpg","text":"TemporaryFile(/tmp/multipartBody6851575090386320958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069423069,"filename":"image_30102025_10_16_49_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/2/40d758bc356b06789444648ec2475187.jpg","text":"TemporaryFile(/tmp/multipartBody588228789438621726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069423069,"filename":"image_30102025_10_16_40_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/2/4b0c5c37baecf0ce1299f4fda72101f3.jpg","text":"TemporaryFile(/tmp/multipartBody2635348347755075597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069423069,"filename":"image_30102025_10_16_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/2/4c077b837df54eb2e3376b7e811ace95.jpg","text":"TemporaryFile(/tmp/multipartBody7614626115751475901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069423069,"filename":"image_30102025_10_16_52_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805603","file1":"1391805600","file0":"1391805595","file4":"1391805609","file5":"1391805612","file3":"1391805607"},"map_files_photo_id_array":[{"photo_id":"1391805612","filename":"file5"},{"photo_id":"1391805603","filename":"file2"},{"photo_id":"1391805609","filename":"file4"},{"photo_id":"1391805600","filename":"file1"},{"photo_id":"1391805595","filename":"file0"},{"photo_id":"1391805607","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805595":["hashtag1","hashtag2"]},{"1391805607":["hashtag1","hashtag2"]},{"1391805609":["hashtag1","hashtag2"]},{"1391805600":["hashtag1","hashtag2"]},{"1391805603":["hashtag1","hashtag2"]},{"1391805612":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805595, 1391805607, 1391805609, 1391805600, 1391805603, 1391805612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.606247901916504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:43:22.098163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_55_3594.jpg', '/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_58_2692.jpg', '/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_02_3543.jpg', '/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_04_2639.jpg', '/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_07_2574.jpg', '/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_10_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/10/16/image_30102025_10_16_55_3594.jpg
/home/pi/Desktop/images/30102025/10/16/image_30102025_10_16_58_2692.jpg
/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_02_3543.jpg
/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_04_2639.jpg
/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_07_2574.jpg
/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_10_3666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805620","1391805622","1391805633","1391805627","1391805636","1391805624"],"photo_ids_order":["1391805620","1391805622","1391805624","1391805627","1391805633","1391805636"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8afeccbbe815f8f8625707368576ecf7.jpg","text":"TemporaryFile(/tmp/multipartBody3929214007160621676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069464789,"filename":"image_30102025_10_16_55_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/2/e31a91d90f0f95ced72864a3a6e13809.jpg","text":"TemporaryFile(/tmp/multipartBody7908183687449103535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069464789,"filename":"image_30102025_10_16_58_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/2/f55c2e661dc4ba26f73aec5046f3b50c.jpg","text":"TemporaryFile(/tmp/multipartBody8500778789776419193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069464789,"filename":"image_30102025_10_17_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/2/73283bd79882947b94feffecb2c7b503.jpg","text":"TemporaryFile(/tmp/multipartBody7217694156249063986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069464789,"filename":"image_30102025_10_17_04_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/2/d1f25b9383130bb5ad236f106a1fcf98.jpg","text":"TemporaryFile(/tmp/multipartBody4469677872920338233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069464789,"filename":"image_30102025_10_17_10_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/2/72938752414580169b9d1015876eddc5.jpg","text":"TemporaryFile(/tmp/multipartBody8853382277188941867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069464789,"filename":"image_30102025_10_17_02_3543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805624","file1":"1391805622","file0":"1391805620","file4":"1391805633","file5":"1391805636","file3":"1391805627"},"map_files_photo_id_array":[{"photo_id":"1391805636","filename":"file5"},{"photo_id":"1391805624","filename":"file2"},{"photo_id":"1391805633","filename":"file4"},{"photo_id":"1391805622","filename":"file1"},{"photo_id":"1391805620","filename":"file0"},{"photo_id":"1391805627","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805620":["hashtag1","hashtag2"]},{"1391805622":["hashtag1","hashtag2"]},{"1391805633":["hashtag1","hashtag2"]},{"1391805627":["hashtag1","hashtag2"]},{"1391805636":["hashtag1","hashtag2"]},{"1391805624":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805620, 1391805622, 1391805633, 1391805627, 1391805636, 1391805624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.445066690444946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 08:44:03.138769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_13_2647.jpg', '/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_16_2753.jpg', '/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_19_2735.jpg', '/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_22_3741.jpg', '/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_28_2735.jpg', '/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_34_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/10/17/image_30102025_10_17_13_2647.jpg
/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_16_2753.jpg
/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_19_2735.jpg
/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_22_3741.jpg
/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_28_2735.jpg
/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_34_2769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805662","1391805659","1391805652","1391805655","1391805649","1391805646"],"photo_ids_order":["1391805646","1391805649","1391805652","1391805655","1391805659","1391805662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bd74a537ba8a832f3c20fa2b6f60de3f.jpg","text":"TemporaryFile(/tmp/multipartBody8179937922591438306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069505358,"filename":"image_30102025_10_17_34_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/2/4a2e2a3beb4727b7e9c797d0731614e5.jpg","text":"TemporaryFile(/tmp/multipartBody695144315247134992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069505358,"filename":"image_30102025_10_17_28_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/2/2b419e26efa8a2da1318923119010d9d.jpg","text":"TemporaryFile(/tmp/multipartBody1749338295059933394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069505358,"filename":"image_30102025_10_17_19_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/2/6f3451b283542047cbb00c2b138e7133.jpg","text":"TemporaryFile(/tmp/multipartBody9020024863232807761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069505358,"filename":"image_30102025_10_17_22_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/2/33abccd3e4a8ee9b17e098642ad2a3d4.jpg","text":"TemporaryFile(/tmp/multipartBody6243819689290372736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069505358,"filename":"image_30102025_10_17_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/2/96f407521440faa2ae02c402d4472356.jpg","text":"TemporaryFile(/tmp/multipartBody1952622482364149396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069505358,"filename":"image_30102025_10_17_13_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805652","file1":"1391805649","file0":"1391805646","file4":"1391805659","file5":"1391805662","file3":"1391805655"},"map_files_photo_id_array":[{"photo_id":"1391805662","filename":"file5"},{"photo_id":"1391805652","filename":"file2"},{"photo_id":"1391805659","filename":"file4"},{"photo_id":"1391805649","filename":"file1"},{"photo_id":"1391805646","filename":"file0"},{"photo_id":"1391805655","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805662":["hashtag1","hashtag2"]},{"1391805659":["hashtag1","hashtag2"]},{"1391805652":["hashtag1","hashtag2"]},{"1391805655":["hashtag1","hashtag2"]},{"1391805649":["hashtag1","hashtag2"]},{"1391805646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805662, 1391805659, 1391805652, 1391805655, 1391805649, 1391805646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31058645248413 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 08:44:42.293456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_41_3668.jpg', '/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_43_2554.jpg', '/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_46_2586.jpg', '/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_49_3633.jpg', '/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_52_2769.jpg', '/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_55_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/10/17/image_30102025_10_17_41_3668.jpg
/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_43_2554.jpg
/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_46_2586.jpg
/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_49_3633.jpg
/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_52_2769.jpg
/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_55_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: 1.0631093978881836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 08:45:03.162068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_41_3668.jpg', '/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_43_2554.jpg', '/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_46_2586.jpg', '/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_49_3633.jpg', '/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_52_2769.jpg', '/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_55_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/10/17/image_30102025_10_17_41_3668.jpg
/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_43_2554.jpg
/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_46_2586.jpg
/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_49_3633.jpg
/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_52_2769.jpg
/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_55_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805697","1391805694","1391805699","1391805702","1391805692","1391805689"],"photo_ids_order":["1391805689","1391805692","1391805694","1391805697","1391805699","1391805702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/be297d6ae8669d4992bd9e6301c6054b.jpg","text":"TemporaryFile(/tmp/multipartBody765596999401234745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069565245,"filename":"image_30102025_10_17_49_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/2/4db02fd1e1faab1d4596f660f64ba1ec.jpg","text":"TemporaryFile(/tmp/multipartBody1063860321741015144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069565245,"filename":"image_30102025_10_17_46_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/2/33401aaf7528f59f8a5e4e299cfd8476.jpg","text":"TemporaryFile(/tmp/multipartBody1887285689511499814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069565245,"filename":"image_30102025_10_17_52_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/2/57a27d2b9fb39ae083cba4bea197d0b7.jpg","text":"TemporaryFile(/tmp/multipartBody1942168679615855378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069565245,"filename":"image_30102025_10_17_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/2/266da731b4dc758e09fd97ac7e3e2d76.jpg","text":"TemporaryFile(/tmp/multipartBody370789717400200757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069565245,"filename":"image_30102025_10_17_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/2/926be00f3f24b8bebf6cfc16c282eb4d.jpg","text":"TemporaryFile(/tmp/multipartBody2941477955376100967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069565245,"filename":"image_30102025_10_17_41_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805694","file1":"1391805692","file0":"1391805689","file4":"1391805699","file5":"1391805702","file3":"1391805697"},"map_files_photo_id_array":[{"photo_id":"1391805702","filename":"file5"},{"photo_id":"1391805694","filename":"file2"},{"photo_id":"1391805699","filename":"file4"},{"photo_id":"1391805692","filename":"file1"},{"photo_id":"1391805689","filename":"file0"},{"photo_id":"1391805697","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805697":["hashtag1","hashtag2"]},{"1391805694":["hashtag1","hashtag2"]},{"1391805699":["hashtag1","hashtag2"]},{"1391805702":["hashtag1","hashtag2"]},{"1391805692":["hashtag1","hashtag2"]},{"1391805689":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805697, 1391805694, 1391805699, 1391805702, 1391805692, 1391805689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14696669578552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 08:45:42.537665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/17/image_30102025_10_17_58_2809.jpg', '/home/pi/Desktop/images/30102025/10/17/image_30102025_10_18_01_3574.jpg', '/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_04_2786.jpg', '/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_08_3560.jpg', '/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_10_2740.jpg', '/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_13_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/10/17/image_30102025_10_17_58_2809.jpg
/home/pi/Desktop/images/30102025/10/17/image_30102025_10_18_01_3574.jpg
/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_04_2786.jpg
/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_08_3560.jpg
/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_10_2740.jpg
/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_13_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805721","1391805718","1391805726","1391805714","1391805723","1391805711"],"photo_ids_order":["1391805711","1391805714","1391805718","1391805721","1391805723","1391805726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/94a840c45b850f0370c50999cf7e84f2.jpg","text":"TemporaryFile(/tmp/multipartBody6590727032733541470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069603705,"filename":"image_30102025_10_18_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/2/44a70e6b793308f6d654bb7009b4a69e.jpg","text":"TemporaryFile(/tmp/multipartBody5040445851759849174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069603705,"filename":"image_30102025_10_18_04_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/2/4d3859e8ab6efcffe3f2faa6462b9be1.jpg","text":"TemporaryFile(/tmp/multipartBody2997804096425577642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069603705,"filename":"image_30102025_10_18_13_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/2/5f825c41ddf6846505b9a7ea50fd73d7.jpg","text":"TemporaryFile(/tmp/multipartBody7178568922771863617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069603705,"filename":"image_30102025_10_18_01_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/2/08d52d25b00bf30673b948a19b915b75.jpg","text":"TemporaryFile(/tmp/multipartBody1448436435346243440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069603705,"filename":"image_30102025_10_18_10_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/2/b01059006f64f4a0e14e04de08559534.jpg","text":"TemporaryFile(/tmp/multipartBody7360337181142043099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069603705,"filename":"image_30102025_10_17_58_2809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805718","file1":"1391805714","file0":"1391805711","file4":"1391805723","file5":"1391805726","file3":"1391805721"},"map_files_photo_id_array":[{"photo_id":"1391805726","filename":"file5"},{"photo_id":"1391805718","filename":"file2"},{"photo_id":"1391805723","filename":"file4"},{"photo_id":"1391805714","filename":"file1"},{"photo_id":"1391805711","filename":"file0"},{"photo_id":"1391805721","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805721":["hashtag1","hashtag2"]},{"1391805718":["hashtag1","hashtag2"]},{"1391805726":["hashtag1","hashtag2"]},{"1391805714":["hashtag1","hashtag2"]},{"1391805723":["hashtag1","hashtag2"]},{"1391805711":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805721, 1391805718, 1391805726, 1391805714, 1391805723, 1391805711)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.279298543930054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 08:46:42.684633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_16_2678.jpg', '/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_19_3708.jpg', '/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_22_2576.jpg', '/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_25_3583.jpg', '/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_28_2634.jpg', '/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_31_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/10/18/image_30102025_10_18_16_2678.jpg
/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_19_3708.jpg
/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_22_2576.jpg
/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_25_3583.jpg
/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_28_2634.jpg
/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_31_2804.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805779","1391805772","1391805775","1391805763","1391805777","1391805759"],"photo_ids_order":["1391805759","1391805763","1391805772","1391805775","1391805777","1391805779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c329514ed4bfbe7083725d4ba6461213.jpg","text":"TemporaryFile(/tmp/multipartBody8272552066545482868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069663805,"filename":"image_30102025_10_18_31_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/2/0ca5d9d8f38f3f867296406b5e2d1681.jpg","text":"TemporaryFile(/tmp/multipartBody2214169823800900286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069663805,"filename":"image_30102025_10_18_22_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/2/867fdb082be3ba4428d8fe34ad9f7360.jpg","text":"TemporaryFile(/tmp/multipartBody562750776329167800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069663805,"filename":"image_30102025_10_18_25_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/2/5dbced048f428dfe1bf85d6b565c4694.jpg","text":"TemporaryFile(/tmp/multipartBody2609070851967510691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069663805,"filename":"image_30102025_10_18_19_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/2/7e0446fc7ea5bce25d8766e401f7f6fa.jpg","text":"TemporaryFile(/tmp/multipartBody2035736127676154640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069663805,"filename":"image_30102025_10_18_28_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/2/a5bbdd49fb2789399ebdd21680192fc0.jpg","text":"TemporaryFile(/tmp/multipartBody6159730462488466596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069663805,"filename":"image_30102025_10_18_16_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805772","file1":"1391805763","file0":"1391805759","file4":"1391805777","file5":"1391805779","file3":"1391805775"},"map_files_photo_id_array":[{"photo_id":"1391805779","filename":"file5"},{"photo_id":"1391805772","filename":"file2"},{"photo_id":"1391805777","filename":"file4"},{"photo_id":"1391805763","filename":"file1"},{"photo_id":"1391805759","filename":"file0"},{"photo_id":"1391805775","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805779":["hashtag1","hashtag2"]},{"1391805772":["hashtag1","hashtag2"]},{"1391805775":["hashtag1","hashtag2"]},{"1391805763":["hashtag1","hashtag2"]},{"1391805777":["hashtag1","hashtag2"]},{"1391805759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805779, 1391805772, 1391805775, 1391805763, 1391805777, 1391805759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95818471908569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:47:21.836744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_34_2663.jpg', '/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_37_3819.jpg', '/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_40_2581.jpg', '/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_43_2721.jpg', '/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_46_3637.jpg', '/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_49_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_34_2663.jpg
/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_37_3819.jpg
/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_40_2581.jpg
/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_43_2721.jpg
/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_46_3637.jpg
/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_49_2760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805803","1391805806","1391805799","1391805784","1391805786","1391805791"],"photo_ids_order":["1391805784","1391805786","1391805791","1391805799","1391805803","1391805806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/baab668c0a07c69bc3603f11171f4a05.jpg","text":"TemporaryFile(/tmp/multipartBody4745087686472882521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069706989,"filename":"image_30102025_10_18_46_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/2/bd4c5719e9cc01dbcb1b9645213c04d0.jpg","text":"TemporaryFile(/tmp/multipartBody671712946670922680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069706989,"filename":"image_30102025_10_18_49_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/2/ec76a945104a436317062813c991e538.jpg","text":"TemporaryFile(/tmp/multipartBody7949787584109223893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069706989,"filename":"image_30102025_10_18_43_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/2/79fa105b3741944467594e4ca1d42ebc.jpg","text":"TemporaryFile(/tmp/multipartBody4551904346817668397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069706989,"filename":"image_30102025_10_18_34_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/2/4f054bd8a5dcd9b3c265a8b7309bcda8.jpg","text":"TemporaryFile(/tmp/multipartBody7941675986803606368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069706989,"filename":"image_30102025_10_18_37_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/2/902a08436a6542ef671449198705f24a.jpg","text":"TemporaryFile(/tmp/multipartBody3112110900807756115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069706989,"filename":"image_30102025_10_18_40_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805791","file1":"1391805786","file0":"1391805784","file4":"1391805803","file5":"1391805806","file3":"1391805799"},"map_files_photo_id_array":[{"photo_id":"1391805806","filename":"file5"},{"photo_id":"1391805791","filename":"file2"},{"photo_id":"1391805803","filename":"file4"},{"photo_id":"1391805786","filename":"file1"},{"photo_id":"1391805784","filename":"file0"},{"photo_id":"1391805799","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805803":["hashtag1","hashtag2"]},{"1391805806":["hashtag1","hashtag2"]},{"1391805799":["hashtag1","hashtag2"]},{"1391805784":["hashtag1","hashtag2"]},{"1391805786":["hashtag1","hashtag2"]},{"1391805791":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805803, 1391805806, 1391805799, 1391805784, 1391805786, 1391805791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.432706117630005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:48:22.029056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_52_2577.jpg', '/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_55_3601.jpg', '/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_58_2636.jpg', '/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_01_2701.jpg', '/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_04_3837.jpg', '/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_07_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/10/18/image_30102025_10_18_52_2577.jpg
/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_55_3601.jpg
/home/pi/Desktop/images/30102025/10/18/image_30102025_10_18_58_2636.jpg
/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_01_2701.jpg
/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_04_3837.jpg
/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_07_2719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391805842","1391805851","1391805839","1391805847","1391805841","1391805844"],"photo_ids_order":["1391805839","1391805841","1391805842","1391805844","1391805847","1391805851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/64ba94f6327a21f3bc784c647a8b62db.jpg","text":"TemporaryFile(/tmp/multipartBody2877150522782529686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069764591,"filename":"image_30102025_10_18_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/2/23fa227857cd634869eeaeef98b3ada0.jpg","text":"TemporaryFile(/tmp/multipartBody1875105565794179400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069764591,"filename":"image_30102025_10_19_07_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/2/3222120f72f4736674a9c8c4103f4a32.jpg","text":"TemporaryFile(/tmp/multipartBody2592680624750430761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069764591,"filename":"image_30102025_10_18_52_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/2/dbdd7d5ff341948f65e28f12ce341a5c.jpg","text":"TemporaryFile(/tmp/multipartBody2456876778127816761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069764591,"filename":"image_30102025_10_19_04_3837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/18431fe2bfac75623bc839a2e3d0f087.jpg","text":"TemporaryFile(/tmp/multipartBody837012698834671456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069764591,"filename":"image_30102025_10_18_55_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/2/dc267a9ce464342866a09f502d23b453.jpg","text":"TemporaryFile(/tmp/multipartBody5212725147799190304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069764591,"filename":"image_30102025_10_19_01_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805842","file1":"1391805841","file0":"1391805839","file4":"1391805847","file5":"1391805851","file3":"1391805844"},"map_files_photo_id_array":[{"photo_id":"1391805851","filename":"file5"},{"photo_id":"1391805842","filename":"file2"},{"photo_id":"1391805847","filename":"file4"},{"photo_id":"1391805841","filename":"file1"},{"photo_id":"1391805839","filename":"file0"},{"photo_id":"1391805844","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805842":["hashtag1","hashtag2"]},{"1391805851":["hashtag1","hashtag2"]},{"1391805839":["hashtag1","hashtag2"]},{"1391805847":["hashtag1","hashtag2"]},{"1391805841":["hashtag1","hashtag2"]},{"1391805844":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805842, 1391805851, 1391805839, 1391805847, 1391805841, 1391805844)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.84505867958069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:49:27.744507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_10_2858.jpg', '/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_13_2604.jpg', '/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_16_3667.jpg', '/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_21_2634.jpg', '/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_25_3754.jpg', '/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_28_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/10/19/image_30102025_10_19_10_2858.jpg
/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_13_2604.jpg
/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_16_3667.jpg
/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_21_2634.jpg
/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_25_3754.jpg
/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_28_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":["1391805932","1391805908","1391805922","1391805910","1391805927","1391805915"],"photo_ids_order":["1391805908","1391805910","1391805915","1391805922","1391805927","1391805932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5efba5da666b11692286a2bcd8360401.jpg","text":"TemporaryFile(/tmp/multipartBody4428387559769025749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069830172,"filename":"image_30102025_10_19_28_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/2/b3a5a0f62ac6f882953bab0922641cdc.jpg","text":"TemporaryFile(/tmp/multipartBody8916418918318963783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069830172,"filename":"image_30102025_10_19_10_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/2/e73605098493afb4fe5ba7f13b4ccaa6.jpg","text":"TemporaryFile(/tmp/multipartBody2023314476687155515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069830172,"filename":"image_30102025_10_19_21_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/2/9cff4a42e1bdf4203db93204424a5dee.jpg","text":"TemporaryFile(/tmp/multipartBody3937083509930361200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069830172,"filename":"image_30102025_10_19_13_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/2/d94cb722e163427c028fd51f26b791f4.jpg","text":"TemporaryFile(/tmp/multipartBody5374091614746501578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069830172,"filename":"image_30102025_10_19_25_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/2/b56fcea58f9a1a5ed17127c89e7b7581.jpg","text":"TemporaryFile(/tmp/multipartBody1882630582524334097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069830172,"filename":"image_30102025_10_19_16_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805915","file1":"1391805910","file0":"1391805908","file4":"1391805927","file5":"1391805932","file3":"1391805922"},"map_files_photo_id_array":[{"photo_id":"1391805932","filename":"file5"},{"photo_id":"1391805915","filename":"file2"},{"photo_id":"1391805927","filename":"file4"},{"photo_id":"1391805910","filename":"file1"},{"photo_id":"1391805908","filename":"file0"},{"photo_id":"1391805922","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391805932":["hashtag1","hashtag2"]},{"1391805908":["hashtag1","hashtag2"]},{"1391805922":["hashtag1","hashtag2"]},{"1391805910":["hashtag1","hashtag2"]},{"1391805927":["hashtag1","hashtag2"]},{"1391805915":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391805932, 1391805908, 1391805922, 1391805910, 1391805927, 1391805915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.02462601661682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:50:22.286233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_31_2815.jpg', '/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_34_3641.jpg', '/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_37_2829.jpg', '/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_40_2632.jpg', '/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_42_2673.jpg', '/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_46_3748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_31_2815.jpg
/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_34_3641.jpg
/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_37_2829.jpg
/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_40_2632.jpg
/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_42_2673.jpg
/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_46_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":["1391806112","1391806159","1391806051","1391805961","1391805978","1391805963"],"photo_ids_order":["1391805961","1391805963","1391805978","1391806051","1391806112","1391806159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5072c9193ef1bf1947f70d7796decd95.jpg","text":"TemporaryFile(/tmp/multipartBody3205328139024282569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069884975,"filename":"image_30102025_10_19_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/2/df737cd7d7743faf4f1c15e87bf3ac4c.jpg","text":"TemporaryFile(/tmp/multipartBody5878098046546667375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069884975,"filename":"image_30102025_10_19_46_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/2/19d508f3d19f39ef1877bcbe90e55b2a.jpg","text":"TemporaryFile(/tmp/multipartBody1018141547074108070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069884975,"filename":"image_30102025_10_19_40_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/2/fd840f44c6acb131e42d47b7aeb812d5.jpg","text":"TemporaryFile(/tmp/multipartBody4301899923949226488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069884975,"filename":"image_30102025_10_19_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/2/8b8206bb30f0c17b9d26ff74a73906a7.jpg","text":"TemporaryFile(/tmp/multipartBody6785823450909615416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069884975,"filename":"image_30102025_10_19_37_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/2/4a0d63e7a24939e53ecaa9bbef2a960c.jpg","text":"TemporaryFile(/tmp/multipartBody5089117743982163580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069884975,"filename":"image_30102025_10_19_34_3641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391805978","file1":"1391805963","file0":"1391805961","file4":"1391806112","file5":"1391806159","file3":"1391806051"},"map_files_photo_id_array":[{"photo_id":"1391806159","filename":"file5"},{"photo_id":"1391805978","filename":"file2"},{"photo_id":"1391806112","filename":"file4"},{"photo_id":"1391805963","filename":"file1"},{"photo_id":"1391805961","filename":"file0"},{"photo_id":"1391806051","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391806112":["hashtag1","hashtag2"]},{"1391806159":["hashtag1","hashtag2"]},{"1391806051":["hashtag1","hashtag2"]},{"1391805961":["hashtag1","hashtag2"]},{"1391805978":["hashtag1","hashtag2"]},{"1391805963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391806112, 1391806159, 1391806051, 1391805961, 1391805978, 1391805963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.87099504470825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:51:22.204568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_49_2551.jpg', '/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_52_3633.jpg', '/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_58_2726.jpg', '/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_07_3014.jpg', '/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_10_3522.jpg', '/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_13_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/10/19/image_30102025_10_19_49_2551.jpg
/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_52_3633.jpg
/home/pi/Desktop/images/30102025/10/19/image_30102025_10_19_58_2726.jpg
/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_07_3014.jpg
/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_10_3522.jpg
/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_13_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":["1391806195","1391806198","1391806219","1391806201","1391806204","1391806193"],"photo_ids_order":["1391806193","1391806195","1391806198","1391806201","1391806204","1391806219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7840b6e3be275661f07c99d22464e89d.jpg","text":"TemporaryFile(/tmp/multipartBody6074930967088948876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069949134,"filename":"image_30102025_10_19_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/2/c167c7f111f5e90110b9d1789969370d.jpg","text":"TemporaryFile(/tmp/multipartBody1001479449285506032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069949134,"filename":"image_30102025_10_19_58_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/2/6c24dda7e4e761fdf9a5c778298dd8f1.jpg","text":"TemporaryFile(/tmp/multipartBody1288876008067035909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069949134,"filename":"image_30102025_10_21_13_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/2/3a4496bac9a1ff431d79df05cfc950e5.jpg","text":"TemporaryFile(/tmp/multipartBody5813685689912440530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069949134,"filename":"image_30102025_10_21_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/2/7edba0dd7d3f11248b913f1b19d6720a.jpg","text":"TemporaryFile(/tmp/multipartBody520098569741476880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069949134,"filename":"image_30102025_10_21_10_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/2/3718da6ebc6a33d0470ecedded7dc517.jpg","text":"TemporaryFile(/tmp/multipartBody6781200732480218207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762069949134,"filename":"image_30102025_10_19_49_2551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391806198","file1":"1391806195","file0":"1391806193","file4":"1391806204","file5":"1391806219","file3":"1391806201"},"map_files_photo_id_array":[{"photo_id":"1391806219","filename":"file5"},{"photo_id":"1391806198","filename":"file2"},{"photo_id":"1391806204","filename":"file4"},{"photo_id":"1391806195","filename":"file1"},{"photo_id":"1391806193","filename":"file0"},{"photo_id":"1391806201","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391806195":["hashtag1","hashtag2"]},{"1391806198":["hashtag1","hashtag2"]},{"1391806219":["hashtag1","hashtag2"]},{"1391806201":["hashtag1","hashtag2"]},{"1391806204":["hashtag1","hashtag2"]},{"1391806193":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391806195, 1391806198, 1391806219, 1391806201, 1391806204, 1391806193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.96938490867615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:52:22.300821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_17_3743.jpg', '/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_22_2844.jpg', '/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_25_2685.jpg', '/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_29_3597.jpg', '/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_50_3662.jpg', '/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_52_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/10/21/image_30102025_10_21_17_3743.jpg
/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_22_2844.jpg
/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_25_2685.jpg
/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_29_3597.jpg
/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_50_3662.jpg
/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_52_2635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391806240","1391806365","1391806341","1391806242","1391806295","1391806250"],"photo_ids_order":["1391806240","1391806242","1391806250","1391806295","1391806341","1391806365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/17e8b3015fedaaf911c0246d1a7dfcab.jpg","text":"TemporaryFile(/tmp/multipartBody874513443922428580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070004766,"filename":"image_30102025_10_21_17_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/2/69655aed852dd25fc60a44b96b3f42a5.jpg","text":"TemporaryFile(/tmp/multipartBody6405400451107243381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070004766,"filename":"image_30102025_10_21_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/2/d794f2606546e50ad03addd185e5824c.jpg","text":"TemporaryFile(/tmp/multipartBody4789722770017501558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070004766,"filename":"image_30102025_10_21_50_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/2/a5298d14091dd37396bd48942e9a851e.jpg","text":"TemporaryFile(/tmp/multipartBody1034275350724970925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070004766,"filename":"image_30102025_10_21_22_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/2/c662fc62fb2fbd05a653d419c9a6d014.jpg","text":"TemporaryFile(/tmp/multipartBody8790608227305259400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070004766,"filename":"image_30102025_10_21_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/2/a469990a52e1988e56237f46bf66d71d.jpg","text":"TemporaryFile(/tmp/multipartBody6998275550899899000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070004766,"filename":"image_30102025_10_21_25_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391806250","file1":"1391806242","file0":"1391806240","file4":"1391806341","file5":"1391806365","file3":"1391806295"},"map_files_photo_id_array":[{"photo_id":"1391806365","filename":"file5"},{"photo_id":"1391806250","filename":"file2"},{"photo_id":"1391806341","filename":"file4"},{"photo_id":"1391806242","filename":"file1"},{"photo_id":"1391806240","filename":"file0"},{"photo_id":"1391806295","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391806240":["hashtag1","hashtag2"]},{"1391806365":["hashtag1","hashtag2"]},{"1391806341":["hashtag1","hashtag2"]},{"1391806242":["hashtag1","hashtag2"]},{"1391806295":["hashtag1","hashtag2"]},{"1391806250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391806240, 1391806365, 1391806341, 1391806242, 1391806295, 1391806250)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.919150590896606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:53:23.962991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_55_2766.jpg', '/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_59_3665.jpg', '/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_01_2611.jpg', '/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_04_2676.jpg', '/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_08_3620.jpg', '/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_10_2809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_55_2766.jpg
/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_59_3665.jpg
/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_01_2611.jpg
/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_04_2676.jpg
/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_08_3620.jpg
/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_10_2809.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5996010303497314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 08:53:43.823815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_55_2766.jpg', '/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_59_3665.jpg', '/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_01_2611.jpg', '/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_04_2676.jpg', '/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_08_3620.jpg', '/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_10_2809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_55_2766.jpg
/home/pi/Desktop/images/30102025/10/21/image_30102025_10_21_59_3665.jpg
/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_01_2611.jpg
/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_04_2676.jpg
/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_08_3620.jpg
/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_10_2809.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391806441","1391806438","1391806423","1391806431","1391806434","1391806437"],"photo_ids_order":["1391806423","1391806431","1391806434","1391806437","1391806438","1391806441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b7c7a9f42266e5999fa51b16d129f48e.jpg","text":"TemporaryFile(/tmp/multipartBody8593999161555728327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070084765,"filename":"image_30102025_10_22_10_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/2/21d6cdaeb347c0d46ad2f7310ee90f2d.jpg","text":"TemporaryFile(/tmp/multipartBody5429994159566330163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070084765,"filename":"image_30102025_10_22_08_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/2/260b731a7e30d539a8e1b2b9e09d74e1.jpg","text":"TemporaryFile(/tmp/multipartBody7433812869539816387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070084765,"filename":"image_30102025_10_21_55_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/2/6604d8906e80ba9cf4f0a40607bef397.jpg","text":"TemporaryFile(/tmp/multipartBody6547450800560348004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070084765,"filename":"image_30102025_10_21_59_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/2/224cba07a938beefc96c2b151ae5777b.jpg","text":"TemporaryFile(/tmp/multipartBody5073117289944848268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070084765,"filename":"image_30102025_10_22_01_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/2/35c0ea1e15a83fc661e5012cfec25e44.jpg","text":"TemporaryFile(/tmp/multipartBody795895018722617216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070084765,"filename":"image_30102025_10_22_04_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391806434","file1":"1391806431","file0":"1391806423","file4":"1391806438","file5":"1391806441","file3":"1391806437"},"map_files_photo_id_array":[{"photo_id":"1391806441","filename":"file5"},{"photo_id":"1391806434","filename":"file2"},{"photo_id":"1391806438","filename":"file4"},{"photo_id":"1391806431","filename":"file1"},{"photo_id":"1391806423","filename":"file0"},{"photo_id":"1391806437","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391806441":["hashtag1","hashtag2"]},{"1391806438":["hashtag1","hashtag2"]},{"1391806423":["hashtag1","hashtag2"]},{"1391806431":["hashtag1","hashtag2"]},{"1391806434":["hashtag1","hashtag2"]},{"1391806437":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391806441, 1391806438, 1391806423, 1391806431, 1391806434, 1391806437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90073823928833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:54:22.056741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_13_2863.jpg', '/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_16_2779.jpg', '/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_19_2783.jpg', '/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_32_3611.jpg', '/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_41_3709.jpg', '/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_43_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/10/22/image_30102025_10_22_13_2863.jpg
/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_16_2779.jpg
/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_19_2783.jpg
/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_32_3611.jpg
/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_41_3709.jpg
/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_43_2669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391806511","1391806474","1391806453","1391806458","1391806452","1391806472"],"photo_ids_order":["1391806452","1391806453","1391806458","1391806472","1391806474","1391806511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f84154d135f578d45af56cffd9d21f57.jpg","text":"TemporaryFile(/tmp/multipartBody5516395015848463406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070128752,"filename":"image_30102025_10_22_43_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/2/16fc8972ac10086b7ab5414c983b63e9.jpg","text":"TemporaryFile(/tmp/multipartBody6320688949511740093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070128752,"filename":"image_30102025_10_22_41_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/2/5885f63ba07e4a6431bf1462530c2998.jpg","text":"TemporaryFile(/tmp/multipartBody4608103363531725534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070128752,"filename":"image_30102025_10_22_16_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/2/b12953c4d47afbfa1546b1a2a8401773.jpg","text":"TemporaryFile(/tmp/multipartBody5287394369445547186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070128752,"filename":"image_30102025_10_22_19_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/2/f29bdc9c8863790eac014a036aa9a1a7.jpg","text":"TemporaryFile(/tmp/multipartBody6904946701510373875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070128752,"filename":"image_30102025_10_22_13_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/2/5093fba1b435c3073cbf69d63eb08689.jpg","text":"TemporaryFile(/tmp/multipartBody5192441740257519122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070128752,"filename":"image_30102025_10_22_32_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391806458","file1":"1391806453","file0":"1391806452","file4":"1391806474","file5":"1391806511","file3":"1391806472"},"map_files_photo_id_array":[{"photo_id":"1391806511","filename":"file5"},{"photo_id":"1391806458","filename":"file2"},{"photo_id":"1391806474","filename":"file4"},{"photo_id":"1391806453","filename":"file1"},{"photo_id":"1391806452","filename":"file0"},{"photo_id":"1391806472","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391806511":["hashtag1","hashtag2"]},{"1391806474":["hashtag1","hashtag2"]},{"1391806453":["hashtag1","hashtag2"]},{"1391806458":["hashtag1","hashtag2"]},{"1391806452":["hashtag1","hashtag2"]},{"1391806472":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391806511, 1391806474, 1391806453, 1391806458, 1391806452, 1391806472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.47166705131531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 08:55:23.542586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_46_2634.jpg', '/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_50_3640.jpg', '/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_55_2753.jpg', '/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_58_2678.jpg', '/home/pi/Desktop/images/30102025/10/22/image_30102025_10_23_01_3649.jpg', '/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_07_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/10/22/image_30102025_10_22_46_2634.jpg
/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_50_3640.jpg
/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_55_2753.jpg
/home/pi/Desktop/images/30102025/10/22/image_30102025_10_22_58_2678.jpg
/home/pi/Desktop/images/30102025/10/22/image_30102025_10_23_01_3649.jpg
/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_07_2892.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391806561","1391806555","1391806558","1391806568","1391806553","1391806565"],"photo_ids_order":["1391806553","1391806555","1391806558","1391806561","1391806565","1391806568"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0e7e5234d08321e9b44769d9e875b4c6.jpg","text":"TemporaryFile(/tmp/multipartBody4259599048625660875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070186333,"filename":"image_30102025_10_22_58_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/2/4935845e52e36e28182ee04d5b5db6cb.jpg","text":"TemporaryFile(/tmp/multipartBody9036546229210113944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070186333,"filename":"image_30102025_10_22_50_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/2/016cf7c7e3144fc4e382866f1254ba74.jpg","text":"TemporaryFile(/tmp/multipartBody9051164952942422283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070186333,"filename":"image_30102025_10_22_55_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/2/a11f519d96345077f6769eabb8d4e759.jpg","text":"TemporaryFile(/tmp/multipartBody3012512505247334137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070186333,"filename":"image_30102025_10_23_07_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/2/28ace4ee1359b53e67688d50424878d0.jpg","text":"TemporaryFile(/tmp/multipartBody2153176642866987429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070186333,"filename":"image_30102025_10_22_46_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/2/9d5f5e125378ca94d0a7e33fb26df8da.jpg","text":"TemporaryFile(/tmp/multipartBody6528028906720259479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070186333,"filename":"image_30102025_10_23_01_3649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391806558","file1":"1391806555","file0":"1391806553","file4":"1391806565","file5":"1391806568","file3":"1391806561"},"map_files_photo_id_array":[{"photo_id":"1391806568","filename":"file5"},{"photo_id":"1391806558","filename":"file2"},{"photo_id":"1391806565","filename":"file4"},{"photo_id":"1391806555","filename":"file1"},{"photo_id":"1391806553","filename":"file0"},{"photo_id":"1391806561","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391806561":["hashtag1","hashtag2"]},{"1391806555":["hashtag1","hashtag2"]},{"1391806558":["hashtag1","hashtag2"]},{"1391806568":["hashtag1","hashtag2"]},{"1391806553":["hashtag1","hashtag2"]},{"1391806565":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391806561, 1391806555, 1391806558, 1391806568, 1391806553, 1391806565)","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.304956674575806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 08:56:42.453049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_11_3590.jpg', '/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_13_2707.jpg', '/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_16_2834.jpg', '/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_19_2950.jpg', '/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_22_2639.jpg', '/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_26_3734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_11_3590.jpg
/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_13_2707.jpg
/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_16_2834.jpg
/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_19_2950.jpg
/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_22_2639.jpg
/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_26_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":["1391806919","1391806826","1391806879","1391806834","1391806968","1391807024"],"photo_ids_order":["1391806826","1391806834","1391806879","1391806919","1391806968","1391807024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d9caf7de3a2f46dc536cf711220bb0b7.jpg","text":"TemporaryFile(/tmp/multipartBody9098539303753027941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070270173,"filename":"image_30102025_10_23_19_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/2/fe27323155d9adf92bf3d4d79fed0aad.jpg","text":"TemporaryFile(/tmp/multipartBody7731844379354129137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070270173,"filename":"image_30102025_10_23_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/2/57b4f5538351e5bb72ab8cd8a7bbc455.jpg","text":"TemporaryFile(/tmp/multipartBody3379460113545793176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070270173,"filename":"image_30102025_10_23_16_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/2/b62c6b0ba91a67a66e80fce668ae2a4b.jpg","text":"TemporaryFile(/tmp/multipartBody8545839784988724927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070270173,"filename":"image_30102025_10_23_13_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/2/b8b286ea4b2a032f0abc7a7d92ee0371.jpg","text":"TemporaryFile(/tmp/multipartBody1251368571950041737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070270173,"filename":"image_30102025_10_23_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/2/f82e06d52754c47d7d4d8ea7db1ddf32.jpg","text":"TemporaryFile(/tmp/multipartBody2665602840151882493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070270173,"filename":"image_30102025_10_23_26_3734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391806879","file1":"1391806834","file0":"1391806826","file4":"1391806968","file5":"1391807024","file3":"1391806919"},"map_files_photo_id_array":[{"photo_id":"1391807024","filename":"file5"},{"photo_id":"1391806879","filename":"file2"},{"photo_id":"1391806968","filename":"file4"},{"photo_id":"1391806834","filename":"file1"},{"photo_id":"1391806826","filename":"file0"},{"photo_id":"1391806919","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391806919":["hashtag1","hashtag2"]},{"1391806826":["hashtag1","hashtag2"]},{"1391806879":["hashtag1","hashtag2"]},{"1391806834":["hashtag1","hashtag2"]},{"1391806968":["hashtag1","hashtag2"]},{"1391807024":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391806919, 1391806826, 1391806879, 1391806834, 1391806968, 1391807024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.21569037437439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 08:57:42.703792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_34_3734.jpg', '/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_37_2622.jpg', '/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_40_2650.jpg', '/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_43_3648.jpg', '/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_46_2658.jpg', '/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_49_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/10/23/image_30102025_10_23_34_3734.jpg
/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_37_2622.jpg
/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_40_2650.jpg
/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_43_3648.jpg
/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_46_2658.jpg
/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_49_2657.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391807272","1391807269","1391807263","1391807271","1391807265","1391807267"],"photo_ids_order":["1391807263","1391807265","1391807267","1391807269","1391807271","1391807272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ffee22a700a0ac1b1e8a6a0613c0b031.jpg","text":"TemporaryFile(/tmp/multipartBody1288344713658201542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070334057,"filename":"image_30102025_10_23_49_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/2/a6969db85dfe04361e23e64e4ab45533.jpg","text":"TemporaryFile(/tmp/multipartBody7355453045636102148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070334057,"filename":"image_30102025_10_23_43_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/2/5bc46cedd69bdaa617a014bae133ed56.jpg","text":"TemporaryFile(/tmp/multipartBody5386955386330615034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070334057,"filename":"image_30102025_10_23_34_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/2/0ec11e8be6b3e3f2a247722981a3d110.jpg","text":"TemporaryFile(/tmp/multipartBody8303675404896207363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070334057,"filename":"image_30102025_10_23_46_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/2/009fe653986ff654256bedf5b702d1ca.jpg","text":"TemporaryFile(/tmp/multipartBody8787627018628493826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070334057,"filename":"image_30102025_10_23_37_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/2/7d87f141597905decbb4778fd17aa7df.jpg","text":"TemporaryFile(/tmp/multipartBody7467823578001082384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070334057,"filename":"image_30102025_10_23_40_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391807267","file1":"1391807265","file0":"1391807263","file4":"1391807271","file5":"1391807272","file3":"1391807269"},"map_files_photo_id_array":[{"photo_id":"1391807272","filename":"file5"},{"photo_id":"1391807267","filename":"file2"},{"photo_id":"1391807271","filename":"file4"},{"photo_id":"1391807265","filename":"file1"},{"photo_id":"1391807263","filename":"file0"},{"photo_id":"1391807269","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391807272":["hashtag1","hashtag2"]},{"1391807269":["hashtag1","hashtag2"]},{"1391807263":["hashtag1","hashtag2"]},{"1391807271":["hashtag1","hashtag2"]},{"1391807265":["hashtag1","hashtag2"]},{"1391807267":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391807272, 1391807269, 1391807263, 1391807271, 1391807265, 1391807267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.521631717681885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 08:59:02.913817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_52_3700.jpg', '/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_55_2618.jpg', '/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_58_2609.jpg', '/home/pi/Desktop/images/30102025/10/23/image_30102025_10_24_01_3680.jpg', '/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_04_2628.jpg', '/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_08_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/10/23/image_30102025_10_23_52_3700.jpg
/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_55_2618.jpg
/home/pi/Desktop/images/30102025/10/23/image_30102025_10_23_58_2609.jpg
/home/pi/Desktop/images/30102025/10/23/image_30102025_10_24_01_3680.jpg
/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_04_2628.jpg
/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_08_3611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391807401","1391807404","1391807397","1391807420","1391807417","1391807414"],"photo_ids_order":["1391807397","1391807401","1391807404","1391807414","1391807417","1391807420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5218b178dc8dfe104137c66d6a9f9d1b.jpg","text":"TemporaryFile(/tmp/multipartBody2712676789558803120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070406929,"filename":"image_30102025_10_23_55_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/2/de6353efbd3b89c5b76211d8b59c7103.jpg","text":"TemporaryFile(/tmp/multipartBody7253863141771482862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070406929,"filename":"image_30102025_10_23_58_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/2/7719b54be785f3813f82104496d7558e.jpg","text":"TemporaryFile(/tmp/multipartBody7676347784343567558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070406929,"filename":"image_30102025_10_23_52_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/2/553658c35939ee72dcac8f7398e46870.jpg","text":"TemporaryFile(/tmp/multipartBody3004933905874546684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070406929,"filename":"image_30102025_10_24_08_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/2/63ef9a04b48a89df6402c7302ba5e48a.jpg","text":"TemporaryFile(/tmp/multipartBody8850910307904707648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070406929,"filename":"image_30102025_10_24_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/2/2733f3e59b0edff94f326dfc0f9c5795.jpg","text":"TemporaryFile(/tmp/multipartBody4408654037088052181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070406929,"filename":"image_30102025_10_24_01_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391807404","file1":"1391807401","file0":"1391807397","file4":"1391807417","file5":"1391807420","file3":"1391807414"},"map_files_photo_id_array":[{"photo_id":"1391807420","filename":"file5"},{"photo_id":"1391807404","filename":"file2"},{"photo_id":"1391807417","filename":"file4"},{"photo_id":"1391807401","filename":"file1"},{"photo_id":"1391807397","filename":"file0"},{"photo_id":"1391807414","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391807401":["hashtag1","hashtag2"]},{"1391807404":["hashtag1","hashtag2"]},{"1391807397":["hashtag1","hashtag2"]},{"1391807420":["hashtag1","hashtag2"]},{"1391807417":["hashtag1","hashtag2"]},{"1391807414":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391807401, 1391807404, 1391807397, 1391807420, 1391807417, 1391807414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.388875007629395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:00:02.870864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_10_2589.jpg', '/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_13_2777.jpg', '/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_16_2893.jpg', '/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_20_3730.jpg', '/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_22_2759.jpg', '/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_25_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/10/24/image_30102025_10_24_10_2589.jpg
/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_13_2777.jpg
/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_16_2893.jpg
/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_20_3730.jpg
/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_22_2759.jpg
/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_25_2771.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":["1391807989","1391807936","1391808008","1391807951","1391807939","1391807909"],"photo_ids_order":["1391807909","1391807936","1391807939","1391807951","1391807989","1391808008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b1f0b2042d98715e5ea7cef71e3fe081.jpg","text":"TemporaryFile(/tmp/multipartBody5103030645052419037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070465109,"filename":"image_30102025_10_24_22_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/2/4ef543b95d41224ac076efedafb16e2d.jpg","text":"TemporaryFile(/tmp/multipartBody515172318070303064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070465109,"filename":"image_30102025_10_24_13_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/2/9ea6ae619341ac2793af2796c7d1d356.jpg","text":"TemporaryFile(/tmp/multipartBody4363353468262329116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070465109,"filename":"image_30102025_10_24_25_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/2/46670e64fda435d9bc7e09c481d9da89.jpg","text":"TemporaryFile(/tmp/multipartBody4253655813095542559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070465109,"filename":"image_30102025_10_24_20_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/2/89a7cf99ed023f81f5d9fc369c6bb76e.jpg","text":"TemporaryFile(/tmp/multipartBody2482972985628734420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070465109,"filename":"image_30102025_10_24_16_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/2/364d16317add5e5dfa078c357f35b7f3.jpg","text":"TemporaryFile(/tmp/multipartBody6971546080631219787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070465109,"filename":"image_30102025_10_24_10_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391807939","file1":"1391807936","file0":"1391807909","file4":"1391807989","file5":"1391808008","file3":"1391807951"},"map_files_photo_id_array":[{"photo_id":"1391808008","filename":"file5"},{"photo_id":"1391807939","filename":"file2"},{"photo_id":"1391807989","filename":"file4"},{"photo_id":"1391807936","filename":"file1"},{"photo_id":"1391807909","filename":"file0"},{"photo_id":"1391807951","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391807989":["hashtag1","hashtag2"]},{"1391807936":["hashtag1","hashtag2"]},{"1391808008":["hashtag1","hashtag2"]},{"1391807951":["hashtag1","hashtag2"]},{"1391807939":["hashtag1","hashtag2"]},{"1391807909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391807989, 1391807936, 1391808008, 1391807951, 1391807939, 1391807909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.62923526763916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:01:02.918386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_28_2698.jpg', '/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_32_3737.jpg', '/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_34_2688.jpg', '/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_37_2724.jpg', '/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_43_3751.jpg', '/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_46_2842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_28_2698.jpg
/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_32_3737.jpg
/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_34_2688.jpg
/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_37_2724.jpg
/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_43_3751.jpg
/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_46_2842.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391808307","1391808195","1391808123","1391808231","1391808153","1391808405"],"photo_ids_order":["1391808123","1391808153","1391808195","1391808231","1391808307","1391808405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e57e6965198362805870eb3db1e673f5.jpg","text":"TemporaryFile(/tmp/multipartBody5382232046431440841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070525131,"filename":"image_30102025_10_24_43_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/2/6dd133473ea1463d9cadaeae7ac8bd9e.jpg","text":"TemporaryFile(/tmp/multipartBody4228607580815065529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070525131,"filename":"image_30102025_10_24_34_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/2/ae70d69bfdf875a0fbedb632e4b915e9.jpg","text":"TemporaryFile(/tmp/multipartBody1799176622408981974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070525131,"filename":"image_30102025_10_24_28_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/2/fe7fe764724d01ae8a30f6812f59ee42.jpg","text":"TemporaryFile(/tmp/multipartBody6239377583538901128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070525131,"filename":"image_30102025_10_24_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/2/78df031d5038ea19b03e00de3d794fd9.jpg","text":"TemporaryFile(/tmp/multipartBody2189498598986280747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070525131,"filename":"image_30102025_10_24_32_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/2/9ee4d0430a69d3843e636203a12586fc.jpg","text":"TemporaryFile(/tmp/multipartBody6207147345160770495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070525131,"filename":"image_30102025_10_24_46_2842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391808195","file1":"1391808153","file0":"1391808123","file4":"1391808307","file5":"1391808405","file3":"1391808231"},"map_files_photo_id_array":[{"photo_id":"1391808405","filename":"file5"},{"photo_id":"1391808195","filename":"file2"},{"photo_id":"1391808307","filename":"file4"},{"photo_id":"1391808153","filename":"file1"},{"photo_id":"1391808123","filename":"file0"},{"photo_id":"1391808231","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391808307":["hashtag1","hashtag2"]},{"1391808195":["hashtag1","hashtag2"]},{"1391808123":["hashtag1","hashtag2"]},{"1391808231":["hashtag1","hashtag2"]},{"1391808153":["hashtag1","hashtag2"]},{"1391808405":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391808307, 1391808195, 1391808123, 1391808231, 1391808153, 1391808405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50733280181885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 09:01:42.300217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_52_2571.jpg', '/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_55_3540.jpg', '/home/pi/Desktop/images/30102025/10/25/image_30102025_10_25_07_3014.jpg', '/home/pi/Desktop/images/30102025/10/25/image_30102025_10_25_11_3960.jpg', '/home/pi/Desktop/images/30102025/10/25/image_30102025_10_25_19_2753.jpg', '/home/pi/Desktop/images/30102025/10/25/image_30102025_10_25_23_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/10/24/image_30102025_10_24_52_2571.jpg
/home/pi/Desktop/images/30102025/10/24/image_30102025_10_24_55_3540.jpg
/home/pi/Desktop/images/30102025/10/25/image_30102025_10_25_07_3014.jpg
/home/pi/Desktop/images/30102025/10/25/image_30102025_10_25_11_3960.jpg
/home/pi/Desktop/images/30102025/10/25/image_30102025_10_25_19_2753.jpg
/home/pi/Desktop/images/30102025/10/25/image_30102025_10_25_23_3704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391808817","1391809140","1391808993","1391808910","1391809069","1391809216"],"photo_ids_order":["1391808817","1391808910","1391808993","1391809069","1391809140","1391809216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/81ca30367eca02023b7a570727ba3dba.jpg","text":"TemporaryFile(/tmp/multipartBody2382779404951874912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070563450,"filename":"image_30102025_10_24_52_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/2/55a2dcdb7dfe1722d22bd24c81354cbb.jpg","text":"TemporaryFile(/tmp/multipartBody6675996845979244812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070563450,"filename":"image_30102025_10_25_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/2/4e8b74a8f115648685eac1e49bec66dd.jpg","text":"TemporaryFile(/tmp/multipartBody4057109281848225568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070563450,"filename":"image_30102025_10_25_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/2/bebc1c15eb293ba7ccc2d399e77f3a51.jpg","text":"TemporaryFile(/tmp/multipartBody1205151573778902643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070563450,"filename":"image_30102025_10_24_55_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/2/6afe81b49713cb91571eae3ed291252c.jpg","text":"TemporaryFile(/tmp/multipartBody2537090779436556586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070563450,"filename":"image_30102025_10_25_11_3960.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8ea6a68609e8a0bba1a375a311f2677a.jpg","text":"TemporaryFile(/tmp/multipartBody5566048984906551173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070563450,"filename":"image_30102025_10_25_23_3704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391808993","file1":"1391808910","file0":"1391808817","file4":"1391809140","file5":"1391809216","file3":"1391809069"},"map_files_photo_id_array":[{"photo_id":"1391809216","filename":"file5"},{"photo_id":"1391808993","filename":"file2"},{"photo_id":"1391809140","filename":"file4"},{"photo_id":"1391808910","filename":"file1"},{"photo_id":"1391808817","filename":"file0"},{"photo_id":"1391809069","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391808817":["hashtag1","hashtag2"]},{"1391809140":["hashtag1","hashtag2"]},{"1391808993":["hashtag1","hashtag2"]},{"1391808910":["hashtag1","hashtag2"]},{"1391809069":["hashtag1","hashtag2"]},{"1391809216":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391808817, 1391809140, 1391808993, 1391808910, 1391809069, 1391809216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1921865940094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 09:02:22.431027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/25/image_30102025_10_25_26_2713.jpg', '/home/pi/Desktop/images/30102025/10/25/image_30102025_10_25_28_2574.jpg', '/home/pi/Desktop/images/30102025/10/25/image_30102025_10_25_32_3734.jpg', '/home/pi/Desktop/images/30102025/10/25/image_30102025_10_25_38_2584.jpg', '/home/pi/Desktop/images/30102025/10/25/image_30102025_10_25_40_2606.jpg', '/home/pi/Desktop/images/30102025/10/25/image_30102025_10_25_50_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/10/25/image_30102025_10_25_26_2713.jpg
/home/pi/Desktop/images/30102025/10/25/image_30102025_10_25_28_2574.jpg
/home/pi/Desktop/images/30102025/10/25/image_30102025_10_25_32_3734.jpg
/home/pi/Desktop/images/30102025/10/25/image_30102025_10_25_38_2584.jpg
/home/pi/Desktop/images/30102025/10/25/image_30102025_10_25_40_2606.jpg
/home/pi/Desktop/images/30102025/10/25/image_30102025_10_25_50_2702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391810001","1391809658","1391809817","1391809741","1391809899","1391809575"],"photo_ids_order":["1391809575","1391809658","1391809741","1391809817","1391809899","1391810001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0639dad359da777c07a895de10d0c763.jpg","text":"TemporaryFile(/tmp/multipartBody1179045863076981646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070605508,"filename":"image_30102025_10_25_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/2/965aaa7fbf468652b1ea67255d413053.jpg","text":"TemporaryFile(/tmp/multipartBody3190632730788687548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070605508,"filename":"image_30102025_10_25_28_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/2/4c1ba6af6902eaed9e201e65303c107a.jpg","text":"TemporaryFile(/tmp/multipartBody7081574855717407865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070605508,"filename":"image_30102025_10_25_38_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/2/3b10887c7eb0dd9792db2c4df55d638e.jpg","text":"TemporaryFile(/tmp/multipartBody1055746592410811380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070605508,"filename":"image_30102025_10_25_32_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/2/631f802e40770b5f39a5d0a6862301cd.jpg","text":"TemporaryFile(/tmp/multipartBody8279087556574151937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070605508,"filename":"image_30102025_10_25_40_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/2/48bf05215c43682441b4c32113a663c4.jpg","text":"TemporaryFile(/tmp/multipartBody8098386577954043599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070605508,"filename":"image_30102025_10_25_26_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391809741","file1":"1391809658","file0":"1391809575","file4":"1391809899","file5":"1391810001","file3":"1391809817"},"map_files_photo_id_array":[{"photo_id":"1391810001","filename":"file5"},{"photo_id":"1391809741","filename":"file2"},{"photo_id":"1391809899","filename":"file4"},{"photo_id":"1391809658","filename":"file1"},{"photo_id":"1391809575","filename":"file0"},{"photo_id":"1391809817","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391810001":["hashtag1","hashtag2"]},{"1391809658":["hashtag1","hashtag2"]},{"1391809817":["hashtag1","hashtag2"]},{"1391809741":["hashtag1","hashtag2"]},{"1391809899":["hashtag1","hashtag2"]},{"1391809575":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391810001, 1391809658, 1391809817, 1391809741, 1391809899, 1391809575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.97100567817688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:03:03.140600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/25/image_30102025_10_25_56_3640.jpg', '/home/pi/Desktop/images/30102025/10/25/image_30102025_10_25_59_2619.jpg', '/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_02_2689.jpg', '/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_05_3637.jpg', '/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_08_2745.jpg', '/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_11_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/10/25/image_30102025_10_25_56_3640.jpg
/home/pi/Desktop/images/30102025/10/25/image_30102025_10_25_59_2619.jpg
/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_02_2689.jpg
/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_05_3637.jpg
/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_08_2745.jpg
/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_11_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391810769","1391810661","1391810715","1391810352","1391810585","1391810480"],"photo_ids_order":["1391810352","1391810480","1391810585","1391810661","1391810715","1391810769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1b3ecf4242555b5201f93d995707e55a.jpg","text":"TemporaryFile(/tmp/multipartBody3186226318490881020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070645625,"filename":"image_30102025_10_26_11_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/2/d761c653f3a7688980ff6d8281f3a245.jpg","text":"TemporaryFile(/tmp/multipartBody6757225911537309811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070645625,"filename":"image_30102025_10_26_05_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/2/ebb97153d3eae67c853d08b353ba2137.jpg","text":"TemporaryFile(/tmp/multipartBody841645908013609801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070645625,"filename":"image_30102025_10_26_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/2/d6f7fb1bffbb15119abc3cca7d2accb4.jpg","text":"TemporaryFile(/tmp/multipartBody4897360576199970605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070645625,"filename":"image_30102025_10_25_56_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/2/7b9667b178b153685e10e660a9a8309d.jpg","text":"TemporaryFile(/tmp/multipartBody5748510823185062055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070645625,"filename":"image_30102025_10_26_02_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/2/a0fc431008d6f6dcbe62a7cacde2a674.jpg","text":"TemporaryFile(/tmp/multipartBody4093313441341369029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070645625,"filename":"image_30102025_10_25_59_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391810585","file1":"1391810480","file0":"1391810352","file4":"1391810715","file5":"1391810769","file3":"1391810661"},"map_files_photo_id_array":[{"photo_id":"1391810769","filename":"file5"},{"photo_id":"1391810585","filename":"file2"},{"photo_id":"1391810715","filename":"file4"},{"photo_id":"1391810480","filename":"file1"},{"photo_id":"1391810352","filename":"file0"},{"photo_id":"1391810661","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391810769":["hashtag1","hashtag2"]},{"1391810661":["hashtag1","hashtag2"]},{"1391810715":["hashtag1","hashtag2"]},{"1391810352":["hashtag1","hashtag2"]},{"1391810585":["hashtag1","hashtag2"]},{"1391810480":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391810769, 1391810661, 1391810715, 1391810352, 1391810585, 1391810480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18562626838684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 09:03:42.570800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_17_3673.jpg', '/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_20_2798.jpg', '/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_26_3578.jpg', '/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_29_2695.jpg', '/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_38_2919.jpg', '/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_41_2822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_17_3673.jpg
/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_20_2798.jpg
/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_26_3578.jpg
/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_29_2695.jpg
/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_38_2919.jpg
/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_41_2822.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391811054","1391811092","1391811095","1391810963","1391811097","1391811004"],"photo_ids_order":["1391810963","1391811004","1391811054","1391811092","1391811095","1391811097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c388127ae3280bbc49017807d8f01fa4.jpg","text":"TemporaryFile(/tmp/multipartBody458475822355956956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070683700,"filename":"image_30102025_10_26_26_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/2/020e494348925d9f5ba277532a7ebca9.jpg","text":"TemporaryFile(/tmp/multipartBody8656873500948650858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070683700,"filename":"image_30102025_10_26_29_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/2/2de6d18991581eb93c6d7f2fd5c6a9a3.jpg","text":"TemporaryFile(/tmp/multipartBody1638808335206460638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070683700,"filename":"image_30102025_10_26_38_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/2/e433c3a0775cf5bf40e175018d92af54.jpg","text":"TemporaryFile(/tmp/multipartBody6204757409118023402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070683700,"filename":"image_30102025_10_26_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/2/50c3bec471964ccc085eeafc830b6e9a.jpg","text":"TemporaryFile(/tmp/multipartBody8683746882322380935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070683700,"filename":"image_30102025_10_26_41_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/2/33b7388930a112b520125c8d7263d5cf.jpg","text":"TemporaryFile(/tmp/multipartBody829799473702956862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070683700,"filename":"image_30102025_10_26_20_2798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391811054","file1":"1391811004","file0":"1391810963","file4":"1391811095","file5":"1391811097","file3":"1391811092"},"map_files_photo_id_array":[{"photo_id":"1391811097","filename":"file5"},{"photo_id":"1391811054","filename":"file2"},{"photo_id":"1391811095","filename":"file4"},{"photo_id":"1391811004","filename":"file1"},{"photo_id":"1391810963","filename":"file0"},{"photo_id":"1391811092","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391811054":["hashtag1","hashtag2"]},{"1391811092":["hashtag1","hashtag2"]},{"1391811095":["hashtag1","hashtag2"]},{"1391810963":["hashtag1","hashtag2"]},{"1391811097":["hashtag1","hashtag2"]},{"1391811004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391811054, 1391811092, 1391811095, 1391810963, 1391811097, 1391811004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98684000968933 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 09:04:22.711300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_43_2695.jpg', '/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_47_3549.jpg', '/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_52_2761.jpg', '/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_59_3821.jpg', '/home/pi/Desktop/images/30102025/10/27/image_30102025_10_27_02_2841.jpg', '/home/pi/Desktop/images/30102025/10/27/image_30102025_10_27_07_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/10/26/image_30102025_10_26_43_2695.jpg
/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_47_3549.jpg
/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_52_2761.jpg
/home/pi/Desktop/images/30102025/10/26/image_30102025_10_26_59_3821.jpg
/home/pi/Desktop/images/30102025/10/27/image_30102025_10_27_02_2841.jpg
/home/pi/Desktop/images/30102025/10/27/image_30102025_10_27_07_2658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391811230","1391811382","1391811184","1391811346","1391811307","1391811267"],"photo_ids_order":["1391811184","1391811230","1391811267","1391811307","1391811346","1391811382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5c2a5618d0d3f5857acf33b4cc850d7c.jpg","text":"TemporaryFile(/tmp/multipartBody4074347446750186516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070725404,"filename":"image_30102025_10_26_47_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/2/70b964b98d10148f6b8ba4c799f183e7.jpg","text":"TemporaryFile(/tmp/multipartBody8861305409053335607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070725404,"filename":"image_30102025_10_27_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/2/8ca38ffc6e2990f7d5f20e59f500a97d.jpg","text":"TemporaryFile(/tmp/multipartBody9188060967181807130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070725404,"filename":"image_30102025_10_26_43_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/2/448ab84f5776decb3b896e570fc1e01b.jpg","text":"TemporaryFile(/tmp/multipartBody547919659133214635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070725404,"filename":"image_30102025_10_27_02_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/2/d4039935687b59a24eca52fe7e1ed576.jpg","text":"TemporaryFile(/tmp/multipartBody7705563266144293788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070725404,"filename":"image_30102025_10_26_59_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/2/09dd4e36ff72f30005d6ce1a08a28795.jpg","text":"TemporaryFile(/tmp/multipartBody4295760898122561466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070725404,"filename":"image_30102025_10_26_52_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391811267","file1":"1391811230","file0":"1391811184","file4":"1391811346","file5":"1391811382","file3":"1391811307"},"map_files_photo_id_array":[{"photo_id":"1391811382","filename":"file5"},{"photo_id":"1391811267","filename":"file2"},{"photo_id":"1391811346","filename":"file4"},{"photo_id":"1391811230","filename":"file1"},{"photo_id":"1391811184","filename":"file0"},{"photo_id":"1391811307","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391811230":["hashtag1","hashtag2"]},{"1391811382":["hashtag1","hashtag2"]},{"1391811184":["hashtag1","hashtag2"]},{"1391811346":["hashtag1","hashtag2"]},{"1391811307":["hashtag1","hashtag2"]},{"1391811267":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391811230, 1391811382, 1391811184, 1391811346, 1391811307, 1391811267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58333444595337 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:05:02.702837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/27/image_30102025_10_27_11_3825.jpg', '/home/pi/Desktop/images/30102025/10/27/image_30102025_10_27_14_2761.jpg', '/home/pi/Desktop/images/30102025/10/27/image_30102025_10_27_16_2695.jpg', '/home/pi/Desktop/images/30102025/10/27/image_30102025_10_27_19_2834.jpg', '/home/pi/Desktop/images/30102025/10/27/image_30102025_10_27_23_3582.jpg', '/home/pi/Desktop/images/30102025/10/27/image_30102025_10_27_28_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/10/27/image_30102025_10_27_11_3825.jpg
/home/pi/Desktop/images/30102025/10/27/image_30102025_10_27_14_2761.jpg
/home/pi/Desktop/images/30102025/10/27/image_30102025_10_27_16_2695.jpg
/home/pi/Desktop/images/30102025/10/27/image_30102025_10_27_19_2834.jpg
/home/pi/Desktop/images/30102025/10/27/image_30102025_10_27_23_3582.jpg
/home/pi/Desktop/images/30102025/10/27/image_30102025_10_27_28_2687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391811843","1391812002","1391811953","1391811764","1391811902","1391811678"],"photo_ids_order":["1391811678","1391811764","1391811843","1391811902","1391811953","1391812002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0ad8f8e68724f14d1719f32cc88a55f5.jpg","text":"TemporaryFile(/tmp/multipartBody1263846633037724709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070764898,"filename":"image_30102025_10_27_16_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/2/7c727c9e7503fb1c0ab9ee6e0d1fd543.jpg","text":"TemporaryFile(/tmp/multipartBody8236265805707022767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070764898,"filename":"image_30102025_10_27_28_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/2/2d7e8c7501d1fc4d56a1ce4ccb6ae5f4.jpg","text":"TemporaryFile(/tmp/multipartBody1156873224573678312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070764898,"filename":"image_30102025_10_27_23_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/2/17b8033228f3e539c5c99d0ca9400507.jpg","text":"TemporaryFile(/tmp/multipartBody78170704899855132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070764898,"filename":"image_30102025_10_27_14_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/2/d59ea13849a550b22258962f2e4fe4f7.jpg","text":"TemporaryFile(/tmp/multipartBody2210580295724901562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070764898,"filename":"image_30102025_10_27_19_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/2/6cf1a868f534815491c91451f5a692db.jpg","text":"TemporaryFile(/tmp/multipartBody306787650236635556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070764898,"filename":"image_30102025_10_27_11_3825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391811843","file1":"1391811764","file0":"1391811678","file4":"1391811953","file5":"1391812002","file3":"1391811902"},"map_files_photo_id_array":[{"photo_id":"1391812002","filename":"file5"},{"photo_id":"1391811843","filename":"file2"},{"photo_id":"1391811953","filename":"file4"},{"photo_id":"1391811764","filename":"file1"},{"photo_id":"1391811678","filename":"file0"},{"photo_id":"1391811902","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391811843":["hashtag1","hashtag2"]},{"1391812002":["hashtag1","hashtag2"]},{"1391811953":["hashtag1","hashtag2"]},{"1391811764":["hashtag1","hashtag2"]},{"1391811902":["hashtag1","hashtag2"]},{"1391811678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391811843, 1391812002, 1391811953, 1391811764, 1391811902, 1391811678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96960163116455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 09:05:41.995182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/27/image_30102025_10_27_47_2628.jpg', '/home/pi/Desktop/images/30102025/10/27/image_30102025_10_27_56_2684.jpg', '/home/pi/Desktop/images/30102025/10/27/image_30102025_10_27_58_2727.jpg', '/home/pi/Desktop/images/30102025/10/28/image_30102025_10_28_02_3587.jpg', '/home/pi/Desktop/images/30102025/10/28/image_30102025_10_28_43_2647.jpg', '/home/pi/Desktop/images/30102025/10/28/image_30102025_10_28_49_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/10/27/image_30102025_10_27_47_2628.jpg
/home/pi/Desktop/images/30102025/10/27/image_30102025_10_27_56_2684.jpg
/home/pi/Desktop/images/30102025/10/27/image_30102025_10_27_58_2727.jpg
/home/pi/Desktop/images/30102025/10/28/image_30102025_10_28_02_3587.jpg
/home/pi/Desktop/images/30102025/10/28/image_30102025_10_28_43_2647.jpg
/home/pi/Desktop/images/30102025/10/28/image_30102025_10_28_49_2589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391812205","1391812171","1391812150","1391812219","1391812147","1391812135"],"photo_ids_order":["1391812135","1391812147","1391812150","1391812171","1391812205","1391812219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/84aeb8730cb56326fb30f707b11fa874.jpg","text":"TemporaryFile(/tmp/multipartBody8851775545430452243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070803127,"filename":"image_30102025_10_28_43_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/2/bb90c7f188b5820309dc3481cbf77d23.jpg","text":"TemporaryFile(/tmp/multipartBody1540472862527185011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070803127,"filename":"image_30102025_10_28_02_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/2/08270420843016db03beeb8587c497f1.jpg","text":"TemporaryFile(/tmp/multipartBody2297209864823703241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070803127,"filename":"image_30102025_10_27_58_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/2/bc801a57300a1e10393e83e879bf0462.jpg","text":"TemporaryFile(/tmp/multipartBody86715455291641212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070803127,"filename":"image_30102025_10_28_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/2/51cbe5f50172639dcdd4bccff9864304.jpg","text":"TemporaryFile(/tmp/multipartBody6182484176640090277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070803127,"filename":"image_30102025_10_27_56_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/2/5a5348e112cc349432567806a50f49ff.jpg","text":"TemporaryFile(/tmp/multipartBody2873577868426192686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070803127,"filename":"image_30102025_10_27_47_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391812150","file1":"1391812147","file0":"1391812135","file4":"1391812205","file5":"1391812219","file3":"1391812171"},"map_files_photo_id_array":[{"photo_id":"1391812219","filename":"file5"},{"photo_id":"1391812150","filename":"file2"},{"photo_id":"1391812205","filename":"file4"},{"photo_id":"1391812147","filename":"file1"},{"photo_id":"1391812135","filename":"file0"},{"photo_id":"1391812171","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391812205":["hashtag1","hashtag2"]},{"1391812171":["hashtag1","hashtag2"]},{"1391812150":["hashtag1","hashtag2"]},{"1391812219":["hashtag1","hashtag2"]},{"1391812147":["hashtag1","hashtag2"]},{"1391812135":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391812205, 1391812171, 1391812150, 1391812219, 1391812147, 1391812135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65174317359924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 09:06:22.147981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/28/image_30102025_10_28_52_2683.jpg', '/home/pi/Desktop/images/30102025/10/28/image_30102025_10_28_56_3668.jpg', '/home/pi/Desktop/images/30102025/10/28/image_30102025_10_28_59_2714.jpg', '/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_04_2744.jpg', '/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_08_3746.jpg', '/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_13_2554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/28/image_30102025_10_28_52_2683.jpg
/home/pi/Desktop/images/30102025/10/28/image_30102025_10_28_56_3668.jpg
/home/pi/Desktop/images/30102025/10/28/image_30102025_10_28_59_2714.jpg
/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_04_2744.jpg
/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_08_3746.jpg
/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_13_2554.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391812239","1391812226","1391812231","1391812234","1391812228","1391812278"],"photo_ids_order":["1391812226","1391812228","1391812231","1391812234","1391812239","1391812278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fd45d8f1c3d308e7d6244d58b3b1cd64.jpg","text":"TemporaryFile(/tmp/multipartBody4318911002534251121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070845374,"filename":"image_30102025_10_29_08_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/2/ff997059b433c8f438b666df35b73062.jpg","text":"TemporaryFile(/tmp/multipartBody4598980540671108458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070845374,"filename":"image_30102025_10_28_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/2/9324d70ac94e06365c7cd834f6331283.jpg","text":"TemporaryFile(/tmp/multipartBody5905225021857327781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070845374,"filename":"image_30102025_10_28_59_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/2/3574fa8d2eb82ade62988bb1544b54ce.jpg","text":"TemporaryFile(/tmp/multipartBody6485027256953848254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070845374,"filename":"image_30102025_10_29_04_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/2/8c26342023dcdda37d804e163a3f3114.jpg","text":"TemporaryFile(/tmp/multipartBody5145841815662586387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070845374,"filename":"image_30102025_10_28_56_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/2/dc0696efb3f999cbb39bfee860ab03d4.jpg","text":"TemporaryFile(/tmp/multipartBody1966086829765996168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070845374,"filename":"image_30102025_10_29_13_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391812231","file1":"1391812228","file0":"1391812226","file4":"1391812239","file5":"1391812278","file3":"1391812234"},"map_files_photo_id_array":[{"photo_id":"1391812278","filename":"file5"},{"photo_id":"1391812231","filename":"file2"},{"photo_id":"1391812239","filename":"file4"},{"photo_id":"1391812228","filename":"file1"},{"photo_id":"1391812226","filename":"file0"},{"photo_id":"1391812234","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391812239":["hashtag1","hashtag2"]},{"1391812226":["hashtag1","hashtag2"]},{"1391812231":["hashtag1","hashtag2"]},{"1391812234":["hashtag1","hashtag2"]},{"1391812228":["hashtag1","hashtag2"]},{"1391812278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391812239, 1391812226, 1391812231, 1391812234, 1391812228, 1391812278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.868701457977295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:07:03.020584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_17_3654.jpg', '/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_19_2653.jpg', '/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_22_2716.jpg', '/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_25_2746.jpg', '/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_31_2607.jpg', '/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_34_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/10/29/image_30102025_10_29_17_3654.jpg
/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_19_2653.jpg
/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_22_2716.jpg
/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_25_2746.jpg
/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_31_2607.jpg
/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_34_2541.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391812463","1391812508","1391812465","1391812441","1391812473","1391812467"],"photo_ids_order":["1391812441","1391812463","1391812465","1391812467","1391812473","1391812508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/481d9da5fdf0ab466a056a6f8dcb50f0.jpg","text":"TemporaryFile(/tmp/multipartBody5619345317617390224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070885365,"filename":"image_30102025_10_29_19_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/2/58a16bbf697e692a369335b8e9952b29.jpg","text":"TemporaryFile(/tmp/multipartBody1672242678083579422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070885365,"filename":"image_30102025_10_29_34_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/2/e4a9327f19954996f3e9aef586664c38.jpg","text":"TemporaryFile(/tmp/multipartBody1653673463066342354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070885365,"filename":"image_30102025_10_29_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/2/372a89e218613913559b8bdc6163474d.jpg","text":"TemporaryFile(/tmp/multipartBody3052012524345817010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070885365,"filename":"image_30102025_10_29_17_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/2/ac5c22fcc15fb15c2432061acfdb7e01.jpg","text":"TemporaryFile(/tmp/multipartBody2044652564924228341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070885365,"filename":"image_30102025_10_29_31_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/2/0c1da18729c2362d75c6d74b244c975d.jpg","text":"TemporaryFile(/tmp/multipartBody8479157072286165927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070885365,"filename":"image_30102025_10_29_25_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391812465","file1":"1391812463","file0":"1391812441","file4":"1391812473","file5":"1391812508","file3":"1391812467"},"map_files_photo_id_array":[{"photo_id":"1391812508","filename":"file5"},{"photo_id":"1391812465","filename":"file2"},{"photo_id":"1391812473","filename":"file4"},{"photo_id":"1391812463","filename":"file1"},{"photo_id":"1391812441","filename":"file0"},{"photo_id":"1391812467","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391812463":["hashtag1","hashtag2"]},{"1391812508":["hashtag1","hashtag2"]},{"1391812465":["hashtag1","hashtag2"]},{"1391812441":["hashtag1","hashtag2"]},{"1391812473":["hashtag1","hashtag2"]},{"1391812467":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391812463, 1391812508, 1391812465, 1391812441, 1391812473, 1391812467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72292900085449 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-02 09:08:03.097967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_38_3716.jpg', '/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_40_2767.jpg', '/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_43_2634.jpg', '/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_50_3804.jpg', '/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_52_2690.jpg', '/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_55_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/10/29/image_30102025_10_29_38_3716.jpg
/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_40_2767.jpg
/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_43_2634.jpg
/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_50_3804.jpg
/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_52_2690.jpg
/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_55_2702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391812640","1391812643","1391812762","1391812672","1391812717","1391812606"],"photo_ids_order":["1391812606","1391812640","1391812643","1391812672","1391812717","1391812762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/addcbbfd3089b0f6363610987cfb29f3.jpg","text":"TemporaryFile(/tmp/multipartBody8885499014197964754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070945239,"filename":"image_30102025_10_29_40_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/2/9c57812e56cd5f7047315a7e0d516f99.jpg","text":"TemporaryFile(/tmp/multipartBody6100125428863033102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070945239,"filename":"image_30102025_10_29_43_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/2/0f7526feac0ad8a62f36e4079a2a8438.jpg","text":"TemporaryFile(/tmp/multipartBody6521122233809173855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070945239,"filename":"image_30102025_10_29_55_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/2/cfcb490435ccf9168c42d38e26c0e3ef.jpg","text":"TemporaryFile(/tmp/multipartBody6032259117616250375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070945239,"filename":"image_30102025_10_29_50_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/2/cc586eb37f3db3828f2244fc970640a0.jpg","text":"TemporaryFile(/tmp/multipartBody6823445460033900045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070945239,"filename":"image_30102025_10_29_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/2/504cdae8697fc2331faeef8a1895c753.jpg","text":"TemporaryFile(/tmp/multipartBody6340777003261123469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762070945239,"filename":"image_30102025_10_29_38_3716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391812643","file1":"1391812640","file0":"1391812606","file4":"1391812717","file5":"1391812762","file3":"1391812672"},"map_files_photo_id_array":[{"photo_id":"1391812762","filename":"file5"},{"photo_id":"1391812643","filename":"file2"},{"photo_id":"1391812717","filename":"file4"},{"photo_id":"1391812640","filename":"file1"},{"photo_id":"1391812606","filename":"file0"},{"photo_id":"1391812672","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391812640":["hashtag1","hashtag2"]},{"1391812643":["hashtag1","hashtag2"]},{"1391812762":["hashtag1","hashtag2"]},{"1391812672":["hashtag1","hashtag2"]},{"1391812717":["hashtag1","hashtag2"]},{"1391812606":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391812640, 1391812643, 1391812762, 1391812672, 1391812717, 1391812606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.98769521713257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:09:03.739218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 09:09:22.927406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/29/image_30102025_10_29_58_2711.jpg', '/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_07_3015.jpg', '/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_10_3135.jpg', '/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_14_4181.jpg', '/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_16_1691.jpg', '/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_19_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/10/29/image_30102025_10_29_58_2711.jpg
/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_07_3015.jpg
/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_10_3135.jpg
/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_14_4181.jpg
/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_16_1691.jpg
/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_19_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":["1391813261","1391813222","1391813251","1391813260","1391813227","1391813244"],"photo_ids_order":["1391813222","1391813227","1391813244","1391813251","1391813260","1391813261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/19ca9d1ab885cdf77b19ff73317e12f5.jpg","text":"TemporaryFile(/tmp/multipartBody2865426299570149261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071054703,"filename":"image_30102025_10_31_19_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/2/22add9ebc9464ad49043235a662ab59f.jpg","text":"TemporaryFile(/tmp/multipartBody3754237460367772204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071054703,"filename":"image_30102025_10_29_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/2/a04e7ab8b034d8093871c6034f2dce48.jpg","text":"TemporaryFile(/tmp/multipartBody5663876663533043144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071054703,"filename":"image_30102025_10_31_14_4181.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e53f9c038e4769ab937eb0909060736d.jpg","text":"TemporaryFile(/tmp/multipartBody8029941806389624201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071054703,"filename":"image_30102025_10_31_16_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/2/ccd050247fd5d731195010fb64ec7251.jpg","text":"TemporaryFile(/tmp/multipartBody1755919153716787731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071054703,"filename":"image_30102025_10_31_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/2/61b31a13d1257271ed48efc50c151d1f.jpg","text":"TemporaryFile(/tmp/multipartBody8809736148267382287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071054703,"filename":"image_30102025_10_31_10_3135.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391813244","file1":"1391813227","file0":"1391813222","file4":"1391813260","file5":"1391813261","file3":"1391813251"},"map_files_photo_id_array":[{"photo_id":"1391813261","filename":"file5"},{"photo_id":"1391813244","filename":"file2"},{"photo_id":"1391813260","filename":"file4"},{"photo_id":"1391813227","filename":"file1"},{"photo_id":"1391813222","filename":"file0"},{"photo_id":"1391813251","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391813261":["hashtag1","hashtag2"]},{"1391813222":["hashtag1","hashtag2"]},{"1391813251":["hashtag1","hashtag2"]},{"1391813260":["hashtag1","hashtag2"]},{"1391813227":["hashtag1","hashtag2"]},{"1391813244":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391813261, 1391813222, 1391813251, 1391813260, 1391813227, 1391813244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.90736317634583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 09:10:44.530440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_22_2582.jpg', '/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_25_2642.jpg', '/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_29_3830.jpg', '/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_31_2569.jpg', '/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_34_2775.jpg', '/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_37_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/10/31/image_30102025_10_31_22_2582.jpg
/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_25_2642.jpg
/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_29_3830.jpg
/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_31_2569.jpg
/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_34_2775.jpg
/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_37_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":["1391813306","1391813344","1391813347","1391813332","1391813316","1391813304"],"photo_ids_order":["1391813304","1391813306","1391813316","1391813332","1391813344","1391813347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ebf29ba3c61955c95b3e33e42fc2806c.jpg","text":"TemporaryFile(/tmp/multipartBody9079141207905289094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071107622,"filename":"image_30102025_10_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/2/028a7628d5f94acde5f59c5fa49a43a7.jpg","text":"TemporaryFile(/tmp/multipartBody8527721646309189058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071107622,"filename":"image_30102025_10_31_34_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/2/f3495bf1e8c7d343c523c46540defb80.jpg","text":"TemporaryFile(/tmp/multipartBody4153665642059249518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071107622,"filename":"image_30102025_10_31_37_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/2/068a4e733cacc6267e36682acaa16f80.jpg","text":"TemporaryFile(/tmp/multipartBody8797802745118417998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071107622,"filename":"image_30102025_10_31_31_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/2/3a7c4c1962084ef460a6fb406e10244f.jpg","text":"TemporaryFile(/tmp/multipartBody5419157548415411179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071107622,"filename":"image_30102025_10_31_29_3830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/678b0d37ee9970e9ed23b6cd996a0e51.jpg","text":"TemporaryFile(/tmp/multipartBody3761145818092899285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071107622,"filename":"image_30102025_10_31_22_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391813316","file1":"1391813306","file0":"1391813304","file4":"1391813344","file5":"1391813347","file3":"1391813332"},"map_files_photo_id_array":[{"photo_id":"1391813347","filename":"file5"},{"photo_id":"1391813316","filename":"file2"},{"photo_id":"1391813344","filename":"file4"},{"photo_id":"1391813306","filename":"file1"},{"photo_id":"1391813304","filename":"file0"},{"photo_id":"1391813332","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391813306":["hashtag1","hashtag2"]},{"1391813344":["hashtag1","hashtag2"]},{"1391813347":["hashtag1","hashtag2"]},{"1391813332":["hashtag1","hashtag2"]},{"1391813316":["hashtag1","hashtag2"]},{"1391813304":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391813306, 1391813344, 1391813347, 1391813332, 1391813316, 1391813304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.709991455078125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 09:11:42.773534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_40_3598.jpg', '/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_43_2881.jpg', '/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_46_2734.jpg', '/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_50_3643.jpg', '/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_52_2859.jpg', '/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_55_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/10/31/image_30102025_10_31_40_3598.jpg
/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_43_2881.jpg
/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_46_2734.jpg
/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_50_3643.jpg
/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_52_2859.jpg
/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_55_2744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391813417","1391813431","1391813440","1391813434","1391813422","1391813427"],"photo_ids_order":["1391813417","1391813422","1391813427","1391813431","1391813434","1391813440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0c5dccecbea25f7d6d0b3a816747126e.jpg","text":"TemporaryFile(/tmp/multipartBody8077810301584366894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071163918,"filename":"image_30102025_10_31_40_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/2/c61423f63928ae2eb043c92062abe5d9.jpg","text":"TemporaryFile(/tmp/multipartBody1689905238933449688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071163918,"filename":"image_30102025_10_31_50_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/2/e31890f3a614959ff3f5a2ffac326bee.jpg","text":"TemporaryFile(/tmp/multipartBody1881040832545651938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071163918,"filename":"image_30102025_10_31_55_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/2/2acb72606e0344edf099656bfcdc1f2e.jpg","text":"TemporaryFile(/tmp/multipartBody82836515805027334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071163918,"filename":"image_30102025_10_31_52_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/2/f87e71a21bde85496bec46c6b21918c5.jpg","text":"TemporaryFile(/tmp/multipartBody792099577563036549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071163918,"filename":"image_30102025_10_31_43_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/2/4f763ef5bd5f6390e016dc8e3fb3b413.jpg","text":"TemporaryFile(/tmp/multipartBody4905532230135508141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071163918,"filename":"image_30102025_10_31_46_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391813427","file1":"1391813422","file0":"1391813417","file4":"1391813434","file5":"1391813440","file3":"1391813431"},"map_files_photo_id_array":[{"photo_id":"1391813440","filename":"file5"},{"photo_id":"1391813427","filename":"file2"},{"photo_id":"1391813434","filename":"file4"},{"photo_id":"1391813422","filename":"file1"},{"photo_id":"1391813417","filename":"file0"},{"photo_id":"1391813431","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391813417":["hashtag1","hashtag2"]},{"1391813431":["hashtag1","hashtag2"]},{"1391813440":["hashtag1","hashtag2"]},{"1391813434":["hashtag1","hashtag2"]},{"1391813422":["hashtag1","hashtag2"]},{"1391813427":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391813417, 1391813431, 1391813440, 1391813434, 1391813422, 1391813427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46373653411865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 09:12:22.054573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/31/image_30102025_10_31_58_2635.jpg', '/home/pi/Desktop/images/30102025/10/31/image_30102025_10_32_01_3583.jpg', '/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_04_2676.jpg', '/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_07_2621.jpg', '/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_13_2854.jpg', '/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_16_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/10/31/image_30102025_10_31_58_2635.jpg
/home/pi/Desktop/images/30102025/10/31/image_30102025_10_32_01_3583.jpg
/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_04_2676.jpg
/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_07_2621.jpg
/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_13_2854.jpg
/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_16_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391813561","1391813600","1391813554","1391813682","1391813643","1391813564"],"photo_ids_order":["1391813554","1391813561","1391813564","1391813600","1391813643","1391813682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e483ba71d7857632ac33371264dac2e4.jpg","text":"TemporaryFile(/tmp/multipartBody2634974220789002587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071204751,"filename":"image_30102025_10_32_01_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/2/f8a1de2cb3a93082fc1f8200a7e9c60c.jpg","text":"TemporaryFile(/tmp/multipartBody3535089965061514919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071204751,"filename":"image_30102025_10_32_07_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/2/6199de2ca976daffd263de7e9854e49b.jpg","text":"TemporaryFile(/tmp/multipartBody221730719342572531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071204751,"filename":"image_30102025_10_31_58_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/2/da796b64ce548243549603db9296c359.jpg","text":"TemporaryFile(/tmp/multipartBody3707379157506741521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071204751,"filename":"image_30102025_10_32_16_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/2/10d0d6bee42dfc048f00477255250802.jpg","text":"TemporaryFile(/tmp/multipartBody4760317984266040580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071204751,"filename":"image_30102025_10_32_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/2/c7ae9c8db980236a14f2a1715e334a6b.jpg","text":"TemporaryFile(/tmp/multipartBody3403077811711773320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071204751,"filename":"image_30102025_10_32_04_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391813564","file1":"1391813561","file0":"1391813554","file4":"1391813643","file5":"1391813682","file3":"1391813600"},"map_files_photo_id_array":[{"photo_id":"1391813682","filename":"file5"},{"photo_id":"1391813564","filename":"file2"},{"photo_id":"1391813643","filename":"file4"},{"photo_id":"1391813561","filename":"file1"},{"photo_id":"1391813554","filename":"file0"},{"photo_id":"1391813600","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391813561":["hashtag1","hashtag2"]},{"1391813600":["hashtag1","hashtag2"]},{"1391813554":["hashtag1","hashtag2"]},{"1391813682":["hashtag1","hashtag2"]},{"1391813643":["hashtag1","hashtag2"]},{"1391813564":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391813561, 1391813600, 1391813554, 1391813682, 1391813643, 1391813564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.939152002334595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:13:02.755787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_19_3683.jpg', '/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_22_2573.jpg', '/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_25_2600.jpg', '/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_28_3642.jpg', '/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_31_2704.jpg', '/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_34_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/10/32/image_30102025_10_32_19_3683.jpg
/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_22_2573.jpg
/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_25_2600.jpg
/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_28_3642.jpg
/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_31_2704.jpg
/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_34_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":["1391814184","1391813920","1391814159","1391814071","1391813999","1391814116"],"photo_ids_order":["1391813920","1391813999","1391814071","1391814116","1391814159","1391814184"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e3111a1d8dbd33c5d0ac9cb5cd97ce25.jpg","text":"TemporaryFile(/tmp/multipartBody157869571630297031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071245008,"filename":"image_30102025_10_32_34_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/2/364b5060b39fa3822abc1fde4d1e1b56.jpg","text":"TemporaryFile(/tmp/multipartBody3495178046878443938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071245008,"filename":"image_30102025_10_32_19_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/2/37474974ce51fc2269730c038098505c.jpg","text":"TemporaryFile(/tmp/multipartBody2543241925124500569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071245008,"filename":"image_30102025_10_32_31_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/2/36829711da2842814e1234840ee6516c.jpg","text":"TemporaryFile(/tmp/multipartBody7994332480843456119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071245008,"filename":"image_30102025_10_32_25_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/2/786ff779b3a5ed7018033a68b454fbae.jpg","text":"TemporaryFile(/tmp/multipartBody8296014766400684752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071245008,"filename":"image_30102025_10_32_22_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/2/c2b2aa3b62b5d48ab0507fa5de1ed314.jpg","text":"TemporaryFile(/tmp/multipartBody2330485800576418379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071245008,"filename":"image_30102025_10_32_28_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391814071","file1":"1391813999","file0":"1391813920","file4":"1391814159","file5":"1391814184","file3":"1391814116"},"map_files_photo_id_array":[{"photo_id":"1391814184","filename":"file5"},{"photo_id":"1391814071","filename":"file2"},{"photo_id":"1391814159","filename":"file4"},{"photo_id":"1391813999","filename":"file1"},{"photo_id":"1391813920","filename":"file0"},{"photo_id":"1391814116","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391814184":["hashtag1","hashtag2"]},{"1391813920":["hashtag1","hashtag2"]},{"1391814159":["hashtag1","hashtag2"]},{"1391814071":["hashtag1","hashtag2"]},{"1391813999":["hashtag1","hashtag2"]},{"1391814116":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391814184, 1391813920, 1391814159, 1391814071, 1391813999, 1391814116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.68543267250061 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:14:02.981794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_37_3607.jpg', '/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_40_2748.jpg', '/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_46_3642.jpg', '/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_49_2731.jpg', '/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_52_2753.jpg', '/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_58_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/10/32/image_30102025_10_32_37_3607.jpg
/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_40_2748.jpg
/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_46_3642.jpg
/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_49_2731.jpg
/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_52_2753.jpg
/home/pi/Desktop/images/30102025/10/32/image_30102025_10_32_58_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":["1391814218","1391814241","1391814223","1391814222","1391814233","1391814221"],"photo_ids_order":["1391814218","1391814221","1391814222","1391814223","1391814233","1391814241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0cf377322111d1c694ed38083037d47a.jpg","text":"TemporaryFile(/tmp/multipartBody7915885307512189842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071306391,"filename":"image_30102025_10_32_37_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/2/6dd1554f40b7dc94e432e3351bedf2d5.jpg","text":"TemporaryFile(/tmp/multipartBody7319082832428772821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071306391,"filename":"image_30102025_10_32_58_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/2/3c216ec657da9390874c9d316cea0636.jpg","text":"TemporaryFile(/tmp/multipartBody7944821721928104228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071306391,"filename":"image_30102025_10_32_49_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/2/003f5f32c4e6fa311605f4385bc72a90.jpg","text":"TemporaryFile(/tmp/multipartBody4574904026012287719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071306391,"filename":"image_30102025_10_32_46_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/2/e7c3d2a1bc60829e28cb2606c98279a9.jpg","text":"TemporaryFile(/tmp/multipartBody7534471353085870900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071306391,"filename":"image_30102025_10_32_52_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/2/efe08642bed6b5b4cff66997bd87ce89.jpg","text":"TemporaryFile(/tmp/multipartBody4832640390217726954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071306391,"filename":"image_30102025_10_32_40_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391814222","file1":"1391814221","file0":"1391814218","file4":"1391814233","file5":"1391814241","file3":"1391814223"},"map_files_photo_id_array":[{"photo_id":"1391814241","filename":"file5"},{"photo_id":"1391814222","filename":"file2"},{"photo_id":"1391814233","filename":"file4"},{"photo_id":"1391814221","filename":"file1"},{"photo_id":"1391814218","filename":"file0"},{"photo_id":"1391814223","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391814218":["hashtag1","hashtag2"]},{"1391814241":["hashtag1","hashtag2"]},{"1391814223":["hashtag1","hashtag2"]},{"1391814222":["hashtag1","hashtag2"]},{"1391814233":["hashtag1","hashtag2"]},{"1391814221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391814218, 1391814241, 1391814223, 1391814222, 1391814233, 1391814221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.790698528289795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:15:03.224385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_01_2747.jpg', '/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_08_3663.jpg', '/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_10_2636.jpg', '/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_13_2869.jpg', '/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_16_2677.jpg', '/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_19_3743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_01_2747.jpg
/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_08_3663.jpg
/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_10_2636.jpg
/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_13_2869.jpg
/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_16_2677.jpg
/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_19_3743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391814346","1391814334","1391814354","1391814318","1391814350","1391814347"],"photo_ids_order":["1391814318","1391814334","1391814346","1391814347","1391814350","1391814354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2abf11ce7a3a533720104e50a51e327f.jpg","text":"TemporaryFile(/tmp/multipartBody5474393041771899949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071365432,"filename":"image_30102025_10_33_10_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/2/9e3a099f13751ac4129571dcf759cce9.jpg","text":"TemporaryFile(/tmp/multipartBody996364188224769479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071365432,"filename":"image_30102025_10_33_08_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/2/cef4d12a3ef4f1b9447fc53c3e15b776.jpg","text":"TemporaryFile(/tmp/multipartBody8499169640340276444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071365432,"filename":"image_30102025_10_33_19_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/2/72ce819499b84869380f960f7d865718.jpg","text":"TemporaryFile(/tmp/multipartBody746239638875758657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071365432,"filename":"image_30102025_10_33_01_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/2/370e8c8b50aa0a23ddb35c3281b2a87b.jpg","text":"TemporaryFile(/tmp/multipartBody2879057018630019744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071365432,"filename":"image_30102025_10_33_16_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/2/c078d56cf63bdbf84fdbbe8851543811.jpg","text":"TemporaryFile(/tmp/multipartBody4923102344303790117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071365432,"filename":"image_30102025_10_33_13_2869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391814346","file1":"1391814334","file0":"1391814318","file4":"1391814350","file5":"1391814354","file3":"1391814347"},"map_files_photo_id_array":[{"photo_id":"1391814354","filename":"file5"},{"photo_id":"1391814346","filename":"file2"},{"photo_id":"1391814350","filename":"file4"},{"photo_id":"1391814334","filename":"file1"},{"photo_id":"1391814318","filename":"file0"},{"photo_id":"1391814347","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391814346":["hashtag1","hashtag2"]},{"1391814334":["hashtag1","hashtag2"]},{"1391814354":["hashtag1","hashtag2"]},{"1391814318":["hashtag1","hashtag2"]},{"1391814350":["hashtag1","hashtag2"]},{"1391814347":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391814346, 1391814334, 1391814354, 1391814318, 1391814350, 1391814347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.194039821624756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 09:15:42.551991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_22_2759.jpg', '/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_28_2779.jpg', '/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_31_3705.jpg', '/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_34_2714.jpg', '/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_37_2705.jpg', '/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_40_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/10/33/image_30102025_10_33_22_2759.jpg
/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_28_2779.jpg
/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_31_3705.jpg
/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_34_2714.jpg
/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_37_2705.jpg
/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_40_3591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391814379","1391814372","1391814375","1391814363","1391814383","1391814377"],"photo_ids_order":["1391814363","1391814372","1391814375","1391814377","1391814379","1391814383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/80d87af5318c9dc79546db547eb1f150.jpg","text":"TemporaryFile(/tmp/multipartBody1479309316306062361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071403690,"filename":"image_30102025_10_33_37_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/2/3c3de78a42a5e09ea2e80103ab4d2d9d.jpg","text":"TemporaryFile(/tmp/multipartBody8805264819194332149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071403690,"filename":"image_30102025_10_33_28_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/2/2469e9f0f51385e0e7724354c26fd3be.jpg","text":"TemporaryFile(/tmp/multipartBody824452623944751743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071403690,"filename":"image_30102025_10_33_31_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/2/5d49e1c7c5ba7b662cc96fea6584089d.jpg","text":"TemporaryFile(/tmp/multipartBody713035626506190582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071403690,"filename":"image_30102025_10_33_22_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/2/6772004b1bb56ed684578cbdb4019912.jpg","text":"TemporaryFile(/tmp/multipartBody2815251979336809956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071403690,"filename":"image_30102025_10_33_40_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/2/14ea0cef276d5756dde6b9ca14fb2d1f.jpg","text":"TemporaryFile(/tmp/multipartBody887516465760852356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071403690,"filename":"image_30102025_10_33_34_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391814375","file1":"1391814372","file0":"1391814363","file4":"1391814379","file5":"1391814383","file3":"1391814377"},"map_files_photo_id_array":[{"photo_id":"1391814383","filename":"file5"},{"photo_id":"1391814375","filename":"file2"},{"photo_id":"1391814379","filename":"file4"},{"photo_id":"1391814372","filename":"file1"},{"photo_id":"1391814363","filename":"file0"},{"photo_id":"1391814377","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391814379":["hashtag1","hashtag2"]},{"1391814372":["hashtag1","hashtag2"]},{"1391814375":["hashtag1","hashtag2"]},{"1391814363":["hashtag1","hashtag2"]},{"1391814383":["hashtag1","hashtag2"]},{"1391814377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391814379, 1391814372, 1391814375, 1391814363, 1391814383, 1391814377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.033034324645996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 09:16:22.677633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_43_2751.jpg', '/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_49_2857.jpg', '/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_51_2668.jpg', '/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_55_3822.jpg', '/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_58_2622.jpg', '/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_04_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_43_2751.jpg
/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_49_2857.jpg
/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_51_2668.jpg
/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_55_3822.jpg
/home/pi/Desktop/images/30102025/10/33/image_30102025_10_33_58_2622.jpg
/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_04_3697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391814682","1391814515","1391814556","1391814759","1391814612","1391814723"],"photo_ids_order":["1391814515","1391814556","1391814612","1391814682","1391814723","1391814759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/219f3ff0c024c21e067e2a422cfb3a10.jpg","text":"TemporaryFile(/tmp/multipartBody253144249696223979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071445382,"filename":"image_30102025_10_33_55_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/2/4d5b52aaa74d47d6c348d99c69d5f4a0.jpg","text":"TemporaryFile(/tmp/multipartBody8857445096038678997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071445382,"filename":"image_30102025_10_33_43_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/2/f12c88be0ae874b7f5c63108ae241fc8.jpg","text":"TemporaryFile(/tmp/multipartBody1636319983800241094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071445382,"filename":"image_30102025_10_33_49_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/2/dc8c1bbe08ab0a0a887d92d2910f0d47.jpg","text":"TemporaryFile(/tmp/multipartBody5155677390669363769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071445382,"filename":"image_30102025_10_34_04_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/2/5efd54f74a8292a57e27325452ad600e.jpg","text":"TemporaryFile(/tmp/multipartBody8189967519426510131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071445382,"filename":"image_30102025_10_33_51_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/2/9b40f208ebeae2d0dff5762c4c3ac615.jpg","text":"TemporaryFile(/tmp/multipartBody5576086540028711847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071445382,"filename":"image_30102025_10_33_58_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391814612","file1":"1391814556","file0":"1391814515","file4":"1391814723","file5":"1391814759","file3":"1391814682"},"map_files_photo_id_array":[{"photo_id":"1391814759","filename":"file5"},{"photo_id":"1391814612","filename":"file2"},{"photo_id":"1391814723","filename":"file4"},{"photo_id":"1391814556","filename":"file1"},{"photo_id":"1391814515","filename":"file0"},{"photo_id":"1391814682","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391814682":["hashtag1","hashtag2"]},{"1391814515":["hashtag1","hashtag2"]},{"1391814556":["hashtag1","hashtag2"]},{"1391814759":["hashtag1","hashtag2"]},{"1391814612":["hashtag1","hashtag2"]},{"1391814723":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391814682, 1391814515, 1391814556, 1391814759, 1391814612, 1391814723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14455485343933 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 09:17:21.851560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_07_2826.jpg', '/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_10_2819.jpg', '/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_19_2818.jpg', '/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_22_2681.jpg', '/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_24_2709.jpg', '/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_28_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/10/34/image_30102025_10_34_07_2826.jpg
/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_10_2819.jpg
/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_19_2818.jpg
/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_22_2681.jpg
/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_24_2709.jpg
/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_28_3560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391814880","1391814884","1391814878","1391814893","1391814887","1391814881"],"photo_ids_order":["1391814878","1391814880","1391814881","1391814884","1391814887","1391814893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e5d49b9137024c3bc09787047664b4bd.jpg","text":"TemporaryFile(/tmp/multipartBody1526223089910007149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071504559,"filename":"image_30102025_10_34_10_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/2/eb5eacf8dbfb7399accff5d46c4a4d43.jpg","text":"TemporaryFile(/tmp/multipartBody1206070932210546515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071504559,"filename":"image_30102025_10_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/2/fd7cc87029bafc09146c17ac6e7ffae5.jpg","text":"TemporaryFile(/tmp/multipartBody7863850981699602533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071504559,"filename":"image_30102025_10_34_07_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/2/c170511903a91b26d00d294dc31d777a.jpg","text":"TemporaryFile(/tmp/multipartBody7553251295308393232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071504559,"filename":"image_30102025_10_34_28_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/2/2b755654ba265a429960fe7e734a18b0.jpg","text":"TemporaryFile(/tmp/multipartBody2448357516076031403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071504559,"filename":"image_30102025_10_34_24_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/2/33c4fb93df605e24739cf21bfd5b20fe.jpg","text":"TemporaryFile(/tmp/multipartBody8414470115222694039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071504559,"filename":"image_30102025_10_34_19_2818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391814881","file1":"1391814880","file0":"1391814878","file4":"1391814887","file5":"1391814893","file3":"1391814884"},"map_files_photo_id_array":[{"photo_id":"1391814893","filename":"file5"},{"photo_id":"1391814881","filename":"file2"},{"photo_id":"1391814887","filename":"file4"},{"photo_id":"1391814880","filename":"file1"},{"photo_id":"1391814878","filename":"file0"},{"photo_id":"1391814884","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391814880":["hashtag1","hashtag2"]},{"1391814884":["hashtag1","hashtag2"]},{"1391814878":["hashtag1","hashtag2"]},{"1391814893":["hashtag1","hashtag2"]},{"1391814887":["hashtag1","hashtag2"]},{"1391814881":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391814880, 1391814884, 1391814878, 1391814893, 1391814887, 1391814881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.497512102127075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:18:03.096302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_31_2675.jpg', '/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_34_3617.jpg', '/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_40_2586.jpg', '/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_46_2615.jpg', '/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_49_2727.jpg', '/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_52_3742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_31_2675.jpg
/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_34_3617.jpg
/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_40_2586.jpg
/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_46_2615.jpg
/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_49_2727.jpg
/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_52_3742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391814911","1391814919","1391814921","1391814915","1391814914","1391814917"],"photo_ids_order":["1391814911","1391814914","1391814915","1391814917","1391814919","1391814921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9668bf3eff1e2d5482041a9101f7b2d2.jpg","text":"TemporaryFile(/tmp/multipartBody4113884467141497906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071545281,"filename":"image_30102025_10_34_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/2/c625f37016db350c818cbddf06eacd5c.jpg","text":"TemporaryFile(/tmp/multipartBody2773925430840083345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071545281,"filename":"image_30102025_10_34_49_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/2/fb5e28f3ce183b31bfcf4fd6ec6fd706.jpg","text":"TemporaryFile(/tmp/multipartBody1804829565312140233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071545281,"filename":"image_30102025_10_34_52_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/2/6012aa96020bc1061dc215ffe420307e.jpg","text":"TemporaryFile(/tmp/multipartBody8431519324443388502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071545281,"filename":"image_30102025_10_34_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/2/979d8d8968ee4664613f5b79feb6093a.jpg","text":"TemporaryFile(/tmp/multipartBody8139159360011255899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071545281,"filename":"image_30102025_10_34_34_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/2/e3f1bd42f1ccf577a291857036263a4e.jpg","text":"TemporaryFile(/tmp/multipartBody2564595850241392602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071545281,"filename":"image_30102025_10_34_46_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391814915","file1":"1391814914","file0":"1391814911","file4":"1391814919","file5":"1391814921","file3":"1391814917"},"map_files_photo_id_array":[{"photo_id":"1391814921","filename":"file5"},{"photo_id":"1391814915","filename":"file2"},{"photo_id":"1391814919","filename":"file4"},{"photo_id":"1391814914","filename":"file1"},{"photo_id":"1391814911","filename":"file0"},{"photo_id":"1391814917","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391814911":["hashtag1","hashtag2"]},{"1391814919":["hashtag1","hashtag2"]},{"1391814921":["hashtag1","hashtag2"]},{"1391814915":["hashtag1","hashtag2"]},{"1391814914":["hashtag1","hashtag2"]},{"1391814917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391814911, 1391814919, 1391814921, 1391814915, 1391814914, 1391814917)","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: 58.713881731033325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 09:19:21.965690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_55_2548.jpg', '/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_57_2623.jpg', '/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_07_3016.jpg', '/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_11_3659.jpg', '/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_13_2716.jpg', '/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_20_3769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_55_2548.jpg
/home/pi/Desktop/images/30102025/10/34/image_30102025_10_34_57_2623.jpg
/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_07_3016.jpg
/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_11_3659.jpg
/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_13_2716.jpg
/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_20_3769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391814952","1391814946","1391814954","1391814948","1391814950","1391814956"],"photo_ids_order":["1391814946","1391814948","1391814950","1391814952","1391814954","1391814956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ba699509b8dfde99167e054b54534e1b.jpg","text":"TemporaryFile(/tmp/multipartBody8179037411208028099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071625332,"filename":"image_30102025_10_35_11_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/2/0c73c5f7ee9baec5b0dcf77e08175944.jpg","text":"TemporaryFile(/tmp/multipartBody6156738517957352785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071625332,"filename":"image_30102025_10_34_55_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/2/e43fb0ba2f55e49400cb949a2a01c5f2.jpg","text":"TemporaryFile(/tmp/multipartBody4017891163834892842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071625332,"filename":"image_30102025_10_35_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/2/db4fcdfc2aabea93f91205bcf356a6d0.jpg","text":"TemporaryFile(/tmp/multipartBody8405507861844040198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071625332,"filename":"image_30102025_10_34_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/2/ccdbaa234971481b4938c5adec443169.jpg","text":"TemporaryFile(/tmp/multipartBody7891885379447383906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071625332,"filename":"image_30102025_10_35_07_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/2/461bee25a70a59150399a7c62f05af9b.jpg","text":"TemporaryFile(/tmp/multipartBody926627292909092315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071625332,"filename":"image_30102025_10_35_20_3769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391814950","file1":"1391814948","file0":"1391814946","file4":"1391814954","file5":"1391814956","file3":"1391814952"},"map_files_photo_id_array":[{"photo_id":"1391814956","filename":"file5"},{"photo_id":"1391814950","filename":"file2"},{"photo_id":"1391814954","filename":"file4"},{"photo_id":"1391814948","filename":"file1"},{"photo_id":"1391814946","filename":"file0"},{"photo_id":"1391814952","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391814952":["hashtag1","hashtag2"]},{"1391814946":["hashtag1","hashtag2"]},{"1391814954":["hashtag1","hashtag2"]},{"1391814948":["hashtag1","hashtag2"]},{"1391814950":["hashtag1","hashtag2"]},{"1391814956":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391814952, 1391814946, 1391814954, 1391814948, 1391814950, 1391814956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.967241048812866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 09:20:22.073772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_25_2729.jpg', '/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_29_3575.jpg', '/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_32_2843.jpg', '/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_34_2685.jpg', '/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_37_2607.jpg', '/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_41_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/10/35/image_30102025_10_35_25_2729.jpg
/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_29_3575.jpg
/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_32_2843.jpg
/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_34_2685.jpg
/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_37_2607.jpg
/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_41_3552.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391814970","1391814972","1391814975","1391814980","1391814974","1391814968"],"photo_ids_order":["1391814968","1391814970","1391814972","1391814974","1391814975","1391814980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bb56d330ed97ba91f9042706270d282b.jpg","text":"TemporaryFile(/tmp/multipartBody2576601221723012966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071684568,"filename":"image_30102025_10_35_29_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/2/12171d93a07fe97cd9682f147d52d6b3.jpg","text":"TemporaryFile(/tmp/multipartBody7663640270486210294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071684568,"filename":"image_30102025_10_35_32_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/2/28215adc1e89c91081223b424c66bf1b.jpg","text":"TemporaryFile(/tmp/multipartBody614556443942385399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071684568,"filename":"image_30102025_10_35_37_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/2/f7eb84887d5e613fbc2e544f77f99835.jpg","text":"TemporaryFile(/tmp/multipartBody4204319890781133563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071684568,"filename":"image_30102025_10_35_41_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/2/c75457ce9db1b2b8cfc06414270b5492.jpg","text":"TemporaryFile(/tmp/multipartBody3987875591660545294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071684568,"filename":"image_30102025_10_35_34_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/2/229e9af1b154e190b0d9c2f8130c2e7e.jpg","text":"TemporaryFile(/tmp/multipartBody4699624555010364695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071684568,"filename":"image_30102025_10_35_25_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391814972","file1":"1391814970","file0":"1391814968","file4":"1391814975","file5":"1391814980","file3":"1391814974"},"map_files_photo_id_array":[{"photo_id":"1391814980","filename":"file5"},{"photo_id":"1391814972","filename":"file2"},{"photo_id":"1391814975","filename":"file4"},{"photo_id":"1391814970","filename":"file1"},{"photo_id":"1391814968","filename":"file0"},{"photo_id":"1391814974","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391814970":["hashtag1","hashtag2"]},{"1391814972":["hashtag1","hashtag2"]},{"1391814975":["hashtag1","hashtag2"]},{"1391814980":["hashtag1","hashtag2"]},{"1391814974":["hashtag1","hashtag2"]},{"1391814968":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391814970, 1391814972, 1391814975, 1391814980, 1391814974, 1391814968)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 55.86725974082947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 09:21:22.300853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_43_2630.jpg', '/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_46_2801.jpg', '/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_52_2621.jpg', '/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_56_3582.jpg', '/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_58_2595.jpg', '/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_08_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/10/35/image_30102025_10_35_43_2630.jpg
/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_46_2801.jpg
/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_52_2621.jpg
/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_56_3582.jpg
/home/pi/Desktop/images/30102025/10/35/image_30102025_10_35_58_2595.jpg
/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_08_3636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391815006","1391815000","1391815002","1391814996","1391814998","1391815004"],"photo_ids_order":["1391814996","1391814998","1391815000","1391815002","1391815004","1391815006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4d08e2c659ed0bf5607aa1c288a94443.jpg","text":"TemporaryFile(/tmp/multipartBody4465739314662068561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071744834,"filename":"image_30102025_10_36_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/2/021ed6097f4fcd62c33145a4ed2ed5e3.jpg","text":"TemporaryFile(/tmp/multipartBody3075821121888688234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071744834,"filename":"image_30102025_10_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/2/3e96d4db77ba28a881fa2d7c3b9ffb1f.jpg","text":"TemporaryFile(/tmp/multipartBody8720565680280664675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071744834,"filename":"image_30102025_10_35_56_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/2/9d0512e21b8a855e442c60f96fa9f307.jpg","text":"TemporaryFile(/tmp/multipartBody6873922944109182174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071744834,"filename":"image_30102025_10_35_43_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/2/41eb7faf6e8b27116fa6fb26a32de7ad.jpg","text":"TemporaryFile(/tmp/multipartBody7315330023983433106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071744834,"filename":"image_30102025_10_35_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/2/88c51303ebe522ed2686bd06eafddac8.jpg","text":"TemporaryFile(/tmp/multipartBody5285427672855259976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071744834,"filename":"image_30102025_10_35_58_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391815000","file1":"1391814998","file0":"1391814996","file4":"1391815004","file5":"1391815006","file3":"1391815002"},"map_files_photo_id_array":[{"photo_id":"1391815006","filename":"file5"},{"photo_id":"1391815000","filename":"file2"},{"photo_id":"1391815004","filename":"file4"},{"photo_id":"1391814998","filename":"file1"},{"photo_id":"1391814996","filename":"file0"},{"photo_id":"1391815002","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391815006":["hashtag1","hashtag2"]},{"1391815000":["hashtag1","hashtag2"]},{"1391815002":["hashtag1","hashtag2"]},{"1391814996":["hashtag1","hashtag2"]},{"1391814998":["hashtag1","hashtag2"]},{"1391815004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391815006, 1391815000, 1391815002, 1391814996, 1391814998, 1391815004)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.84284591674805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 09:22:22.424154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_10_2777.jpg', '/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_14_3202.jpg', '/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_18_4334.jpg', '/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_20_1651.jpg', '/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_22_2754.jpg', '/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_25_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/10/36/image_30102025_10_36_10_2777.jpg
/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_14_3202.jpg
/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_18_4334.jpg
/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_20_1651.jpg
/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_22_2754.jpg
/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_25_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391815039","1391815030","1391815027","1391815035","1391815029","1391815032"],"photo_ids_order":["1391815027","1391815029","1391815030","1391815032","1391815035","1391815039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c4d63b3d3c15164ba008cd4d439e7358.jpg","text":"TemporaryFile(/tmp/multipartBody3482088112423228515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071805124,"filename":"image_30102025_10_36_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/2/f3ac2498eb39b267d7ef99de535eb48d.jpg","text":"TemporaryFile(/tmp/multipartBody4686808018717258067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071805124,"filename":"image_30102025_10_36_18_4334.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/209d250bf8c75cb2780939156d68e73f.jpg","text":"TemporaryFile(/tmp/multipartBody818509225054329239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071805124,"filename":"image_30102025_10_36_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/2/3c2654d04dc9528bd5dc954ca576af17.jpg","text":"TemporaryFile(/tmp/multipartBody8751917637044730174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071805124,"filename":"image_30102025_10_36_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/2/16889794d05fcfef6eb3d32c10073ee0.jpg","text":"TemporaryFile(/tmp/multipartBody1210382452460131024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071805124,"filename":"image_30102025_10_36_14_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/2/8d9413fb64c18543fcb1cca7022b5542.jpg","text":"TemporaryFile(/tmp/multipartBody2135660618241233420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071805124,"filename":"image_30102025_10_36_20_1651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391815030","file1":"1391815029","file0":"1391815027","file4":"1391815035","file5":"1391815039","file3":"1391815032"},"map_files_photo_id_array":[{"photo_id":"1391815039","filename":"file5"},{"photo_id":"1391815030","filename":"file2"},{"photo_id":"1391815035","filename":"file4"},{"photo_id":"1391815029","filename":"file1"},{"photo_id":"1391815027","filename":"file0"},{"photo_id":"1391815032","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391815039":["hashtag1","hashtag2"]},{"1391815030":["hashtag1","hashtag2"]},{"1391815027":["hashtag1","hashtag2"]},{"1391815035":["hashtag1","hashtag2"]},{"1391815029":["hashtag1","hashtag2"]},{"1391815032":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391815039, 1391815030, 1391815027, 1391815035, 1391815029, 1391815032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10080051422119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:23:03.289638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_29_3690.jpg', '/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_31_2706.jpg', '/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_34_2747.jpg', '/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_37_2825.jpg', '/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_43_2585.jpg', '/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_46_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/10/36/image_30102025_10_36_29_3690.jpg
/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_31_2706.jpg
/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_34_2747.jpg
/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_37_2825.jpg
/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_43_2585.jpg
/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_46_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":["1391815057","1391815047","1391815050","1391815052","1391815060","1391815054"],"photo_ids_order":["1391815047","1391815050","1391815052","1391815054","1391815057","1391815060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/73a201b7bb482bedd8a7e5c784aa4a44.jpg","text":"TemporaryFile(/tmp/multipartBody3763973901848441569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071846280,"filename":"image_30102025_10_36_43_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/2/9fe7868e700eebe21465d21cb2a4f508.jpg","text":"TemporaryFile(/tmp/multipartBody7837571645084101468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071846280,"filename":"image_30102025_10_36_29_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/2/b466d0b6446ef9aa7d89e55ca3f5b712.jpg","text":"TemporaryFile(/tmp/multipartBody3016358782361892649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071846280,"filename":"image_30102025_10_36_31_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/2/4031f1dbb6c53eaf70daf996e96884ee.jpg","text":"TemporaryFile(/tmp/multipartBody1416189509223074223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071846280,"filename":"image_30102025_10_36_34_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/2/22634ef71aea4ede81d03ea047cbce6f.jpg","text":"TemporaryFile(/tmp/multipartBody7262487020764377787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071846280,"filename":"image_30102025_10_36_46_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/2/3f9470079c1deb36b748cd1a9dcf5452.jpg","text":"TemporaryFile(/tmp/multipartBody3842186852974603910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071846280,"filename":"image_30102025_10_36_37_2825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391815052","file1":"1391815050","file0":"1391815047","file4":"1391815057","file5":"1391815060","file3":"1391815054"},"map_files_photo_id_array":[{"photo_id":"1391815060","filename":"file5"},{"photo_id":"1391815052","filename":"file2"},{"photo_id":"1391815057","filename":"file4"},{"photo_id":"1391815050","filename":"file1"},{"photo_id":"1391815047","filename":"file0"},{"photo_id":"1391815054","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391815057":["hashtag1","hashtag2"]},{"1391815047":["hashtag1","hashtag2"]},{"1391815050":["hashtag1","hashtag2"]},{"1391815052":["hashtag1","hashtag2"]},{"1391815060":["hashtag1","hashtag2"]},{"1391815054":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391815057, 1391815047, 1391815050, 1391815052, 1391815060, 1391815054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.78260135650635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:24:02.646634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_50_3728.jpg', '/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_55_2665.jpg', '/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_59_3812.jpg', '/home/pi/Desktop/images/30102025/10/37/image_30102025_10_37_01_2719.jpg', '/home/pi/Desktop/images/30102025/10/37/image_30102025_10_37_04_2566.jpg', '/home/pi/Desktop/images/30102025/10/37/image_30102025_10_37_08_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/10/36/image_30102025_10_36_50_3728.jpg
/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_55_2665.jpg
/home/pi/Desktop/images/30102025/10/36/image_30102025_10_36_59_3812.jpg
/home/pi/Desktop/images/30102025/10/37/image_30102025_10_37_01_2719.jpg
/home/pi/Desktop/images/30102025/10/37/image_30102025_10_37_04_2566.jpg
/home/pi/Desktop/images/30102025/10/37/image_30102025_10_37_08_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":["1391815095","1391815074","1391815077","1391815104","1391815115","1391815081"],"photo_ids_order":["1391815074","1391815077","1391815081","1391815095","1391815104","1391815115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9b09e5474597c6dacd4a7ab00beefbe2.jpg","text":"TemporaryFile(/tmp/multipartBody7464970255802050923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071904623,"filename":"image_30102025_10_37_01_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/2/aa0b05f5983fd9157b437130887e371b.jpg","text":"TemporaryFile(/tmp/multipartBody8616195769805707696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071904623,"filename":"image_30102025_10_36_50_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/2/bddfe90c677222e4f9d0d63108c08b0f.jpg","text":"TemporaryFile(/tmp/multipartBody1127397209056622240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071904623,"filename":"image_30102025_10_36_55_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/2/5b25fd51f1b656bcd7f236ded9956056.jpg","text":"TemporaryFile(/tmp/multipartBody3670890678844824524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071904623,"filename":"image_30102025_10_37_04_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/2/85e6cd9a6eb9dd9a9ea37b4935e684e3.jpg","text":"TemporaryFile(/tmp/multipartBody4193158840287157646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071904623,"filename":"image_30102025_10_37_08_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/2/b82baab8d65bc82d67affee2a5f23350.jpg","text":"TemporaryFile(/tmp/multipartBody3045632233961831667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071904623,"filename":"image_30102025_10_36_59_3812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391815081","file1":"1391815077","file0":"1391815074","file4":"1391815104","file5":"1391815115","file3":"1391815095"},"map_files_photo_id_array":[{"photo_id":"1391815115","filename":"file5"},{"photo_id":"1391815081","filename":"file2"},{"photo_id":"1391815104","filename":"file4"},{"photo_id":"1391815077","filename":"file1"},{"photo_id":"1391815074","filename":"file0"},{"photo_id":"1391815095","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391815095":["hashtag1","hashtag2"]},{"1391815074":["hashtag1","hashtag2"]},{"1391815077":["hashtag1","hashtag2"]},{"1391815104":["hashtag1","hashtag2"]},{"1391815115":["hashtag1","hashtag2"]},{"1391815081":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391815095, 1391815074, 1391815077, 1391815104, 1391815115, 1391815081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38577389717102 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:25:02.914502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/37/image_30102025_10_37_10_2746.jpg', '/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_10_3619.jpg', '/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_13_2694.jpg', '/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_16_2747.jpg', '/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_19_3563.jpg', '/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_22_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/10/37/image_30102025_10_37_10_2746.jpg
/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_10_3619.jpg
/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_13_2694.jpg
/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_16_2747.jpg
/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_19_3563.jpg
/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_22_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":["1391815156","1391815146","1391815149","1391815158","1391815151","1391815154"],"photo_ids_order":["1391815146","1391815149","1391815151","1391815154","1391815156","1391815158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2891da6100832e3edfd935558fb4381e.jpg","text":"TemporaryFile(/tmp/multipartBody7002822194942081485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071965185,"filename":"image_30102025_10_38_19_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/2/5638388ca3b3a5232d2556b5181e326e.jpg","text":"TemporaryFile(/tmp/multipartBody6218602498731512110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071965185,"filename":"image_30102025_10_37_10_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/2/e35f0c8a93ef507cd8e06a8ab23b90bd.jpg","text":"TemporaryFile(/tmp/multipartBody1319231485864492008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071965185,"filename":"image_30102025_10_38_10_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/2/efb3e06d923156a18265e0453795a2b3.jpg","text":"TemporaryFile(/tmp/multipartBody1601299599102164618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071965185,"filename":"image_30102025_10_38_22_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/2/8e2297750be6e8fe9dc913144c753f21.jpg","text":"TemporaryFile(/tmp/multipartBody1805004753940646573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071965185,"filename":"image_30102025_10_38_13_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/2/ee1c1f033fdd67e552c07070bfd8e019.jpg","text":"TemporaryFile(/tmp/multipartBody7374266056818577456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762071965185,"filename":"image_30102025_10_38_16_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391815151","file1":"1391815149","file0":"1391815146","file4":"1391815156","file5":"1391815158","file3":"1391815154"},"map_files_photo_id_array":[{"photo_id":"1391815158","filename":"file5"},{"photo_id":"1391815151","filename":"file2"},{"photo_id":"1391815156","filename":"file4"},{"photo_id":"1391815149","filename":"file1"},{"photo_id":"1391815146","filename":"file0"},{"photo_id":"1391815154","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391815156":["hashtag1","hashtag2"]},{"1391815146":["hashtag1","hashtag2"]},{"1391815149":["hashtag1","hashtag2"]},{"1391815158":["hashtag1","hashtag2"]},{"1391815151":["hashtag1","hashtag2"]},{"1391815154":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391815156, 1391815146, 1391815149, 1391815158, 1391815151, 1391815154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.78589153289795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:26:02.601139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_28_2854.jpg', '/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_31_3620.jpg', '/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_34_2711.jpg', '/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_43_2667.jpg', '/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_46_2740.jpg', '/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_49_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/10/38/image_30102025_10_38_28_2854.jpg
/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_31_3620.jpg
/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_34_2711.jpg
/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_43_2667.jpg
/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_46_2740.jpg
/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_49_2721.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.271782636642456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 09:26:22.245440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_28_2854.jpg', '/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_31_3620.jpg', '/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_34_2711.jpg', '/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_43_2667.jpg', '/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_46_2740.jpg', '/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_49_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/10/38/image_30102025_10_38_28_2854.jpg
/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_31_3620.jpg
/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_34_2711.jpg
/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_43_2667.jpg
/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_46_2740.jpg
/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_49_2721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391815185","1391815188","1391815190","1391815198","1391815192","1391815195"],"photo_ids_order":["1391815185","1391815188","1391815190","1391815192","1391815195","1391815198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e589f7619c504aa6ba1bea611c039e66.jpg","text":"TemporaryFile(/tmp/multipartBody3172341836407461585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072044931,"filename":"image_30102025_10_38_28_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/2/dd2ea4e5b366712061feb433531466a3.jpg","text":"TemporaryFile(/tmp/multipartBody7672341824298749551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072044931,"filename":"image_30102025_10_38_31_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/2/af0c2b503ae862860383eedb65ee0252.jpg","text":"TemporaryFile(/tmp/multipartBody6194207176578026486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072044931,"filename":"image_30102025_10_38_34_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/2/9bbe82944e93eb4d4621d744b04b1f1d.jpg","text":"TemporaryFile(/tmp/multipartBody8171995074336260567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072044931,"filename":"image_30102025_10_38_49_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/2/14ad32be3887a48a613ea97b5a120dfa.jpg","text":"TemporaryFile(/tmp/multipartBody2884195436166274313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072044931,"filename":"image_30102025_10_38_43_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/2/77c71caed824295aa7488496f4225415.jpg","text":"TemporaryFile(/tmp/multipartBody4374905617081843958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072044931,"filename":"image_30102025_10_38_46_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391815190","file1":"1391815188","file0":"1391815185","file4":"1391815195","file5":"1391815198","file3":"1391815192"},"map_files_photo_id_array":[{"photo_id":"1391815198","filename":"file5"},{"photo_id":"1391815190","filename":"file2"},{"photo_id":"1391815195","filename":"file4"},{"photo_id":"1391815188","filename":"file1"},{"photo_id":"1391815185","filename":"file0"},{"photo_id":"1391815192","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391815185":["hashtag1","hashtag2"]},{"1391815188":["hashtag1","hashtag2"]},{"1391815190":["hashtag1","hashtag2"]},{"1391815198":["hashtag1","hashtag2"]},{"1391815192":["hashtag1","hashtag2"]},{"1391815195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391815185, 1391815188, 1391815190, 1391815198, 1391815192, 1391815195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.1409215927124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:27:03.140549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_52_3800.jpg', '/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_55_2716.jpg', '/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_10_3673.jpg', '/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_13_2772.jpg', '/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_16_2638.jpg', '/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_19_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/10/38/image_30102025_10_38_52_3800.jpg
/home/pi/Desktop/images/30102025/10/38/image_30102025_10_38_55_2716.jpg
/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_10_3673.jpg
/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_13_2772.jpg
/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_16_2638.jpg
/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_19_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":["1391815216","1391815204","1391815207","1391815201","1391815209","1391815212"],"photo_ids_order":["1391815201","1391815204","1391815207","1391815209","1391815212","1391815216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bf0a8b02456857a017974c2389432383.jpg","text":"TemporaryFile(/tmp/multipartBody8486191856297449932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072085393,"filename":"image_30102025_10_39_19_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/2/1e37d3a7a535c3c4dce4fdb4c634e0eb.jpg","text":"TemporaryFile(/tmp/multipartBody3552104267215683452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072085393,"filename":"image_30102025_10_38_55_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/2/c485805b9f3402c5e5758492f20b0886.jpg","text":"TemporaryFile(/tmp/multipartBody8748576740492898284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072085393,"filename":"image_30102025_10_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/2/2e8b230105c6f0a12da33b93e10799a8.jpg","text":"TemporaryFile(/tmp/multipartBody2511906794448343652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072085393,"filename":"image_30102025_10_38_52_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/2/10404bcba029d3fe024da6eb2be2a4db.jpg","text":"TemporaryFile(/tmp/multipartBody1804899641984505648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072085393,"filename":"image_30102025_10_39_13_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/2/f5542ee49af53e04ad9f39ecfc247a3c.jpg","text":"TemporaryFile(/tmp/multipartBody247745053251645805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072085393,"filename":"image_30102025_10_39_16_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391815207","file1":"1391815204","file0":"1391815201","file4":"1391815212","file5":"1391815216","file3":"1391815209"},"map_files_photo_id_array":[{"photo_id":"1391815216","filename":"file5"},{"photo_id":"1391815207","filename":"file2"},{"photo_id":"1391815212","filename":"file4"},{"photo_id":"1391815204","filename":"file1"},{"photo_id":"1391815201","filename":"file0"},{"photo_id":"1391815209","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391815216":["hashtag1","hashtag2"]},{"1391815204":["hashtag1","hashtag2"]},{"1391815207":["hashtag1","hashtag2"]},{"1391815201":["hashtag1","hashtag2"]},{"1391815209":["hashtag1","hashtag2"]},{"1391815212":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391815216, 1391815204, 1391815207, 1391815201, 1391815209, 1391815212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.41746234893799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:28:02.769402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 09:28:22.503860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_22_2628.jpg', '/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_28_3625.jpg', '/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_31_2799.jpg', '/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_34_2786.jpg', '/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_40_2771.jpg', '/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_43_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/10/39/image_30102025_10_39_22_2628.jpg
/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_28_3625.jpg
/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_31_2799.jpg
/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_34_2786.jpg
/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_40_2771.jpg
/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_43_2737.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5366203784942627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 09:28:42.612870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_22_2628.jpg', '/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_28_3625.jpg', '/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_31_2799.jpg', '/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_34_2786.jpg', '/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_40_2771.jpg', '/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_43_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/10/39/image_30102025_10_39_22_2628.jpg
/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_28_3625.jpg
/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_31_2799.jpg
/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_34_2786.jpg
/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_40_2771.jpg
/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_43_2737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391815240","1391815243","1391815245","1391815248","1391815250","1391815247"],"photo_ids_order":["1391815240","1391815243","1391815245","1391815247","1391815248","1391815250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e2c00cbe10c83d825ababf4d40ddb8b5.jpg","text":"TemporaryFile(/tmp/multipartBody1622571233848076908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072184366,"filename":"image_30102025_10_39_22_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/2/2a8b70a0678cdf6c0f3bbc6f4e60492d.jpg","text":"TemporaryFile(/tmp/multipartBody7294908436611278815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072184366,"filename":"image_30102025_10_39_28_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/2/95258c71c77ddcbb4ee5e22dd91b5dfa.jpg","text":"TemporaryFile(/tmp/multipartBody1019813741796594747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072184366,"filename":"image_30102025_10_39_31_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/2/ff1a9d3567d5afd952498d5e34a3583b.jpg","text":"TemporaryFile(/tmp/multipartBody5317258028273727834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072184366,"filename":"image_30102025_10_39_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/2/604ca37249ec813ebd568005c91ed04c.jpg","text":"TemporaryFile(/tmp/multipartBody7248876072325769261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072184366,"filename":"image_30102025_10_39_43_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/2/c0350f2707ccdffde3167a6259bcd8ce.jpg","text":"TemporaryFile(/tmp/multipartBody4182699352202976884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072184366,"filename":"image_30102025_10_39_34_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391815245","file1":"1391815243","file0":"1391815240","file4":"1391815248","file5":"1391815250","file3":"1391815247"},"map_files_photo_id_array":[{"photo_id":"1391815250","filename":"file5"},{"photo_id":"1391815245","filename":"file2"},{"photo_id":"1391815248","filename":"file4"},{"photo_id":"1391815243","filename":"file1"},{"photo_id":"1391815240","filename":"file0"},{"photo_id":"1391815247","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391815240":["hashtag1","hashtag2"]},{"1391815243":["hashtag1","hashtag2"]},{"1391815245":["hashtag1","hashtag2"]},{"1391815248":["hashtag1","hashtag2"]},{"1391815250":["hashtag1","hashtag2"]},{"1391815247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391815240, 1391815243, 1391815245, 1391815248, 1391815250, 1391815247)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.89484643936157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 09:29:41.901419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_46_2587.jpg', '/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_56_1775.jpg', '/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_58_2543.jpg', '/home/pi/Desktop/images/30102025/10/40/image_30102025_10_40_20_2728.jpg', '/home/pi/Desktop/images/30102025/10/40/image_30102025_10_40_23_2670.jpg', '/home/pi/Desktop/images/30102025/10/40/image_30102025_10_40_26_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_46_2587.jpg
/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_56_1775.jpg
/home/pi/Desktop/images/30102025/10/39/image_30102025_10_39_58_2543.jpg
/home/pi/Desktop/images/30102025/10/40/image_30102025_10_40_20_2728.jpg
/home/pi/Desktop/images/30102025/10/40/image_30102025_10_40_23_2670.jpg
/home/pi/Desktop/images/30102025/10/40/image_30102025_10_40_26_2713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391815258","1391815266","1391815269","1391815274","1391815262","1391815259"],"photo_ids_order":["1391815258","1391815259","1391815262","1391815266","1391815269","1391815274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d4fdaad76cab0155028a02cecebef3c4.jpg","text":"TemporaryFile(/tmp/multipartBody582647019479865107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072242978,"filename":"image_30102025_10_39_46_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/2/35146964a3976b59d44343a9f73c4339.jpg","text":"TemporaryFile(/tmp/multipartBody6249764772932163695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072242978,"filename":"image_30102025_10_40_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/2/a6908137e73430c08b925d9c4c8ec276.jpg","text":"TemporaryFile(/tmp/multipartBody3256665279470136955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072242978,"filename":"image_30102025_10_40_23_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/2/4d299abf275801b5e12f728c928fd2f2.jpg","text":"TemporaryFile(/tmp/multipartBody108222589184355510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072242978,"filename":"image_30102025_10_40_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/2/0020377a83a864e3b75b228220f029b3.jpg","text":"TemporaryFile(/tmp/multipartBody8316009352374489669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072242978,"filename":"image_30102025_10_39_58_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/2/6d679221a0aeacdb0c46f543d59f041e.jpg","text":"TemporaryFile(/tmp/multipartBody3113039452569455136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072242978,"filename":"image_30102025_10_39_56_1775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391815262","file1":"1391815259","file0":"1391815258","file4":"1391815269","file5":"1391815274","file3":"1391815266"},"map_files_photo_id_array":[{"photo_id":"1391815274","filename":"file5"},{"photo_id":"1391815262","filename":"file2"},{"photo_id":"1391815269","filename":"file4"},{"photo_id":"1391815259","filename":"file1"},{"photo_id":"1391815258","filename":"file0"},{"photo_id":"1391815266","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391815258":["hashtag1","hashtag2"]},{"1391815266":["hashtag1","hashtag2"]},{"1391815269":["hashtag1","hashtag2"]},{"1391815274":["hashtag1","hashtag2"]},{"1391815262":["hashtag1","hashtag2"]},{"1391815259":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391815258, 1391815266, 1391815269, 1391815274, 1391815262, 1391815259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.602644205093384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 09:30:22.145383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/40/image_30102025_10_40_29_3635.jpg', '/home/pi/Desktop/images/30102025/10/40/image_30102025_10_40_32_2662.jpg', '/home/pi/Desktop/images/30102025/10/40/image_30102025_10_40_38_3689.jpg', '/home/pi/Desktop/images/30102025/10/40/image_30102025_10_40_41_2633.jpg', '/home/pi/Desktop/images/30102025/10/40/image_30102025_10_40_47_3750.jpg', '/home/pi/Desktop/images/30102025/10/40/image_30102025_10_40_56_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/10/40/image_30102025_10_40_29_3635.jpg
/home/pi/Desktop/images/30102025/10/40/image_30102025_10_40_32_2662.jpg
/home/pi/Desktop/images/30102025/10/40/image_30102025_10_40_38_3689.jpg
/home/pi/Desktop/images/30102025/10/40/image_30102025_10_40_41_2633.jpg
/home/pi/Desktop/images/30102025/10/40/image_30102025_10_40_47_3750.jpg
/home/pi/Desktop/images/30102025/10/40/image_30102025_10_40_56_2754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391815282","1391815284","1391815286","1391815280","1391815291","1391815288"],"photo_ids_order":["1391815280","1391815282","1391815284","1391815286","1391815288","1391815291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/51ae77e225b1cee5a78a7db80592d21e.jpg","text":"TemporaryFile(/tmp/multipartBody603679111750150141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072284844,"filename":"image_30102025_10_40_32_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/2/65e714c981ae1a60066771d26fea4b6d.jpg","text":"TemporaryFile(/tmp/multipartBody992308561287803395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072284844,"filename":"image_30102025_10_40_38_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/2/2b6016dd8bcef644dcc80fe8ad21c757.jpg","text":"TemporaryFile(/tmp/multipartBody5357701568101942727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072284844,"filename":"image_30102025_10_40_41_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/2/d9d289ac535578655e73db9b55cb86d1.jpg","text":"TemporaryFile(/tmp/multipartBody3649950948142768155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072284844,"filename":"image_30102025_10_40_29_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/2/3ab8db6499d3e13e297f2e66c5a0b82e.jpg","text":"TemporaryFile(/tmp/multipartBody10748097858191913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072284844,"filename":"image_30102025_10_40_56_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/2/06a5aff2fec6fd121231c3d856cbf9d4.jpg","text":"TemporaryFile(/tmp/multipartBody8107392419891640139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072284844,"filename":"image_30102025_10_40_47_3750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391815284","file1":"1391815282","file0":"1391815280","file4":"1391815288","file5":"1391815291","file3":"1391815286"},"map_files_photo_id_array":[{"photo_id":"1391815291","filename":"file5"},{"photo_id":"1391815284","filename":"file2"},{"photo_id":"1391815288","filename":"file4"},{"photo_id":"1391815282","filename":"file1"},{"photo_id":"1391815280","filename":"file0"},{"photo_id":"1391815286","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391815282":["hashtag1","hashtag2"]},{"1391815284":["hashtag1","hashtag2"]},{"1391815286":["hashtag1","hashtag2"]},{"1391815280":["hashtag1","hashtag2"]},{"1391815291":["hashtag1","hashtag2"]},{"1391815288":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391815282, 1391815284, 1391815286, 1391815280, 1391815291, 1391815288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93008065223694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:31:03.129324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/40/image_30102025_10_40_59_3772.jpg', '/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_02_2649.jpg', '/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_05_2915.jpg', '/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_15_9995.jpg', '/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_17_1850.jpg', '/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_19_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/10/40/image_30102025_10_40_59_3772.jpg
/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_02_2649.jpg
/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_05_2915.jpg
/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_15_9995.jpg
/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_17_1850.jpg
/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_19_1850.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391815303","1391815299","1391815308","1391815311","1391815305","1391815301"],"photo_ids_order":["1391815299","1391815301","1391815303","1391815305","1391815308","1391815311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2bd3906930ef7a072274b8a416144e34.jpg","text":"TemporaryFile(/tmp/multipartBody4022403898100825540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072325362,"filename":"image_30102025_10_41_05_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/2/bdeff6066bbd1fcaee53c2bb2ced5abe.jpg","text":"TemporaryFile(/tmp/multipartBody7105510081064094393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072325362,"filename":"image_30102025_10_40_59_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/2/647be0ea0541f50f6ad18af5ff519e32.jpg","text":"TemporaryFile(/tmp/multipartBody9156784758603169984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072325362,"filename":"image_30102025_10_41_17_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/2/d130169bfbad0e544e22609d72a05fe3.jpg","text":"TemporaryFile(/tmp/multipartBody715088210598805414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072325362,"filename":"image_30102025_10_41_19_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/2/b95d3d92c469541f72b0f11cac3e5d09.jpg","text":"TemporaryFile(/tmp/multipartBody514175080025768311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072325362,"filename":"image_30102025_10_41_15_9995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/796c0c1aabd9da1789bb6dc860c979bb.jpg","text":"TemporaryFile(/tmp/multipartBody3850429980496748745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072325362,"filename":"image_30102025_10_41_02_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391815303","file1":"1391815301","file0":"1391815299","file4":"1391815308","file5":"1391815311","file3":"1391815305"},"map_files_photo_id_array":[{"photo_id":"1391815311","filename":"file5"},{"photo_id":"1391815303","filename":"file2"},{"photo_id":"1391815308","filename":"file4"},{"photo_id":"1391815301","filename":"file1"},{"photo_id":"1391815299","filename":"file0"},{"photo_id":"1391815305","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391815303":["hashtag1","hashtag2"]},{"1391815299":["hashtag1","hashtag2"]},{"1391815308":["hashtag1","hashtag2"]},{"1391815311":["hashtag1","hashtag2"]},{"1391815305":["hashtag1","hashtag2"]},{"1391815301":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391815303, 1391815299, 1391815308, 1391815311, 1391815305, 1391815301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30286407470703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:32:03.037882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_22_1828.jpg', '/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_24_1683.jpg', '/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_25_1744.jpg', '/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_29_3703.jpg', '/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_36_6592.jpg', '/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_37_1697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_22_1828.jpg
/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_24_1683.jpg
/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_25_1744.jpg
/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_29_3703.jpg
/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_36_6592.jpg
/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_37_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":["1391815333","1391815321","1391815327","1391815329","1391815331","1391815325"],"photo_ids_order":["1391815321","1391815325","1391815327","1391815329","1391815331","1391815333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/aee55eb72567c9f62a53dc5a47af7126.jpg","text":"TemporaryFile(/tmp/multipartBody1930911199606032237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072385142,"filename":"image_30102025_10_41_37_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/2/29c1495e4f64046ead7830bb0e87af64.jpg","text":"TemporaryFile(/tmp/multipartBody3538291324085942142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072385142,"filename":"image_30102025_10_41_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/2/4cdaa0ec2afd022e9420459e28ee1dc8.jpg","text":"TemporaryFile(/tmp/multipartBody5194184233212904146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072385142,"filename":"image_30102025_10_41_25_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/2/ec52f3d8390aa44e9bb93bf1ee66cbfc.jpg","text":"TemporaryFile(/tmp/multipartBody4266666064558558221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072385142,"filename":"image_30102025_10_41_29_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/2/16b895f320f6cc5cd96fd67172735585.jpg","text":"TemporaryFile(/tmp/multipartBody6874994206926948988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072385142,"filename":"image_30102025_10_41_36_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/2/eabf406280759f212fa918823efbdcbe.jpg","text":"TemporaryFile(/tmp/multipartBody124665429254354153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072385142,"filename":"image_30102025_10_41_24_1683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391815327","file1":"1391815325","file0":"1391815321","file4":"1391815331","file5":"1391815333","file3":"1391815329"},"map_files_photo_id_array":[{"photo_id":"1391815333","filename":"file5"},{"photo_id":"1391815327","filename":"file2"},{"photo_id":"1391815331","filename":"file4"},{"photo_id":"1391815325","filename":"file1"},{"photo_id":"1391815321","filename":"file0"},{"photo_id":"1391815329","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391815333":["hashtag1","hashtag2"]},{"1391815321":["hashtag1","hashtag2"]},{"1391815327":["hashtag1","hashtag2"]},{"1391815329":["hashtag1","hashtag2"]},{"1391815331":["hashtag1","hashtag2"]},{"1391815325":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391815333, 1391815321, 1391815327, 1391815329, 1391815331, 1391815325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.420206785202026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:33:05.580713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 09:33:22.812570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_39_1591.jpg', '/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_41_1810.jpg', '/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_43_2588.jpg', '/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_47_3615.jpg', '/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_50_2724.jpg', '/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_53_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/10/41/image_30102025_10_41_39_1591.jpg
/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_41_1810.jpg
/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_43_2588.jpg
/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_47_3615.jpg
/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_50_2724.jpg
/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_53_2695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391815432","1391815423","1391815425","1391815421","1391815430","1391815427"],"photo_ids_order":["1391815421","1391815423","1391815425","1391815427","1391815430","1391815432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/16c0d56ab26deeb5514c989b002c0ba5.jpg","text":"TemporaryFile(/tmp/multipartBody4877869945781110018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072465237,"filename":"image_30102025_10_41_53_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/2/c5eb3197e8b4a7784595160fc6eb51cb.jpg","text":"TemporaryFile(/tmp/multipartBody6253092307491898784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072465237,"filename":"image_30102025_10_41_41_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/2/1e4632fdf3653bb03f114b3be66fa892.jpg","text":"TemporaryFile(/tmp/multipartBody4024865909099413548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072465237,"filename":"image_30102025_10_41_43_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/2/0846ecca27e977b31e28adabf2b78790.jpg","text":"TemporaryFile(/tmp/multipartBody1043490759820319572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072465237,"filename":"image_30102025_10_41_39_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/2/2dbbf618ddb4b1b1a734a76e3c0b675b.jpg","text":"TemporaryFile(/tmp/multipartBody889683849273470117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072465237,"filename":"image_30102025_10_41_50_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/2/0ec96a08403d0fca9ef09e52e353a4e9.jpg","text":"TemporaryFile(/tmp/multipartBody1963907441324207796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072465237,"filename":"image_30102025_10_41_47_3615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391815425","file1":"1391815423","file0":"1391815421","file4":"1391815430","file5":"1391815432","file3":"1391815427"},"map_files_photo_id_array":[{"photo_id":"1391815432","filename":"file5"},{"photo_id":"1391815425","filename":"file2"},{"photo_id":"1391815430","filename":"file4"},{"photo_id":"1391815423","filename":"file1"},{"photo_id":"1391815421","filename":"file0"},{"photo_id":"1391815427","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391815432":["hashtag1","hashtag2"]},{"1391815423":["hashtag1","hashtag2"]},{"1391815425":["hashtag1","hashtag2"]},{"1391815421":["hashtag1","hashtag2"]},{"1391815430":["hashtag1","hashtag2"]},{"1391815427":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391815432, 1391815423, 1391815425, 1391815421, 1391815430, 1391815427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.487685680389404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:34:02.847758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_56_3705.jpg', '/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_59_2692.jpg', '/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_02_2656.jpg', '/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_05_3601.jpg', '/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_09_4021.jpg', '/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_11_1792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_56_3705.jpg
/home/pi/Desktop/images/30102025/10/41/image_30102025_10_41_59_2692.jpg
/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_02_2656.jpg
/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_05_3601.jpg
/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_09_4021.jpg
/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_11_1792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391815546","1391815555","1391815543","1391815539","1391815553","1391815550"],"photo_ids_order":["1391815539","1391815543","1391815546","1391815550","1391815553","1391815555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/706460623c32df50babf893b2ad91345.jpg","text":"TemporaryFile(/tmp/multipartBody3424893401818246650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072506134,"filename":"image_30102025_10_42_02_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/2/b7d8eb1fe36cd4825a4a8b775ba9d760.jpg","text":"TemporaryFile(/tmp/multipartBody7739586422528335255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072506134,"filename":"image_30102025_10_42_11_1792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5b2f4440d666f989c03a767408b99a31.jpg","text":"TemporaryFile(/tmp/multipartBody6159961808796178767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072506134,"filename":"image_30102025_10_41_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/2/2689851699e97687a2295d1e484dad27.jpg","text":"TemporaryFile(/tmp/multipartBody7419165215446070075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072506134,"filename":"image_30102025_10_41_56_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/2/5eb0bb8a70d93080f53412153ea15649.jpg","text":"TemporaryFile(/tmp/multipartBody4649202373060206171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072506134,"filename":"image_30102025_10_42_09_4021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bbf7f51bfcb107dede1a51fc84288269.jpg","text":"TemporaryFile(/tmp/multipartBody8896627310945617141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072506134,"filename":"image_30102025_10_42_05_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391815546","file1":"1391815543","file0":"1391815539","file4":"1391815553","file5":"1391815555","file3":"1391815550"},"map_files_photo_id_array":[{"photo_id":"1391815555","filename":"file5"},{"photo_id":"1391815546","filename":"file2"},{"photo_id":"1391815553","filename":"file4"},{"photo_id":"1391815543","filename":"file1"},{"photo_id":"1391815539","filename":"file0"},{"photo_id":"1391815550","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391815546":["hashtag1","hashtag2"]},{"1391815555":["hashtag1","hashtag2"]},{"1391815543":["hashtag1","hashtag2"]},{"1391815539":["hashtag1","hashtag2"]},{"1391815553":["hashtag1","hashtag2"]},{"1391815550":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391815546, 1391815555, 1391815543, 1391815539, 1391815553, 1391815550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.589789152145386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:35:02.850598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_14_2652.jpg', '/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_17_3603.jpg', '/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_20_2638.jpg', '/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_23_2664.jpg', '/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_26_3652.jpg', '/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_29_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/10/42/image_30102025_10_42_14_2652.jpg
/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_17_3603.jpg
/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_20_2638.jpg
/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_23_2664.jpg
/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_26_3652.jpg
/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_29_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":["1391815599","1391815598","1391815602","1391815595","1391815640","1391815582"],"photo_ids_order":["1391815582","1391815595","1391815598","1391815599","1391815602","1391815640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f5a280acf91f34a94e467563320cbd84.jpg","text":"TemporaryFile(/tmp/multipartBody916094031309351642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072565086,"filename":"image_30102025_10_42_23_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/2/c3a2a56d5560700c11e9dda57a8ef9bd.jpg","text":"TemporaryFile(/tmp/multipartBody7154427247357126787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072565086,"filename":"image_30102025_10_42_20_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/2/9725bdbd1b0ced4b424d42f3a1014c21.jpg","text":"TemporaryFile(/tmp/multipartBody3467103660441885996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072565086,"filename":"image_30102025_10_42_26_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/2/9c4a90e9bec44112c2879b427d1214ec.jpg","text":"TemporaryFile(/tmp/multipartBody7733112806884322443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072565086,"filename":"image_30102025_10_42_17_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/2/fdc0a24ac796ad97e143705ca6ebcf12.jpg","text":"TemporaryFile(/tmp/multipartBody2450560520898662506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072565086,"filename":"image_30102025_10_42_29_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/2/f9069a69f4bbb22694a671e236823dd6.jpg","text":"TemporaryFile(/tmp/multipartBody562380088480851659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072565086,"filename":"image_30102025_10_42_14_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391815598","file1":"1391815595","file0":"1391815582","file4":"1391815602","file5":"1391815640","file3":"1391815599"},"map_files_photo_id_array":[{"photo_id":"1391815640","filename":"file5"},{"photo_id":"1391815598","filename":"file2"},{"photo_id":"1391815602","filename":"file4"},{"photo_id":"1391815595","filename":"file1"},{"photo_id":"1391815582","filename":"file0"},{"photo_id":"1391815599","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391815599":["hashtag1","hashtag2"]},{"1391815598":["hashtag1","hashtag2"]},{"1391815602":["hashtag1","hashtag2"]},{"1391815595":["hashtag1","hashtag2"]},{"1391815640":["hashtag1","hashtag2"]},{"1391815582":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391815599, 1391815598, 1391815602, 1391815595, 1391815640, 1391815582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.335737228393555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:36:02.585558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 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-02 09:36:24.437104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_31_2587.jpg', '/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_35_3625.jpg', '/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_38_2607.jpg', '/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_40_2673.jpg', '/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_44_3712.jpg', '/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_47_2549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_31_2587.jpg
/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_35_3625.jpg
/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_38_2607.jpg
/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_40_2673.jpg
/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_44_3712.jpg
/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_47_2549.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.340705156326294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 09:36:42.311777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_31_2587.jpg', '/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_35_3625.jpg', '/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_38_2607.jpg', '/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_40_2673.jpg', '/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_44_3712.jpg', '/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_47_2549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_31_2587.jpg
/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_35_3625.jpg
/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_38_2607.jpg
/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_40_2673.jpg
/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_44_3712.jpg
/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_47_2549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391815714","1391815695","1391815716","1391815709","1391815712","1391815678"],"photo_ids_order":["1391815678","1391815695","1391815709","1391815712","1391815714","1391815716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8ae573bad359eb354bbac75d5f964dc6.jpg","text":"TemporaryFile(/tmp/multipartBody6882825243926158343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072663261,"filename":"image_30102025_10_42_44_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/2/4b3f3435254b305f27aa6463e01d69c1.jpg","text":"TemporaryFile(/tmp/multipartBody6118090329513530450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072663261,"filename":"image_30102025_10_42_35_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/2/f482badddfac16481386e8cc9c6760ce.jpg","text":"TemporaryFile(/tmp/multipartBody7415358073010519519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072663261,"filename":"image_30102025_10_42_47_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/2/998a775a24dc576d8104865bec2eae24.jpg","text":"TemporaryFile(/tmp/multipartBody1969349813793979501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072663261,"filename":"image_30102025_10_42_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/2/367df3082f52b0039cded80bde0ecd00.jpg","text":"TemporaryFile(/tmp/multipartBody4800927186580553940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072663261,"filename":"image_30102025_10_42_40_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/2/f1dc4a11c92d6c4fe99f4c384f9e195e.jpg","text":"TemporaryFile(/tmp/multipartBody7984083035949585263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072663261,"filename":"image_30102025_10_42_31_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391815709","file1":"1391815695","file0":"1391815678","file4":"1391815714","file5":"1391815716","file3":"1391815712"},"map_files_photo_id_array":[{"photo_id":"1391815716","filename":"file5"},{"photo_id":"1391815709","filename":"file2"},{"photo_id":"1391815714","filename":"file4"},{"photo_id":"1391815695","filename":"file1"},{"photo_id":"1391815678","filename":"file0"},{"photo_id":"1391815712","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391815714":["hashtag1","hashtag2"]},{"1391815695":["hashtag1","hashtag2"]},{"1391815716":["hashtag1","hashtag2"]},{"1391815709":["hashtag1","hashtag2"]},{"1391815712":["hashtag1","hashtag2"]},{"1391815678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391815714, 1391815695, 1391815716, 1391815709, 1391815712, 1391815678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04781627655029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 09:37:22.499920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_49_2594.jpg', '/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_55_6158.jpg', '/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_59_1686.jpg', '/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_02_2730.jpg', '/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_04_2722.jpg', '/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_08_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/10/42/image_30102025_10_42_49_2594.jpg
/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_55_6158.jpg
/home/pi/Desktop/images/30102025/10/42/image_30102025_10_42_59_1686.jpg
/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_02_2730.jpg
/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_04_2722.jpg
/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_08_3707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391815794","1391815917","1391815961","1391816006","1391815832","1391815873"],"photo_ids_order":["1391815794","1391815832","1391815873","1391815917","1391815961","1391816006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c95f7911bf10ff2da7aba51ebb99408b.jpg","text":"TemporaryFile(/tmp/multipartBody1522123274766387998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072705224,"filename":"image_30102025_10_42_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/2/b99b48c52e3664d40af2808c0a78e38a.jpg","text":"TemporaryFile(/tmp/multipartBody569628537454584141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072705224,"filename":"image_30102025_10_43_02_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/2/ce9e726a58012b0512596d9479f9ea92.jpg","text":"TemporaryFile(/tmp/multipartBody5459745265987809040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072705224,"filename":"image_30102025_10_43_04_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/2/237f6a6989e4c13a95372b63ea660a1b.jpg","text":"TemporaryFile(/tmp/multipartBody1928744320945850761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072705224,"filename":"image_30102025_10_43_08_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/2/e5e6f68de9c9e1a614edfd78f027897b.jpg","text":"TemporaryFile(/tmp/multipartBody3275474281771617618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072705224,"filename":"image_30102025_10_42_55_6158.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/35845ae58ed14f2534b7801bde9d94e9.jpg","text":"TemporaryFile(/tmp/multipartBody5390292835297009796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072705224,"filename":"image_30102025_10_42_59_1686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391815873","file1":"1391815832","file0":"1391815794","file4":"1391815961","file5":"1391816006","file3":"1391815917"},"map_files_photo_id_array":[{"photo_id":"1391816006","filename":"file5"},{"photo_id":"1391815873","filename":"file2"},{"photo_id":"1391815961","filename":"file4"},{"photo_id":"1391815832","filename":"file1"},{"photo_id":"1391815794","filename":"file0"},{"photo_id":"1391815917","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391815794":["hashtag1","hashtag2"]},{"1391815917":["hashtag1","hashtag2"]},{"1391815961":["hashtag1","hashtag2"]},{"1391816006":["hashtag1","hashtag2"]},{"1391815832":["hashtag1","hashtag2"]},{"1391815873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391815794, 1391815917, 1391815961, 1391816006, 1391815832, 1391815873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49935579299927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:38:03.196043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_11_2585.jpg', '/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_13_2562.jpg', '/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_17_3807.jpg', '/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_20_2576.jpg', '/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_22_2597.jpg', '/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_26_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/10/43/image_30102025_10_43_11_2585.jpg
/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_13_2562.jpg
/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_17_3807.jpg
/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_20_2576.jpg
/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_22_2597.jpg
/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_26_3620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391816125","1391816130","1391816127","1391816121","1391816123","1391816134"],"photo_ids_order":["1391816121","1391816123","1391816125","1391816127","1391816130","1391816134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fe178c152e21c4012bd5e882ecec8ebc.jpg","text":"TemporaryFile(/tmp/multipartBody360582478819835896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072745306,"filename":"image_30102025_10_43_17_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/2/c92a1493fed70cc0b659841ce3f0f841.jpg","text":"TemporaryFile(/tmp/multipartBody6294887089229156042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072745306,"filename":"image_30102025_10_43_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/2/ecded5494176786d7f779531cf2056f0.jpg","text":"TemporaryFile(/tmp/multipartBody2008228695714440855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072745306,"filename":"image_30102025_10_43_20_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/2/2434ade6b6067314e56d56764b1bb025.jpg","text":"TemporaryFile(/tmp/multipartBody3089870333021847411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072745306,"filename":"image_30102025_10_43_11_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/2/58d0e8e2863a3ba7b09d6630c3d35084.jpg","text":"TemporaryFile(/tmp/multipartBody6997891172256832305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072745306,"filename":"image_30102025_10_43_13_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/2/58796ed71797546aabaded60c4c78c99.jpg","text":"TemporaryFile(/tmp/multipartBody5429834891104120296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072745306,"filename":"image_30102025_10_43_26_3620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391816125","file1":"1391816123","file0":"1391816121","file4":"1391816130","file5":"1391816134","file3":"1391816127"},"map_files_photo_id_array":[{"photo_id":"1391816134","filename":"file5"},{"photo_id":"1391816125","filename":"file2"},{"photo_id":"1391816130","filename":"file4"},{"photo_id":"1391816123","filename":"file1"},{"photo_id":"1391816121","filename":"file0"},{"photo_id":"1391816127","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391816125":["hashtag1","hashtag2"]},{"1391816130":["hashtag1","hashtag2"]},{"1391816127":["hashtag1","hashtag2"]},{"1391816121":["hashtag1","hashtag2"]},{"1391816123":["hashtag1","hashtag2"]},{"1391816134":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391816125, 1391816130, 1391816127, 1391816121, 1391816123, 1391816134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.366655349731445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 09:38:42.635760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_28_2593.jpg', '/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_32_3630.jpg', '/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_35_2815.jpg', '/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_38_2738.jpg', '/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_40_2716.jpg', '/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_44_3751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_28_2593.jpg
/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_32_3630.jpg
/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_35_2815.jpg
/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_38_2738.jpg
/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_40_2716.jpg
/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_44_3751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391816151","1391816147","1391816155","1391816149","1391816140","1391816143"],"photo_ids_order":["1391816140","1391816143","1391816147","1391816149","1391816151","1391816155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/07c26d502f161d113e58fbf092aa4856.jpg","text":"TemporaryFile(/tmp/multipartBody5552718043778552811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072783772,"filename":"image_30102025_10_43_40_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/2/26518b16d099162f5e0bea34b7371d86.jpg","text":"TemporaryFile(/tmp/multipartBody1693930959743088249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072783772,"filename":"image_30102025_10_43_35_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/2/485dd3edd28691f816312d03c782d5f6.jpg","text":"TemporaryFile(/tmp/multipartBody4978757689561253648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072783772,"filename":"image_30102025_10_43_44_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/2/0d1c0901ef8d7153c5107e04b9a4b969.jpg","text":"TemporaryFile(/tmp/multipartBody3427466142846474391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072783772,"filename":"image_30102025_10_43_38_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/2/a07132bd7b4485ed1cb10f36d6da1a01.jpg","text":"TemporaryFile(/tmp/multipartBody4846489196390205107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072783772,"filename":"image_30102025_10_43_28_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/2/5dc58092da90a4df1b6406ac8eab6c5a.jpg","text":"TemporaryFile(/tmp/multipartBody8853958115668553595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072783772,"filename":"image_30102025_10_43_32_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391816147","file1":"1391816143","file0":"1391816140","file4":"1391816151","file5":"1391816155","file3":"1391816149"},"map_files_photo_id_array":[{"photo_id":"1391816155","filename":"file5"},{"photo_id":"1391816147","filename":"file2"},{"photo_id":"1391816151","filename":"file4"},{"photo_id":"1391816143","filename":"file1"},{"photo_id":"1391816140","filename":"file0"},{"photo_id":"1391816149","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391816151":["hashtag1","hashtag2"]},{"1391816147":["hashtag1","hashtag2"]},{"1391816155":["hashtag1","hashtag2"]},{"1391816149":["hashtag1","hashtag2"]},{"1391816140":["hashtag1","hashtag2"]},{"1391816143":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391816151, 1391816147, 1391816155, 1391816149, 1391816140, 1391816143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23267674446106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 09:39:22.819026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_47_2724.jpg', '/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_49_2636.jpg', '/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_52_2788.jpg', '/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_56_3635.jpg', '/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_59_2734.jpg', '/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_01_2822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_47_2724.jpg
/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_49_2636.jpg
/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_52_2788.jpg
/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_56_3635.jpg
/home/pi/Desktop/images/30102025/10/43/image_30102025_10_43_59_2734.jpg
/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_01_2822.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391816169","1391816174","1391816168","1391816165","1391816173","1391816167"],"photo_ids_order":["1391816165","1391816167","1391816168","1391816169","1391816173","1391816174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/20d0b325c19acbde006c760f5bcb5be3.jpg","text":"TemporaryFile(/tmp/multipartBody3449138169736290853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072825519,"filename":"image_30102025_10_43_56_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/2/db6917d77138cba6457980c94a0e0853.jpg","text":"TemporaryFile(/tmp/multipartBody8718436735502186035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072825519,"filename":"image_30102025_10_44_01_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/2/1ca06177572a371aad171c22d5fd949a.jpg","text":"TemporaryFile(/tmp/multipartBody5235684530755279350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072825519,"filename":"image_30102025_10_43_52_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/2/27dddc2c14bcb73c9d7d1790c7d26048.jpg","text":"TemporaryFile(/tmp/multipartBody4835630727267485411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072825519,"filename":"image_30102025_10_43_47_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/2/7f07b1095fb7c98b779b7e4b49e13747.jpg","text":"TemporaryFile(/tmp/multipartBody1784852494979240912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072825519,"filename":"image_30102025_10_43_59_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/2/9a0de112a0fc37dff80d88413509110a.jpg","text":"TemporaryFile(/tmp/multipartBody2569526571310182828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072825519,"filename":"image_30102025_10_43_49_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391816168","file1":"1391816167","file0":"1391816165","file4":"1391816173","file5":"1391816174","file3":"1391816169"},"map_files_photo_id_array":[{"photo_id":"1391816174","filename":"file5"},{"photo_id":"1391816168","filename":"file2"},{"photo_id":"1391816173","filename":"file4"},{"photo_id":"1391816167","filename":"file1"},{"photo_id":"1391816165","filename":"file0"},{"photo_id":"1391816169","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391816169":["hashtag1","hashtag2"]},{"1391816174":["hashtag1","hashtag2"]},{"1391816168":["hashtag1","hashtag2"]},{"1391816165":["hashtag1","hashtag2"]},{"1391816173":["hashtag1","hashtag2"]},{"1391816167":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391816169, 1391816174, 1391816168, 1391816165, 1391816173, 1391816167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57145285606384 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-02 09:40:22.049690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_05_3603.jpg', '/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_10_2561.jpg', '/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_14_3653.jpg', '/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_19_2772.jpg', '/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_23_3691.jpg', '/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_26_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/10/44/image_30102025_10_44_05_3603.jpg
/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_10_2561.jpg
/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_14_3653.jpg
/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_19_2772.jpg
/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_23_3691.jpg
/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_26_2570.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":["1391816212","1391816208","1391816216","1391816210","1391816207","1391816209"],"photo_ids_order":["1391816207","1391816208","1391816209","1391816210","1391816212","1391816216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f847347a6b67616047dbe89088e08b20.jpg","text":"TemporaryFile(/tmp/multipartBody3625962092910546727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072884477,"filename":"image_30102025_10_44_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/2/2dd5f6a28d8c2319330c9bbdf551e965.jpg","text":"TemporaryFile(/tmp/multipartBody2397792845796772484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072884477,"filename":"image_30102025_10_44_10_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/2/b298b3f965cb59186ab1f854f6f87944.jpg","text":"TemporaryFile(/tmp/multipartBody627144388351994406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072884477,"filename":"image_30102025_10_44_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/2/9056cf8ea0c7efe4266d51823e675198.jpg","text":"TemporaryFile(/tmp/multipartBody3383419638317297604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072884477,"filename":"image_30102025_10_44_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/2/ef894e6f57138861fee2431f1126a473.jpg","text":"TemporaryFile(/tmp/multipartBody8972700728201849919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072884477,"filename":"image_30102025_10_44_05_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/2/5193c289c983050f9a97b4d0b41522ee.jpg","text":"TemporaryFile(/tmp/multipartBody2541660218357907754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072884477,"filename":"image_30102025_10_44_14_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391816209","file1":"1391816208","file0":"1391816207","file4":"1391816212","file5":"1391816216","file3":"1391816210"},"map_files_photo_id_array":[{"photo_id":"1391816216","filename":"file5"},{"photo_id":"1391816209","filename":"file2"},{"photo_id":"1391816212","filename":"file4"},{"photo_id":"1391816208","filename":"file1"},{"photo_id":"1391816207","filename":"file0"},{"photo_id":"1391816210","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391816212":["hashtag1","hashtag2"]},{"1391816208":["hashtag1","hashtag2"]},{"1391816216":["hashtag1","hashtag2"]},{"1391816210":["hashtag1","hashtag2"]},{"1391816207":["hashtag1","hashtag2"]},{"1391816209":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391816212, 1391816208, 1391816216, 1391816210, 1391816207, 1391816209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.91661787033081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 09:41:22.366342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_28_2826.jpg', '/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_32_3587.jpg', '/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_35_2631.jpg', '/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_37_2858.jpg', '/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_40_2764.jpg', '/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_44_3788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_28_2826.jpg
/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_32_3587.jpg
/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_35_2631.jpg
/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_37_2858.jpg
/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_40_2764.jpg
/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_44_3788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391816367","1391816355","1391816360","1391816363","1391816357","1391816371"],"photo_ids_order":["1391816355","1391816357","1391816360","1391816363","1391816367","1391816371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a281c750a389ebf314557d1f240d6f96.jpg","text":"TemporaryFile(/tmp/multipartBody4408119123402201263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072946475,"filename":"image_30102025_10_44_40_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/2/c47a77f1a6d0fe09fbaf49efa585f98e.jpg","text":"TemporaryFile(/tmp/multipartBody4926927383764201301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072946475,"filename":"image_30102025_10_44_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/2/683ff51c943f906f79c2646103fb2c43.jpg","text":"TemporaryFile(/tmp/multipartBody3601155933559889205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072946475,"filename":"image_30102025_10_44_35_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/2/e830b0c63aa2404de8892a32d034b1ac.jpg","text":"TemporaryFile(/tmp/multipartBody5173425736998272822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072946475,"filename":"image_30102025_10_44_37_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/2/1683d38e47184ceda1be45719f0475fa.jpg","text":"TemporaryFile(/tmp/multipartBody1237733044792764504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072946475,"filename":"image_30102025_10_44_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/2/d607c0aa5de8584c2dc193cd822ec0ff.jpg","text":"TemporaryFile(/tmp/multipartBody928605754927473692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762072946475,"filename":"image_30102025_10_44_44_3788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391816360","file1":"1391816357","file0":"1391816355","file4":"1391816367","file5":"1391816371","file3":"1391816363"},"map_files_photo_id_array":[{"photo_id":"1391816371","filename":"file5"},{"photo_id":"1391816360","filename":"file2"},{"photo_id":"1391816367","filename":"file4"},{"photo_id":"1391816357","filename":"file1"},{"photo_id":"1391816355","filename":"file0"},{"photo_id":"1391816363","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391816367":["hashtag1","hashtag2"]},{"1391816355":["hashtag1","hashtag2"]},{"1391816360":["hashtag1","hashtag2"]},{"1391816363":["hashtag1","hashtag2"]},{"1391816357":["hashtag1","hashtag2"]},{"1391816371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391816367, 1391816355, 1391816360, 1391816363, 1391816357, 1391816371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.492695569992065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 09:42:22.597265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_47_2746.jpg', '/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_49_2652.jpg', '/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_56_3594.jpg', '/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_58_2798.jpg', '/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_08_3015.jpg', '/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_14_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/10/44/image_30102025_10_44_47_2746.jpg
/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_49_2652.jpg
/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_56_3594.jpg
/home/pi/Desktop/images/30102025/10/44/image_30102025_10_44_58_2798.jpg
/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_08_3015.jpg
/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_14_2826.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391816515","1391816508","1391816522","1391816519","1391816524","1391816512"],"photo_ids_order":["1391816508","1391816512","1391816515","1391816519","1391816522","1391816524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cc45c9002e38a2c5169f31b37eb214dc.jpg","text":"TemporaryFile(/tmp/multipartBody780654319132095589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073005422,"filename":"image_30102025_10_44_56_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/2/ee7154b46f5854f1fe8d903d463e1c1d.jpg","text":"TemporaryFile(/tmp/multipartBody145291758907951179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073005422,"filename":"image_30102025_10_44_47_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/2/95abf421a6dec4acde99892cbc252632.jpg","text":"TemporaryFile(/tmp/multipartBody2940440107731419415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073005422,"filename":"image_30102025_10_45_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/2/f4ce513d00c973e8118830751166fbfc.jpg","text":"TemporaryFile(/tmp/multipartBody1690992098598136571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073005422,"filename":"image_30102025_10_44_58_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/2/cc711b13d5361e1f755f38a6a82fc427.jpg","text":"TemporaryFile(/tmp/multipartBody5069909899170988843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073005422,"filename":"image_30102025_10_45_14_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/2/cea25ebbc6276712fed49f52fc8b04b7.jpg","text":"TemporaryFile(/tmp/multipartBody1555533445384460016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073005422,"filename":"image_30102025_10_44_49_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391816515","file1":"1391816512","file0":"1391816508","file4":"1391816522","file5":"1391816524","file3":"1391816519"},"map_files_photo_id_array":[{"photo_id":"1391816524","filename":"file5"},{"photo_id":"1391816515","filename":"file2"},{"photo_id":"1391816522","filename":"file4"},{"photo_id":"1391816512","filename":"file1"},{"photo_id":"1391816508","filename":"file0"},{"photo_id":"1391816519","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391816515":["hashtag1","hashtag2"]},{"1391816508":["hashtag1","hashtag2"]},{"1391816522":["hashtag1","hashtag2"]},{"1391816519":["hashtag1","hashtag2"]},{"1391816524":["hashtag1","hashtag2"]},{"1391816512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391816515, 1391816508, 1391816522, 1391816519, 1391816524, 1391816512)","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: 109.25206875801086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /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-02 09:44:26.784704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_17_2622.jpg', '/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_20_3658.jpg', '/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_23_2769.jpg', '/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_26_2639.jpg', '/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_29_3718.jpg', '/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_35_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_17_2622.jpg
/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_20_3658.jpg
/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_23_2769.jpg
/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_26_2639.jpg
/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_29_3718.jpg
/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_35_2713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391817018","1391817021","1391817020","1391816987","1391817014","1391816983"],"photo_ids_order":["1391816983","1391816987","1391817014","1391817018","1391817020","1391817021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c9b761de9e60e274bb786f7ebda5b64c.jpg","text":"TemporaryFile(/tmp/multipartBody8786699869471363122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073141027,"filename":"image_30102025_10_45_26_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/2/b252e4e1bf7bd0593990e519cd9f8cf5.jpg","text":"TemporaryFile(/tmp/multipartBody4231821008119007709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073141027,"filename":"image_30102025_10_45_35_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/2/bf621d94fb7baaf1a108acbfc7ed0975.jpg","text":"TemporaryFile(/tmp/multipartBody2385568431942210050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073141027,"filename":"image_30102025_10_45_29_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/2/b80f148726899f3e4ff995abd422131e.jpg","text":"TemporaryFile(/tmp/multipartBody3966679412937531673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073141027,"filename":"image_30102025_10_45_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/2/ae9c5ec3aa3b1ad0789428ddaee62881.jpg","text":"TemporaryFile(/tmp/multipartBody2352283819561321637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073141027,"filename":"image_30102025_10_45_23_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/2/30f741911a27e8647feb7e3c2a28fa61.jpg","text":"TemporaryFile(/tmp/multipartBody3539156566842770562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073141027,"filename":"image_30102025_10_45_17_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391817014","file1":"1391816987","file0":"1391816983","file4":"1391817020","file5":"1391817021","file3":"1391817018"},"map_files_photo_id_array":[{"photo_id":"1391817021","filename":"file5"},{"photo_id":"1391817014","filename":"file2"},{"photo_id":"1391817020","filename":"file4"},{"photo_id":"1391816987","filename":"file1"},{"photo_id":"1391816983","filename":"file0"},{"photo_id":"1391817018","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391817018":["hashtag1","hashtag2"]},{"1391817021":["hashtag1","hashtag2"]},{"1391817020":["hashtag1","hashtag2"]},{"1391816987":["hashtag1","hashtag2"]},{"1391817014":["hashtag1","hashtag2"]},{"1391816983":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391817018, 1391817021, 1391817020, 1391816987, 1391817014, 1391816983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.434433937072754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 09:45:21.974356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_38_2716.jpg', '/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_41_3696.jpg', '/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_44_2616.jpg', '/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_47_3009.jpg', '/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_49_2531.jpg', '/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_53_3731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_38_2716.jpg
/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_41_3696.jpg
/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_44_2616.jpg
/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_47_3009.jpg
/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_49_2531.jpg
/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_53_3731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391817293","1391817170","1391817227","1391817295","1391817265","1391817297"],"photo_ids_order":["1391817170","1391817227","1391817265","1391817293","1391817295","1391817297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8e0b1c2ac291e205c5a111a6d1da39a3.jpg","text":"TemporaryFile(/tmp/multipartBody6699261683529398430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073187773,"filename":"image_30102025_10_45_47_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/2/463ab4b4cbc35db6539347cb543f6388.jpg","text":"TemporaryFile(/tmp/multipartBody6156957117739307662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073187773,"filename":"image_30102025_10_45_38_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/2/6d9cc33037fdff645e83f134836ab1a6.jpg","text":"TemporaryFile(/tmp/multipartBody3902649494651155605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073187773,"filename":"image_30102025_10_45_41_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/2/9fbfd6a3edc9337a1374128ed1cf5df3.jpg","text":"TemporaryFile(/tmp/multipartBody786509331722647148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073187773,"filename":"image_30102025_10_45_49_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/2/25755e84d5299daaad370ed40040c397.jpg","text":"TemporaryFile(/tmp/multipartBody4250748602382787565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073187773,"filename":"image_30102025_10_45_44_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/2/f91b84171893b6e387277c18cfa58455.jpg","text":"TemporaryFile(/tmp/multipartBody6128982884525604051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073187773,"filename":"image_30102025_10_45_53_3731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391817265","file1":"1391817227","file0":"1391817170","file4":"1391817295","file5":"1391817297","file3":"1391817293"},"map_files_photo_id_array":[{"photo_id":"1391817297","filename":"file5"},{"photo_id":"1391817265","filename":"file2"},{"photo_id":"1391817295","filename":"file4"},{"photo_id":"1391817227","filename":"file1"},{"photo_id":"1391817170","filename":"file0"},{"photo_id":"1391817293","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391817293":["hashtag1","hashtag2"]},{"1391817170":["hashtag1","hashtag2"]},{"1391817227":["hashtag1","hashtag2"]},{"1391817295":["hashtag1","hashtag2"]},{"1391817265":["hashtag1","hashtag2"]},{"1391817297":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391817293, 1391817170, 1391817227, 1391817295, 1391817265, 1391817297)","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 = 1391817265 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_44_2616.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391817265 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_44_2616.jpg";
uploaded 6 photos
time to upload: 91.62179374694824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:47:12.087268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 09:47:28.509223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_38_2716.jpg', '/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_41_3696.jpg', '/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_44_2616.jpg', '/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_47_3009.jpg', '/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_49_2531.jpg', '/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_53_3731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_38_2716.jpg
/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_41_3696.jpg
/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_44_2616.jpg
/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_47_3009.jpg
/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_49_2531.jpg
/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_53_3731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391817698","1391817728","1391817682","1391817712","1391817613","1391817610"],"photo_ids_order":["1391817610","1391817613","1391817682","1391817698","1391817712","1391817728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bd10fd765e4a2d5cdf5106b4d0093a68.jpg","text":"TemporaryFile(/tmp/multipartBody3644833299233692245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073311321,"filename":"image_30102025_10_45_47_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/2/3f7d7617f49a7ece29e298e8134933e1.jpg","text":"TemporaryFile(/tmp/multipartBody5242618220702403258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073311321,"filename":"image_30102025_10_45_53_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/2/a1098d4a082e9ef0b47635664aaca59a.jpg","text":"TemporaryFile(/tmp/multipartBody41572051141909447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073311321,"filename":"image_30102025_10_45_44_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/2/f69f043bd0af0f7f96189484ef43ac4d.jpg","text":"TemporaryFile(/tmp/multipartBody3063221506275415806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073311321,"filename":"image_30102025_10_45_49_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/2/368bfd25ad4ac922f14cf759e86a5977.jpg","text":"TemporaryFile(/tmp/multipartBody1311382457218984813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073311321,"filename":"image_30102025_10_45_41_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/2/bc6f3fd472f5dcd5e929451d056968cc.jpg","text":"TemporaryFile(/tmp/multipartBody154062131471188683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073311321,"filename":"image_30102025_10_45_38_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391817682","file1":"1391817613","file0":"1391817610","file4":"1391817712","file5":"1391817728","file3":"1391817698"},"map_files_photo_id_array":[{"photo_id":"1391817728","filename":"file5"},{"photo_id":"1391817682","filename":"file2"},{"photo_id":"1391817712","filename":"file4"},{"photo_id":"1391817613","filename":"file1"},{"photo_id":"1391817610","filename":"file0"},{"photo_id":"1391817698","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391817698":["hashtag1","hashtag2"]},{"1391817728":["hashtag1","hashtag2"]},{"1391817682":["hashtag1","hashtag2"]},{"1391817712":["hashtag1","hashtag2"]},{"1391817613":["hashtag1","hashtag2"]},{"1391817610":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391817698, 1391817728, 1391817682, 1391817712, 1391817613, 1391817610)","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 = 1391817682 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_44_2616.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 57.676642417907715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 09:48:42.325625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_56_2814.jpg', '/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_59_2665.jpg', '/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_02_3681.jpg', '/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_05_2717.jpg', '/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_08_2686.jpg', '/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_11_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/10/45/image_30102025_10_45_56_2814.jpg
/home/pi/Desktop/images/30102025/10/45/image_30102025_10_45_59_2665.jpg
/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_02_3681.jpg
/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_05_2717.jpg
/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_08_2686.jpg
/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_11_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":["1391817810","1391817821","1391817815","1391817818","1391817812","1391817811"],"photo_ids_order":["1391817810","1391817811","1391817812","1391817815","1391817818","1391817821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f50788423a6c5ed85573fbd68ffb55ed.jpg","text":"TemporaryFile(/tmp/multipartBody2444463567507603108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073394917,"filename":"image_30102025_10_45_56_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/2/b4ffa9b0fdb985e07e9662a888be9eca.jpg","text":"TemporaryFile(/tmp/multipartBody2704118382536911021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073394917,"filename":"image_30102025_10_46_11_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/2/b8d24c74e2168a0e5eaf84b232c505c1.jpg","text":"TemporaryFile(/tmp/multipartBody626815402549259498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073394917,"filename":"image_30102025_10_46_05_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/2/3a0777fbedfb952dbd27fc8e375d6ac5.jpg","text":"TemporaryFile(/tmp/multipartBody6840317366794133163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073394917,"filename":"image_30102025_10_46_08_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/2/05cc8dcf9311a48681b9cef87febc559.jpg","text":"TemporaryFile(/tmp/multipartBody6051341717039260705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073394917,"filename":"image_30102025_10_46_02_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/2/5599bbb62eaff8073891148088f565a5.jpg","text":"TemporaryFile(/tmp/multipartBody404890502136232948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073394917,"filename":"image_30102025_10_45_59_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391817812","file1":"1391817811","file0":"1391817810","file4":"1391817818","file5":"1391817821","file3":"1391817815"},"map_files_photo_id_array":[{"photo_id":"1391817821","filename":"file5"},{"photo_id":"1391817812","filename":"file2"},{"photo_id":"1391817818","filename":"file4"},{"photo_id":"1391817811","filename":"file1"},{"photo_id":"1391817810","filename":"file0"},{"photo_id":"1391817815","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391817810":["hashtag1","hashtag2"]},{"1391817821":["hashtag1","hashtag2"]},{"1391817815":["hashtag1","hashtag2"]},{"1391817818":["hashtag1","hashtag2"]},{"1391817812":["hashtag1","hashtag2"]},{"1391817811":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391817810, 1391817821, 1391817815, 1391817818, 1391817812, 1391817811)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 60.223727226257324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:50:02.568663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_14_2646.jpg', '/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_17_2600.jpg', '/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_27_10200.jpg', '/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_29_1765.jpg', '/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_30_1620.jpg', '/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_32_1628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_14_2646.jpg
/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_17_2600.jpg
/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_27_10200.jpg
/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_29_1765.jpg
/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_30_1620.jpg
/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_32_1628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391817884","1391817887","1391817883","1391817885","1391817879","1391817882"],"photo_ids_order":["1391817879","1391817882","1391817883","1391817884","1391817885","1391817887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6f6736dd47beb1ca67cab2db65216a97.jpg","text":"TemporaryFile(/tmp/multipartBody4504915395152812969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073464962,"filename":"image_30102025_10_46_29_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/2/ec3ead6fd4b4328b834b0d6e8218b966.jpg","text":"TemporaryFile(/tmp/multipartBody3699314738308273657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073464962,"filename":"image_30102025_10_46_32_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/2/235d23713853f3398a6c4adf130fba5d.jpg","text":"TemporaryFile(/tmp/multipartBody164171842967921618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073464962,"filename":"image_30102025_10_46_27_10200.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6efd0ca62db83cc7818e09a8f2f57c20.jpg","text":"TemporaryFile(/tmp/multipartBody1764728256797853441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073464962,"filename":"image_30102025_10_46_30_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/2/dd4c48b7c531990c0d68c2ad7d286abd.jpg","text":"TemporaryFile(/tmp/multipartBody2279144472610941594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073464962,"filename":"image_30102025_10_46_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/2/efe41da8ae37b687d5b773e5ed55c42f.jpg","text":"TemporaryFile(/tmp/multipartBody4498999490478837345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073464962,"filename":"image_30102025_10_46_17_2600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391817883","file1":"1391817882","file0":"1391817879","file4":"1391817885","file5":"1391817887","file3":"1391817884"},"map_files_photo_id_array":[{"photo_id":"1391817887","filename":"file5"},{"photo_id":"1391817883","filename":"file2"},{"photo_id":"1391817885","filename":"file4"},{"photo_id":"1391817882","filename":"file1"},{"photo_id":"1391817879","filename":"file0"},{"photo_id":"1391817884","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391817884":["hashtag1","hashtag2"]},{"1391817887":["hashtag1","hashtag2"]},{"1391817883":["hashtag1","hashtag2"]},{"1391817885":["hashtag1","hashtag2"]},{"1391817879":["hashtag1","hashtag2"]},{"1391817882":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391817884, 1391817887, 1391817883, 1391817885, 1391817879, 1391817882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.203289270401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 09:50:42.144054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_33_1590.jpg', '/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_35_1704.jpg', '/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_38_2776.jpg', '/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_44_3816.jpg', '/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_50_2657.jpg', '/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_53_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_33_1590.jpg
/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_35_1704.jpg
/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_38_2776.jpg
/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_44_3816.jpg
/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_50_2657.jpg
/home/pi/Desktop/images/30102025/10/46/image_30102025_10_46_53_3677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391817915","1391817912","1391817896","1391817899","1391817910","1391817913"],"photo_ids_order":["1391817896","1391817899","1391817910","1391817912","1391817913","1391817915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/37f0c5847dd9d0d9be72a43a1724703e.jpg","text":"TemporaryFile(/tmp/multipartBody6497227192645783941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073503330,"filename":"image_30102025_10_46_53_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/2/e581dece84b4d0f34db68f4bc34d0879.jpg","text":"TemporaryFile(/tmp/multipartBody3008822378521972546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073503330,"filename":"image_30102025_10_46_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/2/d16cc1b186a31b8247a64f5529e2b66e.jpg","text":"TemporaryFile(/tmp/multipartBody4311052522764744348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073503330,"filename":"image_30102025_10_46_33_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c7184bc4c196f55f8d326aed673b7ee8.jpg","text":"TemporaryFile(/tmp/multipartBody5647023226696244771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073503330,"filename":"image_30102025_10_46_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/2/a9d12e7bf44d7f25c6d3221c8949fd5a.jpg","text":"TemporaryFile(/tmp/multipartBody585101239389550657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073503330,"filename":"image_30102025_10_46_38_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/2/b90d55acbf862cc471b603fcda7d9ce8.jpg","text":"TemporaryFile(/tmp/multipartBody176396768779291583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073503330,"filename":"image_30102025_10_46_50_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391817910","file1":"1391817899","file0":"1391817896","file4":"1391817913","file5":"1391817915","file3":"1391817912"},"map_files_photo_id_array":[{"photo_id":"1391817915","filename":"file5"},{"photo_id":"1391817910","filename":"file2"},{"photo_id":"1391817913","filename":"file4"},{"photo_id":"1391817899","filename":"file1"},{"photo_id":"1391817896","filename":"file0"},{"photo_id":"1391817912","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391817915":["hashtag1","hashtag2"]},{"1391817912":["hashtag1","hashtag2"]},{"1391817896":["hashtag1","hashtag2"]},{"1391817899":["hashtag1","hashtag2"]},{"1391817910":["hashtag1","hashtag2"]},{"1391817913":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391817915, 1391817912, 1391817896, 1391817899, 1391817910, 1391817913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01687479019165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 09:51:22.306273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_02_3607.jpg', '/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_05_2627.jpg', '/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_08_2870.jpg', '/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_10_2709.jpg', '/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_14_3805.jpg', '/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_17_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/10/47/image_30102025_10_47_02_3607.jpg
/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_05_2627.jpg
/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_08_2870.jpg
/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_10_2709.jpg
/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_14_3805.jpg
/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_17_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391817930","1391817943","1391817937","1391817925","1391817940","1391817934"],"photo_ids_order":["1391817925","1391817930","1391817934","1391817937","1391817940","1391817943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/08dec6861b0360a92b0b726c7034678b.jpg","text":"TemporaryFile(/tmp/multipartBody3938968683254516970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073545200,"filename":"image_30102025_10_47_05_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/2/005cb2f152c0fb0be91d20732412f262.jpg","text":"TemporaryFile(/tmp/multipartBody2193096255280523766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073545200,"filename":"image_30102025_10_47_17_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/2/ab526c365e51a8ce8daaeebd81e613d3.jpg","text":"TemporaryFile(/tmp/multipartBody7082025895933717101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073545200,"filename":"image_30102025_10_47_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/2/41a2ea39048e9c66e84915b4c3c29172.jpg","text":"TemporaryFile(/tmp/multipartBody4491760886681797441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073545200,"filename":"image_30102025_10_47_02_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/2/142c848daa7f2a5fc083664b197eb0d9.jpg","text":"TemporaryFile(/tmp/multipartBody8927493783586502526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073545200,"filename":"image_30102025_10_47_14_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/2/6cccdf032f44357b289f0090c3937bc7.jpg","text":"TemporaryFile(/tmp/multipartBody9155785257423982737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073545200,"filename":"image_30102025_10_47_08_2870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391817934","file1":"1391817930","file0":"1391817925","file4":"1391817940","file5":"1391817943","file3":"1391817937"},"map_files_photo_id_array":[{"photo_id":"1391817943","filename":"file5"},{"photo_id":"1391817934","filename":"file2"},{"photo_id":"1391817940","filename":"file4"},{"photo_id":"1391817930","filename":"file1"},{"photo_id":"1391817925","filename":"file0"},{"photo_id":"1391817937","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391817930":["hashtag1","hashtag2"]},{"1391817943":["hashtag1","hashtag2"]},{"1391817937":["hashtag1","hashtag2"]},{"1391817925":["hashtag1","hashtag2"]},{"1391817940":["hashtag1","hashtag2"]},{"1391817934":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391817930, 1391817943, 1391817937, 1391817925, 1391817940, 1391817934)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.08918619155884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 09:52:22.533185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_22_2761.jpg', '/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_26_3719.jpg', '/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_29_2711.jpg', '/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_32_2741.jpg', '/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_35_3695.jpg', '/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_38_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/10/47/image_30102025_10_47_22_2761.jpg
/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_26_3719.jpg
/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_29_2711.jpg
/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_32_2741.jpg
/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_35_3695.jpg
/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_38_2670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391817974","1391817976","1391817961","1391817970","1391817964","1391817967"],"photo_ids_order":["1391817961","1391817964","1391817967","1391817970","1391817974","1391817976"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e8dd1a2b3ace0b6ad7d32e40bc97d05c.jpg","text":"TemporaryFile(/tmp/multipartBody1010363451609581543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073605281,"filename":"image_30102025_10_47_35_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/2/c20a42046d18e2bc013dd5f99e6c5614.jpg","text":"TemporaryFile(/tmp/multipartBody2788675815891087019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073605281,"filename":"image_30102025_10_47_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/2/a6a8020af0b67565483f54b8e368f139.jpg","text":"TemporaryFile(/tmp/multipartBody2263745971368806316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073605281,"filename":"image_30102025_10_47_22_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/2/0ae696e5997748841da17c61b95c0cbe.jpg","text":"TemporaryFile(/tmp/multipartBody5254108056581413920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073605281,"filename":"image_30102025_10_47_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/2/b4bfcbcdb3af0fc965f65f9750896477.jpg","text":"TemporaryFile(/tmp/multipartBody4309549172953151619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073605281,"filename":"image_30102025_10_47_26_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/2/ea77acdb37594971205639b2a4942694.jpg","text":"TemporaryFile(/tmp/multipartBody386309504518996311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073605281,"filename":"image_30102025_10_47_29_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391817967","file1":"1391817964","file0":"1391817961","file4":"1391817974","file5":"1391817976","file3":"1391817970"},"map_files_photo_id_array":[{"photo_id":"1391817976","filename":"file5"},{"photo_id":"1391817967","filename":"file2"},{"photo_id":"1391817974","filename":"file4"},{"photo_id":"1391817964","filename":"file1"},{"photo_id":"1391817961","filename":"file0"},{"photo_id":"1391817970","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391817974":["hashtag1","hashtag2"]},{"1391817976":["hashtag1","hashtag2"]},{"1391817961":["hashtag1","hashtag2"]},{"1391817970":["hashtag1","hashtag2"]},{"1391817964":["hashtag1","hashtag2"]},{"1391817967":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391817974, 1391817976, 1391817961, 1391817970, 1391817964, 1391817967)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 57.34580421447754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 09:53:22.051019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_41_2694.jpg', '/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_44_3666.jpg', '/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_47_2771.jpg', '/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_50_2642.jpg', '/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_52_2677.jpg', '/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_56_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_41_2694.jpg
/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_44_3666.jpg
/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_47_2771.jpg
/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_50_2642.jpg
/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_52_2677.jpg
/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_56_3647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391817995","1391817989","1391818001","1391818004","1391817997","1391817993"],"photo_ids_order":["1391817989","1391817993","1391817995","1391817997","1391818001","1391818004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/78b9e97c324b020dd77722c052630c7d.jpg","text":"TemporaryFile(/tmp/multipartBody1243898977787546735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073664768,"filename":"image_30102025_10_47_47_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/2/c6ed19e5bcd2c53c78d522c9cb5ef5a1.jpg","text":"TemporaryFile(/tmp/multipartBody2899192368755977548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073664768,"filename":"image_30102025_10_47_41_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/2/2afd69e210233b6080cbdd10a9ad687b.jpg","text":"TemporaryFile(/tmp/multipartBody6520877248141408430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073664768,"filename":"image_30102025_10_47_52_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/2/1391778062b7e90b6160e48e0c78023f.jpg","text":"TemporaryFile(/tmp/multipartBody3945796487951362892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073664768,"filename":"image_30102025_10_47_56_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/2/7eca324749eb483e5d0a1f456b3c21dc.jpg","text":"TemporaryFile(/tmp/multipartBody4972794312228317211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073664768,"filename":"image_30102025_10_47_50_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/2/1f3ec26ebe704876946c9ed6bbe20c61.jpg","text":"TemporaryFile(/tmp/multipartBody3390960571082542437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073664768,"filename":"image_30102025_10_47_44_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391817995","file1":"1391817993","file0":"1391817989","file4":"1391818001","file5":"1391818004","file3":"1391817997"},"map_files_photo_id_array":[{"photo_id":"1391818004","filename":"file5"},{"photo_id":"1391817995","filename":"file2"},{"photo_id":"1391818001","filename":"file4"},{"photo_id":"1391817993","filename":"file1"},{"photo_id":"1391817989","filename":"file0"},{"photo_id":"1391817997","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391817995":["hashtag1","hashtag2"]},{"1391817989":["hashtag1","hashtag2"]},{"1391818001":["hashtag1","hashtag2"]},{"1391818004":["hashtag1","hashtag2"]},{"1391817997":["hashtag1","hashtag2"]},{"1391817993":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391817995, 1391817989, 1391818001, 1391818004, 1391817997, 1391817993)","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: 83.54855537414551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:55:09.657246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/47/image_30102025_10_47_59_2822.jpg', '/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_01_2583.jpg', '/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_05_3608.jpg', '/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_08_2627.jpg', '/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_10_2727.jpg', '/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_14_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/10/47/image_30102025_10_47_59_2822.jpg
/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_01_2583.jpg
/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_05_3608.jpg
/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_08_2627.jpg
/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_10_2727.jpg
/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_14_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":["1391818064","1391818052","1391818049","1391818060","1391818048","1391818056"],"photo_ids_order":["1391818048","1391818049","1391818052","1391818056","1391818060","1391818064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c248359752bafeaaa86dec40d76e4176.jpg","text":"TemporaryFile(/tmp/multipartBody1136007086964763493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073771739,"filename":"image_30102025_10_48_14_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/2/49ee0d6004987d165dc0dd8aa8e71f4a.jpg","text":"TemporaryFile(/tmp/multipartBody3922916706982854947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073771739,"filename":"image_30102025_10_48_05_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/2/3c6c0e4a1376ab0ce64a9d91dda0061e.jpg","text":"TemporaryFile(/tmp/multipartBody7560848659489495257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073771739,"filename":"image_30102025_10_48_01_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/2/6f197662914195a6e2c0a56e7cac0f93.jpg","text":"TemporaryFile(/tmp/multipartBody4539380352153025588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073771739,"filename":"image_30102025_10_48_10_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/2/977a79a1d2085f4bca11c428d1ec8e83.jpg","text":"TemporaryFile(/tmp/multipartBody2621353193717391870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073771739,"filename":"image_30102025_10_47_59_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/2/cebc77be6f757152ff04bd2b83c59754.jpg","text":"TemporaryFile(/tmp/multipartBody2111495258862455443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073771739,"filename":"image_30102025_10_48_08_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391818052","file1":"1391818049","file0":"1391818048","file4":"1391818060","file5":"1391818064","file3":"1391818056"},"map_files_photo_id_array":[{"photo_id":"1391818064","filename":"file5"},{"photo_id":"1391818052","filename":"file2"},{"photo_id":"1391818060","filename":"file4"},{"photo_id":"1391818049","filename":"file1"},{"photo_id":"1391818048","filename":"file0"},{"photo_id":"1391818056","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391818064":["hashtag1","hashtag2"]},{"1391818052":["hashtag1","hashtag2"]},{"1391818049":["hashtag1","hashtag2"]},{"1391818060":["hashtag1","hashtag2"]},{"1391818048":["hashtag1","hashtag2"]},{"1391818056":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391818064, 1391818052, 1391818049, 1391818060, 1391818048, 1391818056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05221343040466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:56:02.695863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_17_2644.jpg', '/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_19_2677.jpg', '/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_23_3550.jpg', '/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_26_2683.jpg', '/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_29_3641.jpg', '/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_32_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/10/48/image_30102025_10_48_17_2644.jpg
/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_19_2677.jpg
/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_23_3550.jpg
/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_26_2683.jpg
/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_29_3641.jpg
/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_32_2631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391818079","1391818075","1391818083","1391818092","1391818086","1391818089"],"photo_ids_order":["1391818075","1391818079","1391818083","1391818086","1391818089","1391818092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3c058c76530f57ffa52ab7e99bf9feb0.jpg","text":"TemporaryFile(/tmp/multipartBody4092994863806684905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073824871,"filename":"image_30102025_10_48_19_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/2/7b897060e39179bf92bc55d50fc37f44.jpg","text":"TemporaryFile(/tmp/multipartBody3432749368992246624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073824871,"filename":"image_30102025_10_48_17_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/2/f98c28cdcc1e8ddd5d6823a5bd478f16.jpg","text":"TemporaryFile(/tmp/multipartBody7107360864110547494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073824871,"filename":"image_30102025_10_48_23_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/2/d78d5ca4014644a8b065f5b04755e6d3.jpg","text":"TemporaryFile(/tmp/multipartBody6766728723568018974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073824871,"filename":"image_30102025_10_48_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/2/ecc3cd58970555dba312e3652ed7c228.jpg","text":"TemporaryFile(/tmp/multipartBody2442599424549278698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073824871,"filename":"image_30102025_10_48_26_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/2/9cd77f6e7858a96b9fa16c334f16986d.jpg","text":"TemporaryFile(/tmp/multipartBody2620791268976494057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073824871,"filename":"image_30102025_10_48_29_3641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391818083","file1":"1391818079","file0":"1391818075","file4":"1391818089","file5":"1391818092","file3":"1391818086"},"map_files_photo_id_array":[{"photo_id":"1391818092","filename":"file5"},{"photo_id":"1391818083","filename":"file2"},{"photo_id":"1391818089","filename":"file4"},{"photo_id":"1391818079","filename":"file1"},{"photo_id":"1391818075","filename":"file0"},{"photo_id":"1391818086","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391818079":["hashtag1","hashtag2"]},{"1391818075":["hashtag1","hashtag2"]},{"1391818083":["hashtag1","hashtag2"]},{"1391818092":["hashtag1","hashtag2"]},{"1391818086":["hashtag1","hashtag2"]},{"1391818089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391818079, 1391818075, 1391818083, 1391818092, 1391818086, 1391818089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.056058168411255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 09:56:42.187848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_34_2712.jpg', '/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_38_3233.jpg', '/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_40_2592.jpg', '/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_47_6435.jpg', '/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_48_1673.jpg', '/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_50_1678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_34_2712.jpg
/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_38_3233.jpg
/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_40_2592.jpg
/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_47_6435.jpg
/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_48_1673.jpg
/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_50_1678.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.0314269065856934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:57:03.126389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_34_2712.jpg', '/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_38_3233.jpg', '/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_40_2592.jpg', '/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_47_6435.jpg', '/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_48_1673.jpg', '/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_50_1678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_34_2712.jpg
/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_38_3233.jpg
/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_40_2592.jpg
/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_47_6435.jpg
/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_48_1673.jpg
/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_50_1678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391818121","1391818135","1391818129","1391818138","1391818132","1391818126"],"photo_ids_order":["1391818121","1391818126","1391818129","1391818132","1391818135","1391818138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/59342ccc908a5331010ebf02f71c2bde.jpg","text":"TemporaryFile(/tmp/multipartBody8988704694486666249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073885193,"filename":"image_30102025_10_48_34_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/2/b47f643e11b0efc4478224e0bf7dee0a.jpg","text":"TemporaryFile(/tmp/multipartBody555085359799715389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073885193,"filename":"image_30102025_10_48_48_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/2/d7b99dbf8b49ce7b71dfc5c80c2b69dd.jpg","text":"TemporaryFile(/tmp/multipartBody531666883052472959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073885193,"filename":"image_30102025_10_48_40_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/2/f78b44e324d55d046d5d3340224d971a.jpg","text":"TemporaryFile(/tmp/multipartBody1100519592652411371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073885193,"filename":"image_30102025_10_48_50_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c27967d14e10ed692617708beff18a34.jpg","text":"TemporaryFile(/tmp/multipartBody8330451487408576378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073885193,"filename":"image_30102025_10_48_47_6435.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4683d025bf73c0de27a0155bcb2efe9e.jpg","text":"TemporaryFile(/tmp/multipartBody7057184078215275575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073885193,"filename":"image_30102025_10_48_38_3233.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391818129","file1":"1391818126","file0":"1391818121","file4":"1391818135","file5":"1391818138","file3":"1391818132"},"map_files_photo_id_array":[{"photo_id":"1391818138","filename":"file5"},{"photo_id":"1391818129","filename":"file2"},{"photo_id":"1391818135","filename":"file4"},{"photo_id":"1391818126","filename":"file1"},{"photo_id":"1391818121","filename":"file0"},{"photo_id":"1391818132","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391818121":["hashtag1","hashtag2"]},{"1391818135":["hashtag1","hashtag2"]},{"1391818129":["hashtag1","hashtag2"]},{"1391818138":["hashtag1","hashtag2"]},{"1391818132":["hashtag1","hashtag2"]},{"1391818126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391818121, 1391818135, 1391818129, 1391818138, 1391818132, 1391818126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.437719106674194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 09:57:42.363405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_55_5350.jpg', '/home/pi/Desktop/images/30102025/10/48/image_30102025_10_49_00_4197.jpg', '/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_01_1736.jpg', '/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_03_1570.jpg', '/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_05_1602.jpg', '/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_07_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/10/48/image_30102025_10_48_55_5350.jpg
/home/pi/Desktop/images/30102025/10/48/image_30102025_10_49_00_4197.jpg
/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_01_1736.jpg
/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_03_1570.jpg
/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_05_1602.jpg
/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_07_2587.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391818376","1391818297","1391818380","1391818344","1391818254","1391818212"],"photo_ids_order":["1391818212","1391818254","1391818297","1391818344","1391818376","1391818380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cc7bae88ea8e59fe0b2cc7dcd5922a46.jpg","text":"TemporaryFile(/tmp/multipartBody2093096486517356389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073923537,"filename":"image_30102025_10_49_05_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/2/fe406e356d99bda7c88d69bfc389e548.jpg","text":"TemporaryFile(/tmp/multipartBody3423432849337617463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073923537,"filename":"image_30102025_10_49_01_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/2/5be827e921e25a137a4d443303476807.jpg","text":"TemporaryFile(/tmp/multipartBody3312842868219939074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073923537,"filename":"image_30102025_10_49_07_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/2/c2d8e97ace4a5c737aa2259a76562ee2.jpg","text":"TemporaryFile(/tmp/multipartBody1739945981220273315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073923537,"filename":"image_30102025_10_49_03_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/2/eefd952fa915a2371c9a35860274759f.jpg","text":"TemporaryFile(/tmp/multipartBody4387992608766019149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073923537,"filename":"image_30102025_10_49_00_4197.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1ca9f6bf3e3c1fefb1628ee8f9e5bab5.jpg","text":"TemporaryFile(/tmp/multipartBody3268850818571767743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762073923537,"filename":"image_30102025_10_48_55_5350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391818297","file1":"1391818254","file0":"1391818212","file4":"1391818376","file5":"1391818380","file3":"1391818344"},"map_files_photo_id_array":[{"photo_id":"1391818380","filename":"file5"},{"photo_id":"1391818297","filename":"file2"},{"photo_id":"1391818376","filename":"file4"},{"photo_id":"1391818254","filename":"file1"},{"photo_id":"1391818212","filename":"file0"},{"photo_id":"1391818344","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391818376":["hashtag1","hashtag2"]},{"1391818297":["hashtag1","hashtag2"]},{"1391818380":["hashtag1","hashtag2"]},{"1391818344":["hashtag1","hashtag2"]},{"1391818254":["hashtag1","hashtag2"]},{"1391818212":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391818376, 1391818297, 1391818380, 1391818344, 1391818254, 1391818212)","result":[],"list_datou_current":[]}'
Result OK !
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391818297 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_01_1736.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391818297 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_01_1736.jpg";
uploaded 6 photos
time to upload: 63.645121812820435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 09:59:03.703228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/48/image_30102025_10_48_55_5350.jpg', '/home/pi/Desktop/images/30102025/10/48/image_30102025_10_49_00_4197.jpg', '/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_01_1736.jpg', '/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_03_1570.jpg', '/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_05_1602.jpg', '/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_07_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/10/48/image_30102025_10_48_55_5350.jpg
/home/pi/Desktop/images/30102025/10/48/image_30102025_10_49_00_4197.jpg
/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_01_1736.jpg
/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_03_1570.jpg
/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_05_1602.jpg
/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_07_2587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391818515","1391818509","1391818523","1391818519","1391818527","1391818506"],"photo_ids_order":["1391818506","1391818509","1391818515","1391818519","1391818523","1391818527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/869279f0a8bd5ee9edae32d9c66667b1.jpg","text":"TemporaryFile(/tmp/multipartBody7537495188212636028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074007574,"filename":"image_30102025_10_49_01_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/2/c07a3a5a541cd7b9d8d4b580ebc05f9a.jpg","text":"TemporaryFile(/tmp/multipartBody3414021013333543484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074007574,"filename":"image_30102025_10_49_00_4197.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b3b48de77d2569e143922b395dabd636.jpg","text":"TemporaryFile(/tmp/multipartBody7173675408925545067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074007574,"filename":"image_30102025_10_49_05_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/2/6a27b87b45bce2419feb7adaa32146c4.jpg","text":"TemporaryFile(/tmp/multipartBody5824476929431486911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074007574,"filename":"image_30102025_10_49_03_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/2/a2a560cf667fa883c244c24b8f43ed0e.jpg","text":"TemporaryFile(/tmp/multipartBody2444306078880126619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074007574,"filename":"image_30102025_10_49_07_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/2/ed09fc9cc90337a126935b533d91170e.jpg","text":"TemporaryFile(/tmp/multipartBody6132278782024850419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074007574,"filename":"image_30102025_10_48_55_5350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391818515","file1":"1391818509","file0":"1391818506","file4":"1391818523","file5":"1391818527","file3":"1391818519"},"map_files_photo_id_array":[{"photo_id":"1391818527","filename":"file5"},{"photo_id":"1391818515","filename":"file2"},{"photo_id":"1391818523","filename":"file4"},{"photo_id":"1391818509","filename":"file1"},{"photo_id":"1391818506","filename":"file0"},{"photo_id":"1391818519","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391818515":["hashtag1","hashtag2"]},{"1391818509":["hashtag1","hashtag2"]},{"1391818523":["hashtag1","hashtag2"]},{"1391818519":["hashtag1","hashtag2"]},{"1391818527":["hashtag1","hashtag2"]},{"1391818506":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391818515, 1391818509, 1391818523, 1391818519, 1391818527, 1391818506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.8463032245636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 10:00:02.337676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_11_3775.jpg', '/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_14_2620.jpg', '/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_16_2728.jpg', '/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_40_7376.jpg', '/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_52_11731.jpg', '/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_59_1776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_11_3775.jpg
/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_14_2620.jpg
/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_16_2728.jpg
/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_40_7376.jpg
/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_52_11731.jpg
/home/pi/Desktop/images/30102025/10/49/image_30102025_10_49_59_1776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391818682","1391819014","1391818762","1391818618","1391818860","1391818938"],"photo_ids_order":["1391818618","1391818682","1391818762","1391818860","1391818938","1391819014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f62e6197a2db6ba5c797e07c4fcc2c51.jpg","text":"TemporaryFile(/tmp/multipartBody1054775862249677590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074064477,"filename":"image_30102025_10_49_14_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/2/5882a2e435784d658eb35414f112d70b.jpg","text":"TemporaryFile(/tmp/multipartBody4110605727216301241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074064477,"filename":"image_30102025_10_49_59_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/2/e0e661e3ff550468f3800d5a53de7c23.jpg","text":"TemporaryFile(/tmp/multipartBody122081058387432422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074064477,"filename":"image_30102025_10_49_16_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/2/024b575cdd8a8eff7879b9262af0b0ef.jpg","text":"TemporaryFile(/tmp/multipartBody5820070319012097459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074064477,"filename":"image_30102025_10_49_11_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9d839248bdc1cc6d9f4133c36644608f.jpg","text":"TemporaryFile(/tmp/multipartBody2996170486215100108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074064477,"filename":"image_30102025_10_49_40_7376.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2df5c98e59473aa0482350e17eeca6e6.jpg","text":"TemporaryFile(/tmp/multipartBody4238856187920508829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074064477,"filename":"image_30102025_10_49_52_11731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391818762","file1":"1391818682","file0":"1391818618","file4":"1391818938","file5":"1391819014","file3":"1391818860"},"map_files_photo_id_array":[{"photo_id":"1391819014","filename":"file5"},{"photo_id":"1391818762","filename":"file2"},{"photo_id":"1391818938","filename":"file4"},{"photo_id":"1391818682","filename":"file1"},{"photo_id":"1391818618","filename":"file0"},{"photo_id":"1391818860","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391818682":["hashtag1","hashtag2"]},{"1391819014":["hashtag1","hashtag2"]},{"1391818762":["hashtag1","hashtag2"]},{"1391818618":["hashtag1","hashtag2"]},{"1391818860":["hashtag1","hashtag2"]},{"1391818938":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391818682, 1391819014, 1391818762, 1391818618, 1391818860, 1391818938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.419495582580566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 10:00:42.080481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_07_3015.jpg', '/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_11_3686.jpg', '/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_13_2868.jpg', '/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_16_2800.jpg', '/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_19_2664.jpg', '/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_23_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/10/51/image_30102025_10_51_07_3015.jpg
/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_11_3686.jpg
/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_13_2868.jpg
/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_16_2800.jpg
/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_19_2664.jpg
/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_23_3651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391819380","1391819461","1391819614","1391819541","1391819690","1391819294"],"photo_ids_order":["1391819294","1391819380","1391819461","1391819541","1391819614","1391819690"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/af4f5b5d4ed795ca2d4a16ec8cc8c35a.jpg","text":"TemporaryFile(/tmp/multipartBody2655583237260496612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074103223,"filename":"image_30102025_10_51_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/2/9440d445fdb31b1eaa350a6bb8801746.jpg","text":"TemporaryFile(/tmp/multipartBody3296061245425112230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074103223,"filename":"image_30102025_10_51_13_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/2/2dab1e23ee84775f5e271369416c3085.jpg","text":"TemporaryFile(/tmp/multipartBody2012161629057476535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074103223,"filename":"image_30102025_10_51_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/2/f31942cc8d863bc66bb3c7b602e9770e.jpg","text":"TemporaryFile(/tmp/multipartBody7274484874908804043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074103223,"filename":"image_30102025_10_51_16_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/2/c0024afd757dffc733cea78642f285c8.jpg","text":"TemporaryFile(/tmp/multipartBody7348110371823024207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074103223,"filename":"image_30102025_10_51_23_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/2/faf22b8470a2ad628716cafa435d6808.jpg","text":"TemporaryFile(/tmp/multipartBody5006828375380419208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074103223,"filename":"image_30102025_10_51_07_3015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391819461","file1":"1391819380","file0":"1391819294","file4":"1391819614","file5":"1391819690","file3":"1391819541"},"map_files_photo_id_array":[{"photo_id":"1391819690","filename":"file5"},{"photo_id":"1391819461","filename":"file2"},{"photo_id":"1391819614","filename":"file4"},{"photo_id":"1391819380","filename":"file1"},{"photo_id":"1391819294","filename":"file0"},{"photo_id":"1391819541","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391819380":["hashtag1","hashtag2"]},{"1391819461":["hashtag1","hashtag2"]},{"1391819614":["hashtag1","hashtag2"]},{"1391819541":["hashtag1","hashtag2"]},{"1391819690":["hashtag1","hashtag2"]},{"1391819294":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391819380, 1391819461, 1391819614, 1391819541, 1391819690, 1391819294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52702474594116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:01:22.111955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_25_2667.jpg', '/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_32_3634.jpg', '/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_35_2965.jpg', '/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_37_2654.jpg', '/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_40_2845.jpg', '/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_43_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/10/51/image_30102025_10_51_25_2667.jpg
/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_32_3634.jpg
/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_35_2965.jpg
/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_37_2654.jpg
/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_40_2845.jpg
/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_43_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":["1391820215","1391820209","1391820099","1391820180","1391820141","1391820222"],"photo_ids_order":["1391820099","1391820141","1391820180","1391820209","1391820215","1391820222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/dca3f31190fbcd51e481c17f7a137991.jpg","text":"TemporaryFile(/tmp/multipartBody4141777108256805908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074162343,"filename":"image_30102025_10_51_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/2/856d8922e4d487978901a64397d7dfe8.jpg","text":"TemporaryFile(/tmp/multipartBody6234559096424814112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074162343,"filename":"image_30102025_10_51_37_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/2/3af920f1d9976f2d4b2f16f4e8ef4fe9.jpg","text":"TemporaryFile(/tmp/multipartBody7012916435783465998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074162343,"filename":"image_30102025_10_51_25_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/2/cd062df7270f0a7aa360476502374ad0.jpg","text":"TemporaryFile(/tmp/multipartBody9151905836186140494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074162343,"filename":"image_30102025_10_51_35_2965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cec40937d84e4ed68372647868d75dd1.jpg","text":"TemporaryFile(/tmp/multipartBody7641386648612424774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074162343,"filename":"image_30102025_10_51_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/2/97c8cfb806f16de3171e75bc2f5d6b4b.jpg","text":"TemporaryFile(/tmp/multipartBody3020783090362112375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074162343,"filename":"image_30102025_10_51_43_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391820180","file1":"1391820141","file0":"1391820099","file4":"1391820215","file5":"1391820222","file3":"1391820209"},"map_files_photo_id_array":[{"photo_id":"1391820222","filename":"file5"},{"photo_id":"1391820180","filename":"file2"},{"photo_id":"1391820215","filename":"file4"},{"photo_id":"1391820141","filename":"file1"},{"photo_id":"1391820099","filename":"file0"},{"photo_id":"1391820209","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391820215":["hashtag1","hashtag2"]},{"1391820209":["hashtag1","hashtag2"]},{"1391820099":["hashtag1","hashtag2"]},{"1391820180":["hashtag1","hashtag2"]},{"1391820141":["hashtag1","hashtag2"]},{"1391820222":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391820215, 1391820209, 1391820099, 1391820180, 1391820141, 1391820222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.21442461013794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:02:22.433224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_47_3680.jpg', '/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_49_2626.jpg', '/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_53_3543.jpg', '/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_55_2789.jpg', '/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_58_2636.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_01_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/10/51/image_30102025_10_51_47_3680.jpg
/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_49_2626.jpg
/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_53_3543.jpg
/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_55_2789.jpg
/home/pi/Desktop/images/30102025/10/51/image_30102025_10_51_58_2636.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_01_2693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391820290","1391820292","1391820286","1391820305","1391820294","1391820288"],"photo_ids_order":["1391820286","1391820288","1391820290","1391820292","1391820294","1391820305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7dfc2195f38ce51aa9f52510ec34651a.jpg","text":"TemporaryFile(/tmp/multipartBody79014286363859175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074205223,"filename":"image_30102025_10_51_53_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/2/de6347b21fdf07e787fb3c102ccbff73.jpg","text":"TemporaryFile(/tmp/multipartBody1427557201519139718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074205223,"filename":"image_30102025_10_51_55_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/2/b32457add4dad7ea693ddb563adc21a8.jpg","text":"TemporaryFile(/tmp/multipartBody5135378682175839023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074205223,"filename":"image_30102025_10_51_47_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/2/22596408ba30c82351f6a01081d5d3fc.jpg","text":"TemporaryFile(/tmp/multipartBody6186851406927157741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074205223,"filename":"image_30102025_10_52_01_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/2/f8a5038df888cd8eaf6e762d407f0a83.jpg","text":"TemporaryFile(/tmp/multipartBody1923826242887834320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074205223,"filename":"image_30102025_10_51_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/2/a4b1c0647892f878eac484d79b0db217.jpg","text":"TemporaryFile(/tmp/multipartBody3043210220672946460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074205223,"filename":"image_30102025_10_51_49_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391820290","file1":"1391820288","file0":"1391820286","file4":"1391820294","file5":"1391820305","file3":"1391820292"},"map_files_photo_id_array":[{"photo_id":"1391820305","filename":"file5"},{"photo_id":"1391820290","filename":"file2"},{"photo_id":"1391820294","filename":"file4"},{"photo_id":"1391820288","filename":"file1"},{"photo_id":"1391820286","filename":"file0"},{"photo_id":"1391820292","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391820290":["hashtag1","hashtag2"]},{"1391820292":["hashtag1","hashtag2"]},{"1391820286":["hashtag1","hashtag2"]},{"1391820305":["hashtag1","hashtag2"]},{"1391820294":["hashtag1","hashtag2"]},{"1391820288":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391820290, 1391820292, 1391820286, 1391820305, 1391820294, 1391820288)","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.8612961769104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 10:03:44.980485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_04_3575.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_07_2680.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_11_3616.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_13_2738.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_16_2762.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_19_2542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_04_3575.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_07_2680.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_11_3616.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_13_2738.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_16_2762.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_19_2542.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391820770","1391820773","1391820767","1391820799","1391820751","1391820841"],"photo_ids_order":["1391820751","1391820767","1391820770","1391820773","1391820799","1391820841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/77d013944d4a6b760e61f8cca76a7afd.jpg","text":"TemporaryFile(/tmp/multipartBody3511702207867023133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074286062,"filename":"image_30102025_10_52_11_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/2/1bbd4d794933e434adaee05b0f9b090b.jpg","text":"TemporaryFile(/tmp/multipartBody7581819643517633998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074286062,"filename":"image_30102025_10_52_13_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/2/e338b56e3ec431f18b0eefdbc749025d.jpg","text":"TemporaryFile(/tmp/multipartBody3036873185159049549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074286062,"filename":"image_30102025_10_52_07_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/2/18b3a99b9b454f247a5509729cff97de.jpg","text":"TemporaryFile(/tmp/multipartBody9153175646098527582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074286062,"filename":"image_30102025_10_52_16_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/2/460372fe681e460db339e536ef5538b7.jpg","text":"TemporaryFile(/tmp/multipartBody3688871906119090027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074286062,"filename":"image_30102025_10_52_04_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/2/d4c39ebae8a7680a965c1cf08ef1f45b.jpg","text":"TemporaryFile(/tmp/multipartBody8259440616459050389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074286062,"filename":"image_30102025_10_52_19_2542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391820770","file1":"1391820767","file0":"1391820751","file4":"1391820799","file5":"1391820841","file3":"1391820773"},"map_files_photo_id_array":[{"photo_id":"1391820841","filename":"file5"},{"photo_id":"1391820770","filename":"file2"},{"photo_id":"1391820799","filename":"file4"},{"photo_id":"1391820767","filename":"file1"},{"photo_id":"1391820751","filename":"file0"},{"photo_id":"1391820773","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391820770":["hashtag1","hashtag2"]},{"1391820773":["hashtag1","hashtag2"]},{"1391820767":["hashtag1","hashtag2"]},{"1391820799":["hashtag1","hashtag2"]},{"1391820751":["hashtag1","hashtag2"]},{"1391820841":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391820770, 1391820773, 1391820767, 1391820799, 1391820751, 1391820841)","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: 83.20935726165771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:05:22.292709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_22_3666.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_25_2676.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_28_2699.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_32_3711.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_34_2645.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_37_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/10/52/image_30102025_10_52_22_3666.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_25_2676.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_28_2699.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_32_3711.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_34_2645.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_37_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.6768572330474854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 10:06:00.302652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 10:06:18.449951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 10:06:47.498991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_22_3666.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_25_2676.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_28_2699.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_32_3711.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_34_2645.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_37_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/10/52/image_30102025_10_52_22_3666.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_25_2676.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_28_2699.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_32_3711.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_34_2645.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_37_2592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391821364","1391821334","1391821360","1391821330","1391821356","1391821332"],"photo_ids_order":["1391821330","1391821332","1391821334","1391821356","1391821360","1391821364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8366df92ef6b2d981b2398b0fc5218fd.jpg","text":"TemporaryFile(/tmp/multipartBody5428766059326975335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074470178,"filename":"image_30102025_10_52_37_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/2/11d9174dcad5c09df4fe252177254229.jpg","text":"TemporaryFile(/tmp/multipartBody5681560893572588304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074470178,"filename":"image_30102025_10_52_28_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/2/812826cf335a56a28dc4f1b6424079e2.jpg","text":"TemporaryFile(/tmp/multipartBody7726321968738250845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074470178,"filename":"image_30102025_10_52_34_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/2/dcd12efafc6f85f709d78db798ea7b97.jpg","text":"TemporaryFile(/tmp/multipartBody630526309670385853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074470178,"filename":"image_30102025_10_52_22_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/2/a1d6c332bfe33f7f5163c64288e006cf.jpg","text":"TemporaryFile(/tmp/multipartBody1827916204806664349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074470178,"filename":"image_30102025_10_52_32_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/2/291841cea285c126e6bab5905c7494f0.jpg","text":"TemporaryFile(/tmp/multipartBody1289106774969587595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074470178,"filename":"image_30102025_10_52_25_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391821334","file1":"1391821332","file0":"1391821330","file4":"1391821360","file5":"1391821364","file3":"1391821356"},"map_files_photo_id_array":[{"photo_id":"1391821364","filename":"file5"},{"photo_id":"1391821334","filename":"file2"},{"photo_id":"1391821360","filename":"file4"},{"photo_id":"1391821332","filename":"file1"},{"photo_id":"1391821330","filename":"file0"},{"photo_id":"1391821356","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391821364":["hashtag1","hashtag2"]},{"1391821334":["hashtag1","hashtag2"]},{"1391821360":["hashtag1","hashtag2"]},{"1391821330":["hashtag1","hashtag2"]},{"1391821356":["hashtag1","hashtag2"]},{"1391821332":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391821364, 1391821334, 1391821360, 1391821330, 1391821356, 1391821332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19546961784363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 10:07:42.245147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_41_3859.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_43_2724.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_46_2652.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_49_2920.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_52_2803.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_55_3650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_41_3859.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_43_2724.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_46_2652.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_49_2920.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_52_2803.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_55_3650.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9966003894805908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 10:08:02.816283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_41_3859.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_43_2724.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_46_2652.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_49_2920.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_52_2803.jpg', '/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_55_3650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_41_3859.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_43_2724.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_46_2652.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_49_2920.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_52_2803.jpg
/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_55_3650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391821396","1391821399","1391821386","1391821401","1391821391","1391821394"],"photo_ids_order":["1391821386","1391821391","1391821394","1391821396","1391821399","1391821401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e8678ea4eb5b3c4438c213645e2871bb.jpg","text":"TemporaryFile(/tmp/multipartBody2688894435653150886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074544841,"filename":"image_30102025_10_52_49_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/2/dd73e95637c4bea5b35b7e91da8026b9.jpg","text":"TemporaryFile(/tmp/multipartBody1730447736087186285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074544841,"filename":"image_30102025_10_52_52_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/2/5e460b8f7b3cac008907886ddeba40cb.jpg","text":"TemporaryFile(/tmp/multipartBody2085383677018632962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074544841,"filename":"image_30102025_10_52_41_3859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1619503c621145df6b0540a5591884ec.jpg","text":"TemporaryFile(/tmp/multipartBody3697527895362356013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074544841,"filename":"image_30102025_10_52_55_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/2/d8df04c82d5109bf740135d5b362ea61.jpg","text":"TemporaryFile(/tmp/multipartBody4015035207287015720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074544841,"filename":"image_30102025_10_52_43_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/2/6978a526c5befaa712678ca32321a9ed.jpg","text":"TemporaryFile(/tmp/multipartBody7363738368736175346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074544841,"filename":"image_30102025_10_52_46_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391821394","file1":"1391821391","file0":"1391821386","file4":"1391821399","file5":"1391821401","file3":"1391821396"},"map_files_photo_id_array":[{"photo_id":"1391821401","filename":"file5"},{"photo_id":"1391821394","filename":"file2"},{"photo_id":"1391821399","filename":"file4"},{"photo_id":"1391821391","filename":"file1"},{"photo_id":"1391821386","filename":"file0"},{"photo_id":"1391821396","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391821396":["hashtag1","hashtag2"]},{"1391821399":["hashtag1","hashtag2"]},{"1391821386":["hashtag1","hashtag2"]},{"1391821401":["hashtag1","hashtag2"]},{"1391821391":["hashtag1","hashtag2"]},{"1391821394":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391821396, 1391821399, 1391821386, 1391821401, 1391821391, 1391821394)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.23904323577881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 10:09:03.957259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 10:09:22.602361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 10:09:42.602225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/52/image_30102025_10_52_58_2860.jpg', '/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_01_2724.jpg', '/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_04_2762.jpg', '/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_07_3664.jpg', '/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_10_2748.jpg', '/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_13_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/10/52/image_30102025_10_52_58_2860.jpg
/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_01_2724.jpg
/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_04_2762.jpg
/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_07_3664.jpg
/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_10_2748.jpg
/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_13_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391821436","1391821439","1391821433","1391821443","1391821446","1391821449"],"photo_ids_order":["1391821433","1391821436","1391821439","1391821443","1391821446","1391821449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/dff64a12ece2f3d14844cf10e0e0a4f2.jpg","text":"TemporaryFile(/tmp/multipartBody1385060470181676691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074643760,"filename":"image_30102025_10_53_01_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/2/5a12d92cf7d5f971dd0f5288b9ae7a31.jpg","text":"TemporaryFile(/tmp/multipartBody5760921965833772175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074643760,"filename":"image_30102025_10_53_04_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/2/ba07edaaa1e8cc29123e269fbdafce43.jpg","text":"TemporaryFile(/tmp/multipartBody6373407006324271036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074643760,"filename":"image_30102025_10_52_58_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/2/dfae3d10bb768a3790a81986120ea836.jpg","text":"TemporaryFile(/tmp/multipartBody4738890317654325953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074643760,"filename":"image_30102025_10_53_07_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/2/9174bdd269d75cc1433852af3403b987.jpg","text":"TemporaryFile(/tmp/multipartBody908030773494350184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074643760,"filename":"image_30102025_10_53_10_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/2/b1987e03a0cb8e0db91ad15c6ce31544.jpg","text":"TemporaryFile(/tmp/multipartBody8125636242413744271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074643760,"filename":"image_30102025_10_53_13_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391821439","file1":"1391821436","file0":"1391821433","file4":"1391821446","file5":"1391821449","file3":"1391821443"},"map_files_photo_id_array":[{"photo_id":"1391821449","filename":"file5"},{"photo_id":"1391821439","filename":"file2"},{"photo_id":"1391821446","filename":"file4"},{"photo_id":"1391821436","filename":"file1"},{"photo_id":"1391821433","filename":"file0"},{"photo_id":"1391821443","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391821436":["hashtag1","hashtag2"]},{"1391821439":["hashtag1","hashtag2"]},{"1391821433":["hashtag1","hashtag2"]},{"1391821443":["hashtag1","hashtag2"]},{"1391821446":["hashtag1","hashtag2"]},{"1391821449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391821436, 1391821439, 1391821433, 1391821443, 1391821446, 1391821449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14271283149719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:10:21.874935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_16_3701.jpg', '/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_19_2601.jpg', '/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_22_2649.jpg', '/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_25_3613.jpg', '/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_28_2821.jpg', '/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_31_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/10/53/image_30102025_10_53_16_3701.jpg
/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_19_2601.jpg
/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_22_2649.jpg
/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_25_3613.jpg
/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_28_2821.jpg
/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_31_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":["1391821463","1391821462","1391821455","1391821464","1391821458","1391821460"],"photo_ids_order":["1391821455","1391821458","1391821460","1391821462","1391821463","1391821464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2f2626dd24a82ce2d04ad7e4d9d52f56.jpg","text":"TemporaryFile(/tmp/multipartBody6699848863853156503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074695662,"filename":"image_30102025_10_53_28_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/2/c8d09d67a6d401ce63a859ec6757a0b9.jpg","text":"TemporaryFile(/tmp/multipartBody8701908145154599273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074695662,"filename":"image_30102025_10_53_25_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/2/d052f37bb3e6d02b47b8a53a39030b7d.jpg","text":"TemporaryFile(/tmp/multipartBody8846151117410999123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074695662,"filename":"image_30102025_10_53_16_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/2/66ff8c42982a660e11b076708785fd90.jpg","text":"TemporaryFile(/tmp/multipartBody1783281573464788462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074695662,"filename":"image_30102025_10_53_31_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/2/9bbcb25af3418d3224695ecbfcde557d.jpg","text":"TemporaryFile(/tmp/multipartBody1686561392340245315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074695662,"filename":"image_30102025_10_53_19_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/2/4440fc21c89f83c19ce994945f43e8e6.jpg","text":"TemporaryFile(/tmp/multipartBody6418550119984379974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074695662,"filename":"image_30102025_10_53_22_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391821460","file1":"1391821458","file0":"1391821455","file4":"1391821463","file5":"1391821464","file3":"1391821462"},"map_files_photo_id_array":[{"photo_id":"1391821464","filename":"file5"},{"photo_id":"1391821460","filename":"file2"},{"photo_id":"1391821463","filename":"file4"},{"photo_id":"1391821458","filename":"file1"},{"photo_id":"1391821455","filename":"file0"},{"photo_id":"1391821462","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391821463":["hashtag1","hashtag2"]},{"1391821462":["hashtag1","hashtag2"]},{"1391821455":["hashtag1","hashtag2"]},{"1391821464":["hashtag1","hashtag2"]},{"1391821458":["hashtag1","hashtag2"]},{"1391821460":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391821463, 1391821462, 1391821455, 1391821464, 1391821458, 1391821460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.76261758804321 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:11:24.467900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_37_3664.jpg', '/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_40_2527.jpg', '/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_46_3591.jpg', '/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_49_2676.jpg', '/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_53_3672.jpg', '/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_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/10/53/image_30102025_10_53_37_3664.jpg
/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_40_2527.jpg
/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_46_3591.jpg
/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_49_2676.jpg
/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_53_3672.jpg
/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_55_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391821514","1391821502","1391821498","1391821497","1391821496","1391821499"],"photo_ids_order":["1391821496","1391821497","1391821498","1391821499","1391821502","1391821514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/58b646fff6aa701194f261d052e1c41f.jpg","text":"TemporaryFile(/tmp/multipartBody1750635282746684042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074747236,"filename":"image_30102025_10_53_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/2/702e8bba2100e207d7408bc71f836711.jpg","text":"TemporaryFile(/tmp/multipartBody1175525832900429710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074747236,"filename":"image_30102025_10_53_53_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/2/9219e7ce21354717d77bc9602315925a.jpg","text":"TemporaryFile(/tmp/multipartBody2638034940197760040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074747236,"filename":"image_30102025_10_53_46_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/2/98607c2df8decd9fec280a5ba78363be.jpg","text":"TemporaryFile(/tmp/multipartBody2326751283656735915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074747236,"filename":"image_30102025_10_53_40_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/2/e316ccc0445fdb6314d4d666ee35e147.jpg","text":"TemporaryFile(/tmp/multipartBody8375918279678370297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074747236,"filename":"image_30102025_10_53_37_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/2/9b6453300bb6ca920a1d85b83ffb1672.jpg","text":"TemporaryFile(/tmp/multipartBody5364122758885023832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074747236,"filename":"image_30102025_10_53_49_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391821498","file1":"1391821497","file0":"1391821496","file4":"1391821502","file5":"1391821514","file3":"1391821499"},"map_files_photo_id_array":[{"photo_id":"1391821514","filename":"file5"},{"photo_id":"1391821498","filename":"file2"},{"photo_id":"1391821502","filename":"file4"},{"photo_id":"1391821497","filename":"file1"},{"photo_id":"1391821496","filename":"file0"},{"photo_id":"1391821499","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391821514":["hashtag1","hashtag2"]},{"1391821502":["hashtag1","hashtag2"]},{"1391821498":["hashtag1","hashtag2"]},{"1391821497":["hashtag1","hashtag2"]},{"1391821496":["hashtag1","hashtag2"]},{"1391821499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391821514, 1391821502, 1391821498, 1391821497, 1391821496, 1391821499)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.905174016952515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:12:27.600924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_58_2847.jpg', '/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_01_2623.jpg', '/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_04_3671.jpg', '/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_07_2709.jpg', '/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_10_2853.jpg', '/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_13_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/53/image_30102025_10_53_58_2847.jpg
/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_01_2623.jpg
/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_04_3671.jpg
/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_07_2709.jpg
/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_10_2853.jpg
/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_13_2708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391821535","1391821529","1391821526","1391821543","1391821531","1391821539"],"photo_ids_order":["1391821526","1391821529","1391821531","1391821535","1391821539","1391821543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e0c2be0c0eb53a4be57a395ef0420c73.jpg","text":"TemporaryFile(/tmp/multipartBody169913946669998416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074810465,"filename":"image_30102025_10_54_07_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/2/76fa429f921209f96d67905c24c7a92f.jpg","text":"TemporaryFile(/tmp/multipartBody3528665774345528453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074810465,"filename":"image_30102025_10_54_01_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/2/e90281112bbfc7713b33e3388643b4a0.jpg","text":"TemporaryFile(/tmp/multipartBody4831183797775403429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074810465,"filename":"image_30102025_10_53_58_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/2/fb94849b59d8d176292ffccaa9068b19.jpg","text":"TemporaryFile(/tmp/multipartBody3720383058837820921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074810465,"filename":"image_30102025_10_54_13_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/2/cd697b61ac4904d861759dcc54eff159.jpg","text":"TemporaryFile(/tmp/multipartBody2617852361764950146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074810465,"filename":"image_30102025_10_54_04_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/2/ab1ad51fffdd783d29874a96e75ae470.jpg","text":"TemporaryFile(/tmp/multipartBody7177042291559555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074810465,"filename":"image_30102025_10_54_10_2853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391821531","file1":"1391821529","file0":"1391821526","file4":"1391821539","file5":"1391821543","file3":"1391821535"},"map_files_photo_id_array":[{"photo_id":"1391821543","filename":"file5"},{"photo_id":"1391821531","filename":"file2"},{"photo_id":"1391821539","filename":"file4"},{"photo_id":"1391821529","filename":"file1"},{"photo_id":"1391821526","filename":"file0"},{"photo_id":"1391821535","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391821535":["hashtag1","hashtag2"]},{"1391821529":["hashtag1","hashtag2"]},{"1391821526":["hashtag1","hashtag2"]},{"1391821543":["hashtag1","hashtag2"]},{"1391821531":["hashtag1","hashtag2"]},{"1391821539":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391821535, 1391821529, 1391821526, 1391821543, 1391821531, 1391821539)","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.37585377693176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 10:13:53.496355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_16_3561.jpg', '/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_19_2729.jpg', '/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_25_3647.jpg', '/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_31_2671.jpg', '/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_34_2731.jpg', '/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_37_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/10/54/image_30102025_10_54_16_3561.jpg
/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_19_2729.jpg
/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_25_3647.jpg
/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_31_2671.jpg
/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_34_2731.jpg
/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_37_3667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391821585","1391821578","1391821592","1391821589","1391821580","1391821574"],"photo_ids_order":["1391821574","1391821578","1391821580","1391821585","1391821589","1391821592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e0718a6619da4f12bc070b3b84cc04a2.jpg","text":"TemporaryFile(/tmp/multipartBody576785086006762791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074894579,"filename":"image_30102025_10_54_31_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/2/f3a4967fa0244dbc02f3ee8045492958.jpg","text":"TemporaryFile(/tmp/multipartBody544055650679073598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074894579,"filename":"image_30102025_10_54_19_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/2/5ed71e478aaf4f09aaad2c245219d30a.jpg","text":"TemporaryFile(/tmp/multipartBody1920902064972679236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074894579,"filename":"image_30102025_10_54_37_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/2/db1980cf5dc590c3ab2a10abbc25f3bf.jpg","text":"TemporaryFile(/tmp/multipartBody7440000278262996506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074894579,"filename":"image_30102025_10_54_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/2/16b4cef37e5a90fe94db79d2e04aaa5d.jpg","text":"TemporaryFile(/tmp/multipartBody1999202748516119597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074894579,"filename":"image_30102025_10_54_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/2/6a57c4e8d2cdadb45e41813edda8ff85.jpg","text":"TemporaryFile(/tmp/multipartBody5087850366881321462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074894579,"filename":"image_30102025_10_54_16_3561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391821580","file1":"1391821578","file0":"1391821574","file4":"1391821589","file5":"1391821592","file3":"1391821585"},"map_files_photo_id_array":[{"photo_id":"1391821592","filename":"file5"},{"photo_id":"1391821580","filename":"file2"},{"photo_id":"1391821589","filename":"file4"},{"photo_id":"1391821578","filename":"file1"},{"photo_id":"1391821574","filename":"file0"},{"photo_id":"1391821585","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391821585":["hashtag1","hashtag2"]},{"1391821578":["hashtag1","hashtag2"]},{"1391821592":["hashtag1","hashtag2"]},{"1391821589":["hashtag1","hashtag2"]},{"1391821580":["hashtag1","hashtag2"]},{"1391821574":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391821585, 1391821578, 1391821592, 1391821589, 1391821580, 1391821574)","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: 72.69876670837402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:15:22.342440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_43_2827.jpg', '/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_45_2561.jpg', '/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_49_3776.jpg', '/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_52_2698.jpg', '/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_55_2750.jpg', '/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_58_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/10/54/image_30102025_10_54_43_2827.jpg
/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_45_2561.jpg
/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_49_3776.jpg
/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_52_2698.jpg
/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_55_2750.jpg
/home/pi/Desktop/images/30102025/10/54/image_30102025_10_54_58_3612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391821634","1391821633","1391821641","1391821635","1391821638","1391821631"],"photo_ids_order":["1391821631","1391821633","1391821634","1391821635","1391821638","1391821641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/452a9babc86441b7d174317c0f51e627.jpg","text":"TemporaryFile(/tmp/multipartBody7107716200201970979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074985086,"filename":"image_30102025_10_54_49_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/2/0a2deac5913088362db9d42592ff4bca.jpg","text":"TemporaryFile(/tmp/multipartBody4773724926038908129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074985086,"filename":"image_30102025_10_54_45_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/2/7967df59f916247f258d015c5bbb86bd.jpg","text":"TemporaryFile(/tmp/multipartBody5848722457789491607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074985086,"filename":"image_30102025_10_54_58_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/2/46faa1d11b9b1457bc98a8af7a07cd91.jpg","text":"TemporaryFile(/tmp/multipartBody6691960700837446055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074985086,"filename":"image_30102025_10_54_52_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/2/28b92d1f871b7aa61789d00011f3e718.jpg","text":"TemporaryFile(/tmp/multipartBody1135025424614703030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074985086,"filename":"image_30102025_10_54_55_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/2/49b0d5736e4994bb64f748cba0d41b31.jpg","text":"TemporaryFile(/tmp/multipartBody3493768928986927891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762074985086,"filename":"image_30102025_10_54_43_2827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391821634","file1":"1391821633","file0":"1391821631","file4":"1391821638","file5":"1391821641","file3":"1391821635"},"map_files_photo_id_array":[{"photo_id":"1391821641","filename":"file5"},{"photo_id":"1391821634","filename":"file2"},{"photo_id":"1391821638","filename":"file4"},{"photo_id":"1391821633","filename":"file1"},{"photo_id":"1391821631","filename":"file0"},{"photo_id":"1391821635","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391821634":["hashtag1","hashtag2"]},{"1391821633":["hashtag1","hashtag2"]},{"1391821641":["hashtag1","hashtag2"]},{"1391821635":["hashtag1","hashtag2"]},{"1391821638":["hashtag1","hashtag2"]},{"1391821631":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391821634, 1391821633, 1391821641, 1391821635, 1391821638, 1391821631)","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.91287112236023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 10:16:43.442984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/56/image_30102025_10_56_07_3011.jpg', '/home/pi/Desktop/images/30102025/10/56/image_30102025_10_56_14_1690.jpg', '/home/pi/Desktop/images/30102025/10/56/image_30102025_10_56_20_2694.jpg', '/home/pi/Desktop/images/30102025/10/56/image_30102025_10_56_23_2710.jpg', '/home/pi/Desktop/images/30102025/10/56/image_30102025_10_56_41_2698.jpg', '/home/pi/Desktop/images/30102025/10/56/image_30102025_10_56_44_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/10/56/image_30102025_10_56_07_3011.jpg
/home/pi/Desktop/images/30102025/10/56/image_30102025_10_56_14_1690.jpg
/home/pi/Desktop/images/30102025/10/56/image_30102025_10_56_20_2694.jpg
/home/pi/Desktop/images/30102025/10/56/image_30102025_10_56_23_2710.jpg
/home/pi/Desktop/images/30102025/10/56/image_30102025_10_56_41_2698.jpg
/home/pi/Desktop/images/30102025/10/56/image_30102025_10_56_44_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":["1391821724","1391821703","1391821723","1391821672","1391821716","1391821719"],"photo_ids_order":["1391821672","1391821703","1391821716","1391821719","1391821723","1391821724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/534593535c029bfdfbf10054671f2456.jpg","text":"TemporaryFile(/tmp/multipartBody554678706897634644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075072407,"filename":"image_30102025_10_56_44_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/2/610121527dd82db5261320ceafc0c7fc.jpg","text":"TemporaryFile(/tmp/multipartBody3530493450024140252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075072407,"filename":"image_30102025_10_56_14_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/658b3405603229f045bc8da1d98df6a9.jpg","text":"TemporaryFile(/tmp/multipartBody3688561620739528079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075072407,"filename":"image_30102025_10_56_41_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/2/e1c57ed3652cb53eb6b7b9b3ee20ae5b.jpg","text":"TemporaryFile(/tmp/multipartBody2574538494906235246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075072407,"filename":"image_30102025_10_56_07_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/2/2b969f1d58e562c4ebf20b80d71aae17.jpg","text":"TemporaryFile(/tmp/multipartBody2387847122138233666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075072407,"filename":"image_30102025_10_56_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/2/e63c35d2979c7a952f253a0d073c2fd0.jpg","text":"TemporaryFile(/tmp/multipartBody7697311874400632600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075072407,"filename":"image_30102025_10_56_23_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391821716","file1":"1391821703","file0":"1391821672","file4":"1391821723","file5":"1391821724","file3":"1391821719"},"map_files_photo_id_array":[{"photo_id":"1391821724","filename":"file5"},{"photo_id":"1391821716","filename":"file2"},{"photo_id":"1391821723","filename":"file4"},{"photo_id":"1391821703","filename":"file1"},{"photo_id":"1391821672","filename":"file0"},{"photo_id":"1391821719","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391821724":["hashtag1","hashtag2"]},{"1391821703":["hashtag1","hashtag2"]},{"1391821723":["hashtag1","hashtag2"]},{"1391821672":["hashtag1","hashtag2"]},{"1391821716":["hashtag1","hashtag2"]},{"1391821719":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391821724, 1391821703, 1391821723, 1391821672, 1391821716, 1391821719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.18855857849121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 10:17:42.467038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/56/image_30102025_10_56_52_1634.jpg', '/home/pi/Desktop/images/30102025/10/56/image_30102025_10_56_53_1689.jpg', '/home/pi/Desktop/images/30102025/10/56/image_30102025_10_56_56_2806.jpg', '/home/pi/Desktop/images/30102025/10/56/image_30102025_10_56_59_2642.jpg', '/home/pi/Desktop/images/30102025/10/57/image_30102025_10_57_13_1761.jpg', '/home/pi/Desktop/images/30102025/10/57/image_30102025_10_57_15_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/10/56/image_30102025_10_56_52_1634.jpg
/home/pi/Desktop/images/30102025/10/56/image_30102025_10_56_53_1689.jpg
/home/pi/Desktop/images/30102025/10/56/image_30102025_10_56_56_2806.jpg
/home/pi/Desktop/images/30102025/10/56/image_30102025_10_56_59_2642.jpg
/home/pi/Desktop/images/30102025/10/57/image_30102025_10_57_13_1761.jpg
/home/pi/Desktop/images/30102025/10/57/image_30102025_10_57_15_1693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391821741","1391821738","1391821732","1391821767","1391821761","1391821745"],"photo_ids_order":["1391821732","1391821738","1391821741","1391821745","1391821761","1391821767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3c4d65bb3dcdc806d296c637c9509291.jpg","text":"TemporaryFile(/tmp/multipartBody1302443902338738534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075123592,"filename":"image_30102025_10_56_56_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/2/7a44a9314a96d71429bc9789b84e17a4.jpg","text":"TemporaryFile(/tmp/multipartBody8064125165161048861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075123592,"filename":"image_30102025_10_56_53_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/2/a8e16cefbfa4ef3d90e885b0d020353d.jpg","text":"TemporaryFile(/tmp/multipartBody4057799190011303872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075123592,"filename":"image_30102025_10_56_52_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/2/92e9ff027c8644e157ce4c84022e125b.jpg","text":"TemporaryFile(/tmp/multipartBody4561413606201290932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075123592,"filename":"image_30102025_10_57_15_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/2/d5be48819557b594aa77ef99d03fdf6d.jpg","text":"TemporaryFile(/tmp/multipartBody1258437792156996842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075123592,"filename":"image_30102025_10_57_13_1761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/dabd6319ca361231b508b1c072bc2a5e.jpg","text":"TemporaryFile(/tmp/multipartBody5033831036925318188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075123592,"filename":"image_30102025_10_56_59_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391821741","file1":"1391821738","file0":"1391821732","file4":"1391821761","file5":"1391821767","file3":"1391821745"},"map_files_photo_id_array":[{"photo_id":"1391821767","filename":"file5"},{"photo_id":"1391821741","filename":"file2"},{"photo_id":"1391821761","filename":"file4"},{"photo_id":"1391821738","filename":"file1"},{"photo_id":"1391821732","filename":"file0"},{"photo_id":"1391821745","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391821741":["hashtag1","hashtag2"]},{"1391821738":["hashtag1","hashtag2"]},{"1391821732":["hashtag1","hashtag2"]},{"1391821767":["hashtag1","hashtag2"]},{"1391821761":["hashtag1","hashtag2"]},{"1391821745":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391821741, 1391821738, 1391821732, 1391821767, 1391821761, 1391821745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17229628562927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:18:22.597196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/57/image_30102025_10_57_16_1662.jpg', '/home/pi/Desktop/images/30102025/10/57/image_30102025_10_57_18_1828.jpg', '/home/pi/Desktop/images/30102025/10/57/image_30102025_10_57_20_1871.jpg', '/home/pi/Desktop/images/30102025/10/57/image_30102025_10_57_25_2756.jpg', '/home/pi/Desktop/images/30102025/10/57/image_30102025_10_57_29_3779.jpg', '/home/pi/Desktop/images/30102025/10/57/image_30102025_10_57_34_4987.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/57/image_30102025_10_57_16_1662.jpg
/home/pi/Desktop/images/30102025/10/57/image_30102025_10_57_18_1828.jpg
/home/pi/Desktop/images/30102025/10/57/image_30102025_10_57_20_1871.jpg
/home/pi/Desktop/images/30102025/10/57/image_30102025_10_57_25_2756.jpg
/home/pi/Desktop/images/30102025/10/57/image_30102025_10_57_29_3779.jpg
/home/pi/Desktop/images/30102025/10/57/image_30102025_10_57_34_4987.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391821792","1391821789","1391821780","1391821785","1391821773","1391821776"],"photo_ids_order":["1391821773","1391821776","1391821780","1391821785","1391821789","1391821792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7b98126a18a0025cc55613678bed8772.jpg","text":"TemporaryFile(/tmp/multipartBody4245335392419899931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075165308,"filename":"image_30102025_10_57_34_4987.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8a42c8275def0217c3198726154e371d.jpg","text":"TemporaryFile(/tmp/multipartBody8680709833989964993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075165308,"filename":"image_30102025_10_57_29_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/2/296b38ad840146f509eadc6d0b6b6107.jpg","text":"TemporaryFile(/tmp/multipartBody1580052933947332930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075165308,"filename":"image_30102025_10_57_20_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/2/b9334c6748643eb391da3ab50c6d8ed1.jpg","text":"TemporaryFile(/tmp/multipartBody6041370625315104057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075165308,"filename":"image_30102025_10_57_25_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/2/1f28ab3e67165985e225b6e79a3cd101.jpg","text":"TemporaryFile(/tmp/multipartBody255489753800325897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075165308,"filename":"image_30102025_10_57_16_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/2/c553038fa8b61a8fa480ffc7ac8f39d0.jpg","text":"TemporaryFile(/tmp/multipartBody1155652578184946619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075165308,"filename":"image_30102025_10_57_18_1828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391821780","file1":"1391821776","file0":"1391821773","file4":"1391821789","file5":"1391821792","file3":"1391821785"},"map_files_photo_id_array":[{"photo_id":"1391821792","filename":"file5"},{"photo_id":"1391821780","filename":"file2"},{"photo_id":"1391821789","filename":"file4"},{"photo_id":"1391821776","filename":"file1"},{"photo_id":"1391821773","filename":"file0"},{"photo_id":"1391821785","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391821792":["hashtag1","hashtag2"]},{"1391821789":["hashtag1","hashtag2"]},{"1391821780":["hashtag1","hashtag2"]},{"1391821785":["hashtag1","hashtag2"]},{"1391821773":["hashtag1","hashtag2"]},{"1391821776":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391821792, 1391821789, 1391821780, 1391821785, 1391821773, 1391821776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.716651916503906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 10:19:03.679604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/57/image_30102025_10_57_36_1611.jpg', '/home/pi/Desktop/images/30102025/10/57/image_30102025_10_57_46_2643.jpg', '/home/pi/Desktop/images/30102025/10/57/image_30102025_10_57_53_2629.jpg', '/home/pi/Desktop/images/30102025/10/57/image_30102025_10_57_59_3002.jpg', '/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_02_2679.jpg', '/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_04_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/10/57/image_30102025_10_57_36_1611.jpg
/home/pi/Desktop/images/30102025/10/57/image_30102025_10_57_46_2643.jpg
/home/pi/Desktop/images/30102025/10/57/image_30102025_10_57_53_2629.jpg
/home/pi/Desktop/images/30102025/10/57/image_30102025_10_57_59_3002.jpg
/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_02_2679.jpg
/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_04_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":["1391821814","1391821810","1391821804","1391821807","1391821801","1391821812"],"photo_ids_order":["1391821801","1391821804","1391821807","1391821810","1391821812","1391821814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9cfd3f264d45790a68e76fbaeab1f877.jpg","text":"TemporaryFile(/tmp/multipartBody1633219131103994928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075210406,"filename":"image_30102025_10_58_04_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/2/37f4715404e35825c64d31c3bc43b595.jpg","text":"TemporaryFile(/tmp/multipartBody2057075944868593971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075210406,"filename":"image_30102025_10_57_59_3002.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/321a919eedd1f49d90fb80244b917a04.jpg","text":"TemporaryFile(/tmp/multipartBody3956057705088610133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075210406,"filename":"image_30102025_10_57_46_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/2/6687b484bfed8f56cc0535875ff34276.jpg","text":"TemporaryFile(/tmp/multipartBody696765625871358907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075210406,"filename":"image_30102025_10_57_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/2/d090e9602104a16f3913c0ab6491ef52.jpg","text":"TemporaryFile(/tmp/multipartBody6450611733140385176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075210406,"filename":"image_30102025_10_57_36_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/2/a9b99314de0b2cd5d441406fe050de8c.jpg","text":"TemporaryFile(/tmp/multipartBody6361430241140959596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075210406,"filename":"image_30102025_10_58_02_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391821807","file1":"1391821804","file0":"1391821801","file4":"1391821812","file5":"1391821814","file3":"1391821810"},"map_files_photo_id_array":[{"photo_id":"1391821814","filename":"file5"},{"photo_id":"1391821807","filename":"file2"},{"photo_id":"1391821812","filename":"file4"},{"photo_id":"1391821804","filename":"file1"},{"photo_id":"1391821801","filename":"file0"},{"photo_id":"1391821810","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391821814":["hashtag1","hashtag2"]},{"1391821810":["hashtag1","hashtag2"]},{"1391821804":["hashtag1","hashtag2"]},{"1391821807":["hashtag1","hashtag2"]},{"1391821801":["hashtag1","hashtag2"]},{"1391821812":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391821814, 1391821810, 1391821804, 1391821807, 1391821801, 1391821812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.224836587905884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 10:20:02.397249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_08_3766.jpg', '/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_12_3364.jpg', '/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_13_1915.jpg', '/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_23_2582.jpg', '/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_25_2746.jpg', '/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_29_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_08_3766.jpg
/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_12_3364.jpg
/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_13_1915.jpg
/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_23_2582.jpg
/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_25_2746.jpg
/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_29_3626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391821832","1391821829","1391821831","1391821828","1391821830","1391821824"],"photo_ids_order":["1391821824","1391821828","1391821829","1391821830","1391821831","1391821832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b04ef4c4407faf0c414741e80f9625df.jpg","text":"TemporaryFile(/tmp/multipartBody347592500192655840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075264509,"filename":"image_30102025_10_58_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/2/e571e80bdf4f3e2aa2ebc50dff502b2e.jpg","text":"TemporaryFile(/tmp/multipartBody8850996046414491744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075264509,"filename":"image_30102025_10_58_13_1915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3287459b081ebeef02a4cbce827733d2.jpg","text":"TemporaryFile(/tmp/multipartBody5858632050783160454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075264509,"filename":"image_30102025_10_58_25_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/2/61452ffec4eda263179f43c85324e4f9.jpg","text":"TemporaryFile(/tmp/multipartBody4294882843451983536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075264509,"filename":"image_30102025_10_58_12_3364.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8a2c742907a825ded536fa7ec03d3193.jpg","text":"TemporaryFile(/tmp/multipartBody2295560479856157310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075264509,"filename":"image_30102025_10_58_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/2/84bd39e04ac232bfe915e7647fc40950.jpg","text":"TemporaryFile(/tmp/multipartBody239210504172374049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075264509,"filename":"image_30102025_10_58_08_3766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391821829","file1":"1391821828","file0":"1391821824","file4":"1391821831","file5":"1391821832","file3":"1391821830"},"map_files_photo_id_array":[{"photo_id":"1391821832","filename":"file5"},{"photo_id":"1391821829","filename":"file2"},{"photo_id":"1391821831","filename":"file4"},{"photo_id":"1391821828","filename":"file1"},{"photo_id":"1391821824","filename":"file0"},{"photo_id":"1391821830","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391821832":["hashtag1","hashtag2"]},{"1391821829":["hashtag1","hashtag2"]},{"1391821831":["hashtag1","hashtag2"]},{"1391821828":["hashtag1","hashtag2"]},{"1391821830":["hashtag1","hashtag2"]},{"1391821824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391821832, 1391821829, 1391821831, 1391821828, 1391821830, 1391821824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40276885032654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 10:20:41.908218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_32_2676.jpg', '/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_34_2701.jpg', '/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_37_2852.jpg', '/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_41_3843.jpg', '/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_44_2894.jpg', '/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_47_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/10/58/image_30102025_10_58_32_2676.jpg
/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_34_2701.jpg
/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_37_2852.jpg
/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_41_3843.jpg
/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_44_2894.jpg
/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_47_2712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391821852","1391821849","1391821846","1391821854","1391821857","1391821842"],"photo_ids_order":["1391821842","1391821846","1391821849","1391821852","1391821854","1391821857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a2436fd98a20c5872e0a8fbe71de1231.jpg","text":"TemporaryFile(/tmp/multipartBody1967840872807453348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075303041,"filename":"image_30102025_10_58_41_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/2/8648018f35b61f70b5cea4fc5b764752.jpg","text":"TemporaryFile(/tmp/multipartBody3611985885097950123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075303041,"filename":"image_30102025_10_58_37_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/2/23c9705acf8444e945f4ba6b843124ff.jpg","text":"TemporaryFile(/tmp/multipartBody2436567826370724558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075303041,"filename":"image_30102025_10_58_34_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/2/3fa901d246fc65fb3f40bd20e8d19bfa.jpg","text":"TemporaryFile(/tmp/multipartBody4718227499859224739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075303041,"filename":"image_30102025_10_58_44_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/2/b95c42d7641349c482b02441153e6f09.jpg","text":"TemporaryFile(/tmp/multipartBody3390942652247053322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075303041,"filename":"image_30102025_10_58_47_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/2/64a0df9da68425d66db1a710d8bab850.jpg","text":"TemporaryFile(/tmp/multipartBody4023684081897990141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075303041,"filename":"image_30102025_10_58_32_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391821849","file1":"1391821846","file0":"1391821842","file4":"1391821854","file5":"1391821857","file3":"1391821852"},"map_files_photo_id_array":[{"photo_id":"1391821857","filename":"file5"},{"photo_id":"1391821849","filename":"file2"},{"photo_id":"1391821854","filename":"file4"},{"photo_id":"1391821846","filename":"file1"},{"photo_id":"1391821842","filename":"file0"},{"photo_id":"1391821852","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391821852":["hashtag1","hashtag2"]},{"1391821849":["hashtag1","hashtag2"]},{"1391821846":["hashtag1","hashtag2"]},{"1391821854":["hashtag1","hashtag2"]},{"1391821857":["hashtag1","hashtag2"]},{"1391821842":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391821852, 1391821849, 1391821846, 1391821854, 1391821857, 1391821842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.44979929924011 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-02 10:21:42.113265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_49_2597.jpg', '/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_53_3671.jpg', '/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_56_2613.jpg', '/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_58_2749.jpg', '/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_01_2895.jpg', '/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_05_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_49_2597.jpg
/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_53_3671.jpg
/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_56_2613.jpg
/home/pi/Desktop/images/30102025/10/58/image_30102025_10_58_58_2749.jpg
/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_01_2895.jpg
/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_05_3721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391821873","1391821981","1391821939","1391821881","1391821878","1391821898"],"photo_ids_order":["1391821873","1391821878","1391821881","1391821898","1391821939","1391821981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3235ca2ce5a3fa8658f2f64d61cc93bd.jpg","text":"TemporaryFile(/tmp/multipartBody3712523756537251156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075363284,"filename":"image_30102025_10_58_49_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/2/611d25428407eb98878934662069e160.jpg","text":"TemporaryFile(/tmp/multipartBody1792328256946127675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075363284,"filename":"image_30102025_10_59_05_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/2/4696a6c3fde3d9a4c878eac782810c3f.jpg","text":"TemporaryFile(/tmp/multipartBody5714541693567958096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075363284,"filename":"image_30102025_10_59_01_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/2/17081867f9037a306dbb994292a76e66.jpg","text":"TemporaryFile(/tmp/multipartBody6888053988798091584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075363284,"filename":"image_30102025_10_58_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/2/24157dfe6b2828e1bda49bb3f96c3e6d.jpg","text":"TemporaryFile(/tmp/multipartBody4596353512790149715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075363284,"filename":"image_30102025_10_58_53_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/2/1021a97e5ccfa1e8242a90e0a7658d57.jpg","text":"TemporaryFile(/tmp/multipartBody6076223551592082924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075363284,"filename":"image_30102025_10_58_58_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391821881","file1":"1391821878","file0":"1391821873","file4":"1391821939","file5":"1391821981","file3":"1391821898"},"map_files_photo_id_array":[{"photo_id":"1391821981","filename":"file5"},{"photo_id":"1391821881","filename":"file2"},{"photo_id":"1391821939","filename":"file4"},{"photo_id":"1391821878","filename":"file1"},{"photo_id":"1391821873","filename":"file0"},{"photo_id":"1391821898","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391821873":["hashtag1","hashtag2"]},{"1391821981":["hashtag1","hashtag2"]},{"1391821939":["hashtag1","hashtag2"]},{"1391821881":["hashtag1","hashtag2"]},{"1391821878":["hashtag1","hashtag2"]},{"1391821898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391821873, 1391821981, 1391821939, 1391821881, 1391821878, 1391821898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45003843307495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:22:22.282287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_08_2632.jpg', '/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_10_2746.jpg', '/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_14_3671.jpg', '/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_17_2718.jpg', '/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_19_2642.jpg', '/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_23_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/10/59/image_30102025_10_59_08_2632.jpg
/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_10_2746.jpg
/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_14_3671.jpg
/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_17_2718.jpg
/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_19_2642.jpg
/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_23_3681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822188","1391822212","1391822149","1391822215","1391822222","1391822219"],"photo_ids_order":["1391822149","1391822188","1391822212","1391822215","1391822219","1391822222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fa3bda0a73ec27cd6f63424c850dbef4.jpg","text":"TemporaryFile(/tmp/multipartBody8887926640389689141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075404986,"filename":"image_30102025_10_59_10_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/2/ffd0798f76e59e0bcd7987e33a15fbc0.jpg","text":"TemporaryFile(/tmp/multipartBody4024001725713759314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075404986,"filename":"image_30102025_10_59_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/2/bd3afc94f8cb20659e77093c94fb8297.jpg","text":"TemporaryFile(/tmp/multipartBody972277736328950864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075404986,"filename":"image_30102025_10_59_08_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/2/bc820a0cee6587ce7e2dc0ff0d7e20ef.jpg","text":"TemporaryFile(/tmp/multipartBody5339425660298216017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075404986,"filename":"image_30102025_10_59_17_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/2/310195ca74148b31c4fd1e037d60edb5.jpg","text":"TemporaryFile(/tmp/multipartBody7104369070399246160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075404986,"filename":"image_30102025_10_59_23_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/2/b7e226817d7b0107bede704ebf92c83c.jpg","text":"TemporaryFile(/tmp/multipartBody734273267763590967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075404986,"filename":"image_30102025_10_59_19_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822212","file1":"1391822188","file0":"1391822149","file4":"1391822219","file5":"1391822222","file3":"1391822215"},"map_files_photo_id_array":[{"photo_id":"1391822222","filename":"file5"},{"photo_id":"1391822212","filename":"file2"},{"photo_id":"1391822219","filename":"file4"},{"photo_id":"1391822188","filename":"file1"},{"photo_id":"1391822149","filename":"file0"},{"photo_id":"1391822215","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822188":["hashtag1","hashtag2"]},{"1391822212":["hashtag1","hashtag2"]},{"1391822149":["hashtag1","hashtag2"]},{"1391822215":["hashtag1","hashtag2"]},{"1391822222":["hashtag1","hashtag2"]},{"1391822219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822188, 1391822212, 1391822149, 1391822215, 1391822222, 1391822219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00055480003357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 10:23:03.065177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_26_2977.jpg', '/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_29_2600.jpg', '/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_31_2656.jpg', '/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_40_2679.jpg', '/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_56_2727.jpg', '/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_58_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/10/59/image_30102025_10_59_26_2977.jpg
/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_29_2600.jpg
/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_31_2656.jpg
/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_40_2679.jpg
/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_56_2727.jpg
/home/pi/Desktop/images/30102025/10/59/image_30102025_10_59_58_2654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822236","1391822232","1391822229","1391822240","1391822234","1391822243"],"photo_ids_order":["1391822229","1391822232","1391822234","1391822236","1391822240","1391822243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2ba1abda886a627e5a73cc3f59792e2e.jpg","text":"TemporaryFile(/tmp/multipartBody5787009998490708778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075445261,"filename":"image_30102025_10_59_40_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/2/d299a23d102eedc20aaada31ac30e243.jpg","text":"TemporaryFile(/tmp/multipartBody1100669060673127875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075445261,"filename":"image_30102025_10_59_29_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/2/707f7d70ee70bdca05391ae5624b90fa.jpg","text":"TemporaryFile(/tmp/multipartBody7090946997383082698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075445261,"filename":"image_30102025_10_59_26_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/2/c1bc0b5d1793f8a98beb7d4d65c0c433.jpg","text":"TemporaryFile(/tmp/multipartBody3033715120472099265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075445261,"filename":"image_30102025_10_59_56_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/2/d005d90985455d92093a4e8df9c9abb5.jpg","text":"TemporaryFile(/tmp/multipartBody2709601098581811003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075445261,"filename":"image_30102025_10_59_31_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/2/116d8387c8251dd2e87c8ae691a34e3d.jpg","text":"TemporaryFile(/tmp/multipartBody8921137882800848717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075445261,"filename":"image_30102025_10_59_58_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822234","file1":"1391822232","file0":"1391822229","file4":"1391822240","file5":"1391822243","file3":"1391822236"},"map_files_photo_id_array":[{"photo_id":"1391822243","filename":"file5"},{"photo_id":"1391822234","filename":"file2"},{"photo_id":"1391822240","filename":"file4"},{"photo_id":"1391822232","filename":"file1"},{"photo_id":"1391822229","filename":"file0"},{"photo_id":"1391822236","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822236":["hashtag1","hashtag2"]},{"1391822232":["hashtag1","hashtag2"]},{"1391822229":["hashtag1","hashtag2"]},{"1391822240":["hashtag1","hashtag2"]},{"1391822234":["hashtag1","hashtag2"]},{"1391822243":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822236, 1391822232, 1391822229, 1391822240, 1391822234, 1391822243)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.40020680427551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 10:24:02.372155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_07_3015.jpg', '/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_11_3716.jpg', '/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_16_2790.jpg', '/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_23_2574.jpg', '/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_29_3654.jpg', '/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_32_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/11/01/image_30102025_11_01_07_3015.jpg
/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_11_3716.jpg
/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_16_2790.jpg
/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_23_2574.jpg
/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_29_3654.jpg
/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_32_2690.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.269387722015381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:24:21.762452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_07_3015.jpg', '/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_11_3716.jpg', '/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_16_2790.jpg', '/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_23_2574.jpg', '/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_29_3654.jpg', '/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_32_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/11/01/image_30102025_11_01_07_3015.jpg
/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_11_3716.jpg
/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_16_2790.jpg
/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_23_2574.jpg
/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_29_3654.jpg
/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_32_2690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822281","1391822278","1391822274","1391822283","1391822277","1391822279"],"photo_ids_order":["1391822274","1391822277","1391822278","1391822279","1391822281","1391822283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a3424dff3206509bb4c1526c1e7a8eb3.jpg","text":"TemporaryFile(/tmp/multipartBody3002075870893304078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075524349,"filename":"image_30102025_11_01_29_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/2/9a10358ecfb340cd8712fcc9274303a7.jpg","text":"TemporaryFile(/tmp/multipartBody3256265746181583254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075524349,"filename":"image_30102025_11_01_16_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/2/03a055645b244d23a6ce0a3b7609a70a.jpg","text":"TemporaryFile(/tmp/multipartBody7065653954534311591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075524349,"filename":"image_30102025_11_01_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/2/283810694b0139acbf121aad00c1e48b.jpg","text":"TemporaryFile(/tmp/multipartBody7489483290806772093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075524349,"filename":"image_30102025_11_01_32_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/2/2650e0b8e1a5e21c3343bc63cb802f69.jpg","text":"TemporaryFile(/tmp/multipartBody868025402961452342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075524349,"filename":"image_30102025_11_01_11_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/2/7acd12761a9de363a7856d1cb0102cdc.jpg","text":"TemporaryFile(/tmp/multipartBody818807912423229068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075524349,"filename":"image_30102025_11_01_23_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822278","file1":"1391822277","file0":"1391822274","file4":"1391822281","file5":"1391822283","file3":"1391822279"},"map_files_photo_id_array":[{"photo_id":"1391822283","filename":"file5"},{"photo_id":"1391822278","filename":"file2"},{"photo_id":"1391822281","filename":"file4"},{"photo_id":"1391822277","filename":"file1"},{"photo_id":"1391822274","filename":"file0"},{"photo_id":"1391822279","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822281":["hashtag1","hashtag2"]},{"1391822278":["hashtag1","hashtag2"]},{"1391822274":["hashtag1","hashtag2"]},{"1391822283":["hashtag1","hashtag2"]},{"1391822277":["hashtag1","hashtag2"]},{"1391822279":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822281, 1391822278, 1391822274, 1391822283, 1391822277, 1391822279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.42750573158264 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-02 10:25:22.897050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_34_2683.jpg', '/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_38_3591.jpg', '/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_41_2717.jpg', '/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_43_2780.jpg', '/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_47_3684.jpg', '/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_50_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/11/01/image_30102025_11_01_34_2683.jpg
/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_38_3591.jpg
/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_41_2717.jpg
/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_43_2780.jpg
/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_47_3684.jpg
/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_50_2606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822296","1391822308","1391822298","1391822304","1391822313","1391822301"],"photo_ids_order":["1391822296","1391822298","1391822301","1391822304","1391822308","1391822313"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cfd69bb3be6dc57d28dd4e2a0a55d291.jpg","text":"TemporaryFile(/tmp/multipartBody4210639516548545161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075585739,"filename":"image_30102025_11_01_34_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/2/52a64a5518b825c7adea04ae25694216.jpg","text":"TemporaryFile(/tmp/multipartBody1229764908693960885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075585739,"filename":"image_30102025_11_01_47_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/2/047bc888931d8ee017b724dc939f9ad5.jpg","text":"TemporaryFile(/tmp/multipartBody2811434992780497048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075585739,"filename":"image_30102025_11_01_38_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/2/ff71712094f666f55f9b5d593eab9efa.jpg","text":"TemporaryFile(/tmp/multipartBody5955938394100813212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075585739,"filename":"image_30102025_11_01_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/2/eb4d3756e5b3b8a50f5b39c790a946f8.jpg","text":"TemporaryFile(/tmp/multipartBody5196506552754413690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075585739,"filename":"image_30102025_11_01_50_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/2/e5d4d775c6f1485df39305745a21d98c.jpg","text":"TemporaryFile(/tmp/multipartBody5455571512963762508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075585739,"filename":"image_30102025_11_01_41_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822301","file1":"1391822298","file0":"1391822296","file4":"1391822308","file5":"1391822313","file3":"1391822304"},"map_files_photo_id_array":[{"photo_id":"1391822313","filename":"file5"},{"photo_id":"1391822301","filename":"file2"},{"photo_id":"1391822308","filename":"file4"},{"photo_id":"1391822298","filename":"file1"},{"photo_id":"1391822296","filename":"file0"},{"photo_id":"1391822304","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822296":["hashtag1","hashtag2"]},{"1391822308":["hashtag1","hashtag2"]},{"1391822298":["hashtag1","hashtag2"]},{"1391822304":["hashtag1","hashtag2"]},{"1391822313":["hashtag1","hashtag2"]},{"1391822301":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822296, 1391822308, 1391822298, 1391822304, 1391822313, 1391822301)","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 = 1391822301 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_41_2717.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 59.266337394714355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:26:27.441922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_52_2675.jpg', '/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_56_3673.jpg', '/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_59_2603.jpg', '/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_05_3642.jpg', '/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_08_2705.jpg', '/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_10_2555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_52_2675.jpg
/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_56_3673.jpg
/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_59_2603.jpg
/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_05_3642.jpg
/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_08_2705.jpg
/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_10_2555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822356","1391822350","1391822353","1391822355","1391822345","1391822348"],"photo_ids_order":["1391822345","1391822348","1391822350","1391822353","1391822355","1391822356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/dc0a0a47de5260560c808105aff6fc17.jpg","text":"TemporaryFile(/tmp/multipartBody8350845850244834717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075650160,"filename":"image_30102025_11_02_10_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/2/b34387e37408ad5ad287bf358fe48a14.jpg","text":"TemporaryFile(/tmp/multipartBody6480975468443211276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075650160,"filename":"image_30102025_11_01_59_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/2/584c2dbb3a17eb81be5236041216a84a.jpg","text":"TemporaryFile(/tmp/multipartBody373441778932234772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075650160,"filename":"image_30102025_11_02_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/2/4ea83aeb55033d1d4634f099fc36d9c2.jpg","text":"TemporaryFile(/tmp/multipartBody4125020825528069559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075650160,"filename":"image_30102025_11_02_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/2/5cd75a56e4858712cf028ccfa8e3853b.jpg","text":"TemporaryFile(/tmp/multipartBody3881227719391732651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075650160,"filename":"image_30102025_11_01_52_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/2/0904e94d1c1ccc98059861bb8a602a82.jpg","text":"TemporaryFile(/tmp/multipartBody2768779042865038651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075650160,"filename":"image_30102025_11_01_56_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822350","file1":"1391822348","file0":"1391822345","file4":"1391822355","file5":"1391822356","file3":"1391822353"},"map_files_photo_id_array":[{"photo_id":"1391822356","filename":"file5"},{"photo_id":"1391822350","filename":"file2"},{"photo_id":"1391822355","filename":"file4"},{"photo_id":"1391822348","filename":"file1"},{"photo_id":"1391822345","filename":"file0"},{"photo_id":"1391822353","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822356":["hashtag1","hashtag2"]},{"1391822350":["hashtag1","hashtag2"]},{"1391822353":["hashtag1","hashtag2"]},{"1391822355":["hashtag1","hashtag2"]},{"1391822345":["hashtag1","hashtag2"]},{"1391822348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822356, 1391822350, 1391822353, 1391822355, 1391822345, 1391822348)","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 = 1391822350 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_59_2603.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391822350 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_59_2603.jpg";
uploaded 6 photos
time to upload: 67.02232480049133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 10:27:46.910078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_52_2675.jpg', '/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_56_3673.jpg', '/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_59_2603.jpg', '/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_05_3642.jpg', '/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_08_2705.jpg', '/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_10_2555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_52_2675.jpg
/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_56_3673.jpg
/home/pi/Desktop/images/30102025/11/01/image_30102025_11_01_59_2603.jpg
/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_05_3642.jpg
/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_08_2705.jpg
/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_10_2555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822383","1391822391","1391822385","1391822394","1391822388","1391822381"],"photo_ids_order":["1391822381","1391822383","1391822385","1391822388","1391822391","1391822394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2a7b38b1a7c8f929021fb81909a43b3b.jpg","text":"TemporaryFile(/tmp/multipartBody3292451207391875273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075727855,"filename":"image_30102025_11_01_56_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/2/34b19f5eb441ddbd9d6ea40042961afa.jpg","text":"TemporaryFile(/tmp/multipartBody6901602475769960039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075727855,"filename":"image_30102025_11_02_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/2/a2746f22dadc4e01a8b20b21a11e3a75.jpg","text":"TemporaryFile(/tmp/multipartBody313622831017967389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075727855,"filename":"image_30102025_11_01_59_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/2/990d5fc2697db5a4ad07db10163a64cb.jpg","text":"TemporaryFile(/tmp/multipartBody4496156185395422808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075727855,"filename":"image_30102025_11_02_10_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/2/cd909cc08b6016e0c568e3ab26f60af8.jpg","text":"TemporaryFile(/tmp/multipartBody2200891781473995477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075727855,"filename":"image_30102025_11_02_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/2/8405c29406bbf67a4e0efa831da26948.jpg","text":"TemporaryFile(/tmp/multipartBody3688916612969413828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075727855,"filename":"image_30102025_11_01_52_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822385","file1":"1391822383","file0":"1391822381","file4":"1391822391","file5":"1391822394","file3":"1391822388"},"map_files_photo_id_array":[{"photo_id":"1391822394","filename":"file5"},{"photo_id":"1391822385","filename":"file2"},{"photo_id":"1391822391","filename":"file4"},{"photo_id":"1391822383","filename":"file1"},{"photo_id":"1391822381","filename":"file0"},{"photo_id":"1391822388","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822383":["hashtag1","hashtag2"]},{"1391822391":["hashtag1","hashtag2"]},{"1391822385":["hashtag1","hashtag2"]},{"1391822394":["hashtag1","hashtag2"]},{"1391822388":["hashtag1","hashtag2"]},{"1391822381":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822383, 1391822391, 1391822385, 1391822394, 1391822388, 1391822381)","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: 110.30151796340942 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 10:29:45.657448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_14_3797.jpg', '/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_17_2730.jpg', '/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_19_2690.jpg', '/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_23_3587.jpg', '/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_26_2636.jpg', '/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_32_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/11/02/image_30102025_11_02_14_3797.jpg
/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_17_2730.jpg
/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_19_2690.jpg
/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_23_3587.jpg
/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_26_2636.jpg
/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_32_3691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>8ba1iapkg</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>8ba1iapkg</strong>.
uploaded 0 photos
time to upload: 61.74412512779236 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-02 10:31:02.855666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_14_3797.jpg', '/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_17_2730.jpg', '/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_19_2690.jpg', '/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_23_3587.jpg', '/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_26_2636.jpg', '/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_32_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/11/02/image_30102025_11_02_14_3797.jpg
/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_17_2730.jpg
/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_19_2690.jpg
/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_23_3587.jpg
/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_26_2636.jpg
/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_32_3691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822455","1391822452","1391822472","1391822463","1391822457","1391822459"],"photo_ids_order":["1391822452","1391822455","1391822457","1391822459","1391822463","1391822472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9c7dcb6ecbafb6cde2069b21195e72c2.jpg","text":"TemporaryFile(/tmp/multipartBody8841009619155429145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075924835,"filename":"image_30102025_11_02_17_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/2/cce267fcc8d58274bb2a489579283b32.jpg","text":"TemporaryFile(/tmp/multipartBody4298806197062067080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075924835,"filename":"image_30102025_11_02_14_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/2/fcea23573ba9a00873368caa10540566.jpg","text":"TemporaryFile(/tmp/multipartBody346832854120889392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075924835,"filename":"image_30102025_11_02_32_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/2/c507260065187f2f0d8d3892bec94dbb.jpg","text":"TemporaryFile(/tmp/multipartBody1599694464881019659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075924835,"filename":"image_30102025_11_02_26_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/2/8fc77f88ac80d6210e2f61eec0a033c2.jpg","text":"TemporaryFile(/tmp/multipartBody4350074796956388610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075924835,"filename":"image_30102025_11_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/2/e6fe27fc3b6cdc79c048840aec2da3c3.jpg","text":"TemporaryFile(/tmp/multipartBody6864224749536592175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075924835,"filename":"image_30102025_11_02_23_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822457","file1":"1391822455","file0":"1391822452","file4":"1391822463","file5":"1391822472","file3":"1391822459"},"map_files_photo_id_array":[{"photo_id":"1391822472","filename":"file5"},{"photo_id":"1391822457","filename":"file2"},{"photo_id":"1391822463","filename":"file4"},{"photo_id":"1391822455","filename":"file1"},{"photo_id":"1391822452","filename":"file0"},{"photo_id":"1391822459","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822455":["hashtag1","hashtag2"]},{"1391822452":["hashtag1","hashtag2"]},{"1391822472":["hashtag1","hashtag2"]},{"1391822463":["hashtag1","hashtag2"]},{"1391822457":["hashtag1","hashtag2"]},{"1391822459":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822455, 1391822452, 1391822472, 1391822463, 1391822457, 1391822459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.044408321380615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 10:31:42.363370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_35_2677.jpg', '/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_40_2944.jpg', '/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_47_2728.jpg', '/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_49_2675.jpg', '/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_52_2881.jpg', '/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_56_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/11/02/image_30102025_11_02_35_2677.jpg
/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_40_2944.jpg
/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_47_2728.jpg
/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_49_2675.jpg
/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_52_2881.jpg
/home/pi/Desktop/images/30102025/11/02/image_30102025_11_02_56_3589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822510","1391822500","1391822503","1391822513","1391822507","1391822516"],"photo_ids_order":["1391822500","1391822503","1391822507","1391822510","1391822513","1391822516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ba1ea650af87a428d2aa21dfde14c7a4.jpg","text":"TemporaryFile(/tmp/multipartBody1760041455962302664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075963502,"filename":"image_30102025_11_02_49_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/2/baf0d75b1018d23e7c04c3a98b71bd37.jpg","text":"TemporaryFile(/tmp/multipartBody91258240044447506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075963502,"filename":"image_30102025_11_02_35_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/2/4d9394bdb345257c3ea0977ca531b2cc.jpg","text":"TemporaryFile(/tmp/multipartBody880970302557499237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075963502,"filename":"image_30102025_11_02_40_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/2/2dcd7491bbb268e75757b999b5e0ba74.jpg","text":"TemporaryFile(/tmp/multipartBody5201315169078822878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075963502,"filename":"image_30102025_11_02_52_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/2/178cf145240bdc9eb6c9c88e8fd8f935.jpg","text":"TemporaryFile(/tmp/multipartBody7926809202319778651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075963502,"filename":"image_30102025_11_02_47_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/2/bfe5c18cc9ed4276420d706ce008b319.jpg","text":"TemporaryFile(/tmp/multipartBody253318857423502363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762075963502,"filename":"image_30102025_11_02_56_3589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822507","file1":"1391822503","file0":"1391822500","file4":"1391822513","file5":"1391822516","file3":"1391822510"},"map_files_photo_id_array":[{"photo_id":"1391822516","filename":"file5"},{"photo_id":"1391822507","filename":"file2"},{"photo_id":"1391822513","filename":"file4"},{"photo_id":"1391822503","filename":"file1"},{"photo_id":"1391822500","filename":"file0"},{"photo_id":"1391822510","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822510":["hashtag1","hashtag2"]},{"1391822500":["hashtag1","hashtag2"]},{"1391822503":["hashtag1","hashtag2"]},{"1391822513":["hashtag1","hashtag2"]},{"1391822507":["hashtag1","hashtag2"]},{"1391822516":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822510, 1391822500, 1391822503, 1391822513, 1391822507, 1391822516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33895516395569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:32:22.479116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_08_2790.jpg', '/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_10_2611.jpg', '/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_23_3543.jpg', '/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_25_2710.jpg', '/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_28_2725.jpg', '/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_31_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/11/03/image_30102025_11_03_08_2790.jpg
/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_10_2611.jpg
/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_23_3543.jpg
/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_25_2710.jpg
/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_28_2725.jpg
/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_31_2793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822557","1391822536","1391822530","1391822527","1391822561","1391822546"],"photo_ids_order":["1391822527","1391822530","1391822536","1391822546","1391822557","1391822561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1bbe7903d50d377202a733fc5ed1d2f7.jpg","text":"TemporaryFile(/tmp/multipartBody8774536154403616000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076006951,"filename":"image_30102025_11_03_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/2/ebae9e39c23a652dbd42fa519b5caec1.jpg","text":"TemporaryFile(/tmp/multipartBody7571379173655309003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076006951,"filename":"image_30102025_11_03_23_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/2/0af7354cac556f68d6c5ab17a7e32e66.jpg","text":"TemporaryFile(/tmp/multipartBody4670226947966069094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076006951,"filename":"image_30102025_11_03_10_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/2/04b314d1bdc6fb5d44d1cf7b0f470824.jpg","text":"TemporaryFile(/tmp/multipartBody7717071212399274411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076006951,"filename":"image_30102025_11_03_08_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/2/9878c9c5b4ade884ba18e15f55b061b6.jpg","text":"TemporaryFile(/tmp/multipartBody9064161206745742242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076006951,"filename":"image_30102025_11_03_31_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/2/664a0c12287e7b999ec4b047083b9693.jpg","text":"TemporaryFile(/tmp/multipartBody7197453938820346527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076006951,"filename":"image_30102025_11_03_25_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822536","file1":"1391822530","file0":"1391822527","file4":"1391822557","file5":"1391822561","file3":"1391822546"},"map_files_photo_id_array":[{"photo_id":"1391822561","filename":"file5"},{"photo_id":"1391822536","filename":"file2"},{"photo_id":"1391822557","filename":"file4"},{"photo_id":"1391822530","filename":"file1"},{"photo_id":"1391822527","filename":"file0"},{"photo_id":"1391822546","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822557":["hashtag1","hashtag2"]},{"1391822536":["hashtag1","hashtag2"]},{"1391822530":["hashtag1","hashtag2"]},{"1391822527":["hashtag1","hashtag2"]},{"1391822561":["hashtag1","hashtag2"]},{"1391822546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822557, 1391822536, 1391822530, 1391822527, 1391822561, 1391822546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.13991928100586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 10:33:03.399097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_35_3932.jpg', '/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_38_2733.jpg', '/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_40_2674.jpg', '/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_43_2642.jpg', '/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_47_3687.jpg', '/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_52_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/11/03/image_30102025_11_03_35_3932.jpg
/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_38_2733.jpg
/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_40_2674.jpg
/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_43_2642.jpg
/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_47_3687.jpg
/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_52_2764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822593","1391822596","1391822595","1391822598","1391822588","1391822591"],"photo_ids_order":["1391822588","1391822591","1391822593","1391822595","1391822596","1391822598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9acdb55f40bba9e79cdbbbc3957327cf.jpg","text":"TemporaryFile(/tmp/multipartBody4632734337669369644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076045613,"filename":"image_30102025_11_03_40_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/2/316e6fdfd1a300d4496695a28bbcd46f.jpg","text":"TemporaryFile(/tmp/multipartBody7781097424664927492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076045613,"filename":"image_30102025_11_03_47_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/2/6bfbdc504d0fe2767af7c9afc2da5232.jpg","text":"TemporaryFile(/tmp/multipartBody1695525706872095735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076045613,"filename":"image_30102025_11_03_43_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/2/e9236ce90891268396314d577a57ddfd.jpg","text":"TemporaryFile(/tmp/multipartBody1743909391225692608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076045613,"filename":"image_30102025_11_03_52_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/2/af62948ef6d997ef635ed3a412c66a44.jpg","text":"TemporaryFile(/tmp/multipartBody8888308399187110849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076045613,"filename":"image_30102025_11_03_35_3932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/998678c54aed037e911409b7de489980.jpg","text":"TemporaryFile(/tmp/multipartBody45931701923505502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076045613,"filename":"image_30102025_11_03_38_2733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822593","file1":"1391822591","file0":"1391822588","file4":"1391822596","file5":"1391822598","file3":"1391822595"},"map_files_photo_id_array":[{"photo_id":"1391822598","filename":"file5"},{"photo_id":"1391822593","filename":"file2"},{"photo_id":"1391822596","filename":"file4"},{"photo_id":"1391822591","filename":"file1"},{"photo_id":"1391822588","filename":"file0"},{"photo_id":"1391822595","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822593":["hashtag1","hashtag2"]},{"1391822596":["hashtag1","hashtag2"]},{"1391822595":["hashtag1","hashtag2"]},{"1391822598":["hashtag1","hashtag2"]},{"1391822588":["hashtag1","hashtag2"]},{"1391822591":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822593, 1391822596, 1391822595, 1391822598, 1391822588, 1391822591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16864728927612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 10:33:42.672311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_56_3532.jpg', '/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_58_2695.jpg', '/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_02_3666.jpg', '/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_05_2645.jpg', '/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_08_3763.jpg', '/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_11_2551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_56_3532.jpg
/home/pi/Desktop/images/30102025/11/03/image_30102025_11_03_58_2695.jpg
/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_02_3666.jpg
/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_05_2645.jpg
/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_08_3763.jpg
/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_11_2551.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822618","1391822623","1391822614","1391822610","1391822606","1391822621"],"photo_ids_order":["1391822606","1391822610","1391822614","1391822618","1391822621","1391822623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/21beb59469906cf7eb1957818f13946f.jpg","text":"TemporaryFile(/tmp/multipartBody2789582122521326968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076083801,"filename":"image_30102025_11_04_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/2/266f1751f9cee11b2209ac149195994e.jpg","text":"TemporaryFile(/tmp/multipartBody7244578246264419044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076083801,"filename":"image_30102025_11_04_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/2/858606acfa833c4a77513c386f790f2a.jpg","text":"TemporaryFile(/tmp/multipartBody5969115901923929909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076083801,"filename":"image_30102025_11_04_02_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/2/583451570aed4f28fb3bd6e5d77d9db0.jpg","text":"TemporaryFile(/tmp/multipartBody8105867060178412258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076083801,"filename":"image_30102025_11_03_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/2/f386b3534f3100135fe2a62f00058c9f.jpg","text":"TemporaryFile(/tmp/multipartBody1921144407419621588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076083801,"filename":"image_30102025_11_03_56_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/2/6d9a69650cb3a1fc7283fc543803c879.jpg","text":"TemporaryFile(/tmp/multipartBody1330130864048655892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076083801,"filename":"image_30102025_11_04_08_3763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822614","file1":"1391822610","file0":"1391822606","file4":"1391822621","file5":"1391822623","file3":"1391822618"},"map_files_photo_id_array":[{"photo_id":"1391822623","filename":"file5"},{"photo_id":"1391822614","filename":"file2"},{"photo_id":"1391822621","filename":"file4"},{"photo_id":"1391822610","filename":"file1"},{"photo_id":"1391822606","filename":"file0"},{"photo_id":"1391822618","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822618":["hashtag1","hashtag2"]},{"1391822623":["hashtag1","hashtag2"]},{"1391822614":["hashtag1","hashtag2"]},{"1391822610":["hashtag1","hashtag2"]},{"1391822606":["hashtag1","hashtag2"]},{"1391822621":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822618, 1391822623, 1391822614, 1391822610, 1391822606, 1391822621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.240111351013184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:34:21.781685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_16_1681.jpg', '/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_20_3681.jpg', '/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_23_3311.jpg', '/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_26_2666.jpg', '/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_34_2592.jpg', '/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_37_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/11/04/image_30102025_11_04_16_1681.jpg
/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_20_3681.jpg
/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_23_3311.jpg
/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_26_2666.jpg
/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_34_2592.jpg
/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_37_2664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822638","1391822632","1391822634","1391822628","1391822630","1391822636"],"photo_ids_order":["1391822628","1391822630","1391822632","1391822634","1391822636","1391822638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/eda5290501fb2fab8679e2fbf3097a35.jpg","text":"TemporaryFile(/tmp/multipartBody7314820377855228353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076124503,"filename":"image_30102025_11_04_37_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/2/2bef3ec2c9acf1e4e8a0cb20180b22d1.jpg","text":"TemporaryFile(/tmp/multipartBody4453310314993014381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076124503,"filename":"image_30102025_11_04_23_3311.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/06ee21cc9314febecab0e206318049f4.jpg","text":"TemporaryFile(/tmp/multipartBody915237443324981722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076124503,"filename":"image_30102025_11_04_26_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/2/27148b7110cdba731439e53a5f3c14db.jpg","text":"TemporaryFile(/tmp/multipartBody8516595287179076521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076124503,"filename":"image_30102025_11_04_16_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/2/875904c1765bdfa83cfc336327ba4e9b.jpg","text":"TemporaryFile(/tmp/multipartBody5467867719751050194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076124503,"filename":"image_30102025_11_04_20_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/2/29f787cdfd3307d42d13a86494a9ae8c.jpg","text":"TemporaryFile(/tmp/multipartBody2822224089427741469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076124503,"filename":"image_30102025_11_04_34_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822632","file1":"1391822630","file0":"1391822628","file4":"1391822636","file5":"1391822638","file3":"1391822634"},"map_files_photo_id_array":[{"photo_id":"1391822638","filename":"file5"},{"photo_id":"1391822632","filename":"file2"},{"photo_id":"1391822636","filename":"file4"},{"photo_id":"1391822630","filename":"file1"},{"photo_id":"1391822628","filename":"file0"},{"photo_id":"1391822634","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822638":["hashtag1","hashtag2"]},{"1391822632":["hashtag1","hashtag2"]},{"1391822634":["hashtag1","hashtag2"]},{"1391822628":["hashtag1","hashtag2"]},{"1391822630":["hashtag1","hashtag2"]},{"1391822636":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822638, 1391822632, 1391822634, 1391822628, 1391822630, 1391822636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5236029624939 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 10:35:02.775333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_44_2615.jpg', '/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_46_2638.jpg', '/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_49_2688.jpg', '/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_07_3014.jpg', '/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_11_3631.jpg', '/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_14_2811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_44_2615.jpg
/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_46_2638.jpg
/home/pi/Desktop/images/30102025/11/04/image_30102025_11_04_49_2688.jpg
/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_07_3014.jpg
/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_11_3631.jpg
/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_14_2811.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822656","1391822650","1391822658","1391822652","1391822646","1391822654"],"photo_ids_order":["1391822646","1391822650","1391822652","1391822654","1391822656","1391822658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e6535745c1c291ec20fef167e9f9af09.jpg","text":"TemporaryFile(/tmp/multipartBody5544935781624645805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076165001,"filename":"image_30102025_11_05_11_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/2/61fee8e7c93a32a3f34765c541cfd912.jpg","text":"TemporaryFile(/tmp/multipartBody6571323609454770849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076165001,"filename":"image_30102025_11_04_46_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/2/e6fea2ea53b61f2c21549c55c47e446b.jpg","text":"TemporaryFile(/tmp/multipartBody6991756115592085315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076165001,"filename":"image_30102025_11_05_14_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/2/7aec4d779de6baa4b2b11107a8e42b6a.jpg","text":"TemporaryFile(/tmp/multipartBody3788191318482450365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076165001,"filename":"image_30102025_11_04_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/2/002c2224c858a2630935d86a2b923394.jpg","text":"TemporaryFile(/tmp/multipartBody3422343648036923219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076165001,"filename":"image_30102025_11_04_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/2/d0ece6177b4fc8f4c1232666f65a4a79.jpg","text":"TemporaryFile(/tmp/multipartBody35753872973503025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076165001,"filename":"image_30102025_11_05_07_3014.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822652","file1":"1391822650","file0":"1391822646","file4":"1391822656","file5":"1391822658","file3":"1391822654"},"map_files_photo_id_array":[{"photo_id":"1391822658","filename":"file5"},{"photo_id":"1391822652","filename":"file2"},{"photo_id":"1391822656","filename":"file4"},{"photo_id":"1391822650","filename":"file1"},{"photo_id":"1391822646","filename":"file0"},{"photo_id":"1391822654","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822656":["hashtag1","hashtag2"]},{"1391822650":["hashtag1","hashtag2"]},{"1391822658":["hashtag1","hashtag2"]},{"1391822652":["hashtag1","hashtag2"]},{"1391822646":["hashtag1","hashtag2"]},{"1391822654":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822656, 1391822650, 1391822658, 1391822652, 1391822646, 1391822654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.382251024246216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 10:35:42.110611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_17_2736.jpg', '/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_20_3670.jpg', '/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_23_2761.jpg', '/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_29_2591.jpg', '/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_32_3840.jpg', '/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_47_2552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_17_2736.jpg
/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_20_3670.jpg
/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_23_2761.jpg
/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_29_2591.jpg
/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_32_3840.jpg
/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_47_2552.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822674","1391822677","1391822669","1391822663","1391822672","1391822666"],"photo_ids_order":["1391822663","1391822666","1391822669","1391822672","1391822674","1391822677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b060a0384b543e55c8e360db3fca69cd.jpg","text":"TemporaryFile(/tmp/multipartBody1162205047941567509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076203257,"filename":"image_30102025_11_05_32_3840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/74171c1d1840005351c6adcb5a617631.jpg","text":"TemporaryFile(/tmp/multipartBody839245871901584955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076203257,"filename":"image_30102025_11_05_47_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/2/eddc7e8f64f458bb15f5971766d72ec0.jpg","text":"TemporaryFile(/tmp/multipartBody323977947458258312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076203257,"filename":"image_30102025_11_05_23_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/2/85b756a5fe24cb73554e63491b9b2a57.jpg","text":"TemporaryFile(/tmp/multipartBody5401346221929133810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076203257,"filename":"image_30102025_11_05_17_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/2/9ab3a9ceb56c97ebdf27a92d89484291.jpg","text":"TemporaryFile(/tmp/multipartBody1954381961449601995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076203257,"filename":"image_30102025_11_05_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/2/0e73dd9878bd47ea4e9d08966eacb589.jpg","text":"TemporaryFile(/tmp/multipartBody8663243086730504935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076203257,"filename":"image_30102025_11_05_20_3670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822669","file1":"1391822666","file0":"1391822663","file4":"1391822674","file5":"1391822677","file3":"1391822672"},"map_files_photo_id_array":[{"photo_id":"1391822677","filename":"file5"},{"photo_id":"1391822669","filename":"file2"},{"photo_id":"1391822674","filename":"file4"},{"photo_id":"1391822666","filename":"file1"},{"photo_id":"1391822663","filename":"file0"},{"photo_id":"1391822672","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822674":["hashtag1","hashtag2"]},{"1391822677":["hashtag1","hashtag2"]},{"1391822669":["hashtag1","hashtag2"]},{"1391822663":["hashtag1","hashtag2"]},{"1391822672":["hashtag1","hashtag2"]},{"1391822666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822674, 1391822677, 1391822669, 1391822663, 1391822672, 1391822666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34272313117981 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:36:22.247857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_50_2867.jpg', '/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_53_3761.jpg', '/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_56_2714.jpg', '/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_59_2696.jpg', '/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_02_2785.jpg', '/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_05_3790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_50_2867.jpg
/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_53_3761.jpg
/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_56_2714.jpg
/home/pi/Desktop/images/30102025/11/05/image_30102025_11_05_59_2696.jpg
/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_02_2785.jpg
/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_05_3790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822702","1391822694","1391822697","1391822691","1391822687","1391822683"],"photo_ids_order":["1391822683","1391822687","1391822691","1391822694","1391822697","1391822702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/94cadfc65fa03705b35c66950059a2ed.jpg","text":"TemporaryFile(/tmp/multipartBody2719420643431254087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076244974,"filename":"image_30102025_11_06_05_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/2/316d0b19ee763165ee9567b2a0c188e8.jpg","text":"TemporaryFile(/tmp/multipartBody1564019766752693180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076244974,"filename":"image_30102025_11_05_59_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/2/e8c267c19f7a323f5f522f46998c0d85.jpg","text":"TemporaryFile(/tmp/multipartBody3878801145109121825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076244974,"filename":"image_30102025_11_06_02_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/2/b8a910c773cc8b54e92776e676322589.jpg","text":"TemporaryFile(/tmp/multipartBody1585310302082438577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076244974,"filename":"image_30102025_11_05_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/2/ab4fc32f21618a840390de724494771f.jpg","text":"TemporaryFile(/tmp/multipartBody6301389995965643162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076244974,"filename":"image_30102025_11_05_53_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/2/fa2edf75d8676ecd035801e117df524c.jpg","text":"TemporaryFile(/tmp/multipartBody7519581964732367616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076244974,"filename":"image_30102025_11_05_50_2867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822691","file1":"1391822687","file0":"1391822683","file4":"1391822697","file5":"1391822702","file3":"1391822694"},"map_files_photo_id_array":[{"photo_id":"1391822702","filename":"file5"},{"photo_id":"1391822691","filename":"file2"},{"photo_id":"1391822697","filename":"file4"},{"photo_id":"1391822687","filename":"file1"},{"photo_id":"1391822683","filename":"file0"},{"photo_id":"1391822694","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822702":["hashtag1","hashtag2"]},{"1391822694":["hashtag1","hashtag2"]},{"1391822697":["hashtag1","hashtag2"]},{"1391822691":["hashtag1","hashtag2"]},{"1391822687":["hashtag1","hashtag2"]},{"1391822683":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822702, 1391822694, 1391822697, 1391822691, 1391822687, 1391822683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.414445638656616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 10:37:03.101175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_08_2648.jpg', '/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_11_2653.jpg', '/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_14_3616.jpg', '/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_17_2768.jpg', '/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_20_2727.jpg', '/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_22_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/11/06/image_30102025_11_06_08_2648.jpg
/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_11_2653.jpg
/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_14_3616.jpg
/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_17_2768.jpg
/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_20_2727.jpg
/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_22_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822722","1391822719","1391822724","1391822718","1391822720","1391822714"],"photo_ids_order":["1391822714","1391822718","1391822719","1391822720","1391822722","1391822724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/04d89aa43edcf418f3b5b5a09086e01d.jpg","text":"TemporaryFile(/tmp/multipartBody6621634220829205025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076285336,"filename":"image_30102025_11_06_20_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/2/71ff95a2f09d418f4c4e84c72cbc2c07.jpg","text":"TemporaryFile(/tmp/multipartBody1180479221179134502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076285336,"filename":"image_30102025_11_06_14_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/2/d0d3ec758fc08efbf8919fe5152dcf15.jpg","text":"TemporaryFile(/tmp/multipartBody8129066502236018801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076285336,"filename":"image_30102025_11_06_22_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/2/357bb688ca7bfa2d87fc501876d527d0.jpg","text":"TemporaryFile(/tmp/multipartBody6200029501547654328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076285336,"filename":"image_30102025_11_06_11_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/2/66aa53c1b5ed06cd00528f3f13609533.jpg","text":"TemporaryFile(/tmp/multipartBody249611482569840979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076285336,"filename":"image_30102025_11_06_17_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/2/ebea7bbfb738fb75b2900f4122ddf5c0.jpg","text":"TemporaryFile(/tmp/multipartBody7704181275628438374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076285336,"filename":"image_30102025_11_06_08_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822719","file1":"1391822718","file0":"1391822714","file4":"1391822722","file5":"1391822724","file3":"1391822720"},"map_files_photo_id_array":[{"photo_id":"1391822724","filename":"file5"},{"photo_id":"1391822719","filename":"file2"},{"photo_id":"1391822722","filename":"file4"},{"photo_id":"1391822718","filename":"file1"},{"photo_id":"1391822714","filename":"file0"},{"photo_id":"1391822720","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822722":["hashtag1","hashtag2"]},{"1391822719":["hashtag1","hashtag2"]},{"1391822724":["hashtag1","hashtag2"]},{"1391822718":["hashtag1","hashtag2"]},{"1391822720":["hashtag1","hashtag2"]},{"1391822714":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822722, 1391822719, 1391822724, 1391822718, 1391822720, 1391822714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.53721022605896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 10:37:42.400272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_26_3642.jpg', '/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_29_2798.jpg', '/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_38_2745.jpg', '/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_41_2600.jpg', '/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_44_3727.jpg', '/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_47_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/11/06/image_30102025_11_06_26_3642.jpg
/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_29_2798.jpg
/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_38_2745.jpg
/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_41_2600.jpg
/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_44_3727.jpg
/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_47_2560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822734","1391822731","1391822742","1391822736","1391822735","1391822738"],"photo_ids_order":["1391822731","1391822734","1391822735","1391822736","1391822738","1391822742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a2249b2f1beb2afc7162ac68b9f2be02.jpg","text":"TemporaryFile(/tmp/multipartBody343233922941332605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076323568,"filename":"image_30102025_11_06_29_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/2/42f56bc6acf89b72e2f562634a7f402f.jpg","text":"TemporaryFile(/tmp/multipartBody6170405493828522467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076323568,"filename":"image_30102025_11_06_26_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/2/db0c802b5ea0e25d6c4a20d866fb59d0.jpg","text":"TemporaryFile(/tmp/multipartBody3073847560904730641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076323568,"filename":"image_30102025_11_06_47_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/2/c449159362def0eb47874f2de1c39f60.jpg","text":"TemporaryFile(/tmp/multipartBody514035051482885419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076323568,"filename":"image_30102025_11_06_41_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/2/467feb864cf18b6c3a14e2e1c588a2ed.jpg","text":"TemporaryFile(/tmp/multipartBody7316258507509696468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076323568,"filename":"image_30102025_11_06_38_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/2/b8ba1665fbd24461c196259d520d5918.jpg","text":"TemporaryFile(/tmp/multipartBody1419986504792886550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076323568,"filename":"image_30102025_11_06_44_3727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822735","file1":"1391822734","file0":"1391822731","file4":"1391822738","file5":"1391822742","file3":"1391822736"},"map_files_photo_id_array":[{"photo_id":"1391822742","filename":"file5"},{"photo_id":"1391822735","filename":"file2"},{"photo_id":"1391822738","filename":"file4"},{"photo_id":"1391822734","filename":"file1"},{"photo_id":"1391822731","filename":"file0"},{"photo_id":"1391822736","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822734":["hashtag1","hashtag2"]},{"1391822731":["hashtag1","hashtag2"]},{"1391822742":["hashtag1","hashtag2"]},{"1391822736":["hashtag1","hashtag2"]},{"1391822735":["hashtag1","hashtag2"]},{"1391822738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822734, 1391822731, 1391822742, 1391822736, 1391822735, 1391822738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.724151372909546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:38:22.584178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_50_2789.jpg', '/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_53_3584.jpg', '/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_58_2581.jpg', '/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_02_3698.jpg', '/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_08_2880.jpg', '/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_11_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/11/06/image_30102025_11_06_50_2789.jpg
/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_53_3584.jpg
/home/pi/Desktop/images/30102025/11/06/image_30102025_11_06_58_2581.jpg
/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_02_3698.jpg
/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_08_2880.jpg
/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_11_2772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822761","1391822755","1391822758","1391822763","1391822757","1391822759"],"photo_ids_order":["1391822755","1391822757","1391822758","1391822759","1391822761","1391822763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ce71bd7cbbbf93e567b823bde0671656.jpg","text":"TemporaryFile(/tmp/multipartBody6245173947805014615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076365376,"filename":"image_30102025_11_07_08_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/2/516b082975698e837e5655b44914c106.jpg","text":"TemporaryFile(/tmp/multipartBody3272055618755850431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076365376,"filename":"image_30102025_11_06_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/2/6b07045d44fa95d39171f150999231c5.jpg","text":"TemporaryFile(/tmp/multipartBody7107085040205411210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076365376,"filename":"image_30102025_11_06_58_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/2/cd953ce3872ea3f3cfed68dfaa34c588.jpg","text":"TemporaryFile(/tmp/multipartBody3347487804587197849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076365376,"filename":"image_30102025_11_07_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/2/bb99c3517c4769ec58e3c9e4e15b8900.jpg","text":"TemporaryFile(/tmp/multipartBody5564285561602263859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076365376,"filename":"image_30102025_11_06_53_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/2/5427d459237a8f3f64069ee0c2bac03a.jpg","text":"TemporaryFile(/tmp/multipartBody8793086863522628248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076365376,"filename":"image_30102025_11_07_02_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822758","file1":"1391822757","file0":"1391822755","file4":"1391822761","file5":"1391822763","file3":"1391822759"},"map_files_photo_id_array":[{"photo_id":"1391822763","filename":"file5"},{"photo_id":"1391822758","filename":"file2"},{"photo_id":"1391822761","filename":"file4"},{"photo_id":"1391822757","filename":"file1"},{"photo_id":"1391822755","filename":"file0"},{"photo_id":"1391822759","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822761":["hashtag1","hashtag2"]},{"1391822755":["hashtag1","hashtag2"]},{"1391822758":["hashtag1","hashtag2"]},{"1391822763":["hashtag1","hashtag2"]},{"1391822757":["hashtag1","hashtag2"]},{"1391822759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822761, 1391822755, 1391822758, 1391822763, 1391822757, 1391822759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95685386657715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 10:39:03.627146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_14_3643.jpg', '/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_17_2657.jpg', '/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_20_2688.jpg', '/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_23_3669.jpg', '/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_26_2725.jpg', '/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_29_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/11/07/image_30102025_11_07_14_3643.jpg
/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_17_2657.jpg
/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_20_2688.jpg
/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_23_3669.jpg
/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_26_2725.jpg
/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_29_2827.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822785","1391822788","1391822781","1391822789","1391822783","1391822777"],"photo_ids_order":["1391822777","1391822781","1391822783","1391822785","1391822788","1391822789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/aba0d7dbdaece10d709aa8d06b9335cf.jpg","text":"TemporaryFile(/tmp/multipartBody4388814412313158821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076405898,"filename":"image_30102025_11_07_23_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/2/27bb5f91e0b9d49496a7ab37608f80c2.jpg","text":"TemporaryFile(/tmp/multipartBody3872619173320880568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076405898,"filename":"image_30102025_11_07_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/2/07c5e76fc5771082016b590896167bf1.jpg","text":"TemporaryFile(/tmp/multipartBody3168683352826052867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076405898,"filename":"image_30102025_11_07_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/2/bac3e18fab6dcfd182b8d782759e4312.jpg","text":"TemporaryFile(/tmp/multipartBody2665298338468862042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076405898,"filename":"image_30102025_11_07_29_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/2/7c13da235671898b978a9efec50e74e5.jpg","text":"TemporaryFile(/tmp/multipartBody5252566831447321470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076405898,"filename":"image_30102025_11_07_20_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/2/a6dfe1bf9b7d92bf82d9b1a435f44b01.jpg","text":"TemporaryFile(/tmp/multipartBody2186308516224744395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076405898,"filename":"image_30102025_11_07_14_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822783","file1":"1391822781","file0":"1391822777","file4":"1391822788","file5":"1391822789","file3":"1391822785"},"map_files_photo_id_array":[{"photo_id":"1391822789","filename":"file5"},{"photo_id":"1391822783","filename":"file2"},{"photo_id":"1391822788","filename":"file4"},{"photo_id":"1391822781","filename":"file1"},{"photo_id":"1391822777","filename":"file0"},{"photo_id":"1391822785","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822785":["hashtag1","hashtag2"]},{"1391822788":["hashtag1","hashtag2"]},{"1391822781":["hashtag1","hashtag2"]},{"1391822789":["hashtag1","hashtag2"]},{"1391822783":["hashtag1","hashtag2"]},{"1391822777":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822785, 1391822788, 1391822781, 1391822789, 1391822783, 1391822777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21609330177307 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 10:39:42.800126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_32_2854.jpg', '/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_38_2635.jpg', '/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_43_2659.jpg', '/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_47_3700.jpg', '/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_50_2643.jpg', '/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_53_2848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_32_2854.jpg
/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_38_2635.jpg
/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_43_2659.jpg
/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_47_3700.jpg
/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_50_2643.jpg
/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_53_2848.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822800","1391822803","1391822805","1391822795","1391822807","1391822797"],"photo_ids_order":["1391822795","1391822797","1391822800","1391822803","1391822805","1391822807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/79cbe37b23b3ef25cc10bd715f47412d.jpg","text":"TemporaryFile(/tmp/multipartBody1484979731006187461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076443927,"filename":"image_30102025_11_07_43_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/2/e9d28071a848c2102dc22f217e8b28ab.jpg","text":"TemporaryFile(/tmp/multipartBody7835442577600812768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076443927,"filename":"image_30102025_11_07_47_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/2/efad529a1222d8ff2eebc6f3b311a5b2.jpg","text":"TemporaryFile(/tmp/multipartBody5574920895258612983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076443927,"filename":"image_30102025_11_07_50_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/2/a69d09fc36c826426b9e1097c596bf18.jpg","text":"TemporaryFile(/tmp/multipartBody5832473775307564071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076443927,"filename":"image_30102025_11_07_32_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/2/456b2410ec9e7f769faf162d801af067.jpg","text":"TemporaryFile(/tmp/multipartBody3415051057604654946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076443927,"filename":"image_30102025_11_07_53_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/2/a285641d3c2baaef2df45d6a6ece1a9a.jpg","text":"TemporaryFile(/tmp/multipartBody361550530684228216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076443927,"filename":"image_30102025_11_07_38_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822800","file1":"1391822797","file0":"1391822795","file4":"1391822805","file5":"1391822807","file3":"1391822803"},"map_files_photo_id_array":[{"photo_id":"1391822807","filename":"file5"},{"photo_id":"1391822800","filename":"file2"},{"photo_id":"1391822805","filename":"file4"},{"photo_id":"1391822797","filename":"file1"},{"photo_id":"1391822795","filename":"file0"},{"photo_id":"1391822803","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822800":["hashtag1","hashtag2"]},{"1391822803":["hashtag1","hashtag2"]},{"1391822805":["hashtag1","hashtag2"]},{"1391822795":["hashtag1","hashtag2"]},{"1391822807":["hashtag1","hashtag2"]},{"1391822797":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822800, 1391822803, 1391822805, 1391822795, 1391822807, 1391822797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22462463378906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:40:21.869567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_56_2906.jpg', '/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_58_2684.jpg', '/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_02_3702.jpg', '/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_05_2639.jpg', '/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_07_2650.jpg', '/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_11_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/11/07/image_30102025_11_07_56_2906.jpg
/home/pi/Desktop/images/30102025/11/07/image_30102025_11_07_58_2684.jpg
/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_02_3702.jpg
/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_05_2639.jpg
/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_07_2650.jpg
/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_11_3585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822821","1391822815","1391822824","1391822818","1391822812","1391822810"],"photo_ids_order":["1391822810","1391822812","1391822815","1391822818","1391822821","1391822824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0c5dc8ad45c104db4b71fc959a2ebc9b.jpg","text":"TemporaryFile(/tmp/multipartBody7201413566547253421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076484556,"filename":"image_30102025_11_08_07_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/2/c4c7ddc2a7dd3bfe1a003a98fed3e286.jpg","text":"TemporaryFile(/tmp/multipartBody2996990543128143662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076484556,"filename":"image_30102025_11_08_02_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/2/7453fc610bd7f733bfb726f60182c5be.jpg","text":"TemporaryFile(/tmp/multipartBody7507850768915928652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076484556,"filename":"image_30102025_11_08_11_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/2/8f7af144bbad5864d059fa5ce8b229e1.jpg","text":"TemporaryFile(/tmp/multipartBody8732465169566872683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076484556,"filename":"image_30102025_11_08_05_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/2/0929f260e783fec9a6be1d90c0692e2d.jpg","text":"TemporaryFile(/tmp/multipartBody1194694452157388401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076484556,"filename":"image_30102025_11_07_58_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/2/5e13b4a4c007ec2a85a18b1ed0bed371.jpg","text":"TemporaryFile(/tmp/multipartBody7006690053337110939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076484556,"filename":"image_30102025_11_07_56_2906.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822815","file1":"1391822812","file0":"1391822810","file4":"1391822821","file5":"1391822824","file3":"1391822818"},"map_files_photo_id_array":[{"photo_id":"1391822824","filename":"file5"},{"photo_id":"1391822815","filename":"file2"},{"photo_id":"1391822821","filename":"file4"},{"photo_id":"1391822812","filename":"file1"},{"photo_id":"1391822810","filename":"file0"},{"photo_id":"1391822818","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822821":["hashtag1","hashtag2"]},{"1391822815":["hashtag1","hashtag2"]},{"1391822824":["hashtag1","hashtag2"]},{"1391822818":["hashtag1","hashtag2"]},{"1391822812":["hashtag1","hashtag2"]},{"1391822810":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822821, 1391822815, 1391822824, 1391822818, 1391822812, 1391822810)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.331134557724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:41:22.091912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_14_2975.jpg', '/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_19_2701.jpg', '/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_23_3747.jpg', '/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_26_2716.jpg', '/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_28_2572.jpg', '/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_32_3572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_14_2975.jpg
/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_19_2701.jpg
/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_23_3747.jpg
/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_26_2716.jpg
/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_28_2572.jpg
/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_32_3572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822866","1391822869","1391822862","1391822838","1391822841","1391822864"],"photo_ids_order":["1391822838","1391822841","1391822862","1391822864","1391822866","1391822869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5e26e99dab97084f36fae832a10e8c64.jpg","text":"TemporaryFile(/tmp/multipartBody4312362747298026087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076544811,"filename":"image_30102025_11_08_28_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/2/792a11c98c26a660104b8d9764024e8b.jpg","text":"TemporaryFile(/tmp/multipartBody9021723954615525331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076544811,"filename":"image_30102025_11_08_32_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/2/71a06b82f9a18deb1dc89d695717eba0.jpg","text":"TemporaryFile(/tmp/multipartBody838330935778754654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076544811,"filename":"image_30102025_11_08_23_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/2/df59c2d3b59aa005b6ef7129a9d7cc9e.jpg","text":"TemporaryFile(/tmp/multipartBody7154489938418728605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076544811,"filename":"image_30102025_11_08_14_2975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ce169bcc413fb25e0a787794c287473e.jpg","text":"TemporaryFile(/tmp/multipartBody6410854359362074408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076544811,"filename":"image_30102025_11_08_19_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/2/36a0f6cb4262cbe38e2e7c48899cc817.jpg","text":"TemporaryFile(/tmp/multipartBody3507374472891007372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076544811,"filename":"image_30102025_11_08_26_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822862","file1":"1391822841","file0":"1391822838","file4":"1391822866","file5":"1391822869","file3":"1391822864"},"map_files_photo_id_array":[{"photo_id":"1391822869","filename":"file5"},{"photo_id":"1391822862","filename":"file2"},{"photo_id":"1391822866","filename":"file4"},{"photo_id":"1391822841","filename":"file1"},{"photo_id":"1391822838","filename":"file0"},{"photo_id":"1391822864","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822866":["hashtag1","hashtag2"]},{"1391822869":["hashtag1","hashtag2"]},{"1391822862":["hashtag1","hashtag2"]},{"1391822838":["hashtag1","hashtag2"]},{"1391822841":["hashtag1","hashtag2"]},{"1391822864":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822866, 1391822869, 1391822862, 1391822838, 1391822841, 1391822864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55502700805664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 10:42:02.754542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_35_2721.jpg', '/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_37_2723.jpg', '/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_41_3665.jpg', '/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_44_2649.jpg', '/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_46_2537.jpg', '/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_50_3815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_35_2721.jpg
/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_37_2723.jpg
/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_41_3665.jpg
/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_44_2649.jpg
/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_46_2537.jpg
/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_50_3815.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822884","1391822875","1391822877","1391822879","1391822888","1391822881"],"photo_ids_order":["1391822875","1391822877","1391822879","1391822881","1391822884","1391822888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/391928db0148524d66348be7f38191de.jpg","text":"TemporaryFile(/tmp/multipartBody6081516798894606317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076584862,"filename":"image_30102025_11_08_46_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/2/09db12d4d83ca1f8d253a707b0b418cc.jpg","text":"TemporaryFile(/tmp/multipartBody4552806015979754921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076584862,"filename":"image_30102025_11_08_35_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/2/b03bc931f0d8af1f19e394c49096d1d0.jpg","text":"TemporaryFile(/tmp/multipartBody1319367251280437677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076584862,"filename":"image_30102025_11_08_37_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/2/e34e294b324efdb3c5fe83a62a7330cf.jpg","text":"TemporaryFile(/tmp/multipartBody7791282883631181641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076584862,"filename":"image_30102025_11_08_41_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/2/e2f16c44258c31818ee5535302f0af58.jpg","text":"TemporaryFile(/tmp/multipartBody7723027521868113040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076584862,"filename":"image_30102025_11_08_50_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/2/32977991ae21ab6ce1a0b06ea50a3457.jpg","text":"TemporaryFile(/tmp/multipartBody911853799180426667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076584862,"filename":"image_30102025_11_08_44_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822879","file1":"1391822877","file0":"1391822875","file4":"1391822884","file5":"1391822888","file3":"1391822881"},"map_files_photo_id_array":[{"photo_id":"1391822888","filename":"file5"},{"photo_id":"1391822879","filename":"file2"},{"photo_id":"1391822884","filename":"file4"},{"photo_id":"1391822877","filename":"file1"},{"photo_id":"1391822875","filename":"file0"},{"photo_id":"1391822881","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822884":["hashtag1","hashtag2"]},{"1391822875":["hashtag1","hashtag2"]},{"1391822877":["hashtag1","hashtag2"]},{"1391822879":["hashtag1","hashtag2"]},{"1391822888":["hashtag1","hashtag2"]},{"1391822881":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822884, 1391822875, 1391822877, 1391822879, 1391822888, 1391822881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.267080545425415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 10:42:42.283910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_55_2654.jpg', '/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_58_2691.jpg', '/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_02_3894.jpg', '/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_05_2830.jpg', '/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_08_2683.jpg', '/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_10_2554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_55_2654.jpg
/home/pi/Desktop/images/30102025/11/08/image_30102025_11_08_58_2691.jpg
/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_02_3894.jpg
/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_05_2830.jpg
/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_08_2683.jpg
/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_10_2554.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822900","1391822895","1391822898","1391822903","1391822906","1391822896"],"photo_ids_order":["1391822895","1391822896","1391822898","1391822900","1391822903","1391822906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/525178859eb43c646ca43c73be45c832.jpg","text":"TemporaryFile(/tmp/multipartBody4375071495506644753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076623455,"filename":"image_30102025_11_09_05_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/2/d6427c4e59af2e91c54c980c1cde77f0.jpg","text":"TemporaryFile(/tmp/multipartBody3084415422408496424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076623455,"filename":"image_30102025_11_08_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/2/4d8bf15401daa9add0fdc45dae9b0430.jpg","text":"TemporaryFile(/tmp/multipartBody7207258770833870242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076623455,"filename":"image_30102025_11_09_02_3894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2c924596358a263bf0a7c6db1b11f51e.jpg","text":"TemporaryFile(/tmp/multipartBody1054780464041350904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076623455,"filename":"image_30102025_11_09_08_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/2/136b5bab087c8db91169b831addf6e76.jpg","text":"TemporaryFile(/tmp/multipartBody4141143919391848145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076623455,"filename":"image_30102025_11_09_10_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/2/5d69570ee335fdbdd3055bc912f21242.jpg","text":"TemporaryFile(/tmp/multipartBody9183925455973896135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076623455,"filename":"image_30102025_11_08_58_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822898","file1":"1391822896","file0":"1391822895","file4":"1391822903","file5":"1391822906","file3":"1391822900"},"map_files_photo_id_array":[{"photo_id":"1391822906","filename":"file5"},{"photo_id":"1391822898","filename":"file2"},{"photo_id":"1391822903","filename":"file4"},{"photo_id":"1391822896","filename":"file1"},{"photo_id":"1391822895","filename":"file0"},{"photo_id":"1391822900","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822900":["hashtag1","hashtag2"]},{"1391822895":["hashtag1","hashtag2"]},{"1391822898":["hashtag1","hashtag2"]},{"1391822903":["hashtag1","hashtag2"]},{"1391822906":["hashtag1","hashtag2"]},{"1391822896":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822900, 1391822895, 1391822898, 1391822903, 1391822906, 1391822896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66842770576477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:43:22.364384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_14_3625.jpg', '/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_16_2723.jpg', '/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_19_2724.jpg', '/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_23_3657.jpg', '/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_26_2782.jpg', '/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_28_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/11/09/image_30102025_11_09_14_3625.jpg
/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_16_2723.jpg
/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_19_2724.jpg
/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_23_3657.jpg
/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_26_2782.jpg
/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_28_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822920","1391822914","1391822925","1391822916","1391822918","1391822912"],"photo_ids_order":["1391822912","1391822914","1391822916","1391822918","1391822920","1391822925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7cff964428cdcc9038f562d475703913.jpg","text":"TemporaryFile(/tmp/multipartBody4899694940872167350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076665080,"filename":"image_30102025_11_09_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/2/7b78436deabbfe54a82a618ca3984bf3.jpg","text":"TemporaryFile(/tmp/multipartBody4514271493689562799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076665080,"filename":"image_30102025_11_09_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/2/adef6c0bb1c05e4179c5df1a73b6d7a4.jpg","text":"TemporaryFile(/tmp/multipartBody2650132392934759814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076665080,"filename":"image_30102025_11_09_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/2/13bb70dfbf2f6948e20f2e1bf6fab840.jpg","text":"TemporaryFile(/tmp/multipartBody5695309350864850882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076665080,"filename":"image_30102025_11_09_19_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/2/8357d2ec7a7c0f410fd6639199994197.jpg","text":"TemporaryFile(/tmp/multipartBody1284549695305940460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076665080,"filename":"image_30102025_11_09_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/2/9ca21973014db4387d360afe0b9a8cf7.jpg","text":"TemporaryFile(/tmp/multipartBody6697047088515592392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076665080,"filename":"image_30102025_11_09_14_3625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822916","file1":"1391822914","file0":"1391822912","file4":"1391822920","file5":"1391822925","file3":"1391822918"},"map_files_photo_id_array":[{"photo_id":"1391822925","filename":"file5"},{"photo_id":"1391822916","filename":"file2"},{"photo_id":"1391822920","filename":"file4"},{"photo_id":"1391822914","filename":"file1"},{"photo_id":"1391822912","filename":"file0"},{"photo_id":"1391822918","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822920":["hashtag1","hashtag2"]},{"1391822914":["hashtag1","hashtag2"]},{"1391822925":["hashtag1","hashtag2"]},{"1391822916":["hashtag1","hashtag2"]},{"1391822918":["hashtag1","hashtag2"]},{"1391822912":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822920, 1391822914, 1391822925, 1391822916, 1391822918, 1391822912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28273296356201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 10:44:03.135245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_31_2768.jpg', '/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_35_3725.jpg', '/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_40_5361.jpg', '/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_44_1700.jpg', '/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_46_2773.jpg', '/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_56_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/11/09/image_30102025_11_09_31_2768.jpg
/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_35_3725.jpg
/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_40_5361.jpg
/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_44_1700.jpg
/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_46_2773.jpg
/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_56_2677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822935","1391822938","1391822946","1391822940","1391822948","1391822942"],"photo_ids_order":["1391822935","1391822938","1391822940","1391822942","1391822946","1391822948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0c7480156337d5a17924722a07e24a79.jpg","text":"TemporaryFile(/tmp/multipartBody2057534936024030659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076705314,"filename":"image_30102025_11_09_31_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/2/c9ddd29cd7a3b3e9007892f869326a91.jpg","text":"TemporaryFile(/tmp/multipartBody8568881856589678343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076705314,"filename":"image_30102025_11_09_35_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/2/ba34c66541005f17812f870e3c62e107.jpg","text":"TemporaryFile(/tmp/multipartBody6097850457997613780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076705314,"filename":"image_30102025_11_09_46_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/2/901cf55cebec21e0f9e38039ea7f7312.jpg","text":"TemporaryFile(/tmp/multipartBody5769158025705127754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076705314,"filename":"image_30102025_11_09_40_5361.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/77d05c0b33a925001827816b8ee88510.jpg","text":"TemporaryFile(/tmp/multipartBody2870926251624317431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076705314,"filename":"image_30102025_11_09_56_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/2/7e648ad694a50e1ba86a8b7015aedd73.jpg","text":"TemporaryFile(/tmp/multipartBody1236524070876204734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076705314,"filename":"image_30102025_11_09_44_1700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822940","file1":"1391822938","file0":"1391822935","file4":"1391822946","file5":"1391822948","file3":"1391822942"},"map_files_photo_id_array":[{"photo_id":"1391822948","filename":"file5"},{"photo_id":"1391822940","filename":"file2"},{"photo_id":"1391822946","filename":"file4"},{"photo_id":"1391822938","filename":"file1"},{"photo_id":"1391822935","filename":"file0"},{"photo_id":"1391822942","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822935":["hashtag1","hashtag2"]},{"1391822938":["hashtag1","hashtag2"]},{"1391822946":["hashtag1","hashtag2"]},{"1391822940":["hashtag1","hashtag2"]},{"1391822948":["hashtag1","hashtag2"]},{"1391822942":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822935, 1391822938, 1391822946, 1391822940, 1391822948, 1391822942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30885696411133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 10:44:42.687352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/09/image_30102025_11_09_58_2593.jpg', '/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_08_3333.jpg', '/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_15_3918.jpg', '/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_18_2693.jpg', '/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_20_2734.jpg', '/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_23_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/11/09/image_30102025_11_09_58_2593.jpg
/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_08_3333.jpg
/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_15_3918.jpg
/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_18_2693.jpg
/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_20_2734.jpg
/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_23_2754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822956","1391822967","1391822961","1391822958","1391822954","1391822963"],"photo_ids_order":["1391822954","1391822956","1391822958","1391822961","1391822963","1391822967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/16dc46f05e0be426fdaf2e318e024b46.jpg","text":"TemporaryFile(/tmp/multipartBody7688785739410087628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076743899,"filename":"image_30102025_11_10_08_3333.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/84dd93be2b6228ee8b3238f19840da7a.jpg","text":"TemporaryFile(/tmp/multipartBody2031604684489019292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076743899,"filename":"image_30102025_11_10_23_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/2/c2c6e4a47c754e20453ad7a78f4aeb0a.jpg","text":"TemporaryFile(/tmp/multipartBody687098548998425563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076743899,"filename":"image_30102025_11_10_18_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/2/9ee4d4b11303ff5e87ae3987e4e00d7c.jpg","text":"TemporaryFile(/tmp/multipartBody1345425030256845750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076743899,"filename":"image_30102025_11_10_15_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/2/0a93c58b01b0e296bfb9417b86c4cacc.jpg","text":"TemporaryFile(/tmp/multipartBody2115930847207363369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076743899,"filename":"image_30102025_11_09_58_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/2/0338cd021d5f07fe65c6afeb116281cb.jpg","text":"TemporaryFile(/tmp/multipartBody2460247442718384614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076743899,"filename":"image_30102025_11_10_20_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822958","file1":"1391822956","file0":"1391822954","file4":"1391822963","file5":"1391822967","file3":"1391822961"},"map_files_photo_id_array":[{"photo_id":"1391822967","filename":"file5"},{"photo_id":"1391822958","filename":"file2"},{"photo_id":"1391822963","filename":"file4"},{"photo_id":"1391822956","filename":"file1"},{"photo_id":"1391822954","filename":"file0"},{"photo_id":"1391822961","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822956":["hashtag1","hashtag2"]},{"1391822967":["hashtag1","hashtag2"]},{"1391822961":["hashtag1","hashtag2"]},{"1391822958":["hashtag1","hashtag2"]},{"1391822954":["hashtag1","hashtag2"]},{"1391822963":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822956, 1391822967, 1391822961, 1391822958, 1391822954, 1391822963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31514596939087 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:45:21.996638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_26_2689.jpg', '/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_29_3608.jpg', '/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_32_2756.jpg', '/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_39_6584.jpg', '/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_41_1727.jpg', '/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_42_1549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_26_2689.jpg
/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_29_3608.jpg
/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_32_2756.jpg
/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_39_6584.jpg
/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_41_1727.jpg
/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_42_1549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822985","1391822982","1391822976","1391822978","1391822989","1391822980"],"photo_ids_order":["1391822976","1391822978","1391822980","1391822982","1391822985","1391822989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f2cb63000ce3bed3ed65871e6e9708c0.jpg","text":"TemporaryFile(/tmp/multipartBody8844588294942732596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076784699,"filename":"image_30102025_11_10_41_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/2/d0870834a8f97b8e1c5e7a04d6dc605b.jpg","text":"TemporaryFile(/tmp/multipartBody2983963909629202560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076784699,"filename":"image_30102025_11_10_39_6584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/830726a902b8c81ed9f712f61e639f66.jpg","text":"TemporaryFile(/tmp/multipartBody1157005461241901641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076784699,"filename":"image_30102025_11_10_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/2/bb5bb2eeed675c6e52605e974bc90a74.jpg","text":"TemporaryFile(/tmp/multipartBody1698704984505096959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076784699,"filename":"image_30102025_11_10_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/2/524a1e7decbfe64ed877c9161a1b0ebd.jpg","text":"TemporaryFile(/tmp/multipartBody1349557656887162012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076784699,"filename":"image_30102025_11_10_42_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/2/6cd25dae0bd335191a341f4d6aa334ad.jpg","text":"TemporaryFile(/tmp/multipartBody742061323820859349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076784699,"filename":"image_30102025_11_10_32_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391822980","file1":"1391822978","file0":"1391822976","file4":"1391822985","file5":"1391822989","file3":"1391822982"},"map_files_photo_id_array":[{"photo_id":"1391822989","filename":"file5"},{"photo_id":"1391822980","filename":"file2"},{"photo_id":"1391822985","filename":"file4"},{"photo_id":"1391822978","filename":"file1"},{"photo_id":"1391822976","filename":"file0"},{"photo_id":"1391822982","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822985":["hashtag1","hashtag2"]},{"1391822982":["hashtag1","hashtag2"]},{"1391822976":["hashtag1","hashtag2"]},{"1391822978":["hashtag1","hashtag2"]},{"1391822989":["hashtag1","hashtag2"]},{"1391822980":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822985, 1391822982, 1391822976, 1391822978, 1391822989, 1391822980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37154960632324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 10:46:02.594200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_44_1658.jpg', '/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_47_3037.jpg', '/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_50_3738.jpg', '/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_53_2705.jpg', '/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_56_2801.jpg', '/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_59_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/11/10/image_30102025_11_10_44_1658.jpg
/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_47_3037.jpg
/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_50_3738.jpg
/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_53_2705.jpg
/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_56_2801.jpg
/home/pi/Desktop/images/30102025/11/10/image_30102025_11_10_59_2724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391822994","1391822997","1391823006","1391823000","1391823003","1391823008"],"photo_ids_order":["1391822994","1391822997","1391823000","1391823003","1391823006","1391823008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f4a93d05dcb652de0ae728a3193c6dca.jpg","text":"TemporaryFile(/tmp/multipartBody9010498486049632531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076824725,"filename":"image_30102025_11_10_44_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/2/bd7469c6730aef6bf370bf0517756186.jpg","text":"TemporaryFile(/tmp/multipartBody1850137645135462859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076824725,"filename":"image_30102025_11_10_47_3037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d2056f58a070c2c6e8caa05732807385.jpg","text":"TemporaryFile(/tmp/multipartBody2728335920713002518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076824725,"filename":"image_30102025_11_10_56_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/2/309d93cb098d69beafe13b00cd03ae74.jpg","text":"TemporaryFile(/tmp/multipartBody4159210481708551213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076824725,"filename":"image_30102025_11_10_50_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/2/3096404ba83ce156cd49b4173c6fe9aa.jpg","text":"TemporaryFile(/tmp/multipartBody8347887879851284306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076824725,"filename":"image_30102025_11_10_53_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/2/e2891413aa490533fe5f4c41406b3d8b.jpg","text":"TemporaryFile(/tmp/multipartBody5084034837357074933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076824725,"filename":"image_30102025_11_10_59_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391823000","file1":"1391822997","file0":"1391822994","file4":"1391823006","file5":"1391823008","file3":"1391823003"},"map_files_photo_id_array":[{"photo_id":"1391823008","filename":"file5"},{"photo_id":"1391823000","filename":"file2"},{"photo_id":"1391823006","filename":"file4"},{"photo_id":"1391822997","filename":"file1"},{"photo_id":"1391822994","filename":"file0"},{"photo_id":"1391823003","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391822994":["hashtag1","hashtag2"]},{"1391822997":["hashtag1","hashtag2"]},{"1391823006":["hashtag1","hashtag2"]},{"1391823000":["hashtag1","hashtag2"]},{"1391823003":["hashtag1","hashtag2"]},{"1391823008":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391822994, 1391822997, 1391823006, 1391823000, 1391823003, 1391823008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97187161445618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 10:46:42.122976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_02_3551.jpg', '/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_06_3311.jpg', '/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_08_2598.jpg', '/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_11_2703.jpg', '/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_15_3737.jpg', '/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_17_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/11/11/image_30102025_11_11_02_3551.jpg
/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_06_3311.jpg
/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_08_2598.jpg
/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_11_2703.jpg
/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_15_3737.jpg
/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_17_2609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391823022","1391823045","1391823039","1391823047","1391823035","1391823017"],"photo_ids_order":["1391823017","1391823022","1391823035","1391823039","1391823045","1391823047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bb494aa2cb257255dc290a1db751d136.jpg","text":"TemporaryFile(/tmp/multipartBody9023144752553795024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076863259,"filename":"image_30102025_11_11_06_3311.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ca2306b3942dbee4875c2d1002a363a8.jpg","text":"TemporaryFile(/tmp/multipartBody5486354636324830519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076863259,"filename":"image_30102025_11_11_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/2/30c0ea6688feebc3b01acaa1ae22c4a9.jpg","text":"TemporaryFile(/tmp/multipartBody2176929076144726483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076863259,"filename":"image_30102025_11_11_11_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/2/60d4ae9a5a56113dad4330e48ec2da3e.jpg","text":"TemporaryFile(/tmp/multipartBody2559571990834465021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076863259,"filename":"image_30102025_11_11_17_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/2/1d9be00085984931420bae9cd15a70cb.jpg","text":"TemporaryFile(/tmp/multipartBody317091620516306682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076863259,"filename":"image_30102025_11_11_08_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/2/80d76749c8d6ad7c819f5c85835f42c6.jpg","text":"TemporaryFile(/tmp/multipartBody3164667619313236147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076863259,"filename":"image_30102025_11_11_02_3551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391823035","file1":"1391823022","file0":"1391823017","file4":"1391823045","file5":"1391823047","file3":"1391823039"},"map_files_photo_id_array":[{"photo_id":"1391823047","filename":"file5"},{"photo_id":"1391823035","filename":"file2"},{"photo_id":"1391823045","filename":"file4"},{"photo_id":"1391823022","filename":"file1"},{"photo_id":"1391823017","filename":"file0"},{"photo_id":"1391823039","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391823022":["hashtag1","hashtag2"]},{"1391823045":["hashtag1","hashtag2"]},{"1391823039":["hashtag1","hashtag2"]},{"1391823047":["hashtag1","hashtag2"]},{"1391823035":["hashtag1","hashtag2"]},{"1391823017":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391823022, 1391823045, 1391823039, 1391823047, 1391823035, 1391823017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8816351890564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:47:22.213588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_21_4229.jpg', '/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_23_1890.jpg', '/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_26_2786.jpg', '/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_33_3717.jpg', '/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_40_4332.jpg', '/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_41_1673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_21_4229.jpg
/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_23_1890.jpg
/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_26_2786.jpg
/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_33_3717.jpg
/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_40_4332.jpg
/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_41_1673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391823055","1391823069","1391823057","1391823059","1391823053","1391823064"],"photo_ids_order":["1391823053","1391823055","1391823057","1391823059","1391823064","1391823069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/589cef4ab4ac50eaa82260e947b6e885.jpg","text":"TemporaryFile(/tmp/multipartBody7322375186008910458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076904954,"filename":"image_30102025_11_11_23_1890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1e78f734966e973edbb01829345ec019.jpg","text":"TemporaryFile(/tmp/multipartBody3345526745943493189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076904954,"filename":"image_30102025_11_11_41_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/2/66ed5a1c6344a7164660e487057f4949.jpg","text":"TemporaryFile(/tmp/multipartBody4688923104076599942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076904954,"filename":"image_30102025_11_11_26_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/2/2e9df869f709032d4d0a986873403de6.jpg","text":"TemporaryFile(/tmp/multipartBody5748097465812711250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076904954,"filename":"image_30102025_11_11_33_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/2/6864427688d096666e8d1ba31dd76cea.jpg","text":"TemporaryFile(/tmp/multipartBody3749250697628632858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076904954,"filename":"image_30102025_11_11_21_4229.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/12ac9a9583b10d075fbf295bd9626463.jpg","text":"TemporaryFile(/tmp/multipartBody1441994400686402524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076904954,"filename":"image_30102025_11_11_40_4332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391823057","file1":"1391823055","file0":"1391823053","file4":"1391823064","file5":"1391823069","file3":"1391823059"},"map_files_photo_id_array":[{"photo_id":"1391823069","filename":"file5"},{"photo_id":"1391823057","filename":"file2"},{"photo_id":"1391823064","filename":"file4"},{"photo_id":"1391823055","filename":"file1"},{"photo_id":"1391823053","filename":"file0"},{"photo_id":"1391823059","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391823055":["hashtag1","hashtag2"]},{"1391823069":["hashtag1","hashtag2"]},{"1391823057":["hashtag1","hashtag2"]},{"1391823059":["hashtag1","hashtag2"]},{"1391823053":["hashtag1","hashtag2"]},{"1391823064":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391823055, 1391823069, 1391823057, 1391823059, 1391823053, 1391823064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.809510707855225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 10:48:03.008622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_51_9306.jpg', '/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_52_1621.jpg', '/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_54_1793.jpg', '/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_56_1625.jpg', '/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_57_1634.jpg', '/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_59_1805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_51_9306.jpg
/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_52_1621.jpg
/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_54_1793.jpg
/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_56_1625.jpg
/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_57_1634.jpg
/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_59_1805.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.0385477542877197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:48:22.468072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_51_9306.jpg', '/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_52_1621.jpg', '/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_54_1793.jpg', '/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_56_1625.jpg', '/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_57_1634.jpg', '/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_59_1805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_51_9306.jpg
/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_52_1621.jpg
/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_54_1793.jpg
/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_56_1625.jpg
/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_57_1634.jpg
/home/pi/Desktop/images/30102025/11/11/image_30102025_11_11_59_1805.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391823087","1391823102","1391823098","1391823092","1391823089","1391823094"],"photo_ids_order":["1391823087","1391823089","1391823092","1391823094","1391823098","1391823102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3c5734b4c92faec070b034b78398c172.jpg","text":"TemporaryFile(/tmp/multipartBody5061041406410409036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076965036,"filename":"image_30102025_11_11_51_9306.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a618895cb3bd87e76af178c353da7627.jpg","text":"TemporaryFile(/tmp/multipartBody4380433194092476170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076965036,"filename":"image_30102025_11_11_59_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/2/739189fd714c262356cd18218ca7084d.jpg","text":"TemporaryFile(/tmp/multipartBody8724586113225630021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076965036,"filename":"image_30102025_11_11_57_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/2/695c432f4b8533cd736e45009209c4fc.jpg","text":"TemporaryFile(/tmp/multipartBody2508230995029757087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076965036,"filename":"image_30102025_11_11_54_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/2/423638a5d6d721fe8433997b1ab520fb.jpg","text":"TemporaryFile(/tmp/multipartBody8219951259222021936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076965036,"filename":"image_30102025_11_11_52_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/2/a9014d61dce529bd1f8c1b320255e1ab.jpg","text":"TemporaryFile(/tmp/multipartBody8658526696685172869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762076965036,"filename":"image_30102025_11_11_56_1625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391823092","file1":"1391823089","file0":"1391823087","file4":"1391823098","file5":"1391823102","file3":"1391823094"},"map_files_photo_id_array":[{"photo_id":"1391823102","filename":"file5"},{"photo_id":"1391823092","filename":"file2"},{"photo_id":"1391823098","filename":"file4"},{"photo_id":"1391823089","filename":"file1"},{"photo_id":"1391823087","filename":"file0"},{"photo_id":"1391823094","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391823087":["hashtag1","hashtag2"]},{"1391823102":["hashtag1","hashtag2"]},{"1391823098":["hashtag1","hashtag2"]},{"1391823092":["hashtag1","hashtag2"]},{"1391823089":["hashtag1","hashtag2"]},{"1391823094":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391823087, 1391823102, 1391823098, 1391823092, 1391823089, 1391823094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.082091331481934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 10:49:03.529718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_02_2694.jpg', '/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_05_3001.jpg', '/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_08_3706.jpg', '/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_11_2660.jpg', '/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_14_2665.jpg', '/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_17_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_02_2694.jpg
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_05_3001.jpg
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_08_3706.jpg
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_11_2660.jpg
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_14_2665.jpg
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_17_3647.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.095632791519165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:49:22.677528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_02_2694.jpg', '/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_05_3001.jpg', '/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_08_3706.jpg', '/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_11_2660.jpg', '/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_14_2665.jpg', '/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_17_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_02_2694.jpg
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_05_3001.jpg
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_08_3706.jpg
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_11_2660.jpg
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_14_2665.jpg
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_17_3647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391823124","1391823127","1391823129","1391823132","1391823128","1391823122"],"photo_ids_order":["1391823122","1391823124","1391823127","1391823128","1391823129","1391823132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8b44b595f27b67dbe67fb036fe814991.jpg","text":"TemporaryFile(/tmp/multipartBody483771236058194663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077024896,"filename":"image_30102025_11_12_05_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/2/19fef016292e5f1842347cf367ae6974.jpg","text":"TemporaryFile(/tmp/multipartBody7665275818928955764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077024896,"filename":"image_30102025_11_12_08_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/2/59443a7737a9ef91f08994803049c66d.jpg","text":"TemporaryFile(/tmp/multipartBody5238707424099241306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077024896,"filename":"image_30102025_11_12_14_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/2/c4435019f1e0fedb93a23163d188066e.jpg","text":"TemporaryFile(/tmp/multipartBody6204397699501707300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077024896,"filename":"image_30102025_11_12_17_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/2/876e78fa8ad22b720bf446be89a4adf9.jpg","text":"TemporaryFile(/tmp/multipartBody4340950960601003922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077024896,"filename":"image_30102025_11_12_11_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/2/c35f858522223112b6bcbfccb4936a50.jpg","text":"TemporaryFile(/tmp/multipartBody7583958266541572063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077024896,"filename":"image_30102025_11_12_02_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391823127","file1":"1391823124","file0":"1391823122","file4":"1391823129","file5":"1391823132","file3":"1391823128"},"map_files_photo_id_array":[{"photo_id":"1391823132","filename":"file5"},{"photo_id":"1391823127","filename":"file2"},{"photo_id":"1391823129","filename":"file4"},{"photo_id":"1391823124","filename":"file1"},{"photo_id":"1391823122","filename":"file0"},{"photo_id":"1391823128","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391823124":["hashtag1","hashtag2"]},{"1391823127":["hashtag1","hashtag2"]},{"1391823129":["hashtag1","hashtag2"]},{"1391823132":["hashtag1","hashtag2"]},{"1391823128":["hashtag1","hashtag2"]},{"1391823122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391823124, 1391823127, 1391823129, 1391823132, 1391823128, 1391823122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08174276351929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 10:50:02.427046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_20_2802.jpg', '/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_23_2659.jpg', '/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_26_2672.jpg', '/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_29_3583.jpg', '/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_32_2720.jpg', '/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_35_3568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_20_2802.jpg
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_23_2659.jpg
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_26_2672.jpg
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_29_3583.jpg
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_32_2720.jpg
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_35_3568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391823148","1391823141","1391823144","1391823138","1391823146","1391823149"],"photo_ids_order":["1391823138","1391823141","1391823144","1391823146","1391823148","1391823149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/50b72e1303a6e599709fb3628112688f.jpg","text":"TemporaryFile(/tmp/multipartBody8673355779595643321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077064529,"filename":"image_30102025_11_12_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/2/2f2afd5a7026dd83be73126d3121c0cf.jpg","text":"TemporaryFile(/tmp/multipartBody7620217296067787401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077064529,"filename":"image_30102025_11_12_23_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/2/f404c804ac4299ca61308d240cf9ab1b.jpg","text":"TemporaryFile(/tmp/multipartBody4350390244534552949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077064529,"filename":"image_30102025_11_12_26_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/2/267b6b58ba76edd166e2014f029d580d.jpg","text":"TemporaryFile(/tmp/multipartBody3401079734767538358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077064529,"filename":"image_30102025_11_12_20_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/2/6876ed0b2cd4e0b363ca3dd240f3649c.jpg","text":"TemporaryFile(/tmp/multipartBody1371262503431644927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077064529,"filename":"image_30102025_11_12_29_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/2/5fe97c3210e9eedbf6e1cea3ed398c25.jpg","text":"TemporaryFile(/tmp/multipartBody8122456984989764262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077064529,"filename":"image_30102025_11_12_35_3568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391823144","file1":"1391823141","file0":"1391823138","file4":"1391823148","file5":"1391823149","file3":"1391823146"},"map_files_photo_id_array":[{"photo_id":"1391823149","filename":"file5"},{"photo_id":"1391823144","filename":"file2"},{"photo_id":"1391823148","filename":"file4"},{"photo_id":"1391823141","filename":"file1"},{"photo_id":"1391823138","filename":"file0"},{"photo_id":"1391823146","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391823148":["hashtag1","hashtag2"]},{"1391823141":["hashtag1","hashtag2"]},{"1391823144":["hashtag1","hashtag2"]},{"1391823138":["hashtag1","hashtag2"]},{"1391823146":["hashtag1","hashtag2"]},{"1391823149":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391823148, 1391823141, 1391823144, 1391823138, 1391823146, 1391823149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.410414695739746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 10:50:42.042668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_38_2656.jpg', '/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_41_2598.jpg', '/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_44_2834.jpg', '/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_47_3579.jpg', '/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_50_2693.jpg', '/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_53_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/11/12/image_30102025_11_12_38_2656.jpg
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_41_2598.jpg
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_44_2834.jpg
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_47_3579.jpg
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_50_2693.jpg
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_53_2703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391823165","1391823162","1391823159","1391823155","1391823178","1391823157"],"photo_ids_order":["1391823155","1391823157","1391823159","1391823162","1391823165","1391823178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b3c60c1e312e507c7116c8a3e0e62bd0.jpg","text":"TemporaryFile(/tmp/multipartBody6427310649613176672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077103169,"filename":"image_30102025_11_12_50_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/2/abde501250598b77791a9305763b99ee.jpg","text":"TemporaryFile(/tmp/multipartBody1830194209731841484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077103169,"filename":"image_30102025_11_12_47_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/2/c45e3cb96d2bb38ff2a39c2b55b70baf.jpg","text":"TemporaryFile(/tmp/multipartBody7407378058598823957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077103169,"filename":"image_30102025_11_12_44_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/2/91e48795a6844ca1dcdf35c7a3361fec.jpg","text":"TemporaryFile(/tmp/multipartBody8096251812527327162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077103169,"filename":"image_30102025_11_12_38_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/2/e49e219c8da905698757b060ed515fc2.jpg","text":"TemporaryFile(/tmp/multipartBody6410856650436024013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077103169,"filename":"image_30102025_11_12_53_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/2/a41ed3e6d040dd6965f13cf4f7d82b1d.jpg","text":"TemporaryFile(/tmp/multipartBody779770949296603453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077103169,"filename":"image_30102025_11_12_41_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391823159","file1":"1391823157","file0":"1391823155","file4":"1391823165","file5":"1391823178","file3":"1391823162"},"map_files_photo_id_array":[{"photo_id":"1391823178","filename":"file5"},{"photo_id":"1391823159","filename":"file2"},{"photo_id":"1391823165","filename":"file4"},{"photo_id":"1391823157","filename":"file1"},{"photo_id":"1391823155","filename":"file0"},{"photo_id":"1391823162","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391823165":["hashtag1","hashtag2"]},{"1391823162":["hashtag1","hashtag2"]},{"1391823159":["hashtag1","hashtag2"]},{"1391823155":["hashtag1","hashtag2"]},{"1391823178":["hashtag1","hashtag2"]},{"1391823157":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391823165, 1391823162, 1391823159, 1391823155, 1391823178, 1391823157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23006772994995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:51:22.157545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_56_3722.jpg', '/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_59_2682.jpg', '/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_02_2700.jpg', '/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_05_3690.jpg', '/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_08_2826.jpg', '/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_11_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_56_3722.jpg
/home/pi/Desktop/images/30102025/11/12/image_30102025_11_12_59_2682.jpg
/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_02_2700.jpg
/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_05_3690.jpg
/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_08_2826.jpg
/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_11_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391823192","1391823186","1391823194","1391823197","1391823188","1391823190"],"photo_ids_order":["1391823186","1391823188","1391823190","1391823192","1391823194","1391823197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/20bfd8a1f8dd60900e8ed0f6486bc519.jpg","text":"TemporaryFile(/tmp/multipartBody6044969887540321452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077144838,"filename":"image_30102025_11_13_05_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/2/4cd17ef54ecf2dcd934d3269e532ac56.jpg","text":"TemporaryFile(/tmp/multipartBody5193133930825977218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077144838,"filename":"image_30102025_11_12_56_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/2/f75103ab82447251ea14dce8bdf3c521.jpg","text":"TemporaryFile(/tmp/multipartBody5472114544860794457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077144838,"filename":"image_30102025_11_13_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/2/5fb3c11a5e191d88d43c939e54a9e9e6.jpg","text":"TemporaryFile(/tmp/multipartBody1914204684708139343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077144838,"filename":"image_30102025_11_13_11_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/2/eba55607233a81b2e1d04ba21eb98546.jpg","text":"TemporaryFile(/tmp/multipartBody4731327357314368954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077144838,"filename":"image_30102025_11_12_59_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/2/94be7b0b24b6df137d315aa86ab4f9b9.jpg","text":"TemporaryFile(/tmp/multipartBody6922398675428879462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077144838,"filename":"image_30102025_11_13_02_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391823190","file1":"1391823188","file0":"1391823186","file4":"1391823194","file5":"1391823197","file3":"1391823192"},"map_files_photo_id_array":[{"photo_id":"1391823197","filename":"file5"},{"photo_id":"1391823190","filename":"file2"},{"photo_id":"1391823194","filename":"file4"},{"photo_id":"1391823188","filename":"file1"},{"photo_id":"1391823186","filename":"file0"},{"photo_id":"1391823192","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391823192":["hashtag1","hashtag2"]},{"1391823186":["hashtag1","hashtag2"]},{"1391823194":["hashtag1","hashtag2"]},{"1391823197":["hashtag1","hashtag2"]},{"1391823188":["hashtag1","hashtag2"]},{"1391823190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391823192, 1391823186, 1391823194, 1391823197, 1391823188, 1391823190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.155285596847534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 10:52:02.821101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_14_3669.jpg', '/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_17_2562.jpg', '/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_20_2700.jpg', '/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_23_3649.jpg', '/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_26_2850.jpg', '/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_29_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/11/13/image_30102025_11_13_14_3669.jpg
/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_17_2562.jpg
/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_20_2700.jpg
/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_23_3649.jpg
/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_26_2850.jpg
/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_29_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":["1391823211","1391823205","1391823229","1391823220","1391823215","1391823224"],"photo_ids_order":["1391823205","1391823211","1391823215","1391823220","1391823224","1391823229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/011e094bc57fc145e9323675796a52f6.jpg","text":"TemporaryFile(/tmp/multipartBody5469146156203657379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077184959,"filename":"image_30102025_11_13_17_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/2/38d8cde8ab9f3f3540dcbb60516d2f15.jpg","text":"TemporaryFile(/tmp/multipartBody83571235877942361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077184959,"filename":"image_30102025_11_13_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/2/90e838f548c486ccf3a4849a71c9cb3c.jpg","text":"TemporaryFile(/tmp/multipartBody7322461990307103810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077184959,"filename":"image_30102025_11_13_29_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/2/7e9c8bb62395c1922844b0ae8ebdf24b.jpg","text":"TemporaryFile(/tmp/multipartBody2541731062562613979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077184959,"filename":"image_30102025_11_13_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/2/46e84235b6d8b3912f4407f8bed59051.jpg","text":"TemporaryFile(/tmp/multipartBody696180152632228814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077184959,"filename":"image_30102025_11_13_20_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/2/c92e842c0181f9c518ce091e4769df0d.jpg","text":"TemporaryFile(/tmp/multipartBody7081637853944948327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077184959,"filename":"image_30102025_11_13_26_2850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391823215","file1":"1391823211","file0":"1391823205","file4":"1391823224","file5":"1391823229","file3":"1391823220"},"map_files_photo_id_array":[{"photo_id":"1391823229","filename":"file5"},{"photo_id":"1391823215","filename":"file2"},{"photo_id":"1391823224","filename":"file4"},{"photo_id":"1391823211","filename":"file1"},{"photo_id":"1391823205","filename":"file0"},{"photo_id":"1391823220","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391823211":["hashtag1","hashtag2"]},{"1391823205":["hashtag1","hashtag2"]},{"1391823229":["hashtag1","hashtag2"]},{"1391823220":["hashtag1","hashtag2"]},{"1391823215":["hashtag1","hashtag2"]},{"1391823224":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391823211, 1391823205, 1391823229, 1391823220, 1391823215, 1391823224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2422239780426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 10:53:02.933328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_32_2606.jpg', '/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_35_3646.jpg', '/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_38_2722.jpg', '/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_44_3770.jpg', '/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_47_2711.jpg', '/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_50_2862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_32_2606.jpg
/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_35_3646.jpg
/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_38_2722.jpg
/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_44_3770.jpg
/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_47_2711.jpg
/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_50_2862.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391823244","1391823247","1391823240","1391823239","1391823242","1391823241"],"photo_ids_order":["1391823239","1391823240","1391823241","1391823242","1391823244","1391823247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/15240eace636d20ae5fbab00ab71064b.jpg","text":"TemporaryFile(/tmp/multipartBody6701397925465193136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077245205,"filename":"image_30102025_11_13_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/2/afa58deb5045f12b483a1997c03fdcc6.jpg","text":"TemporaryFile(/tmp/multipartBody3265541123904491820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077245205,"filename":"image_30102025_11_13_50_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/2/6a6de49154dfeeb155e72131d16d6b6e.jpg","text":"TemporaryFile(/tmp/multipartBody6783378634778801289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077245205,"filename":"image_30102025_11_13_35_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/2/36da5be4bbb8fbeb29569bded7996e8e.jpg","text":"TemporaryFile(/tmp/multipartBody8599653375948721468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077245205,"filename":"image_30102025_11_13_32_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/2/5902eb66f7675eb52011d122475209da.jpg","text":"TemporaryFile(/tmp/multipartBody2363207131503401832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077245205,"filename":"image_30102025_11_13_44_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/2/87bc5beea1444c05a26074d2f2a6ee3b.jpg","text":"TemporaryFile(/tmp/multipartBody9219220630865293712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077245205,"filename":"image_30102025_11_13_38_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391823241","file1":"1391823240","file0":"1391823239","file4":"1391823244","file5":"1391823247","file3":"1391823242"},"map_files_photo_id_array":[{"photo_id":"1391823247","filename":"file5"},{"photo_id":"1391823241","filename":"file2"},{"photo_id":"1391823244","filename":"file4"},{"photo_id":"1391823240","filename":"file1"},{"photo_id":"1391823239","filename":"file0"},{"photo_id":"1391823242","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391823244":["hashtag1","hashtag2"]},{"1391823247":["hashtag1","hashtag2"]},{"1391823240":["hashtag1","hashtag2"]},{"1391823239":["hashtag1","hashtag2"]},{"1391823242":["hashtag1","hashtag2"]},{"1391823241":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391823244, 1391823247, 1391823240, 1391823239, 1391823242, 1391823241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32709264755249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 10:53:42.619207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_53_2721.jpg', '/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_55_2708.jpg', '/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_59_3730.jpg', '/home/pi/Desktop/images/30102025/11/14/image_30102025_11_14_02_2806.jpg', '/home/pi/Desktop/images/30102025/11/14/image_30102025_11_14_05_2725.jpg', '/home/pi/Desktop/images/30102025/11/14/image_30102025_11_14_17_2921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_53_2721.jpg
/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_55_2708.jpg
/home/pi/Desktop/images/30102025/11/13/image_30102025_11_13_59_3730.jpg
/home/pi/Desktop/images/30102025/11/14/image_30102025_11_14_02_2806.jpg
/home/pi/Desktop/images/30102025/11/14/image_30102025_11_14_05_2725.jpg
/home/pi/Desktop/images/30102025/11/14/image_30102025_11_14_17_2921.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391823261","1391823263","1391823257","1391823266","1391823260","1391823262"],"photo_ids_order":["1391823257","1391823260","1391823261","1391823262","1391823263","1391823266"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bf9e93a90a8eed98cdfbc1262ccab4c6.jpg","text":"TemporaryFile(/tmp/multipartBody8479758064026214196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077283771,"filename":"image_30102025_11_13_59_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/2/89910d90e4a8f8f5ed3f1d7e1de6eb3e.jpg","text":"TemporaryFile(/tmp/multipartBody3188919866415294078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077283771,"filename":"image_30102025_11_14_05_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/2/0bcab0a825bd9f3373f094476da06481.jpg","text":"TemporaryFile(/tmp/multipartBody6887540495012351730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077283771,"filename":"image_30102025_11_13_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/2/5ea94b536a1406980bf7326793efcbb6.jpg","text":"TemporaryFile(/tmp/multipartBody1674162137198819996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077283771,"filename":"image_30102025_11_14_17_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/2/b4083c38e76fa4bedf388bd068984ff1.jpg","text":"TemporaryFile(/tmp/multipartBody2146136948829250655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077283771,"filename":"image_30102025_11_13_55_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/2/52a21f2ab9164fcfa7c4226ca9b7f115.jpg","text":"TemporaryFile(/tmp/multipartBody258491410626967088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077283771,"filename":"image_30102025_11_14_02_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391823261","file1":"1391823260","file0":"1391823257","file4":"1391823263","file5":"1391823266","file3":"1391823262"},"map_files_photo_id_array":[{"photo_id":"1391823266","filename":"file5"},{"photo_id":"1391823261","filename":"file2"},{"photo_id":"1391823263","filename":"file4"},{"photo_id":"1391823260","filename":"file1"},{"photo_id":"1391823257","filename":"file0"},{"photo_id":"1391823262","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391823261":["hashtag1","hashtag2"]},{"1391823263":["hashtag1","hashtag2"]},{"1391823257":["hashtag1","hashtag2"]},{"1391823266":["hashtag1","hashtag2"]},{"1391823260":["hashtag1","hashtag2"]},{"1391823262":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391823261, 1391823263, 1391823257, 1391823266, 1391823260, 1391823262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4297239780426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:54:22.713798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/14/image_30102025_11_14_20_2603.jpg', '/home/pi/Desktop/images/30102025/11/14/image_30102025_11_14_23_3627.jpg', '/home/pi/Desktop/images/30102025/11/14/image_30102025_11_14_26_2864.jpg', '/home/pi/Desktop/images/30102025/11/14/image_30102025_11_14_29_2530.jpg', '/home/pi/Desktop/images/30102025/11/14/image_30102025_11_14_32_3575.jpg', '/home/pi/Desktop/images/30102025/11/14/image_30102025_11_14_35_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/11/14/image_30102025_11_14_20_2603.jpg
/home/pi/Desktop/images/30102025/11/14/image_30102025_11_14_23_3627.jpg
/home/pi/Desktop/images/30102025/11/14/image_30102025_11_14_26_2864.jpg
/home/pi/Desktop/images/30102025/11/14/image_30102025_11_14_29_2530.jpg
/home/pi/Desktop/images/30102025/11/14/image_30102025_11_14_32_3575.jpg
/home/pi/Desktop/images/30102025/11/14/image_30102025_11_14_35_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":["1391823285","1391823288","1391823281","1391823290","1391823283","1391823277"],"photo_ids_order":["1391823277","1391823281","1391823283","1391823285","1391823288","1391823290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0c217e13f6fa0e263b59913e521e965c.jpg","text":"TemporaryFile(/tmp/multipartBody841407124979078100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077325428,"filename":"image_30102025_11_14_29_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/2/a3288c5e7fd9f133fe2d9a7a27166b8b.jpg","text":"TemporaryFile(/tmp/multipartBody2030988168285813945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077325428,"filename":"image_30102025_11_14_32_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/2/e488b8d719eb03554bdf14b98903ea9e.jpg","text":"TemporaryFile(/tmp/multipartBody4122627782435966040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077325428,"filename":"image_30102025_11_14_23_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/2/c9bda8d768fa60e86ed12121d052fc83.jpg","text":"TemporaryFile(/tmp/multipartBody666218295373101394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077325428,"filename":"image_30102025_11_14_35_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/2/da9545652d6b4c66ca8c27ce943aba7c.jpg","text":"TemporaryFile(/tmp/multipartBody1805301338917711532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077325428,"filename":"image_30102025_11_14_26_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/2/42ab9bfb377a7008b89f1480eea50da4.jpg","text":"TemporaryFile(/tmp/multipartBody5209062025225335525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077325428,"filename":"image_30102025_11_14_20_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391823283","file1":"1391823281","file0":"1391823277","file4":"1391823288","file5":"1391823290","file3":"1391823285"},"map_files_photo_id_array":[{"photo_id":"1391823290","filename":"file5"},{"photo_id":"1391823283","filename":"file2"},{"photo_id":"1391823288","filename":"file4"},{"photo_id":"1391823281","filename":"file1"},{"photo_id":"1391823277","filename":"file0"},{"photo_id":"1391823285","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391823285":["hashtag1","hashtag2"]},{"1391823288":["hashtag1","hashtag2"]},{"1391823281":["hashtag1","hashtag2"]},{"1391823290":["hashtag1","hashtag2"]},{"1391823283":["hashtag1","hashtag2"]},{"1391823277":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391823285, 1391823288, 1391823281, 1391823290, 1391823283, 1391823277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.946070432662964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:55:21.870795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/14/image_30102025_11_14_50_3693.jpg', '/home/pi/Desktop/images/30102025/11/14/image_30102025_11_14_53_2828.jpg', '/home/pi/Desktop/images/30102025/11/16/image_30102025_11_16_07_3014.jpg', '/home/pi/Desktop/images/30102025/11/16/image_30102025_11_16_11_3778.jpg', '/home/pi/Desktop/images/30102025/11/16/image_30102025_11_16_14_2913.jpg', '/home/pi/Desktop/images/30102025/11/16/image_30102025_11_16_19_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/11/14/image_30102025_11_14_50_3693.jpg
/home/pi/Desktop/images/30102025/11/14/image_30102025_11_14_53_2828.jpg
/home/pi/Desktop/images/30102025/11/16/image_30102025_11_16_07_3014.jpg
/home/pi/Desktop/images/30102025/11/16/image_30102025_11_16_11_3778.jpg
/home/pi/Desktop/images/30102025/11/16/image_30102025_11_16_14_2913.jpg
/home/pi/Desktop/images/30102025/11/16/image_30102025_11_16_19_2714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391823322","1391823315","1391823318","1391823312","1391823320","1391823314"],"photo_ids_order":["1391823312","1391823314","1391823315","1391823318","1391823320","1391823322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0ecf7f080a0373b99a9b32729a06aa0e.jpg","text":"TemporaryFile(/tmp/multipartBody571846445337801139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077411878,"filename":"image_30102025_11_16_19_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/2/3ddfc34aa4ab792b7d3508ebd0af872e.jpg","text":"TemporaryFile(/tmp/multipartBody3686695778245842213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077411878,"filename":"image_30102025_11_16_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/2/10ed1086ccbfbf3588ac6f7ee4c1912a.jpg","text":"TemporaryFile(/tmp/multipartBody4852010971067481329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077411878,"filename":"image_30102025_11_16_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/2/e65acc54a91f022a5b69628df32da6d8.jpg","text":"TemporaryFile(/tmp/multipartBody121229313471939622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077411878,"filename":"image_30102025_11_14_50_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/2/3f4db2007dbf1c08afc67f076a175b0a.jpg","text":"TemporaryFile(/tmp/multipartBody7366995438529516468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077411878,"filename":"image_30102025_11_16_14_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/2/f68ee2f0252b94b77972b69650d95094.jpg","text":"TemporaryFile(/tmp/multipartBody1309666456075748886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077411878,"filename":"image_30102025_11_14_53_2828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391823315","file1":"1391823314","file0":"1391823312","file4":"1391823320","file5":"1391823322","file3":"1391823318"},"map_files_photo_id_array":[{"photo_id":"1391823322","filename":"file5"},{"photo_id":"1391823315","filename":"file2"},{"photo_id":"1391823320","filename":"file4"},{"photo_id":"1391823314","filename":"file1"},{"photo_id":"1391823312","filename":"file0"},{"photo_id":"1391823318","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391823322":["hashtag1","hashtag2"]},{"1391823315":["hashtag1","hashtag2"]},{"1391823318":["hashtag1","hashtag2"]},{"1391823312":["hashtag1","hashtag2"]},{"1391823320":["hashtag1","hashtag2"]},{"1391823314":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391823322, 1391823315, 1391823318, 1391823312, 1391823320, 1391823314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.33412957191467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 10:56:42.188348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/16/image_30102025_11_16_23_3603.jpg', '/home/pi/Desktop/images/30102025/11/16/image_30102025_11_16_28_2721.jpg', '/home/pi/Desktop/images/30102025/11/16/image_30102025_11_16_44_3589.jpg', '/home/pi/Desktop/images/30102025/11/16/image_30102025_11_16_46_2621.jpg', '/home/pi/Desktop/images/30102025/11/16/image_30102025_11_16_49_2731.jpg', '/home/pi/Desktop/images/30102025/11/16/image_30102025_11_16_53_3800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/16/image_30102025_11_16_23_3603.jpg
/home/pi/Desktop/images/30102025/11/16/image_30102025_11_16_28_2721.jpg
/home/pi/Desktop/images/30102025/11/16/image_30102025_11_16_44_3589.jpg
/home/pi/Desktop/images/30102025/11/16/image_30102025_11_16_46_2621.jpg
/home/pi/Desktop/images/30102025/11/16/image_30102025_11_16_49_2731.jpg
/home/pi/Desktop/images/30102025/11/16/image_30102025_11_16_53_3800.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391823336","1391823330","1391823332","1391823329","1391823340","1391823334"],"photo_ids_order":["1391823329","1391823330","1391823332","1391823334","1391823336","1391823340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fce24b08696f9f0994e880e808e994fd.jpg","text":"TemporaryFile(/tmp/multipartBody8573483176766091415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077463340,"filename":"image_30102025_11_16_49_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/2/1cf07ba319b7d4cbf70b8b6f226c781a.jpg","text":"TemporaryFile(/tmp/multipartBody6951676093475707053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077463340,"filename":"image_30102025_11_16_28_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/2/955c110f5817443ed054dc42f4a4f5e8.jpg","text":"TemporaryFile(/tmp/multipartBody5237253950447671041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077463340,"filename":"image_30102025_11_16_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/2/42b9d92e68128dd1b15985999b79ced2.jpg","text":"TemporaryFile(/tmp/multipartBody4629503927911653718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077463340,"filename":"image_30102025_11_16_23_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/2/5f96cf53eb5de25e197576ee7c4423eb.jpg","text":"TemporaryFile(/tmp/multipartBody4374901163924848268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077463340,"filename":"image_30102025_11_16_53_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/2/c5320e7033b68f727d0da012a4416bdb.jpg","text":"TemporaryFile(/tmp/multipartBody344062385772755730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077463340,"filename":"image_30102025_11_16_46_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391823332","file1":"1391823330","file0":"1391823329","file4":"1391823336","file5":"1391823340","file3":"1391823334"},"map_files_photo_id_array":[{"photo_id":"1391823340","filename":"file5"},{"photo_id":"1391823332","filename":"file2"},{"photo_id":"1391823336","filename":"file4"},{"photo_id":"1391823330","filename":"file1"},{"photo_id":"1391823329","filename":"file0"},{"photo_id":"1391823334","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391823336":["hashtag1","hashtag2"]},{"1391823330":["hashtag1","hashtag2"]},{"1391823332":["hashtag1","hashtag2"]},{"1391823329":["hashtag1","hashtag2"]},{"1391823340":["hashtag1","hashtag2"]},{"1391823334":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391823336, 1391823330, 1391823332, 1391823329, 1391823340, 1391823334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.737223863601685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 10:57:22.470844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/16/image_30102025_11_16_58_2517.jpg', '/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_05_2881.jpg', '/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_08_2829.jpg', '/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_13_2909.jpg', '/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_20_2684.jpg', '/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_22_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/11/16/image_30102025_11_16_58_2517.jpg
/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_05_2881.jpg
/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_08_2829.jpg
/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_13_2909.jpg
/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_20_2684.jpg
/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_22_2669.jpg
 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-02 10:59:05.895964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/16/image_30102025_11_16_58_2517.jpg', '/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_05_2881.jpg', '/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_08_2829.jpg', '/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_13_2909.jpg', '/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_20_2684.jpg', '/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_22_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/11/16/image_30102025_11_16_58_2517.jpg
/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_05_2881.jpg
/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_08_2829.jpg
/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_13_2909.jpg
/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_20_2684.jpg
/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_22_2669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391823727","1391823700","1391823693","1391823696","1391823698","1391823770"],"photo_ids_order":["1391823693","1391823696","1391823698","1391823700","1391823727","1391823770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d5aadaf69a096d046adc5ded9c29bb2e.jpg","text":"TemporaryFile(/tmp/multipartBody2145655719355897570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077609581,"filename":"image_30102025_11_17_20_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/2/cb03fd57ac60d2fa88cfbeb3fe0c08d5.jpg","text":"TemporaryFile(/tmp/multipartBody5379531898232928055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077609581,"filename":"image_30102025_11_17_13_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/2/850d8df372e8b92a1c25841d87df025c.jpg","text":"TemporaryFile(/tmp/multipartBody7215107794194636411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077609581,"filename":"image_30102025_11_16_58_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/2/a597f78122ecf86306c360d4fe802496.jpg","text":"TemporaryFile(/tmp/multipartBody459703564634744860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077609581,"filename":"image_30102025_11_17_05_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/2/5f05decdbecfe9a0a982daefae094daa.jpg","text":"TemporaryFile(/tmp/multipartBody6125089278551571801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077609581,"filename":"image_30102025_11_17_08_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/2/f759612d3a5a94633f93edf40b870d18.jpg","text":"TemporaryFile(/tmp/multipartBody7878217141333826918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077609581,"filename":"image_30102025_11_17_22_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391823698","file1":"1391823696","file0":"1391823693","file4":"1391823727","file5":"1391823770","file3":"1391823700"},"map_files_photo_id_array":[{"photo_id":"1391823770","filename":"file5"},{"photo_id":"1391823698","filename":"file2"},{"photo_id":"1391823727","filename":"file4"},{"photo_id":"1391823696","filename":"file1"},{"photo_id":"1391823693","filename":"file0"},{"photo_id":"1391823700","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391823727":["hashtag1","hashtag2"]},{"1391823700":["hashtag1","hashtag2"]},{"1391823693":["hashtag1","hashtag2"]},{"1391823696":["hashtag1","hashtag2"]},{"1391823698":["hashtag1","hashtag2"]},{"1391823770":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391823727, 1391823700, 1391823693, 1391823696, 1391823698, 1391823770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.79158902168274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:00:02.604343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_26_3723.jpg', '/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_29_2816.jpg', '/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_31_2582.jpg', '/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_34_2645.jpg', '/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_38_3671.jpg', '/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_40_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/11/17/image_30102025_11_17_26_3723.jpg
/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_29_2816.jpg
/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_31_2582.jpg
/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_34_2645.jpg
/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_38_3671.jpg
/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_40_2606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391824197","1391824200","1391824203","1391824125","1391824168","1391824177"],"photo_ids_order":["1391824125","1391824168","1391824177","1391824197","1391824200","1391824203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a61e235793eeec0832db90764304bec1.jpg","text":"TemporaryFile(/tmp/multipartBody1342092006715188119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077664722,"filename":"image_30102025_11_17_34_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/2/87aedd3e270e92cbc2f3ce62b991e754.jpg","text":"TemporaryFile(/tmp/multipartBody5060963478049730289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077664722,"filename":"image_30102025_11_17_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/2/d24d1fadaeed0b908fe02c4c41246832.jpg","text":"TemporaryFile(/tmp/multipartBody7589515926654757115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077664722,"filename":"image_30102025_11_17_40_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/2/aef74a19523ab2f59eef72bd87b6e1d9.jpg","text":"TemporaryFile(/tmp/multipartBody8313980514328809311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077664722,"filename":"image_30102025_11_17_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/2/b0b3e44d3dfc124aa6732c0ccd0d4817.jpg","text":"TemporaryFile(/tmp/multipartBody8453777874290274771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077664722,"filename":"image_30102025_11_17_29_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/2/3d3f50b44cb266ef39c298c3fc4a3267.jpg","text":"TemporaryFile(/tmp/multipartBody1640930065911995777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077664722,"filename":"image_30102025_11_17_31_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391824177","file1":"1391824168","file0":"1391824125","file4":"1391824200","file5":"1391824203","file3":"1391824197"},"map_files_photo_id_array":[{"photo_id":"1391824203","filename":"file5"},{"photo_id":"1391824177","filename":"file2"},{"photo_id":"1391824200","filename":"file4"},{"photo_id":"1391824168","filename":"file1"},{"photo_id":"1391824125","filename":"file0"},{"photo_id":"1391824197","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391824197":["hashtag1","hashtag2"]},{"1391824200":["hashtag1","hashtag2"]},{"1391824203":["hashtag1","hashtag2"]},{"1391824125":["hashtag1","hashtag2"]},{"1391824168":["hashtag1","hashtag2"]},{"1391824177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391824197, 1391824200, 1391824203, 1391824125, 1391824168, 1391824177)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.04008340835571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:01:02.860646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_44_3645.jpg', '/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_46_2114.jpg', '/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_50_3668.jpg', '/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_53_2720.jpg', '/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_55_2689.jpg', '/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_59_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_44_3645.jpg
/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_46_2114.jpg
/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_50_3668.jpg
/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_53_2720.jpg
/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_55_2689.jpg
/home/pi/Desktop/images/30102025/11/17/image_30102025_11_17_59_3692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391824380","1391824518","1391824559","1391824364","1391824468","1391824408"],"photo_ids_order":["1391824364","1391824380","1391824408","1391824468","1391824518","1391824559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cdb8eb14cff6a7caef8eeb73a6a70923.jpg","text":"TemporaryFile(/tmp/multipartBody2302862738204252485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077725359,"filename":"image_30102025_11_17_46_2114.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2ad8e39809c6751283c83a5237bbe732.jpg","text":"TemporaryFile(/tmp/multipartBody4566734265537767268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077725359,"filename":"image_30102025_11_17_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/2/4366e70e43197caa74e2a6eab0c08cfb.jpg","text":"TemporaryFile(/tmp/multipartBody7454179557875424617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077725359,"filename":"image_30102025_11_17_59_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/2/1effef0d921d26e4186197b3a0fe2d26.jpg","text":"TemporaryFile(/tmp/multipartBody6319355676760972384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077725359,"filename":"image_30102025_11_17_44_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/2/4e9f7dc71b8ebb4c75757ac3a6dfa096.jpg","text":"TemporaryFile(/tmp/multipartBody8570822500066631870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077725359,"filename":"image_30102025_11_17_53_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/2/4959d47e167aebfc733376f78816bd90.jpg","text":"TemporaryFile(/tmp/multipartBody984186256788955064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077725359,"filename":"image_30102025_11_17_50_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391824408","file1":"1391824380","file0":"1391824364","file4":"1391824518","file5":"1391824559","file3":"1391824468"},"map_files_photo_id_array":[{"photo_id":"1391824559","filename":"file5"},{"photo_id":"1391824408","filename":"file2"},{"photo_id":"1391824518","filename":"file4"},{"photo_id":"1391824380","filename":"file1"},{"photo_id":"1391824364","filename":"file0"},{"photo_id":"1391824468","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391824380":["hashtag1","hashtag2"]},{"1391824518":["hashtag1","hashtag2"]},{"1391824559":["hashtag1","hashtag2"]},{"1391824364":["hashtag1","hashtag2"]},{"1391824468":["hashtag1","hashtag2"]},{"1391824408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391824380, 1391824518, 1391824559, 1391824364, 1391824468, 1391824408)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.70584559440613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:02:03.031885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_02_2703.jpg', '/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_04_2652.jpg', '/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_08_3690.jpg', '/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_11_2661.jpg', '/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_13_2711.jpg', '/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_17_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/11/18/image_30102025_11_18_02_2703.jpg
/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_04_2652.jpg
/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_08_3690.jpg
/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_11_2661.jpg
/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_13_2711.jpg
/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_17_3625.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.137767791748047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 11:02:22.486308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_02_2703.jpg', '/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_04_2652.jpg', '/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_08_3690.jpg', '/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_11_2661.jpg', '/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_13_2711.jpg', '/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_17_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/11/18/image_30102025_11_18_02_2703.jpg
/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_04_2652.jpg
/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_08_3690.jpg
/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_11_2661.jpg
/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_13_2711.jpg
/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_17_3625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391825220","1391825180","1391825255","1391825138","1391825292","1391825097"],"photo_ids_order":["1391825097","1391825138","1391825180","1391825220","1391825255","1391825292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/76e67b56d48156d881c61932e9eefc40.jpg","text":"TemporaryFile(/tmp/multipartBody6129536304817924045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077805070,"filename":"image_30102025_11_18_11_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/2/299450fe66b8032e25a1167deafc8068.jpg","text":"TemporaryFile(/tmp/multipartBody2385936168820130627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077805070,"filename":"image_30102025_11_18_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/2/9362a726bb823db84eef13cf8efc301e.jpg","text":"TemporaryFile(/tmp/multipartBody2679179170600228470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077805070,"filename":"image_30102025_11_18_13_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/2/3805cd5ce51f2c551ea4c068cc300e1f.jpg","text":"TemporaryFile(/tmp/multipartBody5855526244317713790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077805070,"filename":"image_30102025_11_18_04_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/2/b0438a823ca10898118adc10e9c2de35.jpg","text":"TemporaryFile(/tmp/multipartBody5526271688116692917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077805070,"filename":"image_30102025_11_18_17_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/2/eec31cfe4e4598b5665ac62ebba81eec.jpg","text":"TemporaryFile(/tmp/multipartBody8671298402440400723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077805070,"filename":"image_30102025_11_18_02_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391825180","file1":"1391825138","file0":"1391825097","file4":"1391825255","file5":"1391825292","file3":"1391825220"},"map_files_photo_id_array":[{"photo_id":"1391825292","filename":"file5"},{"photo_id":"1391825180","filename":"file2"},{"photo_id":"1391825255","filename":"file4"},{"photo_id":"1391825138","filename":"file1"},{"photo_id":"1391825097","filename":"file0"},{"photo_id":"1391825220","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391825220":["hashtag1","hashtag2"]},{"1391825180":["hashtag1","hashtag2"]},{"1391825255":["hashtag1","hashtag2"]},{"1391825138":["hashtag1","hashtag2"]},{"1391825292":["hashtag1","hashtag2"]},{"1391825097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391825220, 1391825180, 1391825255, 1391825138, 1391825292, 1391825097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.169310331344604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:03:03.368565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_20_2657.jpg', '/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_22_2530.jpg', '/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_26_3684.jpg', '/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_29_2829.jpg', '/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_31_2824.jpg', '/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_34_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_20_2657.jpg
/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_22_2530.jpg
/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_26_3684.jpg
/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_29_2829.jpg
/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_31_2824.jpg
/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_34_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":["1391825442","1391825519","1391825644","1391825602","1391825562","1391825478"],"photo_ids_order":["1391825442","1391825478","1391825519","1391825562","1391825602","1391825644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/182fd5a22968a6252146937ce6ee2afc.jpg","text":"TemporaryFile(/tmp/multipartBody2970736842892044291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077845610,"filename":"image_30102025_11_18_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/2/d86dbf9ada5b15162a73920f816950f6.jpg","text":"TemporaryFile(/tmp/multipartBody7470133651281528865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077845610,"filename":"image_30102025_11_18_26_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/2/1ff4523d33e01e911ce05020bccce2ca.jpg","text":"TemporaryFile(/tmp/multipartBody8247635296050149421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077845610,"filename":"image_30102025_11_18_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/2/088605a7751a49bccc0e17a9465a17e1.jpg","text":"TemporaryFile(/tmp/multipartBody1703479824382937347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077845610,"filename":"image_30102025_11_18_31_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/2/a02650bca64a895f847a36369ebdadf9.jpg","text":"TemporaryFile(/tmp/multipartBody402132630460502011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077845610,"filename":"image_30102025_11_18_29_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/2/9ee9dab47208d3b81e8187d3a4249c91.jpg","text":"TemporaryFile(/tmp/multipartBody5742821387217456224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077845610,"filename":"image_30102025_11_18_22_2530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391825519","file1":"1391825478","file0":"1391825442","file4":"1391825602","file5":"1391825644","file3":"1391825562"},"map_files_photo_id_array":[{"photo_id":"1391825644","filename":"file5"},{"photo_id":"1391825519","filename":"file2"},{"photo_id":"1391825602","filename":"file4"},{"photo_id":"1391825478","filename":"file1"},{"photo_id":"1391825442","filename":"file0"},{"photo_id":"1391825562","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391825442":["hashtag1","hashtag2"]},{"1391825519":["hashtag1","hashtag2"]},{"1391825644":["hashtag1","hashtag2"]},{"1391825602":["hashtag1","hashtag2"]},{"1391825562":["hashtag1","hashtag2"]},{"1391825478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391825442, 1391825519, 1391825644, 1391825602, 1391825562, 1391825478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.85804748535156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:04:03.252314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_38_3754.jpg', '/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_41_2711.jpg', '/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_43_2570.jpg', '/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_46_2805.jpg', '/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_50_3694.jpg', '/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_52_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/11/18/image_30102025_11_18_38_3754.jpg
/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_41_2711.jpg
/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_43_2570.jpg
/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_46_2805.jpg
/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_50_3694.jpg
/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_52_2707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391825681","1391825683","1391825677","1391825680","1391825682","1391825685"],"photo_ids_order":["1391825677","1391825680","1391825681","1391825682","1391825683","1391825685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/994d6565ab70846b20941aeaf600dffb.jpg","text":"TemporaryFile(/tmp/multipartBody5016813480939692764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077905418,"filename":"image_30102025_11_18_43_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/2/1336511162cb38e6821a9f3fbb25df36.jpg","text":"TemporaryFile(/tmp/multipartBody2395908933335054286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077905418,"filename":"image_30102025_11_18_50_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/2/b3eedd35089ca2e66c12af04316c0ad3.jpg","text":"TemporaryFile(/tmp/multipartBody3811988634507835391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077905418,"filename":"image_30102025_11_18_38_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/2/d211e9cef3288b65ba50feaca43f79b3.jpg","text":"TemporaryFile(/tmp/multipartBody5834568326350447902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077905418,"filename":"image_30102025_11_18_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/2/9fea0d020b2e0079467d7193cd3c43eb.jpg","text":"TemporaryFile(/tmp/multipartBody2112434871289431461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077905418,"filename":"image_30102025_11_18_46_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/2/05e116351040054dfbfd2715325c0660.jpg","text":"TemporaryFile(/tmp/multipartBody7422643231516866820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077905418,"filename":"image_30102025_11_18_52_2707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391825681","file1":"1391825680","file0":"1391825677","file4":"1391825683","file5":"1391825685","file3":"1391825682"},"map_files_photo_id_array":[{"photo_id":"1391825685","filename":"file5"},{"photo_id":"1391825681","filename":"file2"},{"photo_id":"1391825683","filename":"file4"},{"photo_id":"1391825680","filename":"file1"},{"photo_id":"1391825677","filename":"file0"},{"photo_id":"1391825682","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391825681":["hashtag1","hashtag2"]},{"1391825683":["hashtag1","hashtag2"]},{"1391825677":["hashtag1","hashtag2"]},{"1391825680":["hashtag1","hashtag2"]},{"1391825682":["hashtag1","hashtag2"]},{"1391825685":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391825681, 1391825683, 1391825677, 1391825680, 1391825682, 1391825685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.233689308166504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 11:04:42.870723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_55_2730.jpg', '/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_59_3597.jpg', '/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_01_2753.jpg', '/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_04_2542.jpg', '/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_08_3619.jpg', '/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_10_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/11/18/image_30102025_11_18_55_2730.jpg
/home/pi/Desktop/images/30102025/11/18/image_30102025_11_18_59_3597.jpg
/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_01_2753.jpg
/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_04_2542.jpg
/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_08_3619.jpg
/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_10_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391825699","1391825702","1391825704","1391825694","1391825697","1391825691"],"photo_ids_order":["1391825691","1391825694","1391825697","1391825699","1391825702","1391825704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/25ab9a8614de594b57ca7fead999a7c5.jpg","text":"TemporaryFile(/tmp/multipartBody1223935372455721737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077944118,"filename":"image_30102025_11_19_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/2/6177000af0c10001ede7e6cacf629524.jpg","text":"TemporaryFile(/tmp/multipartBody5186146532034553745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077944118,"filename":"image_30102025_11_19_08_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/2/5be174986c3ffb342101c0e74ed1f392.jpg","text":"TemporaryFile(/tmp/multipartBody7045295120866426856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077944118,"filename":"image_30102025_11_19_10_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/2/d4264e41590f4dd3534086a4eaac5cee.jpg","text":"TemporaryFile(/tmp/multipartBody6364096414519488510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077944118,"filename":"image_30102025_11_18_59_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/2/35c1bb1eacc961c1357ba60984d67228.jpg","text":"TemporaryFile(/tmp/multipartBody3788241673374247495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077944118,"filename":"image_30102025_11_19_01_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/2/22ca0bd2f54d344838875809c77f3194.jpg","text":"TemporaryFile(/tmp/multipartBody2932426653516657860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077944118,"filename":"image_30102025_11_18_55_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391825697","file1":"1391825694","file0":"1391825691","file4":"1391825702","file5":"1391825704","file3":"1391825699"},"map_files_photo_id_array":[{"photo_id":"1391825704","filename":"file5"},{"photo_id":"1391825697","filename":"file2"},{"photo_id":"1391825702","filename":"file4"},{"photo_id":"1391825694","filename":"file1"},{"photo_id":"1391825691","filename":"file0"},{"photo_id":"1391825699","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391825699":["hashtag1","hashtag2"]},{"1391825702":["hashtag1","hashtag2"]},{"1391825704":["hashtag1","hashtag2"]},{"1391825694":["hashtag1","hashtag2"]},{"1391825697":["hashtag1","hashtag2"]},{"1391825691":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391825699, 1391825702, 1391825704, 1391825694, 1391825697, 1391825691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.869497776031494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 11:05:22.015912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_14_3587.jpg', '/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_16_2625.jpg', '/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_19_2673.jpg', '/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_23_3635.jpg', '/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_25_2546.jpg', '/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_28_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/11/19/image_30102025_11_19_14_3587.jpg
/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_16_2625.jpg
/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_19_2673.jpg
/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_23_3635.jpg
/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_25_2546.jpg
/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_28_2628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391825910","1391826068","1391825870","1391825993","1391825950","1391826030"],"photo_ids_order":["1391825870","1391825910","1391825950","1391825993","1391826030","1391826068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/20616b78d1d381a1d1731d07290086ea.jpg","text":"TemporaryFile(/tmp/multipartBody4131552740772315576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077984733,"filename":"image_30102025_11_19_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/2/d36a4c5b9cdc750bb12f7ff2241c80a3.jpg","text":"TemporaryFile(/tmp/multipartBody8242339197746779363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077984733,"filename":"image_30102025_11_19_28_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/2/0797b68194afcfaaeffe7eb12379337b.jpg","text":"TemporaryFile(/tmp/multipartBody3819428443906872893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077984733,"filename":"image_30102025_11_19_14_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/2/44fd751d9259429dbe1417588565a763.jpg","text":"TemporaryFile(/tmp/multipartBody3058191353637032840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077984733,"filename":"image_30102025_11_19_23_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/2/28dc194028869e1c2a9a590c82044746.jpg","text":"TemporaryFile(/tmp/multipartBody3905075477699903260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077984733,"filename":"image_30102025_11_19_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/2/de93cf8e56c26af7df8aa6c0fb0a0bdd.jpg","text":"TemporaryFile(/tmp/multipartBody429902161200391936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762077984733,"filename":"image_30102025_11_19_25_2546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391825950","file1":"1391825910","file0":"1391825870","file4":"1391826030","file5":"1391826068","file3":"1391825993"},"map_files_photo_id_array":[{"photo_id":"1391826068","filename":"file5"},{"photo_id":"1391825950","filename":"file2"},{"photo_id":"1391826030","filename":"file4"},{"photo_id":"1391825910","filename":"file1"},{"photo_id":"1391825870","filename":"file0"},{"photo_id":"1391825993","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391825910":["hashtag1","hashtag2"]},{"1391826068":["hashtag1","hashtag2"]},{"1391825870":["hashtag1","hashtag2"]},{"1391825993":["hashtag1","hashtag2"]},{"1391825950":["hashtag1","hashtag2"]},{"1391826030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391825910, 1391826068, 1391825870, 1391825993, 1391825950, 1391826030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35019612312317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:06:02.667281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_32_3709.jpg', '/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_34_2791.jpg', '/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_37_2589.jpg', '/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_41_3746.jpg', '/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_44_2787.jpg', '/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_46_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/11/19/image_30102025_11_19_32_3709.jpg
/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_34_2791.jpg
/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_37_2589.jpg
/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_41_3746.jpg
/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_44_2787.jpg
/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_46_2774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391826260","1391826197","1391826200","1391826262","1391826208","1391826249"],"photo_ids_order":["1391826197","1391826200","1391826208","1391826249","1391826260","1391826262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/63f7f0783f995172ab2ed1c3270637ec.jpg","text":"TemporaryFile(/tmp/multipartBody5647810959455284653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078024829,"filename":"image_30102025_11_19_44_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/2/f66a74492a29464485a4e403e6e378a2.jpg","text":"TemporaryFile(/tmp/multipartBody8237994100334638915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078024829,"filename":"image_30102025_11_19_32_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/2/1d72ffc52942ad76702cdaf5d8021eaf.jpg","text":"TemporaryFile(/tmp/multipartBody8487506273984997873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078024829,"filename":"image_30102025_11_19_34_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/2/5dfbd8f1afc30fab66e60d3842948c46.jpg","text":"TemporaryFile(/tmp/multipartBody4151364831434716837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078024829,"filename":"image_30102025_11_19_46_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/2/a9715b86cfde955f62d238a331e5e711.jpg","text":"TemporaryFile(/tmp/multipartBody7970779421807912650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078024829,"filename":"image_30102025_11_19_37_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/2/4fa5613e2f34d461cca7225038a870c1.jpg","text":"TemporaryFile(/tmp/multipartBody4919246871499489979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078024829,"filename":"image_30102025_11_19_41_3746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391826208","file1":"1391826200","file0":"1391826197","file4":"1391826260","file5":"1391826262","file3":"1391826249"},"map_files_photo_id_array":[{"photo_id":"1391826262","filename":"file5"},{"photo_id":"1391826208","filename":"file2"},{"photo_id":"1391826260","filename":"file4"},{"photo_id":"1391826200","filename":"file1"},{"photo_id":"1391826197","filename":"file0"},{"photo_id":"1391826249","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391826260":["hashtag1","hashtag2"]},{"1391826197":["hashtag1","hashtag2"]},{"1391826200":["hashtag1","hashtag2"]},{"1391826262":["hashtag1","hashtag2"]},{"1391826208":["hashtag1","hashtag2"]},{"1391826249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391826260, 1391826197, 1391826200, 1391826262, 1391826208, 1391826249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.268890380859375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 11:06:42.312332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_53_6294.jpg', '/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_54_1713.jpg', '/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_56_1733.jpg', '/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_59_2702.jpg', '/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_08_3015.jpg', '/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_14_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/11/19/image_30102025_11_19_53_6294.jpg
/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_54_1713.jpg
/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_56_1733.jpg
/home/pi/Desktop/images/30102025/11/19/image_30102025_11_19_59_2702.jpg
/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_08_3015.jpg
/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_14_2716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391826389","1391826380","1391826350","1391826305","1391826360","1391826392"],"photo_ids_order":["1391826305","1391826350","1391826360","1391826380","1391826389","1391826392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a86a3ccaeea9b5b12c59c11d97d802ac.jpg","text":"TemporaryFile(/tmp/multipartBody3983956249194051960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078063508,"filename":"image_30102025_11_20_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/2/6a7d51eba22e337a1196dbd7a3c5667a.jpg","text":"TemporaryFile(/tmp/multipartBody421993760104993580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078063508,"filename":"image_30102025_11_19_59_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/2/40a045044e982735027c285ee8202280.jpg","text":"TemporaryFile(/tmp/multipartBody2225388268438176446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078063508,"filename":"image_30102025_11_19_54_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/2/22e52643902eb1f056efc46fa753368b.jpg","text":"TemporaryFile(/tmp/multipartBody2391199819758530673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078063508,"filename":"image_30102025_11_19_53_6294.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/004bacc9df4c129ee3a0f32b681bdfe4.jpg","text":"TemporaryFile(/tmp/multipartBody8958426863727118180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078063508,"filename":"image_30102025_11_19_56_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/2/9a73007f9567cc1f349440502ea2fe45.jpg","text":"TemporaryFile(/tmp/multipartBody344024347983391499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078063508,"filename":"image_30102025_11_20_14_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391826360","file1":"1391826350","file0":"1391826305","file4":"1391826389","file5":"1391826392","file3":"1391826380"},"map_files_photo_id_array":[{"photo_id":"1391826392","filename":"file5"},{"photo_id":"1391826360","filename":"file2"},{"photo_id":"1391826389","filename":"file4"},{"photo_id":"1391826350","filename":"file1"},{"photo_id":"1391826305","filename":"file0"},{"photo_id":"1391826380","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391826389":["hashtag1","hashtag2"]},{"1391826380":["hashtag1","hashtag2"]},{"1391826350":["hashtag1","hashtag2"]},{"1391826305":["hashtag1","hashtag2"]},{"1391826360":["hashtag1","hashtag2"]},{"1391826392":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391826389, 1391826380, 1391826350, 1391826305, 1391826360, 1391826392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54978895187378 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 11:07:22.396548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_17_2790.jpg', '/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_20_2778.jpg', '/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_23_3803.jpg', '/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_26_2510.jpg', '/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_29_2753.jpg', '/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_32_3747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_17_2790.jpg
/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_20_2778.jpg
/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_23_3803.jpg
/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_26_2510.jpg
/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_29_2753.jpg
/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_32_3747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391826405","1391826410","1391826416","1391826412","1391826408","1391826402"],"photo_ids_order":["1391826402","1391826405","1391826408","1391826410","1391826412","1391826416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/80a25e1faa92d35bbd619ffce24f9b13.jpg","text":"TemporaryFile(/tmp/multipartBody2221685620143703100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078105119,"filename":"image_30102025_11_20_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/2/f7c7d38503818c6f7fd8ddff89ee3be8.jpg","text":"TemporaryFile(/tmp/multipartBody2137765888574605151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078105119,"filename":"image_30102025_11_20_26_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/2/d5534829712b43c5a65eecd5901474ba.jpg","text":"TemporaryFile(/tmp/multipartBody1048819353212357249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078105119,"filename":"image_30102025_11_20_32_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/2/c6699de8585369edbd8382e64d5ee31c.jpg","text":"TemporaryFile(/tmp/multipartBody4561902662036275233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078105119,"filename":"image_30102025_11_20_29_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/2/288ead5b71ade31ac5a1eeb51570235b.jpg","text":"TemporaryFile(/tmp/multipartBody8567538834643063582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078105119,"filename":"image_30102025_11_20_23_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/2/6c229a021b2f0c811352666a36b3dbd9.jpg","text":"TemporaryFile(/tmp/multipartBody6641853547136903807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078105119,"filename":"image_30102025_11_20_17_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391826408","file1":"1391826405","file0":"1391826402","file4":"1391826412","file5":"1391826416","file3":"1391826410"},"map_files_photo_id_array":[{"photo_id":"1391826416","filename":"file5"},{"photo_id":"1391826408","filename":"file2"},{"photo_id":"1391826412","filename":"file4"},{"photo_id":"1391826405","filename":"file1"},{"photo_id":"1391826402","filename":"file0"},{"photo_id":"1391826410","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391826405":["hashtag1","hashtag2"]},{"1391826410":["hashtag1","hashtag2"]},{"1391826416":["hashtag1","hashtag2"]},{"1391826412":["hashtag1","hashtag2"]},{"1391826408":["hashtag1","hashtag2"]},{"1391826402":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391826405, 1391826410, 1391826416, 1391826412, 1391826408, 1391826402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71525835990906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:08:03.066602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_35_2623.jpg', '/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_38_2787.jpg', '/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_41_3552.jpg', '/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_44_2697.jpg', '/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_47_2833.jpg', '/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_50_3547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_35_2623.jpg
/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_38_2787.jpg
/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_41_3552.jpg
/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_44_2697.jpg
/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_47_2833.jpg
/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_50_3547.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391826434","1391826428","1391826430","1391826432","1391826426","1391826429"],"photo_ids_order":["1391826426","1391826428","1391826429","1391826430","1391826432","1391826434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bf1391942e4877185a8b29d827485601.jpg","text":"TemporaryFile(/tmp/multipartBody1530020019139880573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078145227,"filename":"image_30102025_11_20_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/2/17f91fa9a52b69547b4fa638489c36f3.jpg","text":"TemporaryFile(/tmp/multipartBody6922930017919807932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078145227,"filename":"image_30102025_11_20_38_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/2/483269619d065f61a8c1d3d04fffa630.jpg","text":"TemporaryFile(/tmp/multipartBody7982097308421708970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078145227,"filename":"image_30102025_11_20_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/2/421815cebfc16039ebff6a84263086c9.jpg","text":"TemporaryFile(/tmp/multipartBody5868274371801657240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078145227,"filename":"image_30102025_11_20_47_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/2/11127c4e4298761eba3228143f856d07.jpg","text":"TemporaryFile(/tmp/multipartBody2671932923415275946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078145227,"filename":"image_30102025_11_20_35_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/2/a4308603bd34bb86ff8ee7a46ad8ed71.jpg","text":"TemporaryFile(/tmp/multipartBody8311413923162259187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078145227,"filename":"image_30102025_11_20_41_3552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391826429","file1":"1391826428","file0":"1391826426","file4":"1391826432","file5":"1391826434","file3":"1391826430"},"map_files_photo_id_array":[{"photo_id":"1391826434","filename":"file5"},{"photo_id":"1391826429","filename":"file2"},{"photo_id":"1391826432","filename":"file4"},{"photo_id":"1391826428","filename":"file1"},{"photo_id":"1391826426","filename":"file0"},{"photo_id":"1391826430","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391826434":["hashtag1","hashtag2"]},{"1391826428":["hashtag1","hashtag2"]},{"1391826430":["hashtag1","hashtag2"]},{"1391826432":["hashtag1","hashtag2"]},{"1391826426":["hashtag1","hashtag2"]},{"1391826429":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391826434, 1391826428, 1391826430, 1391826432, 1391826426, 1391826429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.175376176834106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 11:08:42.586540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_53_2714.jpg', '/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_56_2563.jpg', '/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_59_3658.jpg', '/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_02_2617.jpg', '/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_05_2579.jpg', '/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_08_3699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_53_2714.jpg
/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_56_2563.jpg
/home/pi/Desktop/images/30102025/11/20/image_30102025_11_20_59_3658.jpg
/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_02_2617.jpg
/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_05_2579.jpg
/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_08_3699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391826440","1391826445","1391826448","1391826442","1391826450","1391826453"],"photo_ids_order":["1391826440","1391826442","1391826445","1391826448","1391826450","1391826453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d010d3c2e4a78209e6cd08677ba868c5.jpg","text":"TemporaryFile(/tmp/multipartBody2321359504087538214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078183877,"filename":"image_30102025_11_20_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/2/7dec6a1c670efcc17e1e95d0658903df.jpg","text":"TemporaryFile(/tmp/multipartBody4809189239053045301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078183877,"filename":"image_30102025_11_20_59_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/2/45b871b99dfbc1df4e363c2d84b0f9e4.jpg","text":"TemporaryFile(/tmp/multipartBody3258855534563263236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078183877,"filename":"image_30102025_11_21_02_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/2/0a6b4e5fc3d1c4d19660617395ed52e9.jpg","text":"TemporaryFile(/tmp/multipartBody7534332119984478760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078183877,"filename":"image_30102025_11_20_56_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/2/26ea47426f2ac6e19e534bab90e15e33.jpg","text":"TemporaryFile(/tmp/multipartBody3588828395045420045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078183877,"filename":"image_30102025_11_21_05_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/2/552a944365cb61624cc4d941f90c26cc.jpg","text":"TemporaryFile(/tmp/multipartBody3536903758921701596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078183877,"filename":"image_30102025_11_21_08_3699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391826445","file1":"1391826442","file0":"1391826440","file4":"1391826450","file5":"1391826453","file3":"1391826448"},"map_files_photo_id_array":[{"photo_id":"1391826453","filename":"file5"},{"photo_id":"1391826445","filename":"file2"},{"photo_id":"1391826450","filename":"file4"},{"photo_id":"1391826442","filename":"file1"},{"photo_id":"1391826440","filename":"file0"},{"photo_id":"1391826448","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391826440":["hashtag1","hashtag2"]},{"1391826445":["hashtag1","hashtag2"]},{"1391826448":["hashtag1","hashtag2"]},{"1391826442":["hashtag1","hashtag2"]},{"1391826450":["hashtag1","hashtag2"]},{"1391826453":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391826440, 1391826445, 1391826448, 1391826442, 1391826450, 1391826453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.146740436553955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 11:09:22.715678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_11_2693.jpg', '/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_14_2689.jpg', '/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_17_3690.jpg', '/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_20_2528.jpg', '/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_23_2907.jpg', '/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_25_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/11/21/image_30102025_11_21_11_2693.jpg
/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_14_2689.jpg
/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_17_3690.jpg
/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_20_2528.jpg
/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_23_2907.jpg
/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_25_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":["1391826473","1391826478","1391826472","1391826475","1391826469","1391826465"],"photo_ids_order":["1391826465","1391826469","1391826472","1391826473","1391826475","1391826478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7534d9629905c3da0b7e1c3dd450bf82.jpg","text":"TemporaryFile(/tmp/multipartBody4131629518245159211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078225516,"filename":"image_30102025_11_21_20_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/2/a111595c18564645d608417d3ad33475.jpg","text":"TemporaryFile(/tmp/multipartBody239484407532767464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078225516,"filename":"image_30102025_11_21_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/2/4fe98ae5d2f59b5fe8c9cfa3344a1bc6.jpg","text":"TemporaryFile(/tmp/multipartBody1069551339556702949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078225516,"filename":"image_30102025_11_21_17_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/2/b355ca1bd89a7c242be27423ebbf7ddd.jpg","text":"TemporaryFile(/tmp/multipartBody5264862428487751064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078225516,"filename":"image_30102025_11_21_23_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/2/8cc6000850d431b096696b17a716834c.jpg","text":"TemporaryFile(/tmp/multipartBody6662578420561338157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078225516,"filename":"image_30102025_11_21_14_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/2/23c8081ed90cfbbf7c8290e07fcfa1db.jpg","text":"TemporaryFile(/tmp/multipartBody4729609759785195684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078225516,"filename":"image_30102025_11_21_11_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391826472","file1":"1391826469","file0":"1391826465","file4":"1391826475","file5":"1391826478","file3":"1391826473"},"map_files_photo_id_array":[{"photo_id":"1391826478","filename":"file5"},{"photo_id":"1391826472","filename":"file2"},{"photo_id":"1391826475","filename":"file4"},{"photo_id":"1391826469","filename":"file1"},{"photo_id":"1391826465","filename":"file0"},{"photo_id":"1391826473","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391826473":["hashtag1","hashtag2"]},{"1391826478":["hashtag1","hashtag2"]},{"1391826472":["hashtag1","hashtag2"]},{"1391826475":["hashtag1","hashtag2"]},{"1391826469":["hashtag1","hashtag2"]},{"1391826465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391826473, 1391826478, 1391826472, 1391826475, 1391826469, 1391826465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46191453933716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 11:10:27.173992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_29_3677.jpg', '/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_34_2613.jpg', '/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_38_3678.jpg', '/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_41_2610.jpg', '/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_43_2782.jpg', '/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_46_2964.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_29_3677.jpg
/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_34_2613.jpg
/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_38_3678.jpg
/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_41_2610.jpg
/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_43_2782.jpg
/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_46_2964.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: 26.69653582572937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:11:02.857018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_29_3677.jpg', '/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_34_2613.jpg', '/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_38_3678.jpg', '/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_41_2610.jpg', '/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_43_2782.jpg', '/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_46_2964.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_29_3677.jpg
/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_34_2613.jpg
/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_38_3678.jpg
/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_41_2610.jpg
/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_43_2782.jpg
/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_46_2964.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391826521","1391826556","1391826535","1391826529","1391826517","1391826525"],"photo_ids_order":["1391826517","1391826521","1391826525","1391826529","1391826535","1391826556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/180c9e3cee2ebe5abea797016192c989.jpg","text":"TemporaryFile(/tmp/multipartBody2239698690842039994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078324890,"filename":"image_30102025_11_21_34_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/2/a4fe7034272d3def0ec988a775931bea.jpg","text":"TemporaryFile(/tmp/multipartBody522742722922057802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078324890,"filename":"image_30102025_11_21_46_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/2/969f78a1a65d203e38c62ebbfa8b46b0.jpg","text":"TemporaryFile(/tmp/multipartBody1173019650662189264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078324890,"filename":"image_30102025_11_21_43_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/2/2080ec41aa38787c4835741160aa63d0.jpg","text":"TemporaryFile(/tmp/multipartBody3228260570597546379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078324890,"filename":"image_30102025_11_21_41_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/2/6f1c3fbebd376db232e61d176fc08e22.jpg","text":"TemporaryFile(/tmp/multipartBody1159936694873407720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078324890,"filename":"image_30102025_11_21_29_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/2/451a95c1512b95194d01aa71bf3e1fcf.jpg","text":"TemporaryFile(/tmp/multipartBody1534601239840315932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078324890,"filename":"image_30102025_11_21_38_3678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391826525","file1":"1391826521","file0":"1391826517","file4":"1391826535","file5":"1391826556","file3":"1391826529"},"map_files_photo_id_array":[{"photo_id":"1391826556","filename":"file5"},{"photo_id":"1391826525","filename":"file2"},{"photo_id":"1391826535","filename":"file4"},{"photo_id":"1391826521","filename":"file1"},{"photo_id":"1391826517","filename":"file0"},{"photo_id":"1391826529","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391826521":["hashtag1","hashtag2"]},{"1391826556":["hashtag1","hashtag2"]},{"1391826535":["hashtag1","hashtag2"]},{"1391826529":["hashtag1","hashtag2"]},{"1391826517":["hashtag1","hashtag2"]},{"1391826525":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391826521, 1391826556, 1391826535, 1391826529, 1391826517, 1391826525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8265426158905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 11:11:42.395781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_50_3661.jpg', '/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_53_2670.jpg', '/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_55_2638.jpg', '/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_59_3695.jpg', '/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_05_2767.jpg', '/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_07_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/11/21/image_30102025_11_21_50_3661.jpg
/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_53_2670.jpg
/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_55_2638.jpg
/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_59_3695.jpg
/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_05_2767.jpg
/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_07_2805.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391826566","1391826580","1391826573","1391826576","1391826570","1391826578"],"photo_ids_order":["1391826566","1391826570","1391826573","1391826576","1391826578","1391826580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0ea5788c7135acf1dbd2dd1ac53947a3.jpg","text":"TemporaryFile(/tmp/multipartBody4755624680196009199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078363574,"filename":"image_30102025_11_21_50_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/2/dfa220d550394a6df106645f31f24d35.jpg","text":"TemporaryFile(/tmp/multipartBody2588874223017481071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078363574,"filename":"image_30102025_11_22_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/2/e8b55cf3008b15749b0298c2787a733c.jpg","text":"TemporaryFile(/tmp/multipartBody5801387528276569888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078363574,"filename":"image_30102025_11_21_55_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/2/560aa632ab23a3138623cf234b1275ba.jpg","text":"TemporaryFile(/tmp/multipartBody2241972623523477635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078363574,"filename":"image_30102025_11_21_59_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/2/12cfd684dd969a69b92ac0c54c7fa72c.jpg","text":"TemporaryFile(/tmp/multipartBody3461802246599717460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078363574,"filename":"image_30102025_11_21_53_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/2/db51b5136a447205bd47a67f01f1cca4.jpg","text":"TemporaryFile(/tmp/multipartBody8995011667359011793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078363574,"filename":"image_30102025_11_22_05_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391826573","file1":"1391826570","file0":"1391826566","file4":"1391826578","file5":"1391826580","file3":"1391826576"},"map_files_photo_id_array":[{"photo_id":"1391826580","filename":"file5"},{"photo_id":"1391826573","filename":"file2"},{"photo_id":"1391826578","filename":"file4"},{"photo_id":"1391826570","filename":"file1"},{"photo_id":"1391826566","filename":"file0"},{"photo_id":"1391826576","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391826566":["hashtag1","hashtag2"]},{"1391826580":["hashtag1","hashtag2"]},{"1391826573":["hashtag1","hashtag2"]},{"1391826576":["hashtag1","hashtag2"]},{"1391826570":["hashtag1","hashtag2"]},{"1391826578":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391826566, 1391826580, 1391826573, 1391826576, 1391826570, 1391826578)","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 = 1391826573 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/11/21/image_30102025_11_21_55_2638.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 60.22385787963867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:13:03.142464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_14_2721.jpg', '/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_16_2622.jpg', '/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_20_3569.jpg', '/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_23_2619.jpg', '/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_26_2949.jpg', '/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_28_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/11/22/image_30102025_11_22_14_2721.jpg
/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_16_2622.jpg
/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_20_3569.jpg
/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_23_2619.jpg
/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_26_2949.jpg
/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_28_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":["1391826602","1391826605","1391826608","1391826613","1391826616","1391826618"],"photo_ids_order":["1391826602","1391826605","1391826608","1391826613","1391826616","1391826618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a2b5c8d8a6c70eeec673908e3a779450.jpg","text":"TemporaryFile(/tmp/multipartBody8296723229249269586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078447254,"filename":"image_30102025_11_22_14_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/2/0984db2cb261a991a165387865782503.jpg","text":"TemporaryFile(/tmp/multipartBody6118881168865196463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078447254,"filename":"image_30102025_11_22_16_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/2/8a615252a3156c120b69247c5a091b58.jpg","text":"TemporaryFile(/tmp/multipartBody7825709339095319534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078447254,"filename":"image_30102025_11_22_20_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/2/6060639034a9aa5ffa966f124559a9c1.jpg","text":"TemporaryFile(/tmp/multipartBody2061269557281901120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078447254,"filename":"image_30102025_11_22_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/2/f08cd90bae0378918be2515950853e8f.jpg","text":"TemporaryFile(/tmp/multipartBody8025174182584043537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078447254,"filename":"image_30102025_11_22_26_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/2/f91f0afc2a8f309d00a4b0b612fae8ff.jpg","text":"TemporaryFile(/tmp/multipartBody5914016330216415179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078447254,"filename":"image_30102025_11_22_28_2833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391826608","file1":"1391826605","file0":"1391826602","file4":"1391826616","file5":"1391826618","file3":"1391826613"},"map_files_photo_id_array":[{"photo_id":"1391826618","filename":"file5"},{"photo_id":"1391826608","filename":"file2"},{"photo_id":"1391826616","filename":"file4"},{"photo_id":"1391826605","filename":"file1"},{"photo_id":"1391826602","filename":"file0"},{"photo_id":"1391826613","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391826602":["hashtag1","hashtag2"]},{"1391826605":["hashtag1","hashtag2"]},{"1391826608":["hashtag1","hashtag2"]},{"1391826613":["hashtag1","hashtag2"]},{"1391826616":["hashtag1","hashtag2"]},{"1391826618":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391826602, 1391826605, 1391826608, 1391826613, 1391826616, 1391826618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.065051555633545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:14:03.350457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_32_3631.jpg', '/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_35_2668.jpg', '/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_38_2864.jpg', '/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_40_2742.jpg', '/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_44_3747.jpg', '/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_47_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/11/22/image_30102025_11_22_32_3631.jpg
/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_35_2668.jpg
/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_38_2864.jpg
/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_40_2742.jpg
/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_44_3747.jpg
/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_47_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":["1391826647","1391826635","1391826638","1391826631","1391826639","1391826633"],"photo_ids_order":["1391826631","1391826633","1391826635","1391826638","1391826639","1391826647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9d9d7ccd3c747564d6b93a1b3c8fd3f3.jpg","text":"TemporaryFile(/tmp/multipartBody3910375386752027175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078513159,"filename":"image_30102025_11_22_47_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/2/d130372ffbc7179b58e8e31ed8ed755e.jpg","text":"TemporaryFile(/tmp/multipartBody4591841873396428206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078513159,"filename":"image_30102025_11_22_38_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/2/cadfb9b7aa500b865229506833a92b76.jpg","text":"TemporaryFile(/tmp/multipartBody7139586044286086343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078513159,"filename":"image_30102025_11_22_40_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/2/ba067f31511c519a76f65d037401c94f.jpg","text":"TemporaryFile(/tmp/multipartBody9043985915455190361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078513159,"filename":"image_30102025_11_22_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/2/01bbdbe45ce153cf378a12bcbace3932.jpg","text":"TemporaryFile(/tmp/multipartBody5465954897173300933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078513159,"filename":"image_30102025_11_22_44_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/2/dfe29b7753b3014e83300a07396309dc.jpg","text":"TemporaryFile(/tmp/multipartBody7772490424254462057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078513159,"filename":"image_30102025_11_22_35_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391826635","file1":"1391826633","file0":"1391826631","file4":"1391826639","file5":"1391826647","file3":"1391826638"},"map_files_photo_id_array":[{"photo_id":"1391826647","filename":"file5"},{"photo_id":"1391826635","filename":"file2"},{"photo_id":"1391826639","filename":"file4"},{"photo_id":"1391826633","filename":"file1"},{"photo_id":"1391826631","filename":"file0"},{"photo_id":"1391826638","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391826647":["hashtag1","hashtag2"]},{"1391826635":["hashtag1","hashtag2"]},{"1391826638":["hashtag1","hashtag2"]},{"1391826631":["hashtag1","hashtag2"]},{"1391826639":["hashtag1","hashtag2"]},{"1391826633":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391826647, 1391826635, 1391826638, 1391826631, 1391826639, 1391826633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.45004606246948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:15:02.646432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_49_2754.jpg', '/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_53_3602.jpg', '/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_56_2767.jpg', '/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_58_2695.jpg', '/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_01_2829.jpg', '/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_05_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/11/22/image_30102025_11_22_49_2754.jpg
/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_53_3602.jpg
/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_56_2767.jpg
/home/pi/Desktop/images/30102025/11/22/image_30102025_11_22_58_2695.jpg
/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_01_2829.jpg
/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_05_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":["1391826707","1391826706","1391826718","1391826711","1391826705","1391826714"],"photo_ids_order":["1391826705","1391826706","1391826707","1391826711","1391826714","1391826718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/44bf926cbf0d3de49646e64c183de762.jpg","text":"TemporaryFile(/tmp/multipartBody6485266831484351701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078569894,"filename":"image_30102025_11_22_56_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/2/8c7328bace9445780a31f90b5990358a.jpg","text":"TemporaryFile(/tmp/multipartBody5022484735301596810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078569894,"filename":"image_30102025_11_22_53_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/2/d9c053d7ac02deb853feb3baaf0aac2e.jpg","text":"TemporaryFile(/tmp/multipartBody6158661284130091685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078569894,"filename":"image_30102025_11_23_05_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/2/dbf82874b216fd4fa570493450a9fe62.jpg","text":"TemporaryFile(/tmp/multipartBody3823703536723855109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078569894,"filename":"image_30102025_11_22_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/2/546ee533612442bef9c40f57d20ac673.jpg","text":"TemporaryFile(/tmp/multipartBody450123146498002161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078569894,"filename":"image_30102025_11_22_49_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/2/c9e51b808aaecb1af4e48c6f6a315599.jpg","text":"TemporaryFile(/tmp/multipartBody8880248758699081538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078569894,"filename":"image_30102025_11_23_01_2829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391826707","file1":"1391826706","file0":"1391826705","file4":"1391826714","file5":"1391826718","file3":"1391826711"},"map_files_photo_id_array":[{"photo_id":"1391826718","filename":"file5"},{"photo_id":"1391826707","filename":"file2"},{"photo_id":"1391826714","filename":"file4"},{"photo_id":"1391826706","filename":"file1"},{"photo_id":"1391826705","filename":"file0"},{"photo_id":"1391826711","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391826707":["hashtag1","hashtag2"]},{"1391826706":["hashtag1","hashtag2"]},{"1391826718":["hashtag1","hashtag2"]},{"1391826711":["hashtag1","hashtag2"]},{"1391826705":["hashtag1","hashtag2"]},{"1391826714":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391826707, 1391826706, 1391826718, 1391826711, 1391826705, 1391826714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.867130279541016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:16:02.636878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 11:16:22.114039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_08_2708.jpg', '/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_14_2729.jpg', '/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_17_2620.jpg', '/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_20_3604.jpg', '/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_23_2618.jpg', '/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_25_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/11/23/image_30102025_11_23_08_2708.jpg
/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_14_2729.jpg
/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_17_2620.jpg
/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_20_3604.jpg
/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_23_2618.jpg
/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_25_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":["1391826770","1391826758","1391826760","1391826757","1391826766","1391826762"],"photo_ids_order":["1391826757","1391826758","1391826760","1391826762","1391826766","1391826770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/558973448e52409deb9a6add1e87801a.jpg","text":"TemporaryFile(/tmp/multipartBody8755378410207139891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078654483,"filename":"image_30102025_11_23_25_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/2/ee603b158ba2057b82b89239fbe402c3.jpg","text":"TemporaryFile(/tmp/multipartBody6181763798185831675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078654483,"filename":"image_30102025_11_23_14_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/2/1d3dc05f658de4203234ea9f27e5e8ab.jpg","text":"TemporaryFile(/tmp/multipartBody2338157989059913953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078654483,"filename":"image_30102025_11_23_17_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/2/eb29b7749c4145592ef6013409ed53ee.jpg","text":"TemporaryFile(/tmp/multipartBody2004003992050977466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078654483,"filename":"image_30102025_11_23_08_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/2/e123118924888174ec6d9e23914571be.jpg","text":"TemporaryFile(/tmp/multipartBody1503420187302361121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078654483,"filename":"image_30102025_11_23_23_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/2/829dac709f60c760a647c0f580fbe285.jpg","text":"TemporaryFile(/tmp/multipartBody8069805016891966733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078654483,"filename":"image_30102025_11_23_20_3604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391826760","file1":"1391826758","file0":"1391826757","file4":"1391826766","file5":"1391826770","file3":"1391826762"},"map_files_photo_id_array":[{"photo_id":"1391826770","filename":"file5"},{"photo_id":"1391826760","filename":"file2"},{"photo_id":"1391826766","filename":"file4"},{"photo_id":"1391826758","filename":"file1"},{"photo_id":"1391826757","filename":"file0"},{"photo_id":"1391826762","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391826770":["hashtag1","hashtag2"]},{"1391826758":["hashtag1","hashtag2"]},{"1391826760":["hashtag1","hashtag2"]},{"1391826757":["hashtag1","hashtag2"]},{"1391826766":["hashtag1","hashtag2"]},{"1391826762":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391826770, 1391826758, 1391826760, 1391826757, 1391826766, 1391826762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.755736112594604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 11:17:22.364893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_29_3647.jpg', '/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_32_2648.jpg', '/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_35_2971.jpg', '/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_37_2687.jpg', '/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_41_3692.jpg', '/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_44_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_29_3647.jpg
/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_32_2648.jpg
/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_35_2971.jpg
/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_37_2687.jpg
/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_41_3692.jpg
/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_44_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391826785","1391826779","1391826788","1391826778","1391826783","1391826780"],"photo_ids_order":["1391826778","1391826779","1391826780","1391826783","1391826785","1391826788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0dd14a249d828cad421828ed8d3a9f77.jpg","text":"TemporaryFile(/tmp/multipartBody2174460684571510676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078704739,"filename":"image_30102025_11_23_41_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/2/85f283c2481284e518acd4bafb7b34f7.jpg","text":"TemporaryFile(/tmp/multipartBody2690718893732709612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078704739,"filename":"image_30102025_11_23_32_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/2/de138cf280217ba33a73a30ee8676d20.jpg","text":"TemporaryFile(/tmp/multipartBody5104868018221696294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078704739,"filename":"image_30102025_11_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/2/6fcf800dcc82e1fe30c41d1db39759bd.jpg","text":"TemporaryFile(/tmp/multipartBody7066642533513568617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078704739,"filename":"image_30102025_11_23_29_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/2/503981d84bf7db3e823f0427a3032d18.jpg","text":"TemporaryFile(/tmp/multipartBody6328896246242985987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078704739,"filename":"image_30102025_11_23_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/2/40c49c2ca206482fee6aa04f01293811.jpg","text":"TemporaryFile(/tmp/multipartBody8402977093927305083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078704739,"filename":"image_30102025_11_23_35_2971.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391826780","file1":"1391826779","file0":"1391826778","file4":"1391826785","file5":"1391826788","file3":"1391826783"},"map_files_photo_id_array":[{"photo_id":"1391826788","filename":"file5"},{"photo_id":"1391826780","filename":"file2"},{"photo_id":"1391826785","filename":"file4"},{"photo_id":"1391826779","filename":"file1"},{"photo_id":"1391826778","filename":"file0"},{"photo_id":"1391826783","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391826785":["hashtag1","hashtag2"]},{"1391826779":["hashtag1","hashtag2"]},{"1391826788":["hashtag1","hashtag2"]},{"1391826778":["hashtag1","hashtag2"]},{"1391826783":["hashtag1","hashtag2"]},{"1391826780":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391826785, 1391826779, 1391826788, 1391826778, 1391826783, 1391826780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26497030258179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:18:02.910129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_46_2542.jpg', '/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_50_3941.jpg', '/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_58_2567.jpg', '/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_02_3678.jpg', '/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_05_3449.jpg', '/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_07_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/11/23/image_30102025_11_23_46_2542.jpg
/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_50_3941.jpg
/home/pi/Desktop/images/30102025/11/23/image_30102025_11_23_58_2567.jpg
/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_02_3678.jpg
/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_05_3449.jpg
/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_07_1774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391826800","1391826799","1391826796","1391826798","1391826804","1391826807"],"photo_ids_order":["1391826796","1391826798","1391826799","1391826800","1391826804","1391826807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0b3418fb008de1dffa1e7f9f53351b30.jpg","text":"TemporaryFile(/tmp/multipartBody8200160664361152687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078745022,"filename":"image_30102025_11_24_02_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/2/c9c4ec9055f8c5db0f386750bb50c3a9.jpg","text":"TemporaryFile(/tmp/multipartBody3596158353699755206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078745022,"filename":"image_30102025_11_23_58_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/2/1800394b3e6ffb56362172901d0cbec4.jpg","text":"TemporaryFile(/tmp/multipartBody4089685423896196433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078745022,"filename":"image_30102025_11_23_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/2/52b01f4da0c639216833dd4910fb0d73.jpg","text":"TemporaryFile(/tmp/multipartBody6358436461217700182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078745022,"filename":"image_30102025_11_23_50_3941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2da54a3ea24448ed1600a90220892261.jpg","text":"TemporaryFile(/tmp/multipartBody8859464346885660804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078745022,"filename":"image_30102025_11_24_05_3449.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4acfe80be42758919116bf65a5badbd3.jpg","text":"TemporaryFile(/tmp/multipartBody1332410130609543037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078745022,"filename":"image_30102025_11_24_07_1774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391826799","file1":"1391826798","file0":"1391826796","file4":"1391826804","file5":"1391826807","file3":"1391826800"},"map_files_photo_id_array":[{"photo_id":"1391826807","filename":"file5"},{"photo_id":"1391826799","filename":"file2"},{"photo_id":"1391826804","filename":"file4"},{"photo_id":"1391826798","filename":"file1"},{"photo_id":"1391826796","filename":"file0"},{"photo_id":"1391826800","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391826800":["hashtag1","hashtag2"]},{"1391826799":["hashtag1","hashtag2"]},{"1391826796":["hashtag1","hashtag2"]},{"1391826798":["hashtag1","hashtag2"]},{"1391826804":["hashtag1","hashtag2"]},{"1391826807":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391826800, 1391826799, 1391826796, 1391826798, 1391826804, 1391826807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13999342918396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 11:18:42.489818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_11_3692.jpg', '/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_14_2548.jpg', '/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_17_3587.jpg', '/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_20_2644.jpg', '/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_22_2663.jpg', '/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_26_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_11_3692.jpg
/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_14_2548.jpg
/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_17_3587.jpg
/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_20_2644.jpg
/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_22_2663.jpg
/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_26_3680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391826812","1391826815","1391826824","1391826818","1391826820","1391826816"],"photo_ids_order":["1391826812","1391826815","1391826816","1391826818","1391826820","1391826824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bf543b43f0c3882cac35161a9a1023fb.jpg","text":"TemporaryFile(/tmp/multipartBody6055671410495483121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078783661,"filename":"image_30102025_11_24_11_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/2/7ec4cf6a0add9e66076626d8960b26c6.jpg","text":"TemporaryFile(/tmp/multipartBody4008815110073084715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078783661,"filename":"image_30102025_11_24_14_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/2/a280a589b527e432870c56f220cbf989.jpg","text":"TemporaryFile(/tmp/multipartBody7110540379527094551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078783661,"filename":"image_30102025_11_24_26_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/2/6db7dcc266e0083f840cd73634797025.jpg","text":"TemporaryFile(/tmp/multipartBody8562374794715153322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078783661,"filename":"image_30102025_11_24_20_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/2/94b62adcd353a77863fc03fac851a818.jpg","text":"TemporaryFile(/tmp/multipartBody774368562179725400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078783661,"filename":"image_30102025_11_24_22_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/2/f4f07916ee2048953052a3083af68873.jpg","text":"TemporaryFile(/tmp/multipartBody6371952857558796812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078783661,"filename":"image_30102025_11_24_17_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391826816","file1":"1391826815","file0":"1391826812","file4":"1391826820","file5":"1391826824","file3":"1391826818"},"map_files_photo_id_array":[{"photo_id":"1391826824","filename":"file5"},{"photo_id":"1391826816","filename":"file2"},{"photo_id":"1391826820","filename":"file4"},{"photo_id":"1391826815","filename":"file1"},{"photo_id":"1391826812","filename":"file0"},{"photo_id":"1391826818","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391826812":["hashtag1","hashtag2"]},{"1391826815":["hashtag1","hashtag2"]},{"1391826824":["hashtag1","hashtag2"]},{"1391826818":["hashtag1","hashtag2"]},{"1391826820":["hashtag1","hashtag2"]},{"1391826816":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391826812, 1391826815, 1391826824, 1391826818, 1391826820, 1391826816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83433485031128 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 11:19:22.725526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_29_2797.jpg', '/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_32_2677.jpg', '/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_34_2586.jpg', '/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_38_3602.jpg', '/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_43_5732.jpg', '/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_45_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/11/24/image_30102025_11_24_29_2797.jpg
/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_32_2677.jpg
/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_34_2586.jpg
/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_38_3602.jpg
/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_43_5732.jpg
/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_45_1655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391826836","1391826838","1391826846","1391826840","1391826834","1391826843"],"photo_ids_order":["1391826834","1391826836","1391826838","1391826840","1391826843","1391826846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/23358de419e5cbbda79d35cda6185df5.jpg","text":"TemporaryFile(/tmp/multipartBody5488894371588589700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078825610,"filename":"image_30102025_11_24_32_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/2/af83d41d72836a6f8c6818c81d7b7251.jpg","text":"TemporaryFile(/tmp/multipartBody7983934913521789163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078825610,"filename":"image_30102025_11_24_34_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/2/36d9262b8ce00f99fd8482ea6f4d0039.jpg","text":"TemporaryFile(/tmp/multipartBody3720016145851224718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078825610,"filename":"image_30102025_11_24_45_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/2/5463763eb21f8d5592ec1370bd198f14.jpg","text":"TemporaryFile(/tmp/multipartBody2246629696391575226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078825610,"filename":"image_30102025_11_24_38_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/2/691c6224d3a8a38a28a3d002ca70cefd.jpg","text":"TemporaryFile(/tmp/multipartBody1981106514729656189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078825610,"filename":"image_30102025_11_24_29_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/2/81be55d9acb0841daab0f36a3c5c9f1f.jpg","text":"TemporaryFile(/tmp/multipartBody4141431251933530483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078825610,"filename":"image_30102025_11_24_43_5732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391826838","file1":"1391826836","file0":"1391826834","file4":"1391826843","file5":"1391826846","file3":"1391826840"},"map_files_photo_id_array":[{"photo_id":"1391826846","filename":"file5"},{"photo_id":"1391826838","filename":"file2"},{"photo_id":"1391826843","filename":"file4"},{"photo_id":"1391826836","filename":"file1"},{"photo_id":"1391826834","filename":"file0"},{"photo_id":"1391826840","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391826836":["hashtag1","hashtag2"]},{"1391826838":["hashtag1","hashtag2"]},{"1391826846":["hashtag1","hashtag2"]},{"1391826840":["hashtag1","hashtag2"]},{"1391826834":["hashtag1","hashtag2"]},{"1391826843":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391826836, 1391826838, 1391826846, 1391826840, 1391826834, 1391826843)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.074838399887085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 11:20:25.152201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_47_1692.jpg', '/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_50_2781.jpg', '/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_52_2801.jpg', '/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_55_2714.jpg', '/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_59_3538.jpg', '/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_11_3619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_47_1692.jpg
/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_50_2781.jpg
/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_52_2801.jpg
/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_55_2714.jpg
/home/pi/Desktop/images/30102025/11/24/image_30102025_11_24_59_3538.jpg
/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_11_3619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391826917","1391826919","1391826904","1391826913","1391826909","1391826906"],"photo_ids_order":["1391826904","1391826906","1391826909","1391826913","1391826917","1391826919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2e85378be589ab4ca1592e6ba6d6e03f.jpg","text":"TemporaryFile(/tmp/multipartBody4408057695005025286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078931677,"filename":"image_30102025_11_24_59_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/2/0f4e5fa30be2534c7013930080e6c2d5.jpg","text":"TemporaryFile(/tmp/multipartBody5129073310437361196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078931677,"filename":"image_30102025_11_25_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/2/cf04a218567e78df02aed4cc6d69a9a3.jpg","text":"TemporaryFile(/tmp/multipartBody2261404428752038103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078931677,"filename":"image_30102025_11_24_47_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/2/1b7642a9a53ce4dac6c85394a20153db.jpg","text":"TemporaryFile(/tmp/multipartBody8200277397933359946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078931677,"filename":"image_30102025_11_24_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/2/2d27d63de55c34b40d225580cfeb945d.jpg","text":"TemporaryFile(/tmp/multipartBody5259050097628611599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078931677,"filename":"image_30102025_11_24_52_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/2/e3c7d9977c126921cc134155e0f9b208.jpg","text":"TemporaryFile(/tmp/multipartBody863380292767405447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762078931677,"filename":"image_30102025_11_24_50_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391826909","file1":"1391826906","file0":"1391826904","file4":"1391826917","file5":"1391826919","file3":"1391826913"},"map_files_photo_id_array":[{"photo_id":"1391826919","filename":"file5"},{"photo_id":"1391826909","filename":"file2"},{"photo_id":"1391826917","filename":"file4"},{"photo_id":"1391826906","filename":"file1"},{"photo_id":"1391826904","filename":"file0"},{"photo_id":"1391826913","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391826917":["hashtag1","hashtag2"]},{"1391826919":["hashtag1","hashtag2"]},{"1391826904":["hashtag1","hashtag2"]},{"1391826913":["hashtag1","hashtag2"]},{"1391826909":["hashtag1","hashtag2"]},{"1391826906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391826917, 1391826919, 1391826904, 1391826913, 1391826909, 1391826906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.741619348526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:22:09.295108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 11:22:22.365282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_14_2707.jpg', '/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_17_3633.jpg', '/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_20_2696.jpg', '/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_23_2695.jpg', '/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_25_2707.jpg', '/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_29_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/11/25/image_30102025_11_25_14_2707.jpg
/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_17_3633.jpg
/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_20_2696.jpg
/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_23_2695.jpg
/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_25_2707.jpg
/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_29_3561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391827010","1391827013","1391827016","1391826991","1391827003","1391827008"],"photo_ids_order":["1391826991","1391827003","1391827008","1391827010","1391827013","1391827016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/db8b6321a0b46ae3c69c1584e5e3f7c6.jpg","text":"TemporaryFile(/tmp/multipartBody6226503341278614334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079005001,"filename":"image_30102025_11_25_23_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/2/eae2b290ffeaf8e2eb7afa3fa23864cc.jpg","text":"TemporaryFile(/tmp/multipartBody3699907877748213472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079005001,"filename":"image_30102025_11_25_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/2/43658fc8cc7882c8fc0aad20a4e58394.jpg","text":"TemporaryFile(/tmp/multipartBody7407489350165639747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079005001,"filename":"image_30102025_11_25_29_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/2/f82221ac6cd3cf344ce212a6ab05a1e1.jpg","text":"TemporaryFile(/tmp/multipartBody7250037953614923645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079005001,"filename":"image_30102025_11_25_14_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/2/6f24811be3b6388abe79dc5379c61bbe.jpg","text":"TemporaryFile(/tmp/multipartBody5383017960442910267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079005001,"filename":"image_30102025_11_25_17_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/2/a5f972a8f27acab2c4a15d0262c3207d.jpg","text":"TemporaryFile(/tmp/multipartBody7384039498208431333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079005001,"filename":"image_30102025_11_25_20_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391827008","file1":"1391827003","file0":"1391826991","file4":"1391827013","file5":"1391827016","file3":"1391827010"},"map_files_photo_id_array":[{"photo_id":"1391827016","filename":"file5"},{"photo_id":"1391827008","filename":"file2"},{"photo_id":"1391827013","filename":"file4"},{"photo_id":"1391827003","filename":"file1"},{"photo_id":"1391826991","filename":"file0"},{"photo_id":"1391827010","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391827010":["hashtag1","hashtag2"]},{"1391827013":["hashtag1","hashtag2"]},{"1391827016":["hashtag1","hashtag2"]},{"1391826991":["hashtag1","hashtag2"]},{"1391827003":["hashtag1","hashtag2"]},{"1391827008":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391827010, 1391827013, 1391827016, 1391826991, 1391827003, 1391827008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48070478439331 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:23:03.268011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_32_2763.jpg', '/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_34_2632.jpg', '/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_38_3584.jpg', '/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_40_2553.jpg', '/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_44_3637.jpg', '/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_47_2946.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_32_2763.jpg
/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_34_2632.jpg
/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_38_3584.jpg
/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_40_2553.jpg
/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_44_3637.jpg
/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_47_2946.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391827066","1391827060","1391827050","1391827068","1391827055","1391827064"],"photo_ids_order":["1391827050","1391827055","1391827060","1391827064","1391827066","1391827068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5d4ec2ff46c4192d3434bba0e2b0cbf7.jpg","text":"TemporaryFile(/tmp/multipartBody6597872879986025801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079045396,"filename":"image_30102025_11_25_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/2/7cc8523b6144cf9aa23f6534405f2cbf.jpg","text":"TemporaryFile(/tmp/multipartBody1351603996176516332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079045396,"filename":"image_30102025_11_25_38_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/2/18dc2707e331b469a4ac6ad8959ab227.jpg","text":"TemporaryFile(/tmp/multipartBody6440021834618716553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079045396,"filename":"image_30102025_11_25_32_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/2/ed8dc811d8a93ae34751307b47543790.jpg","text":"TemporaryFile(/tmp/multipartBody644644322143014141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079045396,"filename":"image_30102025_11_25_47_2946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9f4d6af044db4afe7f33ffde6ede2b87.jpg","text":"TemporaryFile(/tmp/multipartBody8730842436270011833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079045396,"filename":"image_30102025_11_25_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/2/14d5514d2f1539c53ddfa74de96ee89d.jpg","text":"TemporaryFile(/tmp/multipartBody802000177199751815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079045396,"filename":"image_30102025_11_25_40_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391827060","file1":"1391827055","file0":"1391827050","file4":"1391827066","file5":"1391827068","file3":"1391827064"},"map_files_photo_id_array":[{"photo_id":"1391827068","filename":"file5"},{"photo_id":"1391827060","filename":"file2"},{"photo_id":"1391827066","filename":"file4"},{"photo_id":"1391827055","filename":"file1"},{"photo_id":"1391827050","filename":"file0"},{"photo_id":"1391827064","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391827066":["hashtag1","hashtag2"]},{"1391827060":["hashtag1","hashtag2"]},{"1391827050":["hashtag1","hashtag2"]},{"1391827068":["hashtag1","hashtag2"]},{"1391827055":["hashtag1","hashtag2"]},{"1391827064":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391827066, 1391827060, 1391827050, 1391827068, 1391827055, 1391827064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.937784910202026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 11:23:42.489593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_50_2766.jpg', '/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_52_2701.jpg', '/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_55_2898.jpg', '/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_59_3702.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_02_2858.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_04_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/11/25/image_30102025_11_25_50_2766.jpg
/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_52_2701.jpg
/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_55_2898.jpg
/home/pi/Desktop/images/30102025/11/25/image_30102025_11_25_59_3702.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_02_2858.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_04_2576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391827084","1391827081","1391827077","1391827074","1391827082","1391827079"],"photo_ids_order":["1391827074","1391827077","1391827079","1391827081","1391827082","1391827084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a473226bf56ff50dbf1cf9c5beb963e2.jpg","text":"TemporaryFile(/tmp/multipartBody1158089175195049284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079083579,"filename":"image_30102025_11_26_04_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/2/a6aa964bd937d7fa07430887d575a26c.jpg","text":"TemporaryFile(/tmp/multipartBody7977546687083345275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079083579,"filename":"image_30102025_11_25_59_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/2/4341340dbe789e94e34b81bb8710e8f6.jpg","text":"TemporaryFile(/tmp/multipartBody9121113975049383037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079083579,"filename":"image_30102025_11_25_52_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/2/2fa53cffdb6f80e24ad4aed4b2ca8202.jpg","text":"TemporaryFile(/tmp/multipartBody2265161352719688596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079083579,"filename":"image_30102025_11_25_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/2/4057ba928599ce43b589b11b92700688.jpg","text":"TemporaryFile(/tmp/multipartBody4951869615634614701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079083579,"filename":"image_30102025_11_26_02_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/2/f8e293df7a0784e61e12efd6cf4bef16.jpg","text":"TemporaryFile(/tmp/multipartBody1308504140497049664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079083579,"filename":"image_30102025_11_25_55_2898.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391827079","file1":"1391827077","file0":"1391827074","file4":"1391827082","file5":"1391827084","file3":"1391827081"},"map_files_photo_id_array":[{"photo_id":"1391827084","filename":"file5"},{"photo_id":"1391827079","filename":"file2"},{"photo_id":"1391827082","filename":"file4"},{"photo_id":"1391827077","filename":"file1"},{"photo_id":"1391827074","filename":"file0"},{"photo_id":"1391827081","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391827084":["hashtag1","hashtag2"]},{"1391827081":["hashtag1","hashtag2"]},{"1391827077":["hashtag1","hashtag2"]},{"1391827074":["hashtag1","hashtag2"]},{"1391827082":["hashtag1","hashtag2"]},{"1391827079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391827084, 1391827081, 1391827077, 1391827074, 1391827082, 1391827079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57708024978638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 11:24:22.703089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_07_2693.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_11_3778.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_13_2559.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_16_2747.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_20_3611.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_23_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/11/26/image_30102025_11_26_07_2693.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_11_3778.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_13_2559.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_16_2747.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_20_3611.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_23_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":["1391827100","1391827103","1391827105","1391827095","1391827091","1391827097"],"photo_ids_order":["1391827091","1391827095","1391827097","1391827100","1391827103","1391827105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5754d52ca852b770c44378968701dc10.jpg","text":"TemporaryFile(/tmp/multipartBody681104098967476083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079125504,"filename":"image_30102025_11_26_16_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/2/4fb6c6f6b61b94e715a48e242fde1195.jpg","text":"TemporaryFile(/tmp/multipartBody9109215860508983335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079125504,"filename":"image_30102025_11_26_20_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/2/fb192f8974ef1b54dba6abf2412f866d.jpg","text":"TemporaryFile(/tmp/multipartBody7152556094268531296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079125504,"filename":"image_30102025_11_26_23_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/2/e32f5e4a7b1bc6cf4ca5ef2495bc1946.jpg","text":"TemporaryFile(/tmp/multipartBody4881582053206894914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079125504,"filename":"image_30102025_11_26_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/2/639f0e9d1f529842d3abb05fc2d85148.jpg","text":"TemporaryFile(/tmp/multipartBody8138966091695100608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079125504,"filename":"image_30102025_11_26_07_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/2/529a33b15e56c2c166505157e610b68c.jpg","text":"TemporaryFile(/tmp/multipartBody7875603078014341196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079125504,"filename":"image_30102025_11_26_13_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391827097","file1":"1391827095","file0":"1391827091","file4":"1391827103","file5":"1391827105","file3":"1391827100"},"map_files_photo_id_array":[{"photo_id":"1391827105","filename":"file5"},{"photo_id":"1391827097","filename":"file2"},{"photo_id":"1391827103","filename":"file4"},{"photo_id":"1391827095","filename":"file1"},{"photo_id":"1391827091","filename":"file0"},{"photo_id":"1391827100","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391827100":["hashtag1","hashtag2"]},{"1391827103":["hashtag1","hashtag2"]},{"1391827105":["hashtag1","hashtag2"]},{"1391827095":["hashtag1","hashtag2"]},{"1391827091":["hashtag1","hashtag2"]},{"1391827097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391827100, 1391827103, 1391827105, 1391827095, 1391827091, 1391827097)","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 = 1391827097 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_13_2559.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391827097 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_13_2559.jpg";
uploaded 6 photos
time to upload: 65.33310747146606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 11:25:41.877278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 11:26:02.388819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 11:26:25.915521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 11:26:41.981160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_07_2693.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_11_3778.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_13_2559.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_16_2747.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_20_3611.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_23_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/11/26/image_30102025_11_26_07_2693.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_11_3778.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_13_2559.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_16_2747.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_20_3611.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_23_2652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391827145","1391827139","1391827141","1391827143","1391827149","1391827137"],"photo_ids_order":["1391827137","1391827139","1391827141","1391827143","1391827145","1391827149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/74440d97545fb2ec731264fb7fff896b.jpg","text":"TemporaryFile(/tmp/multipartBody3638627260570375319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079262972,"filename":"image_30102025_11_26_20_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/2/4e5955b0a010d011195e24a2636a2bba.jpg","text":"TemporaryFile(/tmp/multipartBody6281060352387560382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079262972,"filename":"image_30102025_11_26_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/2/d247ae91bbcbe28097cfdf835c7325b5.jpg","text":"TemporaryFile(/tmp/multipartBody1109119044785182362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079262972,"filename":"image_30102025_11_26_13_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/2/2bf339d0c124c4489804bb85b8f335ee.jpg","text":"TemporaryFile(/tmp/multipartBody1912668566670524124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079262972,"filename":"image_30102025_11_26_16_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/2/594ecd2c6c5dbded05e31e67fe16219a.jpg","text":"TemporaryFile(/tmp/multipartBody1765550844547547035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079262972,"filename":"image_30102025_11_26_23_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/2/1ee2a9b6f5bca392cce66b17e1a8ff33.jpg","text":"TemporaryFile(/tmp/multipartBody6420208901348055985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079262972,"filename":"image_30102025_11_26_07_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391827141","file1":"1391827139","file0":"1391827137","file4":"1391827145","file5":"1391827149","file3":"1391827143"},"map_files_photo_id_array":[{"photo_id":"1391827149","filename":"file5"},{"photo_id":"1391827141","filename":"file2"},{"photo_id":"1391827145","filename":"file4"},{"photo_id":"1391827139","filename":"file1"},{"photo_id":"1391827137","filename":"file0"},{"photo_id":"1391827143","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391827145":["hashtag1","hashtag2"]},{"1391827139":["hashtag1","hashtag2"]},{"1391827141":["hashtag1","hashtag2"]},{"1391827143":["hashtag1","hashtag2"]},{"1391827149":["hashtag1","hashtag2"]},{"1391827137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391827145, 1391827139, 1391827141, 1391827143, 1391827149, 1391827137)","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 = 1391827141 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_13_2559.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391827141 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_13_2559.jpg";
uploaded 6 photos
time to upload: 61.96620059013367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:28:03.297819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 11:28:42.840900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 11:29:30.295653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 11:30:03.288415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_07_2693.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_11_3778.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_13_2559.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_16_2747.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_20_3611.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_23_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/11/26/image_30102025_11_26_07_2693.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_11_3778.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_13_2559.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_16_2747.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_20_3611.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_23_2652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391827541","1391827573","1391827543","1391827546","1391827578","1391827583"],"photo_ids_order":["1391827541","1391827543","1391827546","1391827573","1391827578","1391827583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9e815b9488f5b28d919a6605b4fceaa8.jpg","text":"TemporaryFile(/tmp/multipartBody4632121151931958339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079465220,"filename":"image_30102025_11_26_07_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/2/04f4d46a6a9ea14da919727794f0ef56.jpg","text":"TemporaryFile(/tmp/multipartBody3951709723380716431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079465220,"filename":"image_30102025_11_26_16_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/2/d210cf78ced851b75a6f6565a71fc0e0.jpg","text":"TemporaryFile(/tmp/multipartBody2240201220089730804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079465220,"filename":"image_30102025_11_26_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/2/63ea47190ee97a1811742e70ef7539fd.jpg","text":"TemporaryFile(/tmp/multipartBody2293905117304400363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079465220,"filename":"image_30102025_11_26_13_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/2/1bbbd8b358808645f1a1c7ccedb5468a.jpg","text":"TemporaryFile(/tmp/multipartBody5237613691409421077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079465220,"filename":"image_30102025_11_26_20_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/2/563b7ef10026632bc25ecbe40be6e323.jpg","text":"TemporaryFile(/tmp/multipartBody1636262013096901884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079465220,"filename":"image_30102025_11_26_23_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391827546","file1":"1391827543","file0":"1391827541","file4":"1391827578","file5":"1391827583","file3":"1391827573"},"map_files_photo_id_array":[{"photo_id":"1391827583","filename":"file5"},{"photo_id":"1391827546","filename":"file2"},{"photo_id":"1391827578","filename":"file4"},{"photo_id":"1391827543","filename":"file1"},{"photo_id":"1391827541","filename":"file0"},{"photo_id":"1391827573","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391827541":["hashtag1","hashtag2"]},{"1391827573":["hashtag1","hashtag2"]},{"1391827543":["hashtag1","hashtag2"]},{"1391827546":["hashtag1","hashtag2"]},{"1391827578":["hashtag1","hashtag2"]},{"1391827583":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391827541, 1391827573, 1391827543, 1391827546, 1391827578, 1391827583)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 54.148098945617676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:31:02.914840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_25_2680.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_29_3653.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_32_2694.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_34_2656.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_38_3753.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_41_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/11/26/image_30102025_11_26_25_2680.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_29_3653.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_32_2694.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_34_2656.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_38_3753.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_41_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":["1391827607","1391827609","1391827599","1391827602","1391827611","1391827605"],"photo_ids_order":["1391827599","1391827602","1391827605","1391827607","1391827609","1391827611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9b7861b70f2df37d82ebb75311f27c65.jpg","text":"TemporaryFile(/tmp/multipartBody5438573798498152732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079525153,"filename":"image_30102025_11_26_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/2/a97f89d2302000880cae74f8963b323a.jpg","text":"TemporaryFile(/tmp/multipartBody9051875493247159685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079525153,"filename":"image_30102025_11_26_38_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/2/d6cec9a5df8d557e391a0eb5b1cfab69.jpg","text":"TemporaryFile(/tmp/multipartBody5367921974229114570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079525153,"filename":"image_30102025_11_26_25_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/2/56e66acafbea5ded8972051f77eda08b.jpg","text":"TemporaryFile(/tmp/multipartBody5110181256616264237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079525153,"filename":"image_30102025_11_26_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/2/5fa080764668c1cb1fdc95c160c673cb.jpg","text":"TemporaryFile(/tmp/multipartBody1383534231345438769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079525153,"filename":"image_30102025_11_26_41_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/2/9d23bb022d3a4e12adf2457993054df6.jpg","text":"TemporaryFile(/tmp/multipartBody4758526582319358517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079525153,"filename":"image_30102025_11_26_32_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391827605","file1":"1391827602","file0":"1391827599","file4":"1391827609","file5":"1391827611","file3":"1391827607"},"map_files_photo_id_array":[{"photo_id":"1391827611","filename":"file5"},{"photo_id":"1391827605","filename":"file2"},{"photo_id":"1391827609","filename":"file4"},{"photo_id":"1391827602","filename":"file1"},{"photo_id":"1391827599","filename":"file0"},{"photo_id":"1391827607","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391827607":["hashtag1","hashtag2"]},{"1391827609":["hashtag1","hashtag2"]},{"1391827599":["hashtag1","hashtag2"]},{"1391827602":["hashtag1","hashtag2"]},{"1391827611":["hashtag1","hashtag2"]},{"1391827605":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391827607, 1391827609, 1391827599, 1391827602, 1391827611, 1391827605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17904734611511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:32:02.759343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 11:32:22.651947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_43_2542.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_47_3749.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_50_2720.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_52_2780.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_55_2644.jpg', '/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_59_3699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_43_2542.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_47_3749.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_50_2720.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_52_2780.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_55_2644.jpg
/home/pi/Desktop/images/30102025/11/26/image_30102025_11_26_59_3699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391827640","1391827648","1391827636","1391827645","1391827650","1391827638"],"photo_ids_order":["1391827636","1391827638","1391827640","1391827645","1391827648","1391827650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7e16d04a48bb96480a20500db2ef07ad.jpg","text":"TemporaryFile(/tmp/multipartBody704976011627807565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079605235,"filename":"image_30102025_11_26_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/2/8ad55b78895441ea8d281712f8a677f2.jpg","text":"TemporaryFile(/tmp/multipartBody2112875297044297063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079605235,"filename":"image_30102025_11_26_55_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/2/aad256b999524a537e9ede7177217a91.jpg","text":"TemporaryFile(/tmp/multipartBody5193766208098817380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079605235,"filename":"image_30102025_11_26_43_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/2/87035cc1164d9f59c20c79bc418865bb.jpg","text":"TemporaryFile(/tmp/multipartBody4382536910042845031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079605235,"filename":"image_30102025_11_26_52_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/2/72a364e88c2a1e23f7a5b5f04b536082.jpg","text":"TemporaryFile(/tmp/multipartBody4993158796330324420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079605235,"filename":"image_30102025_11_26_59_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/2/3996be5946fe5c3e4a0874fa9ba989dc.jpg","text":"TemporaryFile(/tmp/multipartBody6222337313716392071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079605235,"filename":"image_30102025_11_26_47_3749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391827640","file1":"1391827638","file0":"1391827636","file4":"1391827648","file5":"1391827650","file3":"1391827645"},"map_files_photo_id_array":[{"photo_id":"1391827650","filename":"file5"},{"photo_id":"1391827640","filename":"file2"},{"photo_id":"1391827648","filename":"file4"},{"photo_id":"1391827638","filename":"file1"},{"photo_id":"1391827636","filename":"file0"},{"photo_id":"1391827645","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391827640":["hashtag1","hashtag2"]},{"1391827648":["hashtag1","hashtag2"]},{"1391827636":["hashtag1","hashtag2"]},{"1391827645":["hashtag1","hashtag2"]},{"1391827650":["hashtag1","hashtag2"]},{"1391827638":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391827640, 1391827648, 1391827636, 1391827645, 1391827650, 1391827638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.506134033203125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:33:03.136846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_01_2652.jpg', '/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_04_2772.jpg', '/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_08_3704.jpg', '/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_11_2700.jpg', '/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_13_2622.jpg', '/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_17_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/11/27/image_30102025_11_27_01_2652.jpg
/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_04_2772.jpg
/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_08_3704.jpg
/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_11_2700.jpg
/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_13_2622.jpg
/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_17_3561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391827669","1391827665","1391827659","1391827662","1391827656","1391827667"],"photo_ids_order":["1391827656","1391827659","1391827662","1391827665","1391827667","1391827669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/57d6b5fd1df28d49361863a437609e68.jpg","text":"TemporaryFile(/tmp/multipartBody2393489545795769488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079645359,"filename":"image_30102025_11_27_17_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/2/c0077d77bc274104ce18b9437f7d0c9f.jpg","text":"TemporaryFile(/tmp/multipartBody8359099761187100362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079645359,"filename":"image_30102025_11_27_11_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/2/05fbedcbfbcf8118e3ed4da8cf0d674a.jpg","text":"TemporaryFile(/tmp/multipartBody7155678664658137922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079645359,"filename":"image_30102025_11_27_04_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/2/46e4ac3e10358df4aa7200fa51b20122.jpg","text":"TemporaryFile(/tmp/multipartBody6223899108592984170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079645359,"filename":"image_30102025_11_27_08_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/2/10ff6dec43a03307255b610860ae8b2f.jpg","text":"TemporaryFile(/tmp/multipartBody2853738811774675995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079645359,"filename":"image_30102025_11_27_01_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/2/90338201876cb4015a65702172910255.jpg","text":"TemporaryFile(/tmp/multipartBody4900814373083480479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079645359,"filename":"image_30102025_11_27_13_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391827662","file1":"1391827659","file0":"1391827656","file4":"1391827667","file5":"1391827669","file3":"1391827665"},"map_files_photo_id_array":[{"photo_id":"1391827669","filename":"file5"},{"photo_id":"1391827662","filename":"file2"},{"photo_id":"1391827667","filename":"file4"},{"photo_id":"1391827659","filename":"file1"},{"photo_id":"1391827656","filename":"file0"},{"photo_id":"1391827665","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391827669":["hashtag1","hashtag2"]},{"1391827665":["hashtag1","hashtag2"]},{"1391827659":["hashtag1","hashtag2"]},{"1391827662":["hashtag1","hashtag2"]},{"1391827656":["hashtag1","hashtag2"]},{"1391827667":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391827669, 1391827665, 1391827659, 1391827662, 1391827656, 1391827667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69374704360962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 11:33:42.532007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_22_2672.jpg', '/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_26_3670.jpg', '/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_31_2601.jpg', '/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_35_3547.jpg', '/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_40_2746.jpg', '/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_47_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_22_2672.jpg
/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_26_3670.jpg
/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_31_2601.jpg
/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_35_3547.jpg
/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_40_2746.jpg
/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_47_2708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391827684","1391827681","1391827675","1391827678","1391827683","1391827685"],"photo_ids_order":["1391827675","1391827678","1391827681","1391827683","1391827684","1391827685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d772106b0e4873f2e1805228fb0c8921.jpg","text":"TemporaryFile(/tmp/multipartBody7307637874628240152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079683671,"filename":"image_30102025_11_27_40_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/2/206f33fb313ca8462ceac233c588dff0.jpg","text":"TemporaryFile(/tmp/multipartBody4692041713718329663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079683671,"filename":"image_30102025_11_27_31_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/2/69350af77085eb9fa29cce8429c38e2d.jpg","text":"TemporaryFile(/tmp/multipartBody969916768824809585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079683671,"filename":"image_30102025_11_27_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/2/df40724abd727cc3306f38e497969335.jpg","text":"TemporaryFile(/tmp/multipartBody9102018308366066069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079683671,"filename":"image_30102025_11_27_26_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/2/e102ddebe6f238738c13753ccce5e186.jpg","text":"TemporaryFile(/tmp/multipartBody6778655185680993262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079683671,"filename":"image_30102025_11_27_35_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/2/7a27d141c06ae8aaa25048108880ed32.jpg","text":"TemporaryFile(/tmp/multipartBody1513496122238591544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079683671,"filename":"image_30102025_11_27_47_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391827681","file1":"1391827678","file0":"1391827675","file4":"1391827684","file5":"1391827685","file3":"1391827683"},"map_files_photo_id_array":[{"photo_id":"1391827685","filename":"file5"},{"photo_id":"1391827681","filename":"file2"},{"photo_id":"1391827684","filename":"file4"},{"photo_id":"1391827678","filename":"file1"},{"photo_id":"1391827675","filename":"file0"},{"photo_id":"1391827683","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391827684":["hashtag1","hashtag2"]},{"1391827681":["hashtag1","hashtag2"]},{"1391827675":["hashtag1","hashtag2"]},{"1391827678":["hashtag1","hashtag2"]},{"1391827683":["hashtag1","hashtag2"]},{"1391827685":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391827684, 1391827681, 1391827675, 1391827678, 1391827683, 1391827685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10172510147095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 11:34:22.724571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_49_2784.jpg', '/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_52_2674.jpg', '/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_56_3666.jpg', '/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_58_2662.jpg', '/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_01_2661.jpg', '/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_05_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_49_2784.jpg
/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_52_2674.jpg
/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_56_3666.jpg
/home/pi/Desktop/images/30102025/11/27/image_30102025_11_27_58_2662.jpg
/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_01_2661.jpg
/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_05_3603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391827700","1391827699","1391827702","1391827701","1391827694","1391827697"],"photo_ids_order":["1391827694","1391827697","1391827699","1391827700","1391827701","1391827702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2048a718a74b3543bb00390add4dd05d.jpg","text":"TemporaryFile(/tmp/multipartBody3225275647937042392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079735199,"filename":"image_30102025_11_27_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/2/d149818c09b27028f33832d4152562d0.jpg","text":"TemporaryFile(/tmp/multipartBody7539792359815219546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079735199,"filename":"image_30102025_11_27_56_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/2/ad749c94feab36d825ee967648039c25.jpg","text":"TemporaryFile(/tmp/multipartBody2860411275190047336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079735199,"filename":"image_30102025_11_28_05_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/2/1fcb319312e6c15daf69ab8225a81b0a.jpg","text":"TemporaryFile(/tmp/multipartBody3708996160419517342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079735199,"filename":"image_30102025_11_28_01_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/2/86bcf0e46ee3cd4bdaf8dd67a2918fc2.jpg","text":"TemporaryFile(/tmp/multipartBody3217909580927844519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079735199,"filename":"image_30102025_11_27_49_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/2/76386858dd80bf664074d85a4b2eea35.jpg","text":"TemporaryFile(/tmp/multipartBody8267738751319184219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079735199,"filename":"image_30102025_11_27_52_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391827699","file1":"1391827697","file0":"1391827694","file4":"1391827701","file5":"1391827702","file3":"1391827700"},"map_files_photo_id_array":[{"photo_id":"1391827702","filename":"file5"},{"photo_id":"1391827699","filename":"file2"},{"photo_id":"1391827701","filename":"file4"},{"photo_id":"1391827697","filename":"file1"},{"photo_id":"1391827694","filename":"file0"},{"photo_id":"1391827700","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391827700":["hashtag1","hashtag2"]},{"1391827699":["hashtag1","hashtag2"]},{"1391827702":["hashtag1","hashtag2"]},{"1391827701":["hashtag1","hashtag2"]},{"1391827694":["hashtag1","hashtag2"]},{"1391827697":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391827700, 1391827699, 1391827702, 1391827701, 1391827694, 1391827697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.726484298706055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 11:35:21.831598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_10_2779.jpg', '/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_14_3622.jpg', '/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_16_2670.jpg', '/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_20_3587.jpg', '/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_23_2819.jpg', '/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_25_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/11/28/image_30102025_11_28_10_2779.jpg
/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_14_3622.jpg
/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_16_2670.jpg
/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_20_3587.jpg
/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_23_2819.jpg
/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_25_2782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391827721","1391827720","1391827723","1391827714","1391827725","1391827718"],"photo_ids_order":["1391827714","1391827718","1391827720","1391827721","1391827723","1391827725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/025656132a6b3d2ef7e0a5dcf7e0ab1f.jpg","text":"TemporaryFile(/tmp/multipartBody4045672897109042186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079784546,"filename":"image_30102025_11_28_20_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/2/7a587f1bbfe843489f6f5b90abe1fd35.jpg","text":"TemporaryFile(/tmp/multipartBody4273317817620842160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079784546,"filename":"image_30102025_11_28_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/2/78308ba19e90448ad0025805e8b91f7b.jpg","text":"TemporaryFile(/tmp/multipartBody578778120067292838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079784546,"filename":"image_30102025_11_28_23_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/2/d5950bea162c0e9f6c9a9960943f2973.jpg","text":"TemporaryFile(/tmp/multipartBody1812978528991432054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079784546,"filename":"image_30102025_11_28_10_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/2/0ab3093f27003b295989a183e98d0603.jpg","text":"TemporaryFile(/tmp/multipartBody7339124541934164081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079784546,"filename":"image_30102025_11_28_25_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/2/b441da7a00fd4e98f261cd245d805997.jpg","text":"TemporaryFile(/tmp/multipartBody8491438379838127415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079784546,"filename":"image_30102025_11_28_14_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391827720","file1":"1391827718","file0":"1391827714","file4":"1391827723","file5":"1391827725","file3":"1391827721"},"map_files_photo_id_array":[{"photo_id":"1391827725","filename":"file5"},{"photo_id":"1391827720","filename":"file2"},{"photo_id":"1391827723","filename":"file4"},{"photo_id":"1391827718","filename":"file1"},{"photo_id":"1391827714","filename":"file0"},{"photo_id":"1391827721","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391827721":["hashtag1","hashtag2"]},{"1391827720":["hashtag1","hashtag2"]},{"1391827723":["hashtag1","hashtag2"]},{"1391827714":["hashtag1","hashtag2"]},{"1391827725":["hashtag1","hashtag2"]},{"1391827718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391827721, 1391827720, 1391827723, 1391827714, 1391827725, 1391827718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52875256538391 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:36:02.607866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_28_2769.jpg', '/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_32_3641.jpg', '/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_35_2826.jpg', '/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_37_2747.jpg', '/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_46_2575.jpg', '/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_49_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/11/28/image_30102025_11_28_28_2769.jpg
/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_32_3641.jpg
/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_35_2826.jpg
/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_37_2747.jpg
/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_46_2575.jpg
/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_49_2620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391827735","1391827738","1391827732","1391827734","1391827736","1391827739"],"photo_ids_order":["1391827732","1391827734","1391827735","1391827736","1391827738","1391827739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4576714b77a24e212c367ab9d2f63d17.jpg","text":"TemporaryFile(/tmp/multipartBody4674399362690240072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079824738,"filename":"image_30102025_11_28_35_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/2/ad1f1aba8ca5648ee143b07534614615.jpg","text":"TemporaryFile(/tmp/multipartBody6313606643592996786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079824738,"filename":"image_30102025_11_28_46_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/2/4ffc2cd72980cb9c18ff31173dbb222d.jpg","text":"TemporaryFile(/tmp/multipartBody6993370334705376218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079824738,"filename":"image_30102025_11_28_28_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/2/732d7f7b00dee6e8b4d6d72231e2fa61.jpg","text":"TemporaryFile(/tmp/multipartBody6551965305019702727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079824738,"filename":"image_30102025_11_28_32_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/2/01f0b01b2e4852373f8481e5e1c6c342.jpg","text":"TemporaryFile(/tmp/multipartBody7656763859268855843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079824738,"filename":"image_30102025_11_28_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/2/4d3d8c4a5649bd8387c7e3841539c1be.jpg","text":"TemporaryFile(/tmp/multipartBody1410745070068433538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079824738,"filename":"image_30102025_11_28_49_2620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391827735","file1":"1391827734","file0":"1391827732","file4":"1391827738","file5":"1391827739","file3":"1391827736"},"map_files_photo_id_array":[{"photo_id":"1391827739","filename":"file5"},{"photo_id":"1391827735","filename":"file2"},{"photo_id":"1391827738","filename":"file4"},{"photo_id":"1391827734","filename":"file1"},{"photo_id":"1391827732","filename":"file0"},{"photo_id":"1391827736","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391827735":["hashtag1","hashtag2"]},{"1391827738":["hashtag1","hashtag2"]},{"1391827732":["hashtag1","hashtag2"]},{"1391827734":["hashtag1","hashtag2"]},{"1391827736":["hashtag1","hashtag2"]},{"1391827739":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391827735, 1391827738, 1391827732, 1391827734, 1391827736, 1391827739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61201524734497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 11:36:42.119374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_55_2808.jpg', '/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_58_2785.jpg', '/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_01_2684.jpg', '/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_05_3707.jpg', '/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_07_2652.jpg', '/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_10_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/11/28/image_30102025_11_28_55_2808.jpg
/home/pi/Desktop/images/30102025/11/28/image_30102025_11_28_58_2785.jpg
/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_01_2684.jpg
/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_05_3707.jpg
/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_07_2652.jpg
/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_10_2704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391827783","1391827785","1391827779","1391827781","1391827775","1391827751"],"photo_ids_order":["1391827751","1391827775","1391827779","1391827781","1391827783","1391827785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b2a09135e0a253f328320454554f3f19.jpg","text":"TemporaryFile(/tmp/multipartBody7049195644025858981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079865483,"filename":"image_30102025_11_29_07_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/2/5b7f53d4e650d93d5b35881b8003f875.jpg","text":"TemporaryFile(/tmp/multipartBody826103202359459128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079865483,"filename":"image_30102025_11_29_10_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/2/3a5f98d7422355f0de547257c214ae8b.jpg","text":"TemporaryFile(/tmp/multipartBody8902654637759332750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079865483,"filename":"image_30102025_11_29_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/2/077d4d26f63c93cf5906e0ce152a4522.jpg","text":"TemporaryFile(/tmp/multipartBody992753240309472057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079865483,"filename":"image_30102025_11_29_05_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/2/8267f41619e24c6ecce43531e732e682.jpg","text":"TemporaryFile(/tmp/multipartBody200933302500037353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079865483,"filename":"image_30102025_11_28_58_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/2/eaaacb67b9c72a0391db74c150a027a1.jpg","text":"TemporaryFile(/tmp/multipartBody2784182062242498208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079865483,"filename":"image_30102025_11_28_55_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391827779","file1":"1391827775","file0":"1391827751","file4":"1391827783","file5":"1391827785","file3":"1391827781"},"map_files_photo_id_array":[{"photo_id":"1391827785","filename":"file5"},{"photo_id":"1391827779","filename":"file2"},{"photo_id":"1391827783","filename":"file4"},{"photo_id":"1391827775","filename":"file1"},{"photo_id":"1391827751","filename":"file0"},{"photo_id":"1391827781","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391827783":["hashtag1","hashtag2"]},{"1391827785":["hashtag1","hashtag2"]},{"1391827779":["hashtag1","hashtag2"]},{"1391827781":["hashtag1","hashtag2"]},{"1391827775":["hashtag1","hashtag2"]},{"1391827751":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391827783, 1391827785, 1391827779, 1391827781, 1391827775, 1391827751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8340117931366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 11:37:22.288819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_13_2790.jpg', '/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_16_3543.jpg', '/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_19_2690.jpg', '/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_23_3673.jpg', '/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_25_2664.jpg', '/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_28_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_13_2790.jpg
/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_16_3543.jpg
/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_19_2690.jpg
/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_23_3673.jpg
/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_25_2664.jpg
/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_28_2579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391827792","1391827789","1391827794","1391827791","1391827793","1391827796"],"photo_ids_order":["1391827789","1391827791","1391827792","1391827793","1391827794","1391827796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8eca5fbafe11d3be68d02a5d978f47dd.jpg","text":"TemporaryFile(/tmp/multipartBody5006702086293190088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079905004,"filename":"image_30102025_11_29_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/2/a806127e057c01c6ca6125d666101cad.jpg","text":"TemporaryFile(/tmp/multipartBody2938189296113822674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079905004,"filename":"image_30102025_11_29_13_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/2/4127f5727c576817e4cfc1c72490e0c7.jpg","text":"TemporaryFile(/tmp/multipartBody2254162808470358081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079905004,"filename":"image_30102025_11_29_25_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/2/2c36fd4d9c1ac7f8aaaff7db89afa2de.jpg","text":"TemporaryFile(/tmp/multipartBody5697864812716431378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079905004,"filename":"image_30102025_11_29_16_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/2/b85bba6efb3c8c7bdb2a00ca8d24ee40.jpg","text":"TemporaryFile(/tmp/multipartBody730930561310477923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079905004,"filename":"image_30102025_11_29_23_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/2/1bf3c0fc04c51783183465cfc9edff7c.jpg","text":"TemporaryFile(/tmp/multipartBody5458667467779477454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079905004,"filename":"image_30102025_11_29_28_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391827792","file1":"1391827791","file0":"1391827789","file4":"1391827794","file5":"1391827796","file3":"1391827793"},"map_files_photo_id_array":[{"photo_id":"1391827796","filename":"file5"},{"photo_id":"1391827792","filename":"file2"},{"photo_id":"1391827794","filename":"file4"},{"photo_id":"1391827791","filename":"file1"},{"photo_id":"1391827789","filename":"file0"},{"photo_id":"1391827793","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391827792":["hashtag1","hashtag2"]},{"1391827789":["hashtag1","hashtag2"]},{"1391827794":["hashtag1","hashtag2"]},{"1391827791":["hashtag1","hashtag2"]},{"1391827793":["hashtag1","hashtag2"]},{"1391827796":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391827792, 1391827789, 1391827794, 1391827791, 1391827793, 1391827796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70968556404114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:38:03.006503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_32_3568.jpg', '/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_34_2552.jpg', '/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_37_2814.jpg', '/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_41_3783.jpg', '/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_43_2789.jpg', '/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_46_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/11/29/image_30102025_11_29_32_3568.jpg
/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_34_2552.jpg
/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_37_2814.jpg
/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_41_3783.jpg
/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_43_2789.jpg
/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_46_2580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391827814","1391827813","1391827807","1391827812","1391827815","1391827817"],"photo_ids_order":["1391827807","1391827812","1391827813","1391827814","1391827815","1391827817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e0b6c510b62920838f0efdede9aeaf03.jpg","text":"TemporaryFile(/tmp/multipartBody8189155445455750308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079945201,"filename":"image_30102025_11_29_41_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/2/911397974bc6ec5484d2a02a42234276.jpg","text":"TemporaryFile(/tmp/multipartBody261309693643266047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079945201,"filename":"image_30102025_11_29_37_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/2/493f15695d2d9433ba92b3349af73532.jpg","text":"TemporaryFile(/tmp/multipartBody1769665317107755749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079945201,"filename":"image_30102025_11_29_32_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/2/10e8ff7acefe6b041d43bc1b66e9f6fb.jpg","text":"TemporaryFile(/tmp/multipartBody33533724134957520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079945201,"filename":"image_30102025_11_29_34_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/2/a57c38b769f3f1027015f55d69885fdf.jpg","text":"TemporaryFile(/tmp/multipartBody9199707929500160206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079945201,"filename":"image_30102025_11_29_43_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/2/d2a71cdbf0b433e4a6d1c86d39e5ae5a.jpg","text":"TemporaryFile(/tmp/multipartBody7554095448413861027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079945201,"filename":"image_30102025_11_29_46_2580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391827813","file1":"1391827812","file0":"1391827807","file4":"1391827815","file5":"1391827817","file3":"1391827814"},"map_files_photo_id_array":[{"photo_id":"1391827817","filename":"file5"},{"photo_id":"1391827813","filename":"file2"},{"photo_id":"1391827815","filename":"file4"},{"photo_id":"1391827812","filename":"file1"},{"photo_id":"1391827807","filename":"file0"},{"photo_id":"1391827814","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391827814":["hashtag1","hashtag2"]},{"1391827813":["hashtag1","hashtag2"]},{"1391827807":["hashtag1","hashtag2"]},{"1391827812":["hashtag1","hashtag2"]},{"1391827815":["hashtag1","hashtag2"]},{"1391827817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391827814, 1391827813, 1391827807, 1391827812, 1391827815, 1391827817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.440815925598145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 11:38:42.475868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_49_2777.jpg', '/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_52_2902.jpg', '/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_55_3560.jpg', '/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_58_2700.jpg', '/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_11_3634.jpg', '/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_14_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/11/29/image_30102025_11_29_49_2777.jpg
/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_52_2902.jpg
/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_55_3560.jpg
/home/pi/Desktop/images/30102025/11/29/image_30102025_11_29_58_2700.jpg
/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_11_3634.jpg
/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_14_2684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391827829","1391827831","1391827825","1391827827","1391827835","1391827823"],"photo_ids_order":["1391827823","1391827825","1391827827","1391827829","1391827831","1391827835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3b7c8f91c3ae216ad5bee03acec02bff.jpg","text":"TemporaryFile(/tmp/multipartBody151102883255788697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079986286,"filename":"image_30102025_11_29_58_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/2/04d4db8b1e291fd3577f4cd4fb41639f.jpg","text":"TemporaryFile(/tmp/multipartBody3559466608287750196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079986286,"filename":"image_30102025_11_30_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/2/60fce43a75eb3c37e3ae51a5c5284e8a.jpg","text":"TemporaryFile(/tmp/multipartBody6618608887161782168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079986286,"filename":"image_30102025_11_29_52_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/2/46d8014fd847f47cf93b52d5f83ae886.jpg","text":"TemporaryFile(/tmp/multipartBody126399219649196912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079986286,"filename":"image_30102025_11_29_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/2/888626954f5ef41732d84780f9be4ad0.jpg","text":"TemporaryFile(/tmp/multipartBody2282212410263790082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079986286,"filename":"image_30102025_11_30_14_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/2/a325dbc437a6fd2cbd9b4b9b207d855e.jpg","text":"TemporaryFile(/tmp/multipartBody8152288429223408034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762079986286,"filename":"image_30102025_11_29_49_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391827827","file1":"1391827825","file0":"1391827823","file4":"1391827831","file5":"1391827835","file3":"1391827829"},"map_files_photo_id_array":[{"photo_id":"1391827835","filename":"file5"},{"photo_id":"1391827827","filename":"file2"},{"photo_id":"1391827831","filename":"file4"},{"photo_id":"1391827825","filename":"file1"},{"photo_id":"1391827823","filename":"file0"},{"photo_id":"1391827829","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391827829":["hashtag1","hashtag2"]},{"1391827831":["hashtag1","hashtag2"]},{"1391827825":["hashtag1","hashtag2"]},{"1391827827":["hashtag1","hashtag2"]},{"1391827835":["hashtag1","hashtag2"]},{"1391827823":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391827829, 1391827831, 1391827825, 1391827827, 1391827835, 1391827823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90567421913147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 11:39:22.622531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_17_2809.jpg', '/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_20_3715.jpg', '/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_23_2616.jpg', '/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_26_2730.jpg', '/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_29_3691.jpg', '/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_32_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_17_2809.jpg
/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_20_3715.jpg
/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_23_2616.jpg
/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_26_2730.jpg
/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_29_3691.jpg
/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_32_2766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391827852","1391827845","1391827860","1391827848","1391827856","1391827850"],"photo_ids_order":["1391827845","1391827848","1391827850","1391827852","1391827856","1391827860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/962fe5abcde413a1a6b381f839b45682.jpg","text":"TemporaryFile(/tmp/multipartBody8595726399129902699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080025409,"filename":"image_30102025_11_30_26_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/2/bcdbc45543c0d82b907b7cd44ec19bf1.jpg","text":"TemporaryFile(/tmp/multipartBody299478186828335436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080025409,"filename":"image_30102025_11_30_17_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/2/492449731ae2d8b10bcfdfe232aaa3d9.jpg","text":"TemporaryFile(/tmp/multipartBody7840517008455755744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080025409,"filename":"image_30102025_11_30_32_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/2/1328232f4360f2bc106ae6578c619458.jpg","text":"TemporaryFile(/tmp/multipartBody3415933388571235504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080025409,"filename":"image_30102025_11_30_20_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/2/573e40e108a3d408f59a2c7cf49348b7.jpg","text":"TemporaryFile(/tmp/multipartBody8254678073137289965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080025409,"filename":"image_30102025_11_30_29_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/2/e005306cf86dd8f76651474646cb8b9a.jpg","text":"TemporaryFile(/tmp/multipartBody718119743335462365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080025409,"filename":"image_30102025_11_30_23_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391827850","file1":"1391827848","file0":"1391827845","file4":"1391827856","file5":"1391827860","file3":"1391827852"},"map_files_photo_id_array":[{"photo_id":"1391827860","filename":"file5"},{"photo_id":"1391827850","filename":"file2"},{"photo_id":"1391827856","filename":"file4"},{"photo_id":"1391827848","filename":"file1"},{"photo_id":"1391827845","filename":"file0"},{"photo_id":"1391827852","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391827852":["hashtag1","hashtag2"]},{"1391827845":["hashtag1","hashtag2"]},{"1391827860":["hashtag1","hashtag2"]},{"1391827848":["hashtag1","hashtag2"]},{"1391827856":["hashtag1","hashtag2"]},{"1391827850":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391827852, 1391827845, 1391827860, 1391827848, 1391827856, 1391827850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.552998781204224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 11:40:21.926493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_35_2732.jpg', '/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_37_2637.jpg', '/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_44_2581.jpg', '/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_47_2706.jpg', '/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_50_3672.jpg', '/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_57_6374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_35_2732.jpg
/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_37_2637.jpg
/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_44_2581.jpg
/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_47_2706.jpg
/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_50_3672.jpg
/home/pi/Desktop/images/30102025/11/30/image_30102025_11_30_57_6374.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391827881","1391827890","1391827884","1391827892","1391827886","1391827877"],"photo_ids_order":["1391827877","1391827881","1391827884","1391827886","1391827890","1391827892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a1f686a61c2b50cbdb5a695489d1a0e9.jpg","text":"TemporaryFile(/tmp/multipartBody6168380742829053130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080084668,"filename":"image_30102025_11_30_37_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/2/ebac7139223cbcec2a0e06b7ad65a0fa.jpg","text":"TemporaryFile(/tmp/multipartBody7215724071022538561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080084668,"filename":"image_30102025_11_30_50_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/2/e76ca6ffc6a17af05905b403d36200c6.jpg","text":"TemporaryFile(/tmp/multipartBody2776294577048781879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080084668,"filename":"image_30102025_11_30_44_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/2/11a3c7a285898756ad2fa4c808f9d712.jpg","text":"TemporaryFile(/tmp/multipartBody3691546382293810457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080084668,"filename":"image_30102025_11_30_57_6374.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a94ed936503b911c8cc343d76ace44de.jpg","text":"TemporaryFile(/tmp/multipartBody7882749548321241679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080084668,"filename":"image_30102025_11_30_47_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/2/9aee3124f1fa03c27703035fec92da23.jpg","text":"TemporaryFile(/tmp/multipartBody8937073868347320740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080084668,"filename":"image_30102025_11_30_35_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391827884","file1":"1391827881","file0":"1391827877","file4":"1391827890","file5":"1391827892","file3":"1391827886"},"map_files_photo_id_array":[{"photo_id":"1391827892","filename":"file5"},{"photo_id":"1391827884","filename":"file2"},{"photo_id":"1391827890","filename":"file4"},{"photo_id":"1391827881","filename":"file1"},{"photo_id":"1391827877","filename":"file0"},{"photo_id":"1391827886","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391827881":["hashtag1","hashtag2"]},{"1391827890":["hashtag1","hashtag2"]},{"1391827884":["hashtag1","hashtag2"]},{"1391827892":["hashtag1","hashtag2"]},{"1391827886":["hashtag1","hashtag2"]},{"1391827877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391827881, 1391827890, 1391827884, 1391827892, 1391827886, 1391827877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.894007205963135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:41:02.904815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/30/image_30102025_11_31_00_3089.jpg', '/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_01_1735.jpg', '/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_03_1712.jpg', '/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_05_1651.jpg', '/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_07_2669.jpg', '/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_11_3772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/30/image_30102025_11_31_00_3089.jpg
/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_01_1735.jpg
/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_03_1712.jpg
/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_05_1651.jpg
/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_07_2669.jpg
/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_11_3772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391827904","1391827912","1391827906","1391827899","1391827908","1391827902"],"photo_ids_order":["1391827899","1391827902","1391827904","1391827906","1391827908","1391827912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/75142ce291377653efcf063ce0db1714.jpg","text":"TemporaryFile(/tmp/multipartBody7844520463739779314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080125097,"filename":"image_30102025_11_31_03_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/2/5893be571011dcbfe9f3e34a8025fa7a.jpg","text":"TemporaryFile(/tmp/multipartBody3747986326411410548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080125097,"filename":"image_30102025_11_31_11_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/2/bfce2c0ea78022186b398425aadcfb8e.jpg","text":"TemporaryFile(/tmp/multipartBody5073536836249635815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080125097,"filename":"image_30102025_11_31_05_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/2/5137d28bf327a8a8cf214885dc60b784.jpg","text":"TemporaryFile(/tmp/multipartBody3162594326424986953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080125097,"filename":"image_30102025_11_31_00_3089.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0ac1bd3e39e992fdfcab6ab6d5c8da67.jpg","text":"TemporaryFile(/tmp/multipartBody3556788656203808396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080125097,"filename":"image_30102025_11_31_07_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/2/74d0ef98ee5936e48b70fc35b613e4a8.jpg","text":"TemporaryFile(/tmp/multipartBody2374220329297504863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080125097,"filename":"image_30102025_11_31_01_1735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391827904","file1":"1391827902","file0":"1391827899","file4":"1391827908","file5":"1391827912","file3":"1391827906"},"map_files_photo_id_array":[{"photo_id":"1391827912","filename":"file5"},{"photo_id":"1391827904","filename":"file2"},{"photo_id":"1391827908","filename":"file4"},{"photo_id":"1391827902","filename":"file1"},{"photo_id":"1391827899","filename":"file0"},{"photo_id":"1391827906","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391827904":["hashtag1","hashtag2"]},{"1391827912":["hashtag1","hashtag2"]},{"1391827906":["hashtag1","hashtag2"]},{"1391827899":["hashtag1","hashtag2"]},{"1391827908":["hashtag1","hashtag2"]},{"1391827902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391827904, 1391827912, 1391827906, 1391827899, 1391827908, 1391827902)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.262752056121826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:42:02.963547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 11:42:22.763755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_14_2537.jpg', '/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_16_2706.jpg', '/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_20_3661.jpg', '/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_23_2776.jpg', '/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_29_2735.jpg', '/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_32_3719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_14_2537.jpg
/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_16_2706.jpg
/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_20_3661.jpg
/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_23_2776.jpg
/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_29_2735.jpg
/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_32_3719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391827966","1391827980","1391827974","1391827968","1391827977","1391827970"],"photo_ids_order":["1391827966","1391827968","1391827970","1391827974","1391827977","1391827980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e10951fdbe4f07c135176548cac24035.jpg","text":"TemporaryFile(/tmp/multipartBody1421977095611878779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080205609,"filename":"image_30102025_11_31_14_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/2/b9009c1b5a32d85eba69fa2903bc5bbc.jpg","text":"TemporaryFile(/tmp/multipartBody2959634900126929969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080205609,"filename":"image_30102025_11_31_32_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/2/a957d432bd825c3f2d6188a94d6cb9db.jpg","text":"TemporaryFile(/tmp/multipartBody3587817019271018313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080205609,"filename":"image_30102025_11_31_23_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/2/ee282846d138b8dd0a34c93b7735d87a.jpg","text":"TemporaryFile(/tmp/multipartBody3051804983109183172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080205609,"filename":"image_30102025_11_31_16_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/2/9c64c627befb4f2b5bfe182a5e90d99f.jpg","text":"TemporaryFile(/tmp/multipartBody7089054054433462708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080205609,"filename":"image_30102025_11_31_29_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/2/889d89c04eb8c7c8e5a5d49bd88951ff.jpg","text":"TemporaryFile(/tmp/multipartBody6653548778725588536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080205609,"filename":"image_30102025_11_31_20_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391827970","file1":"1391827968","file0":"1391827966","file4":"1391827977","file5":"1391827980","file3":"1391827974"},"map_files_photo_id_array":[{"photo_id":"1391827980","filename":"file5"},{"photo_id":"1391827970","filename":"file2"},{"photo_id":"1391827977","filename":"file4"},{"photo_id":"1391827968","filename":"file1"},{"photo_id":"1391827966","filename":"file0"},{"photo_id":"1391827974","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391827966":["hashtag1","hashtag2"]},{"1391827980":["hashtag1","hashtag2"]},{"1391827974":["hashtag1","hashtag2"]},{"1391827968":["hashtag1","hashtag2"]},{"1391827977":["hashtag1","hashtag2"]},{"1391827970":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391827966, 1391827980, 1391827974, 1391827968, 1391827977, 1391827970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82623481750488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:43:02.609427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_35_2555.jpg', '/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_37_2635.jpg', '/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_41_3730.jpg', '/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_49_2962.jpg', '/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_53_3696.jpg', '/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_56_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/11/31/image_30102025_11_31_35_2555.jpg
/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_37_2635.jpg
/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_41_3730.jpg
/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_49_2962.jpg
/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_53_3696.jpg
/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_56_2745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391828305","1391828308","1391828244","1391828310","1391828279","1391828300"],"photo_ids_order":["1391828244","1391828279","1391828300","1391828305","1391828308","1391828310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/014043aa06abe6bb2a8164d542f1552b.jpg","text":"TemporaryFile(/tmp/multipartBody8915970161310956493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080270677,"filename":"image_30102025_11_31_49_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/2/a8295f3ad11221a3463259239142b2be.jpg","text":"TemporaryFile(/tmp/multipartBody3345927371296397707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080270677,"filename":"image_30102025_11_31_53_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/2/e84237987f9d5e5c6bf9c37acda66d18.jpg","text":"TemporaryFile(/tmp/multipartBody1790812439124570575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080270677,"filename":"image_30102025_11_31_35_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/2/03be310db3ce09216bd2fa555dbd36ba.jpg","text":"TemporaryFile(/tmp/multipartBody2857260497259783629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080270677,"filename":"image_30102025_11_31_56_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/2/3c32a57b08762b7d154b5f5764d24c00.jpg","text":"TemporaryFile(/tmp/multipartBody3342513827980011604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080270677,"filename":"image_30102025_11_31_37_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/2/83965f7dc3a0f51fb59f16a9af88ee32.jpg","text":"TemporaryFile(/tmp/multipartBody6242710452998437753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080270677,"filename":"image_30102025_11_31_41_3730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391828300","file1":"1391828279","file0":"1391828244","file4":"1391828308","file5":"1391828310","file3":"1391828305"},"map_files_photo_id_array":[{"photo_id":"1391828310","filename":"file5"},{"photo_id":"1391828300","filename":"file2"},{"photo_id":"1391828308","filename":"file4"},{"photo_id":"1391828279","filename":"file1"},{"photo_id":"1391828244","filename":"file0"},{"photo_id":"1391828305","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391828305":["hashtag1","hashtag2"]},{"1391828308":["hashtag1","hashtag2"]},{"1391828244":["hashtag1","hashtag2"]},{"1391828310":["hashtag1","hashtag2"]},{"1391828279":["hashtag1","hashtag2"]},{"1391828300":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391828305, 1391828308, 1391828244, 1391828310, 1391828279, 1391828300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.04069209098816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 11:44:22.035907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/31/image_30102025_11_31_58_2565.jpg', '/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_01_2885.jpg', '/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_05_3691.jpg', '/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_08_2562.jpg', '/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_10_2682.jpg', '/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_14_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/11/31/image_30102025_11_31_58_2565.jpg
/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_01_2885.jpg
/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_05_3691.jpg
/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_08_2562.jpg
/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_10_2682.jpg
/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_14_3608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391828332","1391828329","1391828331","1391828325","1391828327","1391828321"],"photo_ids_order":["1391828321","1391828325","1391828327","1391828329","1391828331","1391828332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c239714f7036fde698ffdb30fffa70ff.jpg","text":"TemporaryFile(/tmp/multipartBody7732331057912784253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080324729,"filename":"image_30102025_11_32_14_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/2/7b9d231984e6e23af8d5f50b8bd3d652.jpg","text":"TemporaryFile(/tmp/multipartBody4166536030416577493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080324729,"filename":"image_30102025_11_32_08_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/2/943cc1747029fb321e67cf97a637d474.jpg","text":"TemporaryFile(/tmp/multipartBody4310682746617569271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080324729,"filename":"image_30102025_11_32_10_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/2/21476c3ae11163bd4abeeed3a2f21dfd.jpg","text":"TemporaryFile(/tmp/multipartBody6136008481724029451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080324729,"filename":"image_30102025_11_32_01_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/2/9c825386e0af31c123c5e6a67142de79.jpg","text":"TemporaryFile(/tmp/multipartBody5265639135295139178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080324729,"filename":"image_30102025_11_32_05_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/2/81809b65e81c20378ba715e280991b12.jpg","text":"TemporaryFile(/tmp/multipartBody7022109557657458729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080324729,"filename":"image_30102025_11_31_58_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391828327","file1":"1391828325","file0":"1391828321","file4":"1391828331","file5":"1391828332","file3":"1391828329"},"map_files_photo_id_array":[{"photo_id":"1391828332","filename":"file5"},{"photo_id":"1391828327","filename":"file2"},{"photo_id":"1391828331","filename":"file4"},{"photo_id":"1391828325","filename":"file1"},{"photo_id":"1391828321","filename":"file0"},{"photo_id":"1391828329","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391828332":["hashtag1","hashtag2"]},{"1391828329":["hashtag1","hashtag2"]},{"1391828331":["hashtag1","hashtag2"]},{"1391828325":["hashtag1","hashtag2"]},{"1391828327":["hashtag1","hashtag2"]},{"1391828321":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391828332, 1391828329, 1391828331, 1391828325, 1391828327, 1391828321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4283652305603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:45:02.921238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_17_2823.jpg', '/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_19_2715.jpg', '/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_23_3730.jpg', '/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_26_2844.jpg', '/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_29_2567.jpg', '/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_32_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/11/32/image_30102025_11_32_17_2823.jpg
/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_19_2715.jpg
/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_23_3730.jpg
/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_26_2844.jpg
/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_29_2567.jpg
/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_32_3537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391828341","1391828344","1391828346","1391828340","1391828348","1391828342"],"photo_ids_order":["1391828340","1391828341","1391828342","1391828344","1391828346","1391828348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8abe9c6036429894364d435e4ab5b14a.jpg","text":"TemporaryFile(/tmp/multipartBody3478708364731431982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080365086,"filename":"image_30102025_11_32_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/2/0c93733cf8eb192109ec449b7a0828ba.jpg","text":"TemporaryFile(/tmp/multipartBody6282916911786069826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080365086,"filename":"image_30102025_11_32_26_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/2/a8c3aed6438356fe7ba568849c7d888e.jpg","text":"TemporaryFile(/tmp/multipartBody3093353890142211795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080365086,"filename":"image_30102025_11_32_29_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/2/acfce816ae2936472ffa495d47d77ebc.jpg","text":"TemporaryFile(/tmp/multipartBody5366853900152899678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080365086,"filename":"image_30102025_11_32_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/2/d60c37bfbe86f4fc42fd0b4c1c28e584.jpg","text":"TemporaryFile(/tmp/multipartBody5806858128310776163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080365086,"filename":"image_30102025_11_32_32_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/2/b4a32a021d380cdb323b5f180ddb8254.jpg","text":"TemporaryFile(/tmp/multipartBody5712761369336958420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080365086,"filename":"image_30102025_11_32_23_3730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391828342","file1":"1391828341","file0":"1391828340","file4":"1391828346","file5":"1391828348","file3":"1391828344"},"map_files_photo_id_array":[{"photo_id":"1391828348","filename":"file5"},{"photo_id":"1391828342","filename":"file2"},{"photo_id":"1391828346","filename":"file4"},{"photo_id":"1391828341","filename":"file1"},{"photo_id":"1391828340","filename":"file0"},{"photo_id":"1391828344","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391828341":["hashtag1","hashtag2"]},{"1391828344":["hashtag1","hashtag2"]},{"1391828346":["hashtag1","hashtag2"]},{"1391828340":["hashtag1","hashtag2"]},{"1391828348":["hashtag1","hashtag2"]},{"1391828342":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391828341, 1391828344, 1391828346, 1391828340, 1391828348, 1391828342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99383807182312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:46:02.971410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_35_2886.jpg', '/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_38_2802.jpg', '/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_41_2857.jpg', '/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_43_2576.jpg', '/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_47_3619.jpg', '/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_50_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/11/32/image_30102025_11_32_35_2886.jpg
/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_38_2802.jpg
/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_41_2857.jpg
/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_43_2576.jpg
/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_47_3619.jpg
/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_50_2833.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391828374","1391828367","1391828369","1391828363","1391828366","1391828371"],"photo_ids_order":["1391828363","1391828366","1391828367","1391828369","1391828371","1391828374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0403c5cfac0e2c16cea5ed263b3fe9b9.jpg","text":"TemporaryFile(/tmp/multipartBody3000927888210093708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080425136,"filename":"image_30102025_11_32_50_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/2/f1d6b4a3eb5ff286eb959b179315ce19.jpg","text":"TemporaryFile(/tmp/multipartBody7034039499485454597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080425136,"filename":"image_30102025_11_32_41_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/2/32866ab3e7dbf8edebf89821ea49eea6.jpg","text":"TemporaryFile(/tmp/multipartBody8292238412535121070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080425136,"filename":"image_30102025_11_32_43_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/2/5ea0be00c9e99008ecba39b67d1a0acf.jpg","text":"TemporaryFile(/tmp/multipartBody160521488082658150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080425136,"filename":"image_30102025_11_32_35_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/2/ec3ad71fcbeed8049106ebf10f6763db.jpg","text":"TemporaryFile(/tmp/multipartBody1877103669392042127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080425136,"filename":"image_30102025_11_32_38_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/2/8ded56e4d92e370f84864be3bae3fa28.jpg","text":"TemporaryFile(/tmp/multipartBody4455168620507133406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080425136,"filename":"image_30102025_11_32_47_3619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391828367","file1":"1391828366","file0":"1391828363","file4":"1391828371","file5":"1391828374","file3":"1391828369"},"map_files_photo_id_array":[{"photo_id":"1391828374","filename":"file5"},{"photo_id":"1391828367","filename":"file2"},{"photo_id":"1391828371","filename":"file4"},{"photo_id":"1391828366","filename":"file1"},{"photo_id":"1391828363","filename":"file0"},{"photo_id":"1391828369","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391828374":["hashtag1","hashtag2"]},{"1391828367":["hashtag1","hashtag2"]},{"1391828369":["hashtag1","hashtag2"]},{"1391828363":["hashtag1","hashtag2"]},{"1391828366":["hashtag1","hashtag2"]},{"1391828371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391828374, 1391828367, 1391828369, 1391828363, 1391828366, 1391828371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95297932624817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 11:46:42.493351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_52_2845.jpg', '/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_55_2738.jpg', '/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_59_3786.jpg', '/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_02_2640.jpg', '/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_04_2618.jpg', '/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_08_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/11/32/image_30102025_11_32_52_2845.jpg
/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_55_2738.jpg
/home/pi/Desktop/images/30102025/11/32/image_30102025_11_32_59_3786.jpg
/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_02_2640.jpg
/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_04_2618.jpg
/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_08_3555.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391828500","1391828658","1391828460","1391828541","1391828579","1391828618"],"photo_ids_order":["1391828460","1391828500","1391828541","1391828579","1391828618","1391828658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ad465a14099b768f0b00af2222f43a04.jpg","text":"TemporaryFile(/tmp/multipartBody7904738055150089900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080463591,"filename":"image_30102025_11_32_55_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/2/a0b0005f85f22b0857775886c645843b.jpg","text":"TemporaryFile(/tmp/multipartBody1528498660874111298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080463591,"filename":"image_30102025_11_33_08_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/2/7fe5292f513e7bf46004b7f0bdf94f51.jpg","text":"TemporaryFile(/tmp/multipartBody8553584560823895374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080463591,"filename":"image_30102025_11_32_52_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/2/b39eb559a5cb68f4b05b3f96b75251f6.jpg","text":"TemporaryFile(/tmp/multipartBody1747370489647241074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080463591,"filename":"image_30102025_11_32_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/2/e668efb8dc98678fc82405458e694b15.jpg","text":"TemporaryFile(/tmp/multipartBody3251626928182432635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080463591,"filename":"image_30102025_11_33_02_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/2/532b132a8135020dd2b0bc0517a9949e.jpg","text":"TemporaryFile(/tmp/multipartBody1619254585097184588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080463591,"filename":"image_30102025_11_33_04_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391828541","file1":"1391828500","file0":"1391828460","file4":"1391828618","file5":"1391828658","file3":"1391828579"},"map_files_photo_id_array":[{"photo_id":"1391828658","filename":"file5"},{"photo_id":"1391828541","filename":"file2"},{"photo_id":"1391828618","filename":"file4"},{"photo_id":"1391828500","filename":"file1"},{"photo_id":"1391828460","filename":"file0"},{"photo_id":"1391828579","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391828500":["hashtag1","hashtag2"]},{"1391828658":["hashtag1","hashtag2"]},{"1391828460":["hashtag1","hashtag2"]},{"1391828541":["hashtag1","hashtag2"]},{"1391828579":["hashtag1","hashtag2"]},{"1391828618":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391828500, 1391828658, 1391828460, 1391828541, 1391828579, 1391828618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59790372848511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 11:47:22.604844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_11_2717.jpg', '/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_14_3585.jpg', '/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_17_2653.jpg', '/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_20_2823.jpg', '/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_26_3604.jpg', '/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_29_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/11/33/image_30102025_11_33_11_2717.jpg
/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_14_3585.jpg
/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_17_2653.jpg
/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_20_2823.jpg
/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_26_3604.jpg
/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_29_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391828706","1391828715","1391828709","1391828703","1391828711","1391828705"],"photo_ids_order":["1391828703","1391828705","1391828706","1391828709","1391828711","1391828715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b2c4d522d950c1a0704b2244b83cdcc4.jpg","text":"TemporaryFile(/tmp/multipartBody8617216924319557158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080505337,"filename":"image_30102025_11_33_17_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/2/65c42581b91a892e34fb40a531d7fb98.jpg","text":"TemporaryFile(/tmp/multipartBody1871738716867126349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080505337,"filename":"image_30102025_11_33_29_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/2/65317b3753a83e71811d6a30d3f1c126.jpg","text":"TemporaryFile(/tmp/multipartBody3017286824897609598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080505337,"filename":"image_30102025_11_33_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/2/584f1ac9d158859e66f8bf0d3e26de00.jpg","text":"TemporaryFile(/tmp/multipartBody5683451784932355535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080505337,"filename":"image_30102025_11_33_11_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/2/54800a7ff06499f56c7be3e78e6799c7.jpg","text":"TemporaryFile(/tmp/multipartBody6917021887785807675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080505337,"filename":"image_30102025_11_33_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/2/78ddb9a6f6a6e444b13712ba6efe894d.jpg","text":"TemporaryFile(/tmp/multipartBody6198514249098591355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080505337,"filename":"image_30102025_11_33_14_3585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391828706","file1":"1391828705","file0":"1391828703","file4":"1391828711","file5":"1391828715","file3":"1391828709"},"map_files_photo_id_array":[{"photo_id":"1391828715","filename":"file5"},{"photo_id":"1391828706","filename":"file2"},{"photo_id":"1391828711","filename":"file4"},{"photo_id":"1391828705","filename":"file1"},{"photo_id":"1391828703","filename":"file0"},{"photo_id":"1391828709","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391828706":["hashtag1","hashtag2"]},{"1391828715":["hashtag1","hashtag2"]},{"1391828709":["hashtag1","hashtag2"]},{"1391828703":["hashtag1","hashtag2"]},{"1391828711":["hashtag1","hashtag2"]},{"1391828705":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391828706, 1391828715, 1391828709, 1391828703, 1391828711, 1391828705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46695899963379 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:48:03.156956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_34_3010.jpg', '/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_41_2654.jpg', '/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_43_2684.jpg', '/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_47_3692.jpg', '/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_52_2567.jpg', '/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_56_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/11/33/image_30102025_11_33_34_3010.jpg
/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_41_2654.jpg
/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_43_2684.jpg
/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_47_3692.jpg
/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_52_2567.jpg
/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_56_3596.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391828731","1391828734","1391828725","1391828730","1391828727","1391828723"],"photo_ids_order":["1391828723","1391828725","1391828727","1391828730","1391828731","1391828734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/228cc01267ca79cb89aeb0be2d48bd6d.jpg","text":"TemporaryFile(/tmp/multipartBody1134986187920374124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080545478,"filename":"image_30102025_11_33_52_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/2/f4fda5b5373fdba98f660a3ce0c7dbc1.jpg","text":"TemporaryFile(/tmp/multipartBody5953928126244648060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080545478,"filename":"image_30102025_11_33_56_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/2/c5daf0e0c7187a22389d1f48fa6ec2d8.jpg","text":"TemporaryFile(/tmp/multipartBody392127224851327515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080545478,"filename":"image_30102025_11_33_41_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/2/7753237459f2b616125c30e703976ab1.jpg","text":"TemporaryFile(/tmp/multipartBody9031436077224082195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080545478,"filename":"image_30102025_11_33_47_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/2/28aab431a6b3763069e741c34ec096b2.jpg","text":"TemporaryFile(/tmp/multipartBody5451395872197084910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080545478,"filename":"image_30102025_11_33_43_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/2/c47c6ad8551b1e60b5585bdace0f65d4.jpg","text":"TemporaryFile(/tmp/multipartBody7739225241761819937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080545478,"filename":"image_30102025_11_33_34_3010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391828727","file1":"1391828725","file0":"1391828723","file4":"1391828731","file5":"1391828734","file3":"1391828730"},"map_files_photo_id_array":[{"photo_id":"1391828734","filename":"file5"},{"photo_id":"1391828727","filename":"file2"},{"photo_id":"1391828731","filename":"file4"},{"photo_id":"1391828725","filename":"file1"},{"photo_id":"1391828723","filename":"file0"},{"photo_id":"1391828730","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391828731":["hashtag1","hashtag2"]},{"1391828734":["hashtag1","hashtag2"]},{"1391828725":["hashtag1","hashtag2"]},{"1391828730":["hashtag1","hashtag2"]},{"1391828727":["hashtag1","hashtag2"]},{"1391828723":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391828731, 1391828734, 1391828725, 1391828730, 1391828727, 1391828723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43827939033508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 11:48:42.812007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_59_2771.jpg', '/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_01_2646.jpg', '/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_05_3616.jpg', '/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_07_2522.jpg', '/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_10_2822.jpg', '/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_14_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/33/image_30102025_11_33_59_2771.jpg
/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_01_2646.jpg
/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_05_3616.jpg
/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_07_2522.jpg
/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_10_2822.jpg
/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_14_3654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391828757","1391828742","1391828753","1391828747","1391828750","1391828744"],"photo_ids_order":["1391828742","1391828744","1391828747","1391828750","1391828753","1391828757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1c68406eee613126b7b67c7d05ab67f8.jpg","text":"TemporaryFile(/tmp/multipartBody3077392031346418763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080584070,"filename":"image_30102025_11_34_14_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/2/803db579e8ddadab453dcdfb3a88c8b2.jpg","text":"TemporaryFile(/tmp/multipartBody1992390692688804713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080584070,"filename":"image_30102025_11_33_59_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/2/6c1f201ffeb746af96b8554cc454d0ed.jpg","text":"TemporaryFile(/tmp/multipartBody5977945569141761101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080584070,"filename":"image_30102025_11_34_10_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/2/6983b0b2ebd611ab87348277588b0630.jpg","text":"TemporaryFile(/tmp/multipartBody7222118382673126327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080584070,"filename":"image_30102025_11_34_05_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/2/b47f04a8178089900fa2f4f571791e63.jpg","text":"TemporaryFile(/tmp/multipartBody4556832891324989232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080584070,"filename":"image_30102025_11_34_07_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/2/94ce3de41b94a01a46757106d5f8960a.jpg","text":"TemporaryFile(/tmp/multipartBody1857110810472213371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080584070,"filename":"image_30102025_11_34_01_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391828747","file1":"1391828744","file0":"1391828742","file4":"1391828753","file5":"1391828757","file3":"1391828750"},"map_files_photo_id_array":[{"photo_id":"1391828757","filename":"file5"},{"photo_id":"1391828747","filename":"file2"},{"photo_id":"1391828753","filename":"file4"},{"photo_id":"1391828744","filename":"file1"},{"photo_id":"1391828742","filename":"file0"},{"photo_id":"1391828750","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391828757":["hashtag1","hashtag2"]},{"1391828742":["hashtag1","hashtag2"]},{"1391828753":["hashtag1","hashtag2"]},{"1391828747":["hashtag1","hashtag2"]},{"1391828750":["hashtag1","hashtag2"]},{"1391828744":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391828757, 1391828742, 1391828753, 1391828747, 1391828750, 1391828744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61790585517883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 11:49:21.923662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_16_2543.jpg', '/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_20_3599.jpg', '/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_23_2694.jpg', '/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_26_2850.jpg', '/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_28_2565.jpg', '/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_32_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/11/34/image_30102025_11_34_16_2543.jpg
/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_20_3599.jpg
/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_23_2694.jpg
/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_26_2850.jpg
/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_28_2565.jpg
/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_32_3758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391828770","1391828773","1391828769","1391828766","1391828768","1391828776"],"photo_ids_order":["1391828766","1391828768","1391828769","1391828770","1391828773","1391828776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8091242af1ca15e52d9867176495ca51.jpg","text":"TemporaryFile(/tmp/multipartBody6395235648949300808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080624685,"filename":"image_30102025_11_34_26_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/2/a61b776552f787493fca223fed294cb0.jpg","text":"TemporaryFile(/tmp/multipartBody3684509925125123201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080624685,"filename":"image_30102025_11_34_28_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/2/4cd711835726e03ca2d5f0c3b0b8a93d.jpg","text":"TemporaryFile(/tmp/multipartBody682102002773125513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080624685,"filename":"image_30102025_11_34_23_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/2/097bd78484d67ef54a028e04e10f2a2f.jpg","text":"TemporaryFile(/tmp/multipartBody6128899877091247277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080624685,"filename":"image_30102025_11_34_16_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/2/bb5bdf7ba7660803e1486aa32cd741e1.jpg","text":"TemporaryFile(/tmp/multipartBody2238954949831940839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080624685,"filename":"image_30102025_11_34_20_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/2/6c2d9031caa99dee42fcc1286437ea10.jpg","text":"TemporaryFile(/tmp/multipartBody1692646231051326073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080624685,"filename":"image_30102025_11_34_32_3758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391828769","file1":"1391828768","file0":"1391828766","file4":"1391828773","file5":"1391828776","file3":"1391828770"},"map_files_photo_id_array":[{"photo_id":"1391828776","filename":"file5"},{"photo_id":"1391828769","filename":"file2"},{"photo_id":"1391828773","filename":"file4"},{"photo_id":"1391828768","filename":"file1"},{"photo_id":"1391828766","filename":"file0"},{"photo_id":"1391828770","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391828770":["hashtag1","hashtag2"]},{"1391828773":["hashtag1","hashtag2"]},{"1391828769":["hashtag1","hashtag2"]},{"1391828766":["hashtag1","hashtag2"]},{"1391828768":["hashtag1","hashtag2"]},{"1391828776":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391828770, 1391828773, 1391828769, 1391828766, 1391828768, 1391828776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72194814682007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:50:02.700970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_35_2795.jpg', '/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_37_2661.jpg', '/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_41_3649.jpg', '/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_44_2842.jpg', '/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_46_2578.jpg', '/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_49_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_35_2795.jpg
/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_37_2661.jpg
/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_41_3649.jpg
/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_44_2842.jpg
/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_46_2578.jpg
/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_49_2610.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.091778516769409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 11:50:22.098230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_35_2795.jpg', '/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_37_2661.jpg', '/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_41_3649.jpg', '/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_44_2842.jpg', '/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_46_2578.jpg', '/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_49_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_35_2795.jpg
/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_37_2661.jpg
/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_41_3649.jpg
/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_44_2842.jpg
/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_46_2578.jpg
/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_49_2610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391828800","1391828799","1391828801","1391828804","1391828794","1391828797"],"photo_ids_order":["1391828794","1391828797","1391828799","1391828800","1391828801","1391828804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9ced4b5e52223ef5aaa1a4cf8af0c35d.jpg","text":"TemporaryFile(/tmp/multipartBody1175703860636228359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080684328,"filename":"image_30102025_11_34_44_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/2/365603c31d8ef88b373a32194229832e.jpg","text":"TemporaryFile(/tmp/multipartBody5721946644990811005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080684328,"filename":"image_30102025_11_34_41_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/2/bbab134317bfed64f178d11b3f7ca275.jpg","text":"TemporaryFile(/tmp/multipartBody6713358561640695537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080684328,"filename":"image_30102025_11_34_46_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/2/914fbaf471e1e1b5c46d3219d0752d09.jpg","text":"TemporaryFile(/tmp/multipartBody5017897595400218743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080684328,"filename":"image_30102025_11_34_49_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/2/ab342ea5bc10bf97b454c537cf227aba.jpg","text":"TemporaryFile(/tmp/multipartBody77861520087341320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080684328,"filename":"image_30102025_11_34_35_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/2/811f0b514498b163df6c51f04a2683a0.jpg","text":"TemporaryFile(/tmp/multipartBody7467885479282887097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080684328,"filename":"image_30102025_11_34_37_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391828799","file1":"1391828797","file0":"1391828794","file4":"1391828801","file5":"1391828804","file3":"1391828800"},"map_files_photo_id_array":[{"photo_id":"1391828804","filename":"file5"},{"photo_id":"1391828799","filename":"file2"},{"photo_id":"1391828801","filename":"file4"},{"photo_id":"1391828797","filename":"file1"},{"photo_id":"1391828794","filename":"file0"},{"photo_id":"1391828800","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391828800":["hashtag1","hashtag2"]},{"1391828799":["hashtag1","hashtag2"]},{"1391828801":["hashtag1","hashtag2"]},{"1391828804":["hashtag1","hashtag2"]},{"1391828794":["hashtag1","hashtag2"]},{"1391828797":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391828800, 1391828799, 1391828801, 1391828804, 1391828794, 1391828797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0241494178772 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:51:02.925066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 11:51:28.791931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 11:51:42.254542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_53_3609.jpg', '/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_55_2751.jpg', '/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_58_2840.jpg', '/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_08_3013.jpg', '/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_11_3679.jpg', '/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_14_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/11/34/image_30102025_11_34_53_3609.jpg
/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_55_2751.jpg
/home/pi/Desktop/images/30102025/11/34/image_30102025_11_34_58_2840.jpg
/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_08_3013.jpg
/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_11_3679.jpg
/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_14_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":["1391828863","1391828854","1391828853","1391828856","1391828852","1391828860"],"photo_ids_order":["1391828852","1391828853","1391828854","1391828856","1391828860","1391828863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/12b7aad5140687f9b9521e9da2413cc8.jpg","text":"TemporaryFile(/tmp/multipartBody241629199730509339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080771408,"filename":"image_30102025_11_35_14_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/2/5b350c18adc0b3d9f9890e9ba937e1de.jpg","text":"TemporaryFile(/tmp/multipartBody7507087080570945369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080771408,"filename":"image_30102025_11_34_58_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/2/c42aa6004caabfbf1072dd9c514fb279.jpg","text":"TemporaryFile(/tmp/multipartBody5469829233263206898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080771408,"filename":"image_30102025_11_34_55_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/2/47a4bb1981bc709de30bd286bf589794.jpg","text":"TemporaryFile(/tmp/multipartBody8043738847333883101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080771408,"filename":"image_30102025_11_35_08_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bbb9b574c8172db4cd70b2851b0fb7b9.jpg","text":"TemporaryFile(/tmp/multipartBody2617362127332032510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080771408,"filename":"image_30102025_11_34_53_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/2/966c1cf6f04d3f57156db3c97f4bfd45.jpg","text":"TemporaryFile(/tmp/multipartBody9011629079853317431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080771408,"filename":"image_30102025_11_35_11_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391828854","file1":"1391828853","file0":"1391828852","file4":"1391828860","file5":"1391828863","file3":"1391828856"},"map_files_photo_id_array":[{"photo_id":"1391828863","filename":"file5"},{"photo_id":"1391828854","filename":"file2"},{"photo_id":"1391828860","filename":"file4"},{"photo_id":"1391828853","filename":"file1"},{"photo_id":"1391828852","filename":"file0"},{"photo_id":"1391828856","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391828863":["hashtag1","hashtag2"]},{"1391828854":["hashtag1","hashtag2"]},{"1391828853":["hashtag1","hashtag2"]},{"1391828856":["hashtag1","hashtag2"]},{"1391828852":["hashtag1","hashtag2"]},{"1391828860":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391828863, 1391828854, 1391828853, 1391828856, 1391828852, 1391828860)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 60.698896408081055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:53:03.318493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 11:53:22.712106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT 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=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 11:53:42.674735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_17_2631.jpg', '/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_20_3706.jpg', '/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_23_2764.jpg', '/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_26_2677.jpg', '/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_29_3605.jpg', '/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_32_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/11/35/image_30102025_11_35_17_2631.jpg
/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_20_3706.jpg
/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_23_2764.jpg
/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_26_2677.jpg
/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_29_3605.jpg
/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_32_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391828977","1391828993","1391828981","1391828984","1391828987","1391828989"],"photo_ids_order":["1391828977","1391828981","1391828984","1391828987","1391828989","1391828993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5c718be8e240cf58a9e00d8311ac24e8.jpg","text":"TemporaryFile(/tmp/multipartBody7565028436322922002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080883731,"filename":"image_30102025_11_35_17_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/2/93fbed8f417b61b8ea724a8db8eb96c4.jpg","text":"TemporaryFile(/tmp/multipartBody8463717362763983578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080883731,"filename":"image_30102025_11_35_32_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/2/e7a8d8586261377b73b3216a008c67fa.jpg","text":"TemporaryFile(/tmp/multipartBody7789059577402022472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080883731,"filename":"image_30102025_11_35_20_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/2/1ebd867ba0549d6128e857a4997941ba.jpg","text":"TemporaryFile(/tmp/multipartBody1880976297099409376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080883731,"filename":"image_30102025_11_35_23_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/2/dcb8bc3a0e3812a9fb0a9c54bf46f6b2.jpg","text":"TemporaryFile(/tmp/multipartBody8518504515872642714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080883731,"filename":"image_30102025_11_35_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/2/12aec339b15fbb9d08ed339ed9874a89.jpg","text":"TemporaryFile(/tmp/multipartBody8370730418592569444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080883731,"filename":"image_30102025_11_35_29_3605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391828984","file1":"1391828981","file0":"1391828977","file4":"1391828989","file5":"1391828993","file3":"1391828987"},"map_files_photo_id_array":[{"photo_id":"1391828993","filename":"file5"},{"photo_id":"1391828984","filename":"file2"},{"photo_id":"1391828989","filename":"file4"},{"photo_id":"1391828981","filename":"file1"},{"photo_id":"1391828977","filename":"file0"},{"photo_id":"1391828987","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391828977":["hashtag1","hashtag2"]},{"1391828993":["hashtag1","hashtag2"]},{"1391828981":["hashtag1","hashtag2"]},{"1391828984":["hashtag1","hashtag2"]},{"1391828987":["hashtag1","hashtag2"]},{"1391828989":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391828977, 1391828993, 1391828981, 1391828984, 1391828987, 1391828989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05019736289978 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 11:54:21.929566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_35_2771.jpg', '/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_38_3647.jpg', '/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_41_2838.jpg', '/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_44_2697.jpg', '/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_47_2968.jpg', '/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_50_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/11/35/image_30102025_11_35_35_2771.jpg
/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_38_3647.jpg
/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_41_2838.jpg
/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_44_2697.jpg
/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_47_2968.jpg
/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_50_2655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391829015","1391829018","1391829012","1391829009","1391829014","1391829005"],"photo_ids_order":["1391829005","1391829009","1391829012","1391829014","1391829015","1391829018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bfd1ed2e114491aca4c12be8373f2394.jpg","text":"TemporaryFile(/tmp/multipartBody2161825828745618489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080924801,"filename":"image_30102025_11_35_47_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/2/9906828eb1536fed308b87fbfc3383e0.jpg","text":"TemporaryFile(/tmp/multipartBody7229119162622145828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080924801,"filename":"image_30102025_11_35_50_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/2/c3813abf4a7294d317c2ff912ce3aeff.jpg","text":"TemporaryFile(/tmp/multipartBody562576466475161822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080924801,"filename":"image_30102025_11_35_41_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/2/62a390ec9457e4a2ea25ade7f0526d94.jpg","text":"TemporaryFile(/tmp/multipartBody5555699246153078910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080924801,"filename":"image_30102025_11_35_38_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/2/20d15b2b349ecd1393e7e7557946c9c5.jpg","text":"TemporaryFile(/tmp/multipartBody3510103139598364873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080924801,"filename":"image_30102025_11_35_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/2/25120696edec1b9d4fea4cd92ea947df.jpg","text":"TemporaryFile(/tmp/multipartBody1420890693463130565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080924801,"filename":"image_30102025_11_35_35_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391829012","file1":"1391829009","file0":"1391829005","file4":"1391829015","file5":"1391829018","file3":"1391829014"},"map_files_photo_id_array":[{"photo_id":"1391829018","filename":"file5"},{"photo_id":"1391829012","filename":"file2"},{"photo_id":"1391829015","filename":"file4"},{"photo_id":"1391829009","filename":"file1"},{"photo_id":"1391829005","filename":"file0"},{"photo_id":"1391829014","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391829015":["hashtag1","hashtag2"]},{"1391829018":["hashtag1","hashtag2"]},{"1391829012":["hashtag1","hashtag2"]},{"1391829009":["hashtag1","hashtag2"]},{"1391829014":["hashtag1","hashtag2"]},{"1391829005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391829015, 1391829018, 1391829012, 1391829009, 1391829014, 1391829005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.508302211761475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:55:03.202691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_53_3649.jpg', '/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_56_2729.jpg', '/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_06_10098.jpg', '/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_08_1750.jpg', '/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_10_1768.jpg', '/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_11_1670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_53_3649.jpg
/home/pi/Desktop/images/30102025/11/35/image_30102025_11_35_56_2729.jpg
/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_06_10098.jpg
/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_08_1750.jpg
/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_10_1768.jpg
/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_11_1670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391829031","1391829034","1391829030","1391829032","1391829026","1391829029"],"photo_ids_order":["1391829026","1391829029","1391829030","1391829031","1391829032","1391829034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3df493d3b4613d3ccffd166034ec55f7.jpg","text":"TemporaryFile(/tmp/multipartBody2617074765828578824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080965412,"filename":"image_30102025_11_36_08_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/2/de9a3a65b5d0b0143f0c7b1b87f67dde.jpg","text":"TemporaryFile(/tmp/multipartBody6732510111685790041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080965412,"filename":"image_30102025_11_36_11_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/2/0b21853bd70b2c35437ab5957c1ac9d1.jpg","text":"TemporaryFile(/tmp/multipartBody1527308201026166072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080965412,"filename":"image_30102025_11_36_06_10098.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7f17756805e4486d120a9fd3c836a9c8.jpg","text":"TemporaryFile(/tmp/multipartBody1526112562517029622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080965412,"filename":"image_30102025_11_36_10_1768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/34704ca6591503cadf739986395d349b.jpg","text":"TemporaryFile(/tmp/multipartBody9061147024318767485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080965412,"filename":"image_30102025_11_35_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/2/583d3446a1581dac6d6e42e638794819.jpg","text":"TemporaryFile(/tmp/multipartBody8511558368623768249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762080965412,"filename":"image_30102025_11_35_56_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391829030","file1":"1391829029","file0":"1391829026","file4":"1391829032","file5":"1391829034","file3":"1391829031"},"map_files_photo_id_array":[{"photo_id":"1391829034","filename":"file5"},{"photo_id":"1391829030","filename":"file2"},{"photo_id":"1391829032","filename":"file4"},{"photo_id":"1391829029","filename":"file1"},{"photo_id":"1391829026","filename":"file0"},{"photo_id":"1391829031","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391829031":["hashtag1","hashtag2"]},{"1391829034":["hashtag1","hashtag2"]},{"1391829030":["hashtag1","hashtag2"]},{"1391829032":["hashtag1","hashtag2"]},{"1391829026":["hashtag1","hashtag2"]},{"1391829029":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391829031, 1391829034, 1391829030, 1391829032, 1391829026, 1391829029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.729979276657104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 11:55:42.526539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_13_1757.jpg', '/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_18_4741.jpg', '/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_20_1776.jpg', '/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_24_4182.jpg', '/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_25_1668.jpg', '/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_27_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/11/36/image_30102025_11_36_13_1757.jpg
/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_18_4741.jpg
/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_20_1776.jpg
/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_24_4182.jpg
/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_25_1668.jpg
/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_27_1658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391829075","1391829114","1391829102","1391829077","1391829065","1391829073"],"photo_ids_order":["1391829065","1391829073","1391829075","1391829077","1391829102","1391829114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fa443c52a58cab6534f42a1b3828a65d.jpg","text":"TemporaryFile(/tmp/multipartBody4283289127274939568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081003639,"filename":"image_30102025_11_36_20_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/2/6fa79489a28569fa2a7eb4c0436b169c.jpg","text":"TemporaryFile(/tmp/multipartBody9042470862215664717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081003639,"filename":"image_30102025_11_36_27_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/2/2cd7e6d0d8ae740532b08e20d5c73180.jpg","text":"TemporaryFile(/tmp/multipartBody3974249013671385065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081003639,"filename":"image_30102025_11_36_25_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/2/bdf4c392f5b5e0f253ef4be32ac497cf.jpg","text":"TemporaryFile(/tmp/multipartBody1720981477435358371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081003639,"filename":"image_30102025_11_36_24_4182.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/910e5d5b2d6be8da29aaca0bdd334b6d.jpg","text":"TemporaryFile(/tmp/multipartBody2033165009734198693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081003639,"filename":"image_30102025_11_36_13_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/2/b1ca2b174531e9ab52333282399e78b8.jpg","text":"TemporaryFile(/tmp/multipartBody8591380444600549695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081003639,"filename":"image_30102025_11_36_18_4741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391829075","file1":"1391829073","file0":"1391829065","file4":"1391829102","file5":"1391829114","file3":"1391829077"},"map_files_photo_id_array":[{"photo_id":"1391829114","filename":"file5"},{"photo_id":"1391829075","filename":"file2"},{"photo_id":"1391829102","filename":"file4"},{"photo_id":"1391829073","filename":"file1"},{"photo_id":"1391829065","filename":"file0"},{"photo_id":"1391829077","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391829075":["hashtag1","hashtag2"]},{"1391829114":["hashtag1","hashtag2"]},{"1391829102":["hashtag1","hashtag2"]},{"1391829077":["hashtag1","hashtag2"]},{"1391829065":["hashtag1","hashtag2"]},{"1391829073":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391829075, 1391829114, 1391829102, 1391829077, 1391829065, 1391829073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48297119140625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 11:56:22.645696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_30_2485.jpg', '/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_32_2705.jpg', '/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_37_4585.jpg', '/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_39_1758.jpg', '/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_45_6104.jpg', '/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_46_1716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_30_2485.jpg
/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_32_2705.jpg
/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_37_4585.jpg
/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_39_1758.jpg
/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_45_6104.jpg
/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_46_1716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391829130","1391829124","1391829133","1391829127","1391829132","1391829136"],"photo_ids_order":["1391829124","1391829127","1391829130","1391829132","1391829133","1391829136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3e873a96a17705cc114139735ce1460e.jpg","text":"TemporaryFile(/tmp/multipartBody5780303922245559090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081045539,"filename":"image_30102025_11_36_37_4585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7a03696042de2aa9953cdbd2838c8349.jpg","text":"TemporaryFile(/tmp/multipartBody6468890792152938220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081045539,"filename":"image_30102025_11_36_30_2485.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ada8659a5e8006a438ac02c1d32309a3.jpg","text":"TemporaryFile(/tmp/multipartBody498605502620525429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081045539,"filename":"image_30102025_11_36_45_6104.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8817a8629b4a5d580e1c22123e3efd23.jpg","text":"TemporaryFile(/tmp/multipartBody5983672391551732076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081045539,"filename":"image_30102025_11_36_32_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/2/2f8bcaeb8872da939076a6ac3fde0329.jpg","text":"TemporaryFile(/tmp/multipartBody5027901672108514818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081045539,"filename":"image_30102025_11_36_39_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/2/3cc7aed15d609f9bc09ef52631969edf.jpg","text":"TemporaryFile(/tmp/multipartBody1024402962443512894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081045539,"filename":"image_30102025_11_36_46_1716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391829130","file1":"1391829127","file0":"1391829124","file4":"1391829133","file5":"1391829136","file3":"1391829132"},"map_files_photo_id_array":[{"photo_id":"1391829136","filename":"file5"},{"photo_id":"1391829130","filename":"file2"},{"photo_id":"1391829133","filename":"file4"},{"photo_id":"1391829127","filename":"file1"},{"photo_id":"1391829124","filename":"file0"},{"photo_id":"1391829132","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391829130":["hashtag1","hashtag2"]},{"1391829124":["hashtag1","hashtag2"]},{"1391829133":["hashtag1","hashtag2"]},{"1391829127":["hashtag1","hashtag2"]},{"1391829132":["hashtag1","hashtag2"]},{"1391829136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391829130, 1391829124, 1391829133, 1391829127, 1391829132, 1391829136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.495177030563354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:57:02.580527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_48_1724.jpg', '/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_50_1582.jpg', '/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_53_3602.jpg', '/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_56_2701.jpg', '/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_59_2677.jpg', '/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_01_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/11/36/image_30102025_11_36_48_1724.jpg
/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_50_1582.jpg
/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_53_3602.jpg
/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_56_2701.jpg
/home/pi/Desktop/images/30102025/11/36/image_30102025_11_36_59_2677.jpg
/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_01_2725.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391829159","1391829153","1391829167","1391829146","1391829163","1391829157"],"photo_ids_order":["1391829146","1391829153","1391829157","1391829159","1391829163","1391829167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8c53960b4d058f583d63902f6ece62bf.jpg","text":"TemporaryFile(/tmp/multipartBody4316304834788673026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081084773,"filename":"image_30102025_11_36_56_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/2/8d5f16ecfc4125293c35bd606528a7b5.jpg","text":"TemporaryFile(/tmp/multipartBody447027426664190722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081084773,"filename":"image_30102025_11_36_50_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/71d148b52956e13e41cffd1cc513de49.jpg","text":"TemporaryFile(/tmp/multipartBody4289128273455035431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081084773,"filename":"image_30102025_11_37_01_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/2/16cb141f3e6835e83bf3a7a5544e4d89.jpg","text":"TemporaryFile(/tmp/multipartBody153915240820064272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081084773,"filename":"image_30102025_11_36_48_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/2/2ee33d8af4578fecfac1e134a75ce096.jpg","text":"TemporaryFile(/tmp/multipartBody5525899087178224460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081084773,"filename":"image_30102025_11_36_59_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/2/7f75c3dbe486c100ea558694a6d22a47.jpg","text":"TemporaryFile(/tmp/multipartBody8263927710739164733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081084773,"filename":"image_30102025_11_36_53_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391829157","file1":"1391829153","file0":"1391829146","file4":"1391829163","file5":"1391829167","file3":"1391829159"},"map_files_photo_id_array":[{"photo_id":"1391829167","filename":"file5"},{"photo_id":"1391829157","filename":"file2"},{"photo_id":"1391829163","filename":"file4"},{"photo_id":"1391829153","filename":"file1"},{"photo_id":"1391829146","filename":"file0"},{"photo_id":"1391829159","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391829159":["hashtag1","hashtag2"]},{"1391829153":["hashtag1","hashtag2"]},{"1391829167":["hashtag1","hashtag2"]},{"1391829146":["hashtag1","hashtag2"]},{"1391829163":["hashtag1","hashtag2"]},{"1391829157":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391829159, 1391829153, 1391829167, 1391829146, 1391829163, 1391829157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.017786264419556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 11:57:41.878896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_05_3650.jpg', '/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_09_3976.jpg', '/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_11_1673.jpg', '/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_14_2912.jpg', '/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_18_4228.jpg', '/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_20_1624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_05_3650.jpg
/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_09_3976.jpg
/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_11_1673.jpg
/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_14_2912.jpg
/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_18_4228.jpg
/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_20_1624.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391829177","1391829173","1391829179","1391829172","1391829181","1391829175"],"photo_ids_order":["1391829172","1391829173","1391829175","1391829177","1391829179","1391829181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/10e9dd48d37f670009784b4f7e8ea958.jpg","text":"TemporaryFile(/tmp/multipartBody1235252447203443177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081122995,"filename":"image_30102025_11_37_14_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/2/092f215937b089410e90e4bc12763dea.jpg","text":"TemporaryFile(/tmp/multipartBody2317835897800284401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081122995,"filename":"image_30102025_11_37_09_3976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d98a90d59b66e45490b7513d9111efd3.jpg","text":"TemporaryFile(/tmp/multipartBody15935125085286049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081122995,"filename":"image_30102025_11_37_18_4228.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5066fe01fe9b1f3682250e6d2d86202a.jpg","text":"TemporaryFile(/tmp/multipartBody8038602675010634864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081122995,"filename":"image_30102025_11_37_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/2/7b7022df790a4f396ad0bf2773af947d.jpg","text":"TemporaryFile(/tmp/multipartBody3026132111531247774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081122995,"filename":"image_30102025_11_37_20_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/2/27b8eb501674eb0fdc32cb3321124b11.jpg","text":"TemporaryFile(/tmp/multipartBody7147924624038685028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081122995,"filename":"image_30102025_11_37_11_1673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391829175","file1":"1391829173","file0":"1391829172","file4":"1391829179","file5":"1391829181","file3":"1391829177"},"map_files_photo_id_array":[{"photo_id":"1391829181","filename":"file5"},{"photo_id":"1391829175","filename":"file2"},{"photo_id":"1391829179","filename":"file4"},{"photo_id":"1391829173","filename":"file1"},{"photo_id":"1391829172","filename":"file0"},{"photo_id":"1391829177","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391829177":["hashtag1","hashtag2"]},{"1391829173":["hashtag1","hashtag2"]},{"1391829179":["hashtag1","hashtag2"]},{"1391829172":["hashtag1","hashtag2"]},{"1391829181":["hashtag1","hashtag2"]},{"1391829175":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391829177, 1391829173, 1391829179, 1391829172, 1391829181, 1391829175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74104595184326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 11:59:03.221374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_23_3572.jpg', '/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_26_2641.jpg', '/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_29_3116.jpg', '/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_38_3776.jpg', '/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_41_2691.jpg', '/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_44_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/11/37/image_30102025_11_37_23_3572.jpg
/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_26_2641.jpg
/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_29_3116.jpg
/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_38_3776.jpg
/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_41_2691.jpg
/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_44_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":["1391829205","1391829195","1391829192","1391829201","1391829199","1391829203"],"photo_ids_order":["1391829192","1391829195","1391829199","1391829201","1391829203","1391829205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/26c2e09acf1bca9de00b40bf4d5591a8.jpg","text":"TemporaryFile(/tmp/multipartBody6657602847001576880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081205515,"filename":"image_30102025_11_37_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/2/b6d8707d42bfa8547ecf7d5d9264e18c.jpg","text":"TemporaryFile(/tmp/multipartBody2533165222562229450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081205515,"filename":"image_30102025_11_37_26_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/2/39eed8cc7ac9d7feb7b6246a801a34a8.jpg","text":"TemporaryFile(/tmp/multipartBody3821536491095065721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081205515,"filename":"image_30102025_11_37_23_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/2/c93cd3145ffcef015475d0c318a26efc.jpg","text":"TemporaryFile(/tmp/multipartBody3182894560245309867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081205515,"filename":"image_30102025_11_37_38_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/2/a6d46ee434a468edabb9bf4d78fef7fa.jpg","text":"TemporaryFile(/tmp/multipartBody1200946005912140617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081205515,"filename":"image_30102025_11_37_29_3116.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/600968e6c4b0a64ad4806ad5a630da62.jpg","text":"TemporaryFile(/tmp/multipartBody9161015054735509191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081205515,"filename":"image_30102025_11_37_41_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391829199","file1":"1391829195","file0":"1391829192","file4":"1391829203","file5":"1391829205","file3":"1391829201"},"map_files_photo_id_array":[{"photo_id":"1391829205","filename":"file5"},{"photo_id":"1391829199","filename":"file2"},{"photo_id":"1391829203","filename":"file4"},{"photo_id":"1391829195","filename":"file1"},{"photo_id":"1391829192","filename":"file0"},{"photo_id":"1391829201","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391829205":["hashtag1","hashtag2"]},{"1391829195":["hashtag1","hashtag2"]},{"1391829192":["hashtag1","hashtag2"]},{"1391829201":["hashtag1","hashtag2"]},{"1391829199":["hashtag1","hashtag2"]},{"1391829203":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391829205, 1391829195, 1391829192, 1391829201, 1391829199, 1391829203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.271408796310425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 12:00:07.731633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_46_2672.jpg', '/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_50_3710.jpg', '/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_53_2881.jpg', '/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_01_5154.jpg', '/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_04_2969.jpg', '/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_10_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/11/37/image_30102025_11_37_46_2672.jpg
/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_50_3710.jpg
/home/pi/Desktop/images/30102025/11/37/image_30102025_11_37_53_2881.jpg
/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_01_5154.jpg
/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_04_2969.jpg
/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_10_4297.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391829529","1391829570","1391829606","1391829449","1391829407","1391829487"],"photo_ids_order":["1391829407","1391829449","1391829487","1391829529","1391829570","1391829606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fafadcb322330f5a9aed8acc4258cfaa.jpg","text":"TemporaryFile(/tmp/multipartBody6939925182956169245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081276920,"filename":"image_30102025_11_38_01_5154.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/eb9db0e4c3ce3f5b69375964dc5dd38b.jpg","text":"TemporaryFile(/tmp/multipartBody7555706739992571764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081276920,"filename":"image_30102025_11_38_04_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/2/344ad89fb9f4d63ac0e8a57c68c7e62f.jpg","text":"TemporaryFile(/tmp/multipartBody8244805208003456757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081276920,"filename":"image_30102025_11_38_10_4297.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bd81d6b86660df1f6791b1cb05a3fd55.jpg","text":"TemporaryFile(/tmp/multipartBody8838402893709112573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081276920,"filename":"image_30102025_11_37_50_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/2/c6e3c7ab355b6708c9550484b74c90b5.jpg","text":"TemporaryFile(/tmp/multipartBody2991629569580795994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081276920,"filename":"image_30102025_11_37_46_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/2/ff17f5f27812df7c363b3531b381c361.jpg","text":"TemporaryFile(/tmp/multipartBody4569014175701135515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081276920,"filename":"image_30102025_11_37_53_2881.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391829487","file1":"1391829449","file0":"1391829407","file4":"1391829570","file5":"1391829606","file3":"1391829529"},"map_files_photo_id_array":[{"photo_id":"1391829606","filename":"file5"},{"photo_id":"1391829487","filename":"file2"},{"photo_id":"1391829570","filename":"file4"},{"photo_id":"1391829449","filename":"file1"},{"photo_id":"1391829407","filename":"file0"},{"photo_id":"1391829529","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391829529":["hashtag1","hashtag2"]},{"1391829570":["hashtag1","hashtag2"]},{"1391829606":["hashtag1","hashtag2"]},{"1391829449":["hashtag1","hashtag2"]},{"1391829407":["hashtag1","hashtag2"]},{"1391829487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391829529, 1391829570, 1391829606, 1391829449, 1391829407, 1391829487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.647316694259644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 12:01:03.335895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_11_1547.jpg', '/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_14_2534.jpg', '/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_16_2540.jpg', '/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_20_3351.jpg', '/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_34_4878.jpg', '/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_35_1717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_11_1547.jpg
/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_14_2534.jpg
/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_16_2540.jpg
/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_20_3351.jpg
/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_34_4878.jpg
/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_35_1717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391829867","1391829828","1391829909","1391829989","1391830037","1391829949"],"photo_ids_order":["1391829828","1391829867","1391829909","1391829949","1391829989","1391830037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fd3ecf9783b0901093f818f90ab04821.jpg","text":"TemporaryFile(/tmp/multipartBody3995297288647981595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081325598,"filename":"image_30102025_11_38_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/2/32ce09a0145e638bf232e8bb8ed4dcfc.jpg","text":"TemporaryFile(/tmp/multipartBody4471744174891760346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081325598,"filename":"image_30102025_11_38_11_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/2/50241094e0592273d5a5380cc1e37b67.jpg","text":"TemporaryFile(/tmp/multipartBody8952184063372779124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081325598,"filename":"image_30102025_11_38_16_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/2/844e2f0d14515af7a6723f8d8dd27a7d.jpg","text":"TemporaryFile(/tmp/multipartBody4632354387770934749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081325598,"filename":"image_30102025_11_38_34_4878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/50c879ee74e55ded75006b9decde991c.jpg","text":"TemporaryFile(/tmp/multipartBody3434679433081602177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081325598,"filename":"image_30102025_11_38_35_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/2/2fb7cbbe64219c350e0f34adb3d4e4b2.jpg","text":"TemporaryFile(/tmp/multipartBody5106331728313285140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081325598,"filename":"image_30102025_11_38_20_3351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391829909","file1":"1391829867","file0":"1391829828","file4":"1391829989","file5":"1391830037","file3":"1391829949"},"map_files_photo_id_array":[{"photo_id":"1391830037","filename":"file5"},{"photo_id":"1391829909","filename":"file2"},{"photo_id":"1391829989","filename":"file4"},{"photo_id":"1391829867","filename":"file1"},{"photo_id":"1391829828","filename":"file0"},{"photo_id":"1391829949","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391829867":["hashtag1","hashtag2"]},{"1391829828":["hashtag1","hashtag2"]},{"1391829909":["hashtag1","hashtag2"]},{"1391829989":["hashtag1","hashtag2"]},{"1391830037":["hashtag1","hashtag2"]},{"1391829949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391829867, 1391829828, 1391829909, 1391829989, 1391830037, 1391829949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70428991317749 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-02 12:02:02.380820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_38_2646.jpg', '/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_41_2678.jpg', '/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_43_2628.jpg', '/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_50_2792.jpg', '/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_53_2754.jpg', '/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_55_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/11/38/image_30102025_11_38_38_2646.jpg
/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_41_2678.jpg
/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_43_2628.jpg
/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_50_2792.jpg
/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_53_2754.jpg
/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_55_2755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391830485","1391830356","1391830524","1391830317","1391830442","1391830400"],"photo_ids_order":["1391830317","1391830356","1391830400","1391830442","1391830485","1391830524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ee5845428497713a7326e075e4b3e7f5.jpg","text":"TemporaryFile(/tmp/multipartBody4667816853777759740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081384485,"filename":"image_30102025_11_38_53_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/2/92a3e25811cc4207307c2bf52f985fcb.jpg","text":"TemporaryFile(/tmp/multipartBody178993310452905565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081384485,"filename":"image_30102025_11_38_41_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/2/65979c1893282336f67ff2a072101f64.jpg","text":"TemporaryFile(/tmp/multipartBody6517001069600057308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081384485,"filename":"image_30102025_11_38_55_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/2/cd029e6238b6ca8af648b39cb7e9b313.jpg","text":"TemporaryFile(/tmp/multipartBody1041903206137852977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081384485,"filename":"image_30102025_11_38_38_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/2/e555b28a85ae1f62a2b59c451d675cf5.jpg","text":"TemporaryFile(/tmp/multipartBody698861392392090648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081384485,"filename":"image_30102025_11_38_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/2/e85c0111a28e4515662c1332e3315b92.jpg","text":"TemporaryFile(/tmp/multipartBody6142525288204497411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081384485,"filename":"image_30102025_11_38_43_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391830400","file1":"1391830356","file0":"1391830317","file4":"1391830485","file5":"1391830524","file3":"1391830442"},"map_files_photo_id_array":[{"photo_id":"1391830524","filename":"file5"},{"photo_id":"1391830400","filename":"file2"},{"photo_id":"1391830485","filename":"file4"},{"photo_id":"1391830356","filename":"file1"},{"photo_id":"1391830317","filename":"file0"},{"photo_id":"1391830442","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391830485":["hashtag1","hashtag2"]},{"1391830356":["hashtag1","hashtag2"]},{"1391830524":["hashtag1","hashtag2"]},{"1391830317":["hashtag1","hashtag2"]},{"1391830442":["hashtag1","hashtag2"]},{"1391830400":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391830485, 1391830356, 1391830524, 1391830317, 1391830442, 1391830400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83090043067932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 12:02:41.950175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_59_3703.jpg', '/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_02_2710.jpg', '/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_04_2759.jpg', '/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_07_2671.jpg', '/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_11_3603.jpg', '/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_14_2851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/38/image_30102025_11_38_59_3703.jpg
/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_02_2710.jpg
/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_04_2759.jpg
/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_07_2671.jpg
/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_11_3603.jpg
/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_14_2851.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391831038","1391830960","1391830837","1391830764","1391831001","1391830911"],"photo_ids_order":["1391830764","1391830837","1391830911","1391830960","1391831001","1391831038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b9d3fb0707d9a681b798bb79b1f4ba40.jpg","text":"TemporaryFile(/tmp/multipartBody1877806331287195082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081423047,"filename":"image_30102025_11_39_14_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/2/659c84ae3d5f98236ea93e490881d99f.jpg","text":"TemporaryFile(/tmp/multipartBody7355954504193808976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081423047,"filename":"image_30102025_11_39_07_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/2/0ff6e3ce1c78b7c676beadbc76ec6895.jpg","text":"TemporaryFile(/tmp/multipartBody4422376673657202573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081423047,"filename":"image_30102025_11_39_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/2/5e165b1b99001068b35077313f1678ee.jpg","text":"TemporaryFile(/tmp/multipartBody2955258123749640001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081423047,"filename":"image_30102025_11_38_59_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/2/7ceda9a1260d4d3e6a0315818de25335.jpg","text":"TemporaryFile(/tmp/multipartBody1520154029417837597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081423047,"filename":"image_30102025_11_39_11_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/2/e9dea726877e6ddb75714d83341841c5.jpg","text":"TemporaryFile(/tmp/multipartBody687087915666589114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081423047,"filename":"image_30102025_11_39_04_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391830911","file1":"1391830837","file0":"1391830764","file4":"1391831001","file5":"1391831038","file3":"1391830960"},"map_files_photo_id_array":[{"photo_id":"1391831038","filename":"file5"},{"photo_id":"1391830911","filename":"file2"},{"photo_id":"1391831001","filename":"file4"},{"photo_id":"1391830837","filename":"file1"},{"photo_id":"1391830764","filename":"file0"},{"photo_id":"1391830960","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391831038":["hashtag1","hashtag2"]},{"1391830960":["hashtag1","hashtag2"]},{"1391830837":["hashtag1","hashtag2"]},{"1391830764":["hashtag1","hashtag2"]},{"1391831001":["hashtag1","hashtag2"]},{"1391830911":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391831038, 1391830960, 1391830837, 1391830764, 1391831001, 1391830911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63258719444275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 12:03:22.007973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_16_2605.jpg', '/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_19_2915.jpg', '/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_23_3629.jpg', '/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_29_3699.jpg', '/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_38_3542.jpg', '/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_41_2906.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_16_2605.jpg
/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_19_2915.jpg
/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_23_3629.jpg
/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_29_3699.jpg
/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_38_3542.jpg
/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_41_2906.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391831337","1391831492","1391831406","1391831450","1391831260","1391831533"],"photo_ids_order":["1391831260","1391831337","1391831406","1391831450","1391831492","1391831533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fafc9dc630c2ca63e36c8e8c1806fb31.jpg","text":"TemporaryFile(/tmp/multipartBody5307680767406870419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081464697,"filename":"image_30102025_11_39_19_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/2/07136197c7770829fa54785ada1fd058.jpg","text":"TemporaryFile(/tmp/multipartBody4307168883530710453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081464697,"filename":"image_30102025_11_39_38_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/2/328d3d1a589bdb856273a1a1ba2d8bcb.jpg","text":"TemporaryFile(/tmp/multipartBody9028850460587130914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081464697,"filename":"image_30102025_11_39_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/2/54bf16346deb195b63c65cbd0918708a.jpg","text":"TemporaryFile(/tmp/multipartBody5464107459469124851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081464697,"filename":"image_30102025_11_39_29_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/2/532ed71c9b7046aeb95059dcb2f215b2.jpg","text":"TemporaryFile(/tmp/multipartBody9164020937000163163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081464697,"filename":"image_30102025_11_39_16_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/2/9d23bf3e588c69e25f79727c75cd03ee.jpg","text":"TemporaryFile(/tmp/multipartBody6739365925655620862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081464697,"filename":"image_30102025_11_39_41_2906.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391831406","file1":"1391831337","file0":"1391831260","file4":"1391831492","file5":"1391831533","file3":"1391831450"},"map_files_photo_id_array":[{"photo_id":"1391831533","filename":"file5"},{"photo_id":"1391831406","filename":"file2"},{"photo_id":"1391831492","filename":"file4"},{"photo_id":"1391831337","filename":"file1"},{"photo_id":"1391831260","filename":"file0"},{"photo_id":"1391831450","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391831337":["hashtag1","hashtag2"]},{"1391831492":["hashtag1","hashtag2"]},{"1391831406":["hashtag1","hashtag2"]},{"1391831450":["hashtag1","hashtag2"]},{"1391831260":["hashtag1","hashtag2"]},{"1391831533":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391831337, 1391831492, 1391831406, 1391831450, 1391831260, 1391831533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.582226514816284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 12:04:02.908484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_50_2652.jpg', '/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_52_2688.jpg', '/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_56_3717.jpg', '/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_59_2763.jpg', '/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_08_3012.jpg', '/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_11_3794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_50_2652.jpg
/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_52_2688.jpg
/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_56_3717.jpg
/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_59_2763.jpg
/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_08_3012.jpg
/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_11_3794.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.093836784362793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 12:04:22.104211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_50_2652.jpg', '/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_52_2688.jpg', '/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_56_3717.jpg', '/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_59_2763.jpg', '/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_08_3012.jpg', '/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_11_3794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_50_2652.jpg
/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_52_2688.jpg
/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_56_3717.jpg
/home/pi/Desktop/images/30102025/11/39/image_30102025_11_39_59_2763.jpg
/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_08_3012.jpg
/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_11_3794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391831772","1391831774","1391831768","1391831764","1391831758","1391831761"],"photo_ids_order":["1391831758","1391831761","1391831764","1391831768","1391831772","1391831774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d8bccb190489825efc2ff9f50811b385.jpg","text":"TemporaryFile(/tmp/multipartBody2808430067477781797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081530105,"filename":"image_30102025_11_40_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/2/0aaa7f14fa176880e680b7b8c0c70323.jpg","text":"TemporaryFile(/tmp/multipartBody4768138707775654612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081530105,"filename":"image_30102025_11_40_11_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/2/1d3929ab0881b2656ea5c115319db8cc.jpg","text":"TemporaryFile(/tmp/multipartBody7347765288126799363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081530105,"filename":"image_30102025_11_39_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/2/f02f44eac0699d0555c305599f733b56.jpg","text":"TemporaryFile(/tmp/multipartBody3869575957666511956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081530105,"filename":"image_30102025_11_39_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/2/1285a81f8144ab7aa6699cc78d13beb4.jpg","text":"TemporaryFile(/tmp/multipartBody5807444892074535465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081530105,"filename":"image_30102025_11_39_50_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/2/6c4821e522b383f37a93c2274dbf092f.jpg","text":"TemporaryFile(/tmp/multipartBody3869107477650545932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081530105,"filename":"image_30102025_11_39_52_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391831764","file1":"1391831761","file0":"1391831758","file4":"1391831772","file5":"1391831774","file3":"1391831768"},"map_files_photo_id_array":[{"photo_id":"1391831774","filename":"file5"},{"photo_id":"1391831764","filename":"file2"},{"photo_id":"1391831772","filename":"file4"},{"photo_id":"1391831761","filename":"file1"},{"photo_id":"1391831758","filename":"file0"},{"photo_id":"1391831768","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391831772":["hashtag1","hashtag2"]},{"1391831774":["hashtag1","hashtag2"]},{"1391831768":["hashtag1","hashtag2"]},{"1391831764":["hashtag1","hashtag2"]},{"1391831758":["hashtag1","hashtag2"]},{"1391831761":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391831772, 1391831774, 1391831768, 1391831764, 1391831758, 1391831761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.478355169296265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 12:05:22.409923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_14_2723.jpg', '/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_17_2600.jpg', '/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_23_2706.jpg', '/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_26_2572.jpg', '/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_29_2843.jpg', '/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_32_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/11/40/image_30102025_11_40_14_2723.jpg
/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_17_2600.jpg
/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_23_2706.jpg
/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_26_2572.jpg
/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_29_2843.jpg
/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_32_3610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391831800","1391831799","1391831806","1391831792","1391831795","1391831797"],"photo_ids_order":["1391831792","1391831795","1391831797","1391831799","1391831800","1391831806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/668292ff3c5059670fcfdb80877cc70d.jpg","text":"TemporaryFile(/tmp/multipartBody6200357028459420562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081585127,"filename":"image_30102025_11_40_29_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/2/2e473fc34e6b783aae4dddbc6e9c982a.jpg","text":"TemporaryFile(/tmp/multipartBody2979628432562796614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081585127,"filename":"image_30102025_11_40_26_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/2/5be361d4c2e6856736684e3899bd5579.jpg","text":"TemporaryFile(/tmp/multipartBody89770326999324473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081585127,"filename":"image_30102025_11_40_32_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/2/3c703b51d1170a64ea348bdb01f9a938.jpg","text":"TemporaryFile(/tmp/multipartBody948379216552515164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081585127,"filename":"image_30102025_11_40_14_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/2/79c641bd0c978b3eb18235f38432442b.jpg","text":"TemporaryFile(/tmp/multipartBody7389261836869364147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081585127,"filename":"image_30102025_11_40_17_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/2/d073ef6d4e559951b7354896200f6f53.jpg","text":"TemporaryFile(/tmp/multipartBody5428562519526421762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081585127,"filename":"image_30102025_11_40_23_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391831797","file1":"1391831795","file0":"1391831792","file4":"1391831800","file5":"1391831806","file3":"1391831799"},"map_files_photo_id_array":[{"photo_id":"1391831806","filename":"file5"},{"photo_id":"1391831797","filename":"file2"},{"photo_id":"1391831800","filename":"file4"},{"photo_id":"1391831795","filename":"file1"},{"photo_id":"1391831792","filename":"file0"},{"photo_id":"1391831799","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391831800":["hashtag1","hashtag2"]},{"1391831799":["hashtag1","hashtag2"]},{"1391831806":["hashtag1","hashtag2"]},{"1391831792":["hashtag1","hashtag2"]},{"1391831795":["hashtag1","hashtag2"]},{"1391831797":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391831800, 1391831799, 1391831806, 1391831792, 1391831795, 1391831797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79010581970215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 12:06:03.030670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_35_2673.jpg', '/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_38_2750.jpg', '/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_41_3727.jpg', '/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_44_2631.jpg', '/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_47_2753.jpg', '/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_50_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/11/40/image_30102025_11_40_35_2673.jpg
/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_38_2750.jpg
/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_41_3727.jpg
/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_44_2631.jpg
/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_47_2753.jpg
/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_50_3604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391832003","1391832077","1391831963","1391832041","1391832154","1391832115"],"photo_ids_order":["1391831963","1391832003","1391832041","1391832077","1391832115","1391832154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2fa3fe596a8fd02ca7f11f4d7f31e416.jpg","text":"TemporaryFile(/tmp/multipartBody9194215669382740970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081625155,"filename":"image_30102025_11_40_38_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/2/c9105ded45d5770f4cf9fe91ad931e78.jpg","text":"TemporaryFile(/tmp/multipartBody8425468087943982433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081625155,"filename":"image_30102025_11_40_44_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/2/4a06b60de35626ebba349dea2b3c9be6.jpg","text":"TemporaryFile(/tmp/multipartBody3484283104513611707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081625155,"filename":"image_30102025_11_40_35_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/2/9b5ab131d398d426aaba4b59bb892913.jpg","text":"TemporaryFile(/tmp/multipartBody2867866096283750242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081625155,"filename":"image_30102025_11_40_41_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/2/33483d5a8476f247ddbe8cda79e5aba6.jpg","text":"TemporaryFile(/tmp/multipartBody2790420623867285376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081625155,"filename":"image_30102025_11_40_50_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/2/b2ac0c4bc2b5001f8587b976445cae3b.jpg","text":"TemporaryFile(/tmp/multipartBody1417533391774599561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081625155,"filename":"image_30102025_11_40_47_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391832041","file1":"1391832003","file0":"1391831963","file4":"1391832115","file5":"1391832154","file3":"1391832077"},"map_files_photo_id_array":[{"photo_id":"1391832154","filename":"file5"},{"photo_id":"1391832041","filename":"file2"},{"photo_id":"1391832115","filename":"file4"},{"photo_id":"1391832003","filename":"file1"},{"photo_id":"1391831963","filename":"file0"},{"photo_id":"1391832077","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391832003":["hashtag1","hashtag2"]},{"1391832077":["hashtag1","hashtag2"]},{"1391831963":["hashtag1","hashtag2"]},{"1391832041":["hashtag1","hashtag2"]},{"1391832154":["hashtag1","hashtag2"]},{"1391832115":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391832003, 1391832077, 1391831963, 1391832041, 1391832154, 1391832115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56218123435974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 12:06:42.580511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_56_2696.jpg', '/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_59_2683.jpg', '/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_02_2991.jpg', '/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_05_3730.jpg', '/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_08_2692.jpg', '/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_11_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/11/40/image_30102025_11_40_56_2696.jpg
/home/pi/Desktop/images/30102025/11/40/image_30102025_11_40_59_2683.jpg
/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_02_2991.jpg
/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_05_3730.jpg
/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_08_2692.jpg
/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_11_2764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391832327","1391832324","1391832289","1391832274","1391832325","1391832276"],"photo_ids_order":["1391832274","1391832276","1391832289","1391832324","1391832325","1391832327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6a912e1956ba8df6253260ed90066a1d.jpg","text":"TemporaryFile(/tmp/multipartBody2780338262774500920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081663729,"filename":"image_30102025_11_41_11_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/2/716fe226f0ea66896e1a27c092be862b.jpg","text":"TemporaryFile(/tmp/multipartBody6266651634553578512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081663729,"filename":"image_30102025_11_41_05_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/2/ee7e9ef4114f997506af89258bfcada4.jpg","text":"TemporaryFile(/tmp/multipartBody8863968819016941836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081663729,"filename":"image_30102025_11_41_02_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/2/d770e90c20d2c2a3b69f0be39d307d68.jpg","text":"TemporaryFile(/tmp/multipartBody1486665685256887806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081663729,"filename":"image_30102025_11_40_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/2/9c50c4dfaa4f105d564e1e35c72f34d5.jpg","text":"TemporaryFile(/tmp/multipartBody8350797110019027129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081663729,"filename":"image_30102025_11_41_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/2/f0a72fe286b661adc991532028d882a4.jpg","text":"TemporaryFile(/tmp/multipartBody538074956938870985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081663729,"filename":"image_30102025_11_40_59_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391832289","file1":"1391832276","file0":"1391832274","file4":"1391832325","file5":"1391832327","file3":"1391832324"},"map_files_photo_id_array":[{"photo_id":"1391832327","filename":"file5"},{"photo_id":"1391832289","filename":"file2"},{"photo_id":"1391832325","filename":"file4"},{"photo_id":"1391832276","filename":"file1"},{"photo_id":"1391832274","filename":"file0"},{"photo_id":"1391832324","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391832327":["hashtag1","hashtag2"]},{"1391832324":["hashtag1","hashtag2"]},{"1391832289":["hashtag1","hashtag2"]},{"1391832274":["hashtag1","hashtag2"]},{"1391832325":["hashtag1","hashtag2"]},{"1391832276":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391832327, 1391832324, 1391832289, 1391832274, 1391832325, 1391832276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1424081325531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 12:07:22.745689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_14_2657.jpg', '/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_17_3669.jpg', '/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_20_2684.jpg', '/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_26_2626.jpg', '/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_35_3600.jpg', '/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_38_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/11/41/image_30102025_11_41_14_2657.jpg
/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_17_3669.jpg
/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_20_2684.jpg
/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_26_2626.jpg
/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_35_3600.jpg
/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_38_2656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391832462","1391832465","1391832464","1391832466","1391832460","1391832468"],"photo_ids_order":["1391832460","1391832462","1391832464","1391832465","1391832466","1391832468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f2871be1bc9ee8e468809b2c9c0b3de7.jpg","text":"TemporaryFile(/tmp/multipartBody3306736315850800401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081765443,"filename":"image_30102025_11_41_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/2/db8dfb8087b5c8e37a0cec67365b2237.jpg","text":"TemporaryFile(/tmp/multipartBody1391415177023239979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081765443,"filename":"image_30102025_11_41_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/2/3b13fb9bdc1e781c2ff1845b5e9ab4a7.jpg","text":"TemporaryFile(/tmp/multipartBody5994076490420546051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081765443,"filename":"image_30102025_11_41_20_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/2/c7dc829b740b666aa7ea3d4753cf0a7d.jpg","text":"TemporaryFile(/tmp/multipartBody5565196766773537081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081765443,"filename":"image_30102025_11_41_35_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/2/b803ec8a7f3bf7bd65c72ccd9400bf76.jpg","text":"TemporaryFile(/tmp/multipartBody5470749884359915824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081765443,"filename":"image_30102025_11_41_14_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/2/cc81d108a85ebe83638082139829d525.jpg","text":"TemporaryFile(/tmp/multipartBody3950251410150800680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081765443,"filename":"image_30102025_11_41_38_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391832464","file1":"1391832462","file0":"1391832460","file4":"1391832466","file5":"1391832468","file3":"1391832465"},"map_files_photo_id_array":[{"photo_id":"1391832468","filename":"file5"},{"photo_id":"1391832464","filename":"file2"},{"photo_id":"1391832466","filename":"file4"},{"photo_id":"1391832462","filename":"file1"},{"photo_id":"1391832460","filename":"file0"},{"photo_id":"1391832465","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391832462":["hashtag1","hashtag2"]},{"1391832465":["hashtag1","hashtag2"]},{"1391832464":["hashtag1","hashtag2"]},{"1391832466":["hashtag1","hashtag2"]},{"1391832460":["hashtag1","hashtag2"]},{"1391832468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391832462, 1391832465, 1391832464, 1391832466, 1391832460, 1391832468)","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: 131.02751564979553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 12:09:46.265705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_41_2602.jpg', '/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_44_3565.jpg', '/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_47_2619.jpg', '/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_53_2862.jpg', '/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_56_2676.jpg', '/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_59_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/11/41/image_30102025_11_41_41_2602.jpg
/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_44_3565.jpg
/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_47_2619.jpg
/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_53_2862.jpg
/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_56_2676.jpg
/home/pi/Desktop/images/30102025/11/41/image_30102025_11_41_59_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":["1391832522","1391832519","1391832521","1391832520","1391832514","1391832517"],"photo_ids_order":["1391832514","1391832517","1391832519","1391832520","1391832521","1391832522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/156b3ecca58122925f9219a75e13cfa8.jpg","text":"TemporaryFile(/tmp/multipartBody7171449866822184918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081852198,"filename":"image_30102025_11_41_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/2/ae59a4b9de836b5857c3dfb076a329f9.jpg","text":"TemporaryFile(/tmp/multipartBody9083358276625697017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081852198,"filename":"image_30102025_11_41_47_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/2/515f8d0499741cbd807489ba0821a85f.jpg","text":"TemporaryFile(/tmp/multipartBody8527373678156852806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081852198,"filename":"image_30102025_11_41_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/2/1127e91586a20669e4a1984132c2d38a.jpg","text":"TemporaryFile(/tmp/multipartBody5928387228419895585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081852198,"filename":"image_30102025_11_41_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/2/0527fdc27c3d071808f5b24a47eb9688.jpg","text":"TemporaryFile(/tmp/multipartBody1441062676610478200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081852198,"filename":"image_30102025_11_41_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/2/ac900188c5255aefdcd7c275b79ff760.jpg","text":"TemporaryFile(/tmp/multipartBody6398767169453593323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081852198,"filename":"image_30102025_11_41_44_3565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391832519","file1":"1391832517","file0":"1391832514","file4":"1391832521","file5":"1391832522","file3":"1391832520"},"map_files_photo_id_array":[{"photo_id":"1391832522","filename":"file5"},{"photo_id":"1391832519","filename":"file2"},{"photo_id":"1391832521","filename":"file4"},{"photo_id":"1391832517","filename":"file1"},{"photo_id":"1391832514","filename":"file0"},{"photo_id":"1391832520","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391832522":["hashtag1","hashtag2"]},{"1391832519":["hashtag1","hashtag2"]},{"1391832521":["hashtag1","hashtag2"]},{"1391832520":["hashtag1","hashtag2"]},{"1391832514":["hashtag1","hashtag2"]},{"1391832517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391832522, 1391832519, 1391832521, 1391832520, 1391832514, 1391832517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.520896911621094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 12:10:42.404550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_01_2765.jpg', '/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_05_3526.jpg', '/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_08_2721.jpg', '/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_11_3388.jpg', '/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_24_1705.jpg', '/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_26_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/11/42/image_30102025_11_42_01_2765.jpg
/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_05_3526.jpg
/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_08_2721.jpg
/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_11_3388.jpg
/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_24_1705.jpg
/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_26_2748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391832543","1391832531","1391832551","1391832548","1391832533","1391832538"],"photo_ids_order":["1391832531","1391832533","1391832538","1391832543","1391832548","1391832551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/dda41a8fa68bbf275878a0e0b104e096.jpg","text":"TemporaryFile(/tmp/multipartBody783316778599703815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081903494,"filename":"image_30102025_11_42_11_3388.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6ba686a926fd5485f5e02c6f5c8db108.jpg","text":"TemporaryFile(/tmp/multipartBody1200790911520145650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081903494,"filename":"image_30102025_11_42_01_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/2/e8810811efb4c905bb817ecee33dbf88.jpg","text":"TemporaryFile(/tmp/multipartBody3128643669212670068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081903494,"filename":"image_30102025_11_42_26_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/2/864e931a3831e50a927a3ff1915ceb4b.jpg","text":"TemporaryFile(/tmp/multipartBody7546571856702916674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081903494,"filename":"image_30102025_11_42_24_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/2/02eef8c6c42b378a7b33210176c5cc60.jpg","text":"TemporaryFile(/tmp/multipartBody6425271011870875444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081903494,"filename":"image_30102025_11_42_05_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/2/b1a550830c90912d20fe9ed2b3afa613.jpg","text":"TemporaryFile(/tmp/multipartBody4687928701010659777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081903494,"filename":"image_30102025_11_42_08_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391832538","file1":"1391832533","file0":"1391832531","file4":"1391832548","file5":"1391832551","file3":"1391832543"},"map_files_photo_id_array":[{"photo_id":"1391832551","filename":"file5"},{"photo_id":"1391832538","filename":"file2"},{"photo_id":"1391832548","filename":"file4"},{"photo_id":"1391832533","filename":"file1"},{"photo_id":"1391832531","filename":"file0"},{"photo_id":"1391832543","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391832543":["hashtag1","hashtag2"]},{"1391832531":["hashtag1","hashtag2"]},{"1391832551":["hashtag1","hashtag2"]},{"1391832548":["hashtag1","hashtag2"]},{"1391832533":["hashtag1","hashtag2"]},{"1391832538":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391832543, 1391832531, 1391832551, 1391832548, 1391832533, 1391832538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.437870264053345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 12:11:22.643702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_29_2656.jpg', '/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_32_2628.jpg', '/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_35_3621.jpg', '/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_38_2646.jpg', '/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_41_2849.jpg', '/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_44_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/11/42/image_30102025_11_42_29_2656.jpg
/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_32_2628.jpg
/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_35_3621.jpg
/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_38_2646.jpg
/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_41_2849.jpg
/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_44_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391832582","1391832590","1391832584","1391832587","1391832566","1391832577"],"photo_ids_order":["1391832566","1391832577","1391832582","1391832584","1391832587","1391832590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0cae8641c8f399d215b9f9e460cbcdb8.jpg","text":"TemporaryFile(/tmp/multipartBody3097413928075319395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081945335,"filename":"image_30102025_11_42_35_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/2/9044bf122e480a9eb258e6b517d87e27.jpg","text":"TemporaryFile(/tmp/multipartBody1963735821226928945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081945335,"filename":"image_30102025_11_42_44_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/2/2a8a49d41c39f160a7df7995e187af6a.jpg","text":"TemporaryFile(/tmp/multipartBody7229297114443345610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081945335,"filename":"image_30102025_11_42_38_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/2/e05f1a389a8bc4f823c33e44056f123a.jpg","text":"TemporaryFile(/tmp/multipartBody3168597067311264645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081945335,"filename":"image_30102025_11_42_41_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/2/3962d3a868ce61748302de4c07598b74.jpg","text":"TemporaryFile(/tmp/multipartBody7918646857252809740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081945335,"filename":"image_30102025_11_42_29_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/2/ccf08c805ecd3553efbe334d8cb41fa7.jpg","text":"TemporaryFile(/tmp/multipartBody3405011971087289835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762081945335,"filename":"image_30102025_11_42_32_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391832582","file1":"1391832577","file0":"1391832566","file4":"1391832587","file5":"1391832590","file3":"1391832584"},"map_files_photo_id_array":[{"photo_id":"1391832590","filename":"file5"},{"photo_id":"1391832582","filename":"file2"},{"photo_id":"1391832587","filename":"file4"},{"photo_id":"1391832577","filename":"file1"},{"photo_id":"1391832566","filename":"file0"},{"photo_id":"1391832584","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391832582":["hashtag1","hashtag2"]},{"1391832590":["hashtag1","hashtag2"]},{"1391832584":["hashtag1","hashtag2"]},{"1391832587":["hashtag1","hashtag2"]},{"1391832566":["hashtag1","hashtag2"]},{"1391832577":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391832582, 1391832590, 1391832584, 1391832587, 1391832566, 1391832577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97367572784424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 12:12:03.163027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 12:12:22.742967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_47_3735.jpg', '/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_50_2740.jpg', '/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_53_2543.jpg', '/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_56_3643.jpg', '/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_59_2837.jpg', '/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_08_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/11/42/image_30102025_11_42_47_3735.jpg
/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_50_2740.jpg
/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_53_2543.jpg
/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_56_3643.jpg
/home/pi/Desktop/images/30102025/11/42/image_30102025_11_42_59_2837.jpg
/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_08_2695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391832618","1391832606","1391832615","1391832609","1391832611","1391832613"],"photo_ids_order":["1391832606","1391832609","1391832611","1391832613","1391832615","1391832618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8de520492b22b8ed0fb4217d781bf73e.jpg","text":"TemporaryFile(/tmp/multipartBody3992964436385573866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082005197,"filename":"image_30102025_11_43_08_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/2/1fdedd719c20bbb0aed82de5f70d01c1.jpg","text":"TemporaryFile(/tmp/multipartBody8998772814918695300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082005197,"filename":"image_30102025_11_42_47_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/2/5f7075e36fd20b3aca69758810bfe75e.jpg","text":"TemporaryFile(/tmp/multipartBody60484163973839770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082005197,"filename":"image_30102025_11_42_59_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/2/f4ae4c21345bebff525af0f2d2464cae.jpg","text":"TemporaryFile(/tmp/multipartBody593643449992533307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082005197,"filename":"image_30102025_11_42_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/2/97c215e630de89f8f5269e4eca13f04b.jpg","text":"TemporaryFile(/tmp/multipartBody6016557022392011790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082005197,"filename":"image_30102025_11_42_53_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/2/f911c94a940efb4da3ba1a84f0754846.jpg","text":"TemporaryFile(/tmp/multipartBody6454914880553105410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082005197,"filename":"image_30102025_11_42_56_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391832611","file1":"1391832609","file0":"1391832606","file4":"1391832615","file5":"1391832618","file3":"1391832613"},"map_files_photo_id_array":[{"photo_id":"1391832618","filename":"file5"},{"photo_id":"1391832611","filename":"file2"},{"photo_id":"1391832615","filename":"file4"},{"photo_id":"1391832609","filename":"file1"},{"photo_id":"1391832606","filename":"file0"},{"photo_id":"1391832613","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391832618":["hashtag1","hashtag2"]},{"1391832606":["hashtag1","hashtag2"]},{"1391832615":["hashtag1","hashtag2"]},{"1391832609":["hashtag1","hashtag2"]},{"1391832611":["hashtag1","hashtag2"]},{"1391832613":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391832618, 1391832606, 1391832615, 1391832609, 1391832611, 1391832613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.541813135147095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 12:13:02.784831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_11_2677.jpg', '/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_14_2825.jpg', '/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_17_3661.jpg', '/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_20_2654.jpg', '/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_22_2534.jpg', '/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_26_3775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_11_2677.jpg
/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_14_2825.jpg
/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_17_3661.jpg
/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_20_2654.jpg
/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_22_2534.jpg
/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_26_3775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391832630","1391832624","1391832633","1391832627","1391832635","1391832622"],"photo_ids_order":["1391832622","1391832624","1391832627","1391832630","1391832633","1391832635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/92e890facf25f025f348cba49ea782f8.jpg","text":"TemporaryFile(/tmp/multipartBody757471631149635495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082044945,"filename":"image_30102025_11_43_20_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/2/a94a59fcfc223cedcd85a75f18ab553d.jpg","text":"TemporaryFile(/tmp/multipartBody8237340299650789317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082044945,"filename":"image_30102025_11_43_14_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/2/69b70608975c49fc68e29612da6acdac.jpg","text":"TemporaryFile(/tmp/multipartBody375471968071350369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082044945,"filename":"image_30102025_11_43_22_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/2/91ae08af26e0d9f32b0d0726240bf0e9.jpg","text":"TemporaryFile(/tmp/multipartBody2322665533865824568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082044945,"filename":"image_30102025_11_43_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/2/5ddaba698d1d457f9af8599fe49eef98.jpg","text":"TemporaryFile(/tmp/multipartBody1522735378446380382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082044945,"filename":"image_30102025_11_43_26_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/737f2b23614515eb88998fc793614a0e.jpg","text":"TemporaryFile(/tmp/multipartBody3765769785395988598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082044945,"filename":"image_30102025_11_43_11_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391832627","file1":"1391832624","file0":"1391832622","file4":"1391832633","file5":"1391832635","file3":"1391832630"},"map_files_photo_id_array":[{"photo_id":"1391832635","filename":"file5"},{"photo_id":"1391832627","filename":"file2"},{"photo_id":"1391832633","filename":"file4"},{"photo_id":"1391832624","filename":"file1"},{"photo_id":"1391832622","filename":"file0"},{"photo_id":"1391832630","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391832630":["hashtag1","hashtag2"]},{"1391832624":["hashtag1","hashtag2"]},{"1391832633":["hashtag1","hashtag2"]},{"1391832627":["hashtag1","hashtag2"]},{"1391832635":["hashtag1","hashtag2"]},{"1391832622":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391832630, 1391832624, 1391832633, 1391832627, 1391832635, 1391832622)","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.285147190094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 12:14:22.039225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_29_2627.jpg', '/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_31_2661.jpg', '/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_35_3655.jpg', '/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_38_2707.jpg', '/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_41_2784.jpg', '/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_44_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_29_2627.jpg
/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_31_2661.jpg
/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_35_3655.jpg
/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_38_2707.jpg
/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_41_2784.jpg
/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_44_3580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391832654","1391832662","1391832670","1391832658","1391832652","1391832666"],"photo_ids_order":["1391832652","1391832654","1391832658","1391832662","1391832666","1391832670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/25992bf6073de244c5c8871743d4381b.jpg","text":"TemporaryFile(/tmp/multipartBody239297950849603368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082124836,"filename":"image_30102025_11_43_31_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/2/d3117aec7b711cc6893deee270e4917e.jpg","text":"TemporaryFile(/tmp/multipartBody3597762545829795448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082124836,"filename":"image_30102025_11_43_38_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/2/f21b0d8b3cc560abd745522e01632130.jpg","text":"TemporaryFile(/tmp/multipartBody3389760000681309219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082124836,"filename":"image_30102025_11_43_44_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/2/27564050777e9aa4075b70c0baed8a7e.jpg","text":"TemporaryFile(/tmp/multipartBody2205047542547998930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082124836,"filename":"image_30102025_11_43_35_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/2/88060d75487ca7a9422073f196c8c12f.jpg","text":"TemporaryFile(/tmp/multipartBody62237033031629404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082124836,"filename":"image_30102025_11_43_29_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/2/55d4003bf66b850d6e84844a1f9e8276.jpg","text":"TemporaryFile(/tmp/multipartBody739608488492841999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082124836,"filename":"image_30102025_11_43_41_2784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391832658","file1":"1391832654","file0":"1391832652","file4":"1391832666","file5":"1391832670","file3":"1391832662"},"map_files_photo_id_array":[{"photo_id":"1391832670","filename":"file5"},{"photo_id":"1391832658","filename":"file2"},{"photo_id":"1391832666","filename":"file4"},{"photo_id":"1391832654","filename":"file1"},{"photo_id":"1391832652","filename":"file0"},{"photo_id":"1391832662","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391832654":["hashtag1","hashtag2"]},{"1391832662":["hashtag1","hashtag2"]},{"1391832670":["hashtag1","hashtag2"]},{"1391832658":["hashtag1","hashtag2"]},{"1391832652":["hashtag1","hashtag2"]},{"1391832666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391832654, 1391832662, 1391832670, 1391832658, 1391832652, 1391832666)","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.35910868644714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 12:15:42.244031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_47_2761.jpg', '/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_50_2594.jpg', '/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_53_3520.jpg', '/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_56_2732.jpg', '/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_58_2651.jpg', '/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_02_3650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_47_2761.jpg
/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_50_2594.jpg
/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_53_3520.jpg
/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_56_2732.jpg
/home/pi/Desktop/images/30102025/11/43/image_30102025_11_43_58_2651.jpg
/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_02_3650.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":["1391832697","1391832699","1391832690","1391832684","1391832693","1391832687"],"photo_ids_order":["1391832684","1391832687","1391832690","1391832693","1391832697","1391832699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6150ba5745ad5d343593dd6200a7e5d5.jpg","text":"TemporaryFile(/tmp/multipartBody3805832452366925031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082203313,"filename":"image_30102025_11_43_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/2/379cd1505b233728bfc65693d4b548ea.jpg","text":"TemporaryFile(/tmp/multipartBody2084907208628724853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082203313,"filename":"image_30102025_11_44_02_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/2/555f2ea8d87bce995857354910a92bef.jpg","text":"TemporaryFile(/tmp/multipartBody4347464148908226086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082203313,"filename":"image_30102025_11_43_53_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/2/a598d389d0a767ba4b68b4879ae39ff0.jpg","text":"TemporaryFile(/tmp/multipartBody8299420854381681631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082203313,"filename":"image_30102025_11_43_47_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/2/29b498a8dc153bbc4436bb22e48e04ee.jpg","text":"TemporaryFile(/tmp/multipartBody6789917541294341045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082203313,"filename":"image_30102025_11_43_56_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/2/dd98e1dbfada48f1c733ea03a2506f01.jpg","text":"TemporaryFile(/tmp/multipartBody1292709271372593521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082203313,"filename":"image_30102025_11_43_50_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391832690","file1":"1391832687","file0":"1391832684","file4":"1391832697","file5":"1391832699","file3":"1391832693"},"map_files_photo_id_array":[{"photo_id":"1391832699","filename":"file5"},{"photo_id":"1391832690","filename":"file2"},{"photo_id":"1391832697","filename":"file4"},{"photo_id":"1391832687","filename":"file1"},{"photo_id":"1391832684","filename":"file0"},{"photo_id":"1391832693","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391832697":["hashtag1","hashtag2"]},{"1391832699":["hashtag1","hashtag2"]},{"1391832690":["hashtag1","hashtag2"]},{"1391832684":["hashtag1","hashtag2"]},{"1391832693":["hashtag1","hashtag2"]},{"1391832687":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391832697, 1391832699, 1391832690, 1391832684, 1391832693, 1391832687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.12547445297241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 12:16:42.432383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_05_2690.jpg', '/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_07_2620.jpg', '/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_11_3637.jpg', '/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_14_2665.jpg', '/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_16_2768.jpg', '/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_20_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/11/44/image_30102025_11_44_05_2690.jpg
/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_07_2620.jpg
/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_11_3637.jpg
/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_14_2665.jpg
/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_16_2768.jpg
/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_20_3592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391832735","1391832729","1391832726","1391832731","1391832733","1391832721"],"photo_ids_order":["1391832721","1391832726","1391832729","1391832731","1391832733","1391832735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f5e32d7d1f198aae1e1a521ca3a1f927.jpg","text":"TemporaryFile(/tmp/multipartBody8133961376787757221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082263418,"filename":"image_30102025_11_44_20_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/2/c064246c444b31aed0f5efaf4f929b7a.jpg","text":"TemporaryFile(/tmp/multipartBody7050246587837365431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082263418,"filename":"image_30102025_11_44_11_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/2/071410d97cee895744d393ccf4a886c0.jpg","text":"TemporaryFile(/tmp/multipartBody8913741104868888909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082263418,"filename":"image_30102025_11_44_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/2/1376fbcc84f0549b0dc86ac3b43dcfa7.jpg","text":"TemporaryFile(/tmp/multipartBody3723970829449277585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082263418,"filename":"image_30102025_11_44_14_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/2/635c8752da7619493601249511813e2a.jpg","text":"TemporaryFile(/tmp/multipartBody9172379664760068878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082263418,"filename":"image_30102025_11_44_16_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/2/747829083e721e18f548dd488225af33.jpg","text":"TemporaryFile(/tmp/multipartBody7358231054291658433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082263418,"filename":"image_30102025_11_44_05_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391832729","file1":"1391832726","file0":"1391832721","file4":"1391832733","file5":"1391832735","file3":"1391832731"},"map_files_photo_id_array":[{"photo_id":"1391832735","filename":"file5"},{"photo_id":"1391832729","filename":"file2"},{"photo_id":"1391832733","filename":"file4"},{"photo_id":"1391832726","filename":"file1"},{"photo_id":"1391832721","filename":"file0"},{"photo_id":"1391832731","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391832735":["hashtag1","hashtag2"]},{"1391832729":["hashtag1","hashtag2"]},{"1391832726":["hashtag1","hashtag2"]},{"1391832731":["hashtag1","hashtag2"]},{"1391832733":["hashtag1","hashtag2"]},{"1391832721":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391832735, 1391832729, 1391832726, 1391832731, 1391832733, 1391832721)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 61.884841442108154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 12:17:46.806840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_23_2750.jpg', '/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_26_2841.jpg', '/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_28_2627.jpg', '/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_32_3808.jpg', '/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_35_2701.jpg', '/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_37_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_23_2750.jpg
/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_26_2841.jpg
/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_28_2627.jpg
/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_32_3808.jpg
/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_35_2701.jpg
/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_37_2614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391832768","1391832753","1391832762","1391832760","1391832771","1391832765"],"photo_ids_order":["1391832753","1391832760","1391832762","1391832765","1391832768","1391832771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fc5f46aa590eb564f7a37a189f9b110d.jpg","text":"TemporaryFile(/tmp/multipartBody7559794022712065522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082327900,"filename":"image_30102025_11_44_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/2/7423ed3cf7eb8a86873a55f87e631a33.jpg","text":"TemporaryFile(/tmp/multipartBody4950114927468227614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082327900,"filename":"image_30102025_11_44_23_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/2/590d5b160f9b7edd40db8e89d8c3fb58.jpg","text":"TemporaryFile(/tmp/multipartBody3729315921658436284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082327900,"filename":"image_30102025_11_44_28_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/2/6566db1d4777376133224df084d6c60c.jpg","text":"TemporaryFile(/tmp/multipartBody1130544267126407967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082327900,"filename":"image_30102025_11_44_26_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/2/18807f121bb8becd807ce7e27c2e316f.jpg","text":"TemporaryFile(/tmp/multipartBody2011459313850511102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082327900,"filename":"image_30102025_11_44_37_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/2/21f667a9af0e177d4eb8dc2671003079.jpg","text":"TemporaryFile(/tmp/multipartBody2809848173704226400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082327900,"filename":"image_30102025_11_44_32_3808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391832762","file1":"1391832760","file0":"1391832753","file4":"1391832768","file5":"1391832771","file3":"1391832765"},"map_files_photo_id_array":[{"photo_id":"1391832771","filename":"file5"},{"photo_id":"1391832762","filename":"file2"},{"photo_id":"1391832768","filename":"file4"},{"photo_id":"1391832760","filename":"file1"},{"photo_id":"1391832753","filename":"file0"},{"photo_id":"1391832765","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391832768":["hashtag1","hashtag2"]},{"1391832753":["hashtag1","hashtag2"]},{"1391832762":["hashtag1","hashtag2"]},{"1391832760":["hashtag1","hashtag2"]},{"1391832771":["hashtag1","hashtag2"]},{"1391832765":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391832768, 1391832753, 1391832762, 1391832760, 1391832771, 1391832765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97860360145569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 12:18:42.058230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_41_3803.jpg', '/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_44_2526.jpg', '/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_46_2694.jpg', '/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_53_2589.jpg', '/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_55_2659.jpg', '/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_59_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/11/44/image_30102025_11_44_41_3803.jpg
/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_44_2526.jpg
/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_46_2694.jpg
/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_53_2589.jpg
/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_55_2659.jpg
/home/pi/Desktop/images/30102025/11/44/image_30102025_11_44_59_3718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391832780","1391832776","1391832790","1391832787","1391832784","1391832786"],"photo_ids_order":["1391832776","1391832780","1391832784","1391832786","1391832787","1391832790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4ecdcb120fe85a0a349e7ef4bc71709a.jpg","text":"TemporaryFile(/tmp/multipartBody5315343530801909455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082383212,"filename":"image_30102025_11_44_44_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/2/52643827c7fdeae3ff67683c13cbed6b.jpg","text":"TemporaryFile(/tmp/multipartBody7702367136364138187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082383212,"filename":"image_30102025_11_44_41_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/2/e6cea56433f0db0da8d59fdcf91c9f46.jpg","text":"TemporaryFile(/tmp/multipartBody9074513192957951985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082383212,"filename":"image_30102025_11_44_59_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/2/25cc9b2fda6df2a28a63d5446e86e597.jpg","text":"TemporaryFile(/tmp/multipartBody5567594589501260331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082383212,"filename":"image_30102025_11_44_55_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/2/149e06cef53b09335e9bc49677045b04.jpg","text":"TemporaryFile(/tmp/multipartBody2161602825313251963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082383212,"filename":"image_30102025_11_44_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/2/1d0c527361e037f01a8130a3351af7b4.jpg","text":"TemporaryFile(/tmp/multipartBody2594164395489131150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082383212,"filename":"image_30102025_11_44_53_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391832784","file1":"1391832780","file0":"1391832776","file4":"1391832787","file5":"1391832790","file3":"1391832786"},"map_files_photo_id_array":[{"photo_id":"1391832790","filename":"file5"},{"photo_id":"1391832784","filename":"file2"},{"photo_id":"1391832787","filename":"file4"},{"photo_id":"1391832780","filename":"file1"},{"photo_id":"1391832776","filename":"file0"},{"photo_id":"1391832786","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391832780":["hashtag1","hashtag2"]},{"1391832776":["hashtag1","hashtag2"]},{"1391832790":["hashtag1","hashtag2"]},{"1391832787":["hashtag1","hashtag2"]},{"1391832784":["hashtag1","hashtag2"]},{"1391832786":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391832780, 1391832776, 1391832790, 1391832787, 1391832784, 1391832786)","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: 102.62296438217163 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 12:20:27.916293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 12:20:48.003630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_08_3015.jpg', '/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_11_3696.jpg', '/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_14_2590.jpg', '/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_18_3603.jpg', '/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_20_2521.jpg', '/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_23_2959.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_08_3015.jpg
/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_11_3696.jpg
/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_14_2590.jpg
/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_18_3603.jpg
/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_20_2521.jpg
/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_23_2959.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391832852","1391832855","1391832863","1391832865","1391832838","1391832858"],"photo_ids_order":["1391832838","1391832852","1391832855","1391832858","1391832863","1391832865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6079010d0c4f542d1f84c89828bb00d3.jpg","text":"TemporaryFile(/tmp/multipartBody529602898006657090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082510184,"filename":"image_30102025_11_46_11_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/2/9ac5b603aa0c5d9342cbd62218f0a182.jpg","text":"TemporaryFile(/tmp/multipartBody8795330975831037434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082510184,"filename":"image_30102025_11_46_14_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/2/7f56d22111c0aa82d014459073479d7c.jpg","text":"TemporaryFile(/tmp/multipartBody740679810936090607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082510184,"filename":"image_30102025_11_46_20_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/2/1b4ec5779692acd98487686b566ab607.jpg","text":"TemporaryFile(/tmp/multipartBody98758098665751304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082510184,"filename":"image_30102025_11_46_23_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/2/af19554abcaf742f9f9c190135298974.jpg","text":"TemporaryFile(/tmp/multipartBody124990171416577639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082510184,"filename":"image_30102025_11_46_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/2/2f3ad59c4a1d198818429013e7ab81ac.jpg","text":"TemporaryFile(/tmp/multipartBody1116121966987120253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082510184,"filename":"image_30102025_11_46_18_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391832855","file1":"1391832852","file0":"1391832838","file4":"1391832863","file5":"1391832865","file3":"1391832858"},"map_files_photo_id_array":[{"photo_id":"1391832865","filename":"file5"},{"photo_id":"1391832855","filename":"file2"},{"photo_id":"1391832863","filename":"file4"},{"photo_id":"1391832852","filename":"file1"},{"photo_id":"1391832838","filename":"file0"},{"photo_id":"1391832858","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391832852":["hashtag1","hashtag2"]},{"1391832855":["hashtag1","hashtag2"]},{"1391832863":["hashtag1","hashtag2"]},{"1391832865":["hashtag1","hashtag2"]},{"1391832838":["hashtag1","hashtag2"]},{"1391832858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391832852, 1391832855, 1391832863, 1391832865, 1391832838, 1391832858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.64682102203369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 12:21:42.248450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_26_2579.jpg', '/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_29_3770.jpg', '/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_32_2803.jpg', '/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_35_2975.jpg', '/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_41_2666.jpg', '/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_44_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/11/46/image_30102025_11_46_26_2579.jpg
/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_29_3770.jpg
/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_32_2803.jpg
/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_35_2975.jpg
/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_41_2666.jpg
/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_44_3718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391832909","1391832912","1391832896","1391832905","1391832876","1391832879"],"photo_ids_order":["1391832876","1391832879","1391832896","1391832905","1391832909","1391832912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4aa6cc90c417db02bbfd2c7a0501dafd.jpg","text":"TemporaryFile(/tmp/multipartBody3590826463998998963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082565737,"filename":"image_30102025_11_46_41_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/2/1b8009bdbcd7fabdaf08f5a7d6e02312.jpg","text":"TemporaryFile(/tmp/multipartBody3116306489787038899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082565737,"filename":"image_30102025_11_46_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/2/ab7ffca3f8fa8da625b460317868eb4b.jpg","text":"TemporaryFile(/tmp/multipartBody8815882846708244572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082565737,"filename":"image_30102025_11_46_32_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/2/6db837a1cf8856e07158a12fae17f8f4.jpg","text":"TemporaryFile(/tmp/multipartBody3893516716035863228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082565737,"filename":"image_30102025_11_46_35_2975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f294a24f624f064ff0179fc2bd161b4f.jpg","text":"TemporaryFile(/tmp/multipartBody4476051737172202948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082565737,"filename":"image_30102025_11_46_26_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/2/d2367e9e1a8d3d9590db6c942c0b8678.jpg","text":"TemporaryFile(/tmp/multipartBody1784433124445864985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082565737,"filename":"image_30102025_11_46_29_3770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391832896","file1":"1391832879","file0":"1391832876","file4":"1391832909","file5":"1391832912","file3":"1391832905"},"map_files_photo_id_array":[{"photo_id":"1391832912","filename":"file5"},{"photo_id":"1391832896","filename":"file2"},{"photo_id":"1391832909","filename":"file4"},{"photo_id":"1391832879","filename":"file1"},{"photo_id":"1391832876","filename":"file0"},{"photo_id":"1391832905","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391832909":["hashtag1","hashtag2"]},{"1391832912":["hashtag1","hashtag2"]},{"1391832896":["hashtag1","hashtag2"]},{"1391832905":["hashtag1","hashtag2"]},{"1391832876":["hashtag1","hashtag2"]},{"1391832879":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391832909, 1391832912, 1391832896, 1391832905, 1391832876, 1391832879)","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 = 1391832896 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_32_2803.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 57.90578651428223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 12:22:42.532860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_50_2650.jpg', '/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_53_3534.jpg', '/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_56_2748.jpg', '/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_59_2628.jpg', '/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_03_3780.jpg', '/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_05_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/11/46/image_30102025_11_46_50_2650.jpg
/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_53_3534.jpg
/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_56_2748.jpg
/home/pi/Desktop/images/30102025/11/46/image_30102025_11_46_59_2628.jpg
/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_03_3780.jpg
/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_05_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391832959","1391832947","1391832952","1391832961","1391832955","1391832949"],"photo_ids_order":["1391832947","1391832949","1391832952","1391832955","1391832959","1391832961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2a70e567e11d7598a79b1c02620c10c3.jpg","text":"TemporaryFile(/tmp/multipartBody2942043121519088853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082623625,"filename":"image_30102025_11_47_03_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/2/e8502a8cd383209a8e775618db300c95.jpg","text":"TemporaryFile(/tmp/multipartBody2944794275213050070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082623625,"filename":"image_30102025_11_46_50_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/2/9d3160ae4e8a5c8b91b72075a28e1b25.jpg","text":"TemporaryFile(/tmp/multipartBody9191959949312815028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082623625,"filename":"image_30102025_11_46_56_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/2/74912930b3c97fd3f8b4e4fd2c544245.jpg","text":"TemporaryFile(/tmp/multipartBody8950896149241097361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082623625,"filename":"image_30102025_11_47_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/2/9f56a72949bc1b1cfcbe1f47ef199756.jpg","text":"TemporaryFile(/tmp/multipartBody3847018231204168128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082623625,"filename":"image_30102025_11_46_59_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/2/13fc0945c8e445633e6f2323ec05d266.jpg","text":"TemporaryFile(/tmp/multipartBody1671834484103073901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082623625,"filename":"image_30102025_11_46_53_3534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391832952","file1":"1391832949","file0":"1391832947","file4":"1391832959","file5":"1391832961","file3":"1391832955"},"map_files_photo_id_array":[{"photo_id":"1391832961","filename":"file5"},{"photo_id":"1391832952","filename":"file2"},{"photo_id":"1391832959","filename":"file4"},{"photo_id":"1391832949","filename":"file1"},{"photo_id":"1391832947","filename":"file0"},{"photo_id":"1391832955","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391832959":["hashtag1","hashtag2"]},{"1391832947":["hashtag1","hashtag2"]},{"1391832952":["hashtag1","hashtag2"]},{"1391832961":["hashtag1","hashtag2"]},{"1391832955":["hashtag1","hashtag2"]},{"1391832949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391832959, 1391832947, 1391832952, 1391832961, 1391832955, 1391832949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32740783691406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 12:23:22.880274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_08_2761.jpg', '/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_11_2768.jpg', '/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_14_3727.jpg', '/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_17_2536.jpg', '/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_20_2789.jpg', '/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_23_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/11/47/image_30102025_11_47_08_2761.jpg
/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_11_2768.jpg
/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_14_3727.jpg
/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_17_2536.jpg
/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_20_2789.jpg
/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_23_3659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391832969","1391832974","1391832977","1391832971","1391832991","1391832982"],"photo_ids_order":["1391832969","1391832971","1391832974","1391832977","1391832982","1391832991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/895822f2bc6f434abcb67e634b325e1b.jpg","text":"TemporaryFile(/tmp/multipartBody9133537332706707433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082665568,"filename":"image_30102025_11_47_08_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/2/dd958e91aed47e86fe13e61c9c35dc5c.jpg","text":"TemporaryFile(/tmp/multipartBody5128963835077811704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082665568,"filename":"image_30102025_11_47_14_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/2/5723f2e117f7591be37ba1479d27c30e.jpg","text":"TemporaryFile(/tmp/multipartBody815530478494740601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082665568,"filename":"image_30102025_11_47_17_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/2/002cb469838e29458657a0a1119933b1.jpg","text":"TemporaryFile(/tmp/multipartBody5602330167061382178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082665568,"filename":"image_30102025_11_47_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/2/31a0998d5edeb68a6a5aa4a4496a7e81.jpg","text":"TemporaryFile(/tmp/multipartBody4980879186036615486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082665568,"filename":"image_30102025_11_47_23_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/2/9b7b59b96d1ef03bf1b99985b9b541c0.jpg","text":"TemporaryFile(/tmp/multipartBody8990370375884508088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082665568,"filename":"image_30102025_11_47_20_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391832974","file1":"1391832971","file0":"1391832969","file4":"1391832982","file5":"1391832991","file3":"1391832977"},"map_files_photo_id_array":[{"photo_id":"1391832991","filename":"file5"},{"photo_id":"1391832974","filename":"file2"},{"photo_id":"1391832982","filename":"file4"},{"photo_id":"1391832971","filename":"file1"},{"photo_id":"1391832969","filename":"file0"},{"photo_id":"1391832977","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391832969":["hashtag1","hashtag2"]},{"1391832974":["hashtag1","hashtag2"]},{"1391832977":["hashtag1","hashtag2"]},{"1391832971":["hashtag1","hashtag2"]},{"1391832991":["hashtag1","hashtag2"]},{"1391832982":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391832969, 1391832974, 1391832977, 1391832971, 1391832991, 1391832982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.56235122680664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 12:24:03.357415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_29_2731.jpg', '/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_32_2648.jpg', '/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_41_3615.jpg', '/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_44_2697.jpg', '/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_47_2639.jpg', '/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_50_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_29_2731.jpg
/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_32_2648.jpg
/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_41_3615.jpg
/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_44_2697.jpg
/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_47_2639.jpg
/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_50_3669.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.0743513107299805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 12:24:22.838291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_29_2731.jpg', '/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_32_2648.jpg', '/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_41_3615.jpg', '/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_44_2697.jpg', '/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_47_2639.jpg', '/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_50_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_29_2731.jpg
/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_32_2648.jpg
/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_41_3615.jpg
/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_44_2697.jpg
/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_47_2639.jpg
/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_50_3669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391833055","1391833028","1391833075","1391833030","1391833024","1391833053"],"photo_ids_order":["1391833024","1391833028","1391833030","1391833053","1391833055","1391833075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/25a44833bf8e5e284919c877830d2ff3.jpg","text":"TemporaryFile(/tmp/multipartBody736663377950633037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082725402,"filename":"image_30102025_11_47_47_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/2/123b51f77c901079f7cdfa8fba241f78.jpg","text":"TemporaryFile(/tmp/multipartBody3144416517682311951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082725402,"filename":"image_30102025_11_47_32_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/2/037feef86cf16db207e0d97e9d32e291.jpg","text":"TemporaryFile(/tmp/multipartBody3629341280825012738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082725402,"filename":"image_30102025_11_47_50_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/2/89f7caf10b25ad8e61387234bcd5f11f.jpg","text":"TemporaryFile(/tmp/multipartBody6463504870715174578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082725402,"filename":"image_30102025_11_47_41_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/2/c743cec2132c17440bada2a393a21869.jpg","text":"TemporaryFile(/tmp/multipartBody2171810138035795987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082725402,"filename":"image_30102025_11_47_29_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/2/6ba786e9f23615c448b3b34b5cac1d90.jpg","text":"TemporaryFile(/tmp/multipartBody1576858256334541492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082725402,"filename":"image_30102025_11_47_44_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391833030","file1":"1391833028","file0":"1391833024","file4":"1391833055","file5":"1391833075","file3":"1391833053"},"map_files_photo_id_array":[{"photo_id":"1391833075","filename":"file5"},{"photo_id":"1391833030","filename":"file2"},{"photo_id":"1391833055","filename":"file4"},{"photo_id":"1391833028","filename":"file1"},{"photo_id":"1391833024","filename":"file0"},{"photo_id":"1391833053","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391833055":["hashtag1","hashtag2"]},{"1391833028":["hashtag1","hashtag2"]},{"1391833075":["hashtag1","hashtag2"]},{"1391833030":["hashtag1","hashtag2"]},{"1391833024":["hashtag1","hashtag2"]},{"1391833053":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391833055, 1391833028, 1391833075, 1391833030, 1391833024, 1391833053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12493181228638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 12:25:02.578190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_53_2556.jpg', '/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_56_2665.jpg', '/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_59_3775.jpg', '/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_02_2621.jpg', '/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_05_2662.jpg', '/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_08_2885.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_53_2556.jpg
/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_56_2665.jpg
/home/pi/Desktop/images/30102025/11/47/image_30102025_11_47_59_3775.jpg
/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_02_2621.jpg
/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_05_2662.jpg
/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_08_2885.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391833292","1391833315","1391833377","1391833350","1391833317","1391833251"],"photo_ids_order":["1391833251","1391833292","1391833315","1391833317","1391833350","1391833377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b4781deefcf23410afe8d7d04ef01f1d.jpg","text":"TemporaryFile(/tmp/multipartBody1069297815177105375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082764811,"filename":"image_30102025_11_47_56_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/2/9bcd9bc85bdd0f463c1c85e811bf0a3c.jpg","text":"TemporaryFile(/tmp/multipartBody5828176559644420344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082764811,"filename":"image_30102025_11_47_59_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f41606626ea7eb25ba590069083476bf.jpg","text":"TemporaryFile(/tmp/multipartBody7458363584814141662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082764811,"filename":"image_30102025_11_48_08_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/2/4a9ec60e27574f930cf25b1744e0c8e6.jpg","text":"TemporaryFile(/tmp/multipartBody5061601081171174143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082764811,"filename":"image_30102025_11_48_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/2/e9c6d210daea95ad1e9a2ea10c9bf8bb.jpg","text":"TemporaryFile(/tmp/multipartBody6351814912013552561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082764811,"filename":"image_30102025_11_48_02_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/2/171ad779c12f4103b3fa4a0e023217cf.jpg","text":"TemporaryFile(/tmp/multipartBody3052154026820875249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082764811,"filename":"image_30102025_11_47_53_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391833315","file1":"1391833292","file0":"1391833251","file4":"1391833350","file5":"1391833377","file3":"1391833317"},"map_files_photo_id_array":[{"photo_id":"1391833377","filename":"file5"},{"photo_id":"1391833315","filename":"file2"},{"photo_id":"1391833350","filename":"file4"},{"photo_id":"1391833292","filename":"file1"},{"photo_id":"1391833251","filename":"file0"},{"photo_id":"1391833317","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391833292":["hashtag1","hashtag2"]},{"1391833315":["hashtag1","hashtag2"]},{"1391833377":["hashtag1","hashtag2"]},{"1391833350":["hashtag1","hashtag2"]},{"1391833317":["hashtag1","hashtag2"]},{"1391833251":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391833292, 1391833315, 1391833377, 1391833350, 1391833317, 1391833251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5480215549469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 12:25:41.850732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_11_3707.jpg', '/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_14_2664.jpg', '/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_17_2633.jpg', '/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_20_3819.jpg', '/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_23_2694.jpg', '/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_26_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/11/48/image_30102025_11_48_11_3707.jpg
/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_14_2664.jpg
/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_17_2633.jpg
/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_20_3819.jpg
/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_23_2694.jpg
/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_26_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391833602","1391833673","1391833709","1391833700","1391833582","1391833635"],"photo_ids_order":["1391833582","1391833602","1391833635","1391833673","1391833700","1391833709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0c0b97b161dd78ed7ee5eb61b73d4f47.jpg","text":"TemporaryFile(/tmp/multipartBody8333855042019717063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082802971,"filename":"image_30102025_11_48_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/2/1d22d13b7a2cbf82780a0144c3243b0b.jpg","text":"TemporaryFile(/tmp/multipartBody8702134514199552329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082802971,"filename":"image_30102025_11_48_20_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/2/8a289e7b6a3d558fa817f1929bf9de72.jpg","text":"TemporaryFile(/tmp/multipartBody5227267557008010251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082802971,"filename":"image_30102025_11_48_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/2/d3e29a0c438bd255176b689fa855dc8b.jpg","text":"TemporaryFile(/tmp/multipartBody3069017553110822939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082802971,"filename":"image_30102025_11_48_23_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/2/81f6c70892c52208a8774bbfe3878f8f.jpg","text":"TemporaryFile(/tmp/multipartBody6378639422444090548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082802971,"filename":"image_30102025_11_48_11_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/2/e39dbd0d667ba58b80873ab1b5105df2.jpg","text":"TemporaryFile(/tmp/multipartBody5054114251897560071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082802971,"filename":"image_30102025_11_48_17_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391833635","file1":"1391833602","file0":"1391833582","file4":"1391833700","file5":"1391833709","file3":"1391833673"},"map_files_photo_id_array":[{"photo_id":"1391833709","filename":"file5"},{"photo_id":"1391833635","filename":"file2"},{"photo_id":"1391833700","filename":"file4"},{"photo_id":"1391833602","filename":"file1"},{"photo_id":"1391833582","filename":"file0"},{"photo_id":"1391833673","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391833602":["hashtag1","hashtag2"]},{"1391833673":["hashtag1","hashtag2"]},{"1391833709":["hashtag1","hashtag2"]},{"1391833700":["hashtag1","hashtag2"]},{"1391833582":["hashtag1","hashtag2"]},{"1391833635":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391833602, 1391833673, 1391833709, 1391833700, 1391833582, 1391833635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49910593032837 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 12:26:21.985079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_28_2638.jpg', '/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_32_3668.jpg', '/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_35_2725.jpg', '/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_38_3555.jpg', '/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_41_2625.jpg', '/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_44_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/11/48/image_30102025_11_48_28_2638.jpg
/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_32_3668.jpg
/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_35_2725.jpg
/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_38_3555.jpg
/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_41_2625.jpg
/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_44_2758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391833910","1391833832","1391833765","1391833768","1391833788","1391833869"],"photo_ids_order":["1391833765","1391833768","1391833788","1391833832","1391833869","1391833910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a5422ba215bc5bd6231761c9d1e4d57f.jpg","text":"TemporaryFile(/tmp/multipartBody4006276914112489029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082844677,"filename":"image_30102025_11_48_44_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/2/09b4a36028d0fa1750bc530f93e45271.jpg","text":"TemporaryFile(/tmp/multipartBody6925580108889406815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082844677,"filename":"image_30102025_11_48_38_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/2/79ef1f5eb5429bd029934cd93faf41a0.jpg","text":"TemporaryFile(/tmp/multipartBody8238085197544200183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082844677,"filename":"image_30102025_11_48_28_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/2/1227211349632c0c92fabe9943c55ec7.jpg","text":"TemporaryFile(/tmp/multipartBody31066678618208386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082844677,"filename":"image_30102025_11_48_32_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/2/848938e9ad2e21281208a4531a623d81.jpg","text":"TemporaryFile(/tmp/multipartBody698844897228977429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082844677,"filename":"image_30102025_11_48_35_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/2/4a3ca6ae5b4bfa7a024b841a0c7439c8.jpg","text":"TemporaryFile(/tmp/multipartBody7027432965503284072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082844677,"filename":"image_30102025_11_48_41_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391833788","file1":"1391833768","file0":"1391833765","file4":"1391833869","file5":"1391833910","file3":"1391833832"},"map_files_photo_id_array":[{"photo_id":"1391833910","filename":"file5"},{"photo_id":"1391833788","filename":"file2"},{"photo_id":"1391833869","filename":"file4"},{"photo_id":"1391833768","filename":"file1"},{"photo_id":"1391833765","filename":"file0"},{"photo_id":"1391833832","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391833910":["hashtag1","hashtag2"]},{"1391833832":["hashtag1","hashtag2"]},{"1391833765":["hashtag1","hashtag2"]},{"1391833768":["hashtag1","hashtag2"]},{"1391833788":["hashtag1","hashtag2"]},{"1391833869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391833910, 1391833832, 1391833765, 1391833768, 1391833788, 1391833869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33107399940491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 12:27:02.988788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_46_2666.jpg', '/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_50_3698.jpg', '/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_53_2777.jpg', '/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_56_2706.jpg', '/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_58_2757.jpg', '/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_02_3540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_46_2666.jpg
/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_50_3698.jpg
/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_53_2777.jpg
/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_56_2706.jpg
/home/pi/Desktop/images/30102025/11/48/image_30102025_11_48_58_2757.jpg
/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_02_3540.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391833996","1391833984","1391833987","1391833980","1391834031","1391834034"],"photo_ids_order":["1391833980","1391833984","1391833987","1391833996","1391834031","1391834034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e2d4a7543b8cd71eb5614cfddc41f320.jpg","text":"TemporaryFile(/tmp/multipartBody3930403002019012771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082885367,"filename":"image_30102025_11_48_56_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/2/20257794d0d5b2c3c9c92d68fa13b6a4.jpg","text":"TemporaryFile(/tmp/multipartBody7924918714796510616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082885367,"filename":"image_30102025_11_48_50_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/2/b56edc9a98ddf821bdc786f9766f8a7e.jpg","text":"TemporaryFile(/tmp/multipartBody5605631462233816982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082885367,"filename":"image_30102025_11_48_53_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/2/e18a61dff2208d2fcd294357212ce563.jpg","text":"TemporaryFile(/tmp/multipartBody4311725641413890399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082885367,"filename":"image_30102025_11_48_46_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/2/73d5d525fd8cb1f3c4419f3da333dafd.jpg","text":"TemporaryFile(/tmp/multipartBody1061305527864425002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082885367,"filename":"image_30102025_11_48_58_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/2/42bd07032bc61ac33749ff2f8b350e40.jpg","text":"TemporaryFile(/tmp/multipartBody3750814349763187678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082885367,"filename":"image_30102025_11_49_02_3540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391833987","file1":"1391833984","file0":"1391833980","file4":"1391834031","file5":"1391834034","file3":"1391833996"},"map_files_photo_id_array":[{"photo_id":"1391834034","filename":"file5"},{"photo_id":"1391833987","filename":"file2"},{"photo_id":"1391834031","filename":"file4"},{"photo_id":"1391833984","filename":"file1"},{"photo_id":"1391833980","filename":"file0"},{"photo_id":"1391833996","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391833996":["hashtag1","hashtag2"]},{"1391833984":["hashtag1","hashtag2"]},{"1391833987":["hashtag1","hashtag2"]},{"1391833980":["hashtag1","hashtag2"]},{"1391834031":["hashtag1","hashtag2"]},{"1391834034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391833996, 1391833984, 1391833987, 1391833980, 1391834031, 1391834034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81488060951233 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 12:27:42.232844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_05_2737.jpg', '/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_07_2754.jpg', '/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_11_3699.jpg', '/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_14_2640.jpg', '/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_16_2628.jpg', '/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_20_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/11/49/image_30102025_11_49_05_2737.jpg
/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_07_2754.jpg
/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_11_3699.jpg
/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_14_2640.jpg
/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_16_2628.jpg
/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_20_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: 1.0297327041625977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 12:28:02.812527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_05_2737.jpg', '/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_07_2754.jpg', '/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_11_3699.jpg', '/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_14_2640.jpg', '/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_16_2628.jpg', '/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_20_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/11/49/image_30102025_11_49_05_2737.jpg
/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_07_2754.jpg
/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_11_3699.jpg
/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_14_2640.jpg
/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_16_2628.jpg
/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_20_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":["1391834132","1391834125","1391834145","1391834139","1391834130","1391834127"],"photo_ids_order":["1391834125","1391834127","1391834130","1391834132","1391834139","1391834145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/120156cde8409317ef29412d521194cc.jpg","text":"TemporaryFile(/tmp/multipartBody4927852389729718856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082948679,"filename":"image_30102025_11_49_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/2/124f60d5b7adcb39e8d9101a25583cfd.jpg","text":"TemporaryFile(/tmp/multipartBody3451958245726553639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082948679,"filename":"image_30102025_11_49_05_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/2/6eae38b6356082fea78e8afcd2c38de1.jpg","text":"TemporaryFile(/tmp/multipartBody6147688588771121424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082948679,"filename":"image_30102025_11_49_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/2/c7c105ff52f95e1dec26d089a907e7d7.jpg","text":"TemporaryFile(/tmp/multipartBody7918965928423061732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082948679,"filename":"image_30102025_11_49_16_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/2/8fc65e2578bc403be3d865772758ac9f.jpg","text":"TemporaryFile(/tmp/multipartBody2791658795162231897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082948679,"filename":"image_30102025_11_49_11_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/2/be7fc9143e60f6a309c010e02d61ab44.jpg","text":"TemporaryFile(/tmp/multipartBody4361592408165157998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762082948679,"filename":"image_30102025_11_49_07_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391834130","file1":"1391834127","file0":"1391834125","file4":"1391834139","file5":"1391834145","file3":"1391834132"},"map_files_photo_id_array":[{"photo_id":"1391834145","filename":"file5"},{"photo_id":"1391834130","filename":"file2"},{"photo_id":"1391834139","filename":"file4"},{"photo_id":"1391834127","filename":"file1"},{"photo_id":"1391834125","filename":"file0"},{"photo_id":"1391834132","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391834132":["hashtag1","hashtag2"]},{"1391834125":["hashtag1","hashtag2"]},{"1391834145":["hashtag1","hashtag2"]},{"1391834139":["hashtag1","hashtag2"]},{"1391834130":["hashtag1","hashtag2"]},{"1391834127":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391834132, 1391834125, 1391834145, 1391834139, 1391834130, 1391834127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.36700105667114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 12:29:03.349201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_23_2581.jpg', '/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_26_3590.jpg', '/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_29_2734.jpg', '/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_38_3695.jpg', '/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_41_2719.jpg', '/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_43_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/11/49/image_30102025_11_49_23_2581.jpg
/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_26_3590.jpg
/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_29_2734.jpg
/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_38_3695.jpg
/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_41_2719.jpg
/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_43_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391834165","1391834159","1391834168","1391834176","1391834161","1391834172"],"photo_ids_order":["1391834159","1391834161","1391834165","1391834168","1391834172","1391834176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/614d7a1a3312c941c123cfcd1c248650.jpg","text":"TemporaryFile(/tmp/multipartBody1394323541493185432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083005507,"filename":"image_30102025_11_49_29_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/2/81303ec774ab0f3e93e7a92fcbb007ec.jpg","text":"TemporaryFile(/tmp/multipartBody3241370575962429048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083005507,"filename":"image_30102025_11_49_23_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/2/6f570a4cdbab3a49db4625d05d4f4b31.jpg","text":"TemporaryFile(/tmp/multipartBody2498030454411686150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083005507,"filename":"image_30102025_11_49_38_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/2/1d5190e405175475ac04d8120bfdfea5.jpg","text":"TemporaryFile(/tmp/multipartBody7714547793757953088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083005507,"filename":"image_30102025_11_49_43_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/2/083930402cffac18b973c479feae846f.jpg","text":"TemporaryFile(/tmp/multipartBody277816334971922382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083005507,"filename":"image_30102025_11_49_26_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/2/e1850d2d0c5690528e9d5b5f26bf71a5.jpg","text":"TemporaryFile(/tmp/multipartBody6799971108149035138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083005507,"filename":"image_30102025_11_49_41_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391834165","file1":"1391834161","file0":"1391834159","file4":"1391834172","file5":"1391834176","file3":"1391834168"},"map_files_photo_id_array":[{"photo_id":"1391834176","filename":"file5"},{"photo_id":"1391834165","filename":"file2"},{"photo_id":"1391834172","filename":"file4"},{"photo_id":"1391834161","filename":"file1"},{"photo_id":"1391834159","filename":"file0"},{"photo_id":"1391834168","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391834165":["hashtag1","hashtag2"]},{"1391834159":["hashtag1","hashtag2"]},{"1391834168":["hashtag1","hashtag2"]},{"1391834176":["hashtag1","hashtag2"]},{"1391834161":["hashtag1","hashtag2"]},{"1391834172":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391834165, 1391834159, 1391834168, 1391834176, 1391834161, 1391834172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55492353439331 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 12:29:42.493651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_47_3772.jpg', '/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_50_2648.jpg', '/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_52_2589.jpg', '/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_55_2925.jpg', '/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_59_3623.jpg', '/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_08_3012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_47_3772.jpg
/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_50_2648.jpg
/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_52_2589.jpg
/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_55_2925.jpg
/home/pi/Desktop/images/30102025/11/49/image_30102025_11_49_59_3623.jpg
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_08_3012.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391834218","1391834209","1391834184","1391834187","1391834214","1391834198"],"photo_ids_order":["1391834184","1391834187","1391834198","1391834209","1391834214","1391834218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b73fce2509216846966d24f2770cac35.jpg","text":"TemporaryFile(/tmp/multipartBody5044349202627263760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083043638,"filename":"image_30102025_11_50_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/2/05ce4e442065034f5a3063debcadeafb.jpg","text":"TemporaryFile(/tmp/multipartBody2538008071831422772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083043638,"filename":"image_30102025_11_49_55_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/2/a53173adacfd8a8bcb7204cd1bd18a1b.jpg","text":"TemporaryFile(/tmp/multipartBody8785668633994558618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083043638,"filename":"image_30102025_11_49_47_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/2/b4a94245eee1f131fd8ef10f0be87a21.jpg","text":"TemporaryFile(/tmp/multipartBody8086981058875987920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083043638,"filename":"image_30102025_11_49_50_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/2/4af680903acea0e2ab1f1b10e7703b2d.jpg","text":"TemporaryFile(/tmp/multipartBody803115624447818265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083043638,"filename":"image_30102025_11_49_59_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/2/91eb5b3604db958e9108571baf64e51c.jpg","text":"TemporaryFile(/tmp/multipartBody1390314603140832678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083043638,"filename":"image_30102025_11_49_52_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391834198","file1":"1391834187","file0":"1391834184","file4":"1391834214","file5":"1391834218","file3":"1391834209"},"map_files_photo_id_array":[{"photo_id":"1391834218","filename":"file5"},{"photo_id":"1391834198","filename":"file2"},{"photo_id":"1391834214","filename":"file4"},{"photo_id":"1391834187","filename":"file1"},{"photo_id":"1391834184","filename":"file0"},{"photo_id":"1391834209","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391834218":["hashtag1","hashtag2"]},{"1391834209":["hashtag1","hashtag2"]},{"1391834184":["hashtag1","hashtag2"]},{"1391834187":["hashtag1","hashtag2"]},{"1391834214":["hashtag1","hashtag2"]},{"1391834198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391834218, 1391834209, 1391834184, 1391834187, 1391834214, 1391834198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.25155448913574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 12:30:22.604572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_12_3784.jpg', '/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_14_2677.jpg', '/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_17_2589.jpg', '/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_21_3772.jpg', '/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_23_2690.jpg', '/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_26_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/11/50/image_30102025_11_50_12_3784.jpg
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_14_2677.jpg
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_17_2589.jpg
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_21_3772.jpg
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_23_2690.jpg
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_26_2523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391834290","1391834293","1391834296","1391834305","1391834301","1391834304"],"photo_ids_order":["1391834290","1391834293","1391834296","1391834301","1391834304","1391834305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/36d517b2b589409d51114810d815e20f.jpg","text":"TemporaryFile(/tmp/multipartBody4763054366665938680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083094852,"filename":"image_30102025_11_50_12_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/2/78755795e01dc16ff592d114a5e1ef4f.jpg","text":"TemporaryFile(/tmp/multipartBody5487657179883910705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083094852,"filename":"image_30102025_11_50_14_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/2/f85477e2013a63dc693f3a79be0fd943.jpg","text":"TemporaryFile(/tmp/multipartBody676837710476103675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083094852,"filename":"image_30102025_11_50_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/2/69ccce2659ddfd955a1f981c4fa8882f.jpg","text":"TemporaryFile(/tmp/multipartBody2330647606834783615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083094852,"filename":"image_30102025_11_50_26_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/2/f98c65d862aea930de47566b8fad1837.jpg","text":"TemporaryFile(/tmp/multipartBody3826833489669055638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083094852,"filename":"image_30102025_11_50_21_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/2/8ecf2d7b606f236ce51687b8e4afb6d0.jpg","text":"TemporaryFile(/tmp/multipartBody701075485193716075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083094852,"filename":"image_30102025_11_50_23_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391834296","file1":"1391834293","file0":"1391834290","file4":"1391834304","file5":"1391834305","file3":"1391834301"},"map_files_photo_id_array":[{"photo_id":"1391834305","filename":"file5"},{"photo_id":"1391834296","filename":"file2"},{"photo_id":"1391834304","filename":"file4"},{"photo_id":"1391834293","filename":"file1"},{"photo_id":"1391834290","filename":"file0"},{"photo_id":"1391834301","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391834290":["hashtag1","hashtag2"]},{"1391834293":["hashtag1","hashtag2"]},{"1391834296":["hashtag1","hashtag2"]},{"1391834305":["hashtag1","hashtag2"]},{"1391834301":["hashtag1","hashtag2"]},{"1391834304":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391834290, 1391834293, 1391834296, 1391834305, 1391834301, 1391834304)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 60.797823905944824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 12:31:44.372788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_32_2742.jpg', '/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_35_2572.jpg', '/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_39_3659.jpg', '/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_41_2612.jpg', '/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_45_3573.jpg', '/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_47_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_32_2742.jpg
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_35_2572.jpg
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_39_3659.jpg
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_41_2612.jpg
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_45_3573.jpg
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_47_2760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391834378","1391834386","1391834374","1391834383","1391834385","1391834381"],"photo_ids_order":["1391834374","1391834378","1391834381","1391834383","1391834385","1391834386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/267f26f20692180fc9cb83da4aec45b1.jpg","text":"TemporaryFile(/tmp/multipartBody5106047929186022070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083165429,"filename":"image_30102025_11_50_35_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/2/733593f58dcb89096163b7658d407b0a.jpg","text":"TemporaryFile(/tmp/multipartBody8125894186542314258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083165429,"filename":"image_30102025_11_50_47_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/2/dbe4810849f03e1acb69ca644013ff04.jpg","text":"TemporaryFile(/tmp/multipartBody8050801092301366013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083165429,"filename":"image_30102025_11_50_32_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/2/79e132b2015f9d08d96add151d1b9721.jpg","text":"TemporaryFile(/tmp/multipartBody1310399170056002856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083165429,"filename":"image_30102025_11_50_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/2/58cbcd01e50f53430201fa0bb347336c.jpg","text":"TemporaryFile(/tmp/multipartBody5262228329070734725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083165429,"filename":"image_30102025_11_50_45_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/2/dd2020153dc72ad408c2cd7324b0cdd1.jpg","text":"TemporaryFile(/tmp/multipartBody5679834181915994984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083165429,"filename":"image_30102025_11_50_39_3659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391834381","file1":"1391834378","file0":"1391834374","file4":"1391834385","file5":"1391834386","file3":"1391834383"},"map_files_photo_id_array":[{"photo_id":"1391834386","filename":"file5"},{"photo_id":"1391834381","filename":"file2"},{"photo_id":"1391834385","filename":"file4"},{"photo_id":"1391834378","filename":"file1"},{"photo_id":"1391834374","filename":"file0"},{"photo_id":"1391834383","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391834378":["hashtag1","hashtag2"]},{"1391834386":["hashtag1","hashtag2"]},{"1391834374":["hashtag1","hashtag2"]},{"1391834383":["hashtag1","hashtag2"]},{"1391834385":["hashtag1","hashtag2"]},{"1391834381":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391834378, 1391834386, 1391834374, 1391834383, 1391834385, 1391834381)","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 = 1391834381 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_39_3659.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391834381 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_39_3659.jpg";
uploaded 6 photos
time to upload: 61.31016826629639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 12:33:08.678582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT 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=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 12:33:24.010865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_32_2742.jpg', '/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_35_2572.jpg', '/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_39_3659.jpg', '/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_41_2612.jpg', '/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_45_3573.jpg', '/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_47_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_32_2742.jpg
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_35_2572.jpg
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_39_3659.jpg
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_41_2612.jpg
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_45_3573.jpg
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_47_2760.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.3734731674194336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 12:33:44.089641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_32_2742.jpg', '/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_35_2572.jpg', '/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_39_3659.jpg', '/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_41_2612.jpg', '/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_45_3573.jpg', '/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_47_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_32_2742.jpg
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_35_2572.jpg
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_39_3659.jpg
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_41_2612.jpg
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_45_3573.jpg
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_47_2760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391834432","1391834446","1391834445","1391834439","1391834442","1391834436"],"photo_ids_order":["1391834432","1391834436","1391834439","1391834442","1391834445","1391834446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0a0739d60bc684a7441547718bf7da09.jpg","text":"TemporaryFile(/tmp/multipartBody814494609595095707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083285064,"filename":"image_30102025_11_50_32_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/2/8e936d3e069f486d2af74c46a6c328e1.jpg","text":"TemporaryFile(/tmp/multipartBody5434728182423393045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083285064,"filename":"image_30102025_11_50_47_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/2/fc5d086f63e9b8c07d4f41f6607e9832.jpg","text":"TemporaryFile(/tmp/multipartBody7603890655482051954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083285064,"filename":"image_30102025_11_50_45_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/2/7361cbff3031e7d7f215413fa0b0b3fc.jpg","text":"TemporaryFile(/tmp/multipartBody5719160660837524203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083285064,"filename":"image_30102025_11_50_39_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/2/18193b0571a3f7f237d9993ebd1f57b1.jpg","text":"TemporaryFile(/tmp/multipartBody7441933234963857544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083285064,"filename":"image_30102025_11_50_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/2/37c7c8cf849966d9b4be8d22423c061a.jpg","text":"TemporaryFile(/tmp/multipartBody2585802764158393406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083285064,"filename":"image_30102025_11_50_35_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391834439","file1":"1391834436","file0":"1391834432","file4":"1391834445","file5":"1391834446","file3":"1391834442"},"map_files_photo_id_array":[{"photo_id":"1391834446","filename":"file5"},{"photo_id":"1391834439","filename":"file2"},{"photo_id":"1391834445","filename":"file4"},{"photo_id":"1391834436","filename":"file1"},{"photo_id":"1391834432","filename":"file0"},{"photo_id":"1391834442","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391834432":["hashtag1","hashtag2"]},{"1391834446":["hashtag1","hashtag2"]},{"1391834445":["hashtag1","hashtag2"]},{"1391834439":["hashtag1","hashtag2"]},{"1391834442":["hashtag1","hashtag2"]},{"1391834436":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391834432, 1391834446, 1391834445, 1391834439, 1391834442, 1391834436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21103286743164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 12:34:22.180499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_50_2585.jpg', '/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_53_2879.jpg', '/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_57_3665.jpg', '/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_59_2653.jpg', '/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_02_2591.jpg', '/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_06_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/11/50/image_30102025_11_50_50_2585.jpg
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_53_2879.jpg
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_57_3665.jpg
/home/pi/Desktop/images/30102025/11/50/image_30102025_11_50_59_2653.jpg
/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_02_2591.jpg
/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_06_3722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391834522","1391834452","1391834533","1391834481","1391834454","1391834529"],"photo_ids_order":["1391834452","1391834454","1391834481","1391834522","1391834529","1391834533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/863441a3dd79631149685b1e1575c5ac.jpg","text":"TemporaryFile(/tmp/multipartBody7593895438739206728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083324937,"filename":"image_30102025_11_50_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/2/e43bb2ca167fbe7ead935bda8d6953be.jpg","text":"TemporaryFile(/tmp/multipartBody1756830809236257319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083324937,"filename":"image_30102025_11_50_50_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/2/329729aeff5bea1a214a687eb8462a59.jpg","text":"TemporaryFile(/tmp/multipartBody1619380048498923466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083324937,"filename":"image_30102025_11_51_06_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/2/dd19042769474d0297477f6de9b747f5.jpg","text":"TemporaryFile(/tmp/multipartBody5331871535239377086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083324937,"filename":"image_30102025_11_50_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/2/dc182ed1ac63762b3676a3fbdeb40fc2.jpg","text":"TemporaryFile(/tmp/multipartBody1397732237209618006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083324937,"filename":"image_30102025_11_50_53_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/2/7df09713d808becbef115da5f6f82278.jpg","text":"TemporaryFile(/tmp/multipartBody2025622451905271835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083324937,"filename":"image_30102025_11_51_02_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391834481","file1":"1391834454","file0":"1391834452","file4":"1391834529","file5":"1391834533","file3":"1391834522"},"map_files_photo_id_array":[{"photo_id":"1391834533","filename":"file5"},{"photo_id":"1391834481","filename":"file2"},{"photo_id":"1391834529","filename":"file4"},{"photo_id":"1391834454","filename":"file1"},{"photo_id":"1391834452","filename":"file0"},{"photo_id":"1391834522","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391834522":["hashtag1","hashtag2"]},{"1391834452":["hashtag1","hashtag2"]},{"1391834533":["hashtag1","hashtag2"]},{"1391834481":["hashtag1","hashtag2"]},{"1391834454":["hashtag1","hashtag2"]},{"1391834529":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391834522, 1391834452, 1391834533, 1391834481, 1391834454, 1391834529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32369780540466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 12:35:02.817178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_08_2667.jpg', '/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_11_2692.jpg', '/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_15_3601.jpg', '/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_17_2616.jpg', '/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_20_2673.jpg', '/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_24_3708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_08_2667.jpg
/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_11_2692.jpg
/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_15_3601.jpg
/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_17_2616.jpg
/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_20_2673.jpg
/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_24_3708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391834630","1391834599","1391834590","1391834632","1391834598","1391834625"],"photo_ids_order":["1391834590","1391834598","1391834599","1391834625","1391834630","1391834632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/565ca953ed9f022c8852ef0e09e2a0a9.jpg","text":"TemporaryFile(/tmp/multipartBody6896112445677553395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083367755,"filename":"image_30102025_11_51_20_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/2/24518a49bc399f620beb1baba1b798ef.jpg","text":"TemporaryFile(/tmp/multipartBody7524334569647506815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083367755,"filename":"image_30102025_11_51_15_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/2/161ed4efb95b400fa2d7dd45ba5239ae.jpg","text":"TemporaryFile(/tmp/multipartBody8505353665259857175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083367755,"filename":"image_30102025_11_51_08_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/2/de78946b96b90ddd724467c444d91d72.jpg","text":"TemporaryFile(/tmp/multipartBody7427623365353965233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083367755,"filename":"image_30102025_11_51_24_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/2/ab6aeee1a07a1da854127ce8e083fff0.jpg","text":"TemporaryFile(/tmp/multipartBody9223072511831954732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083367755,"filename":"image_30102025_11_51_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/2/5f4cd7b3c9e93554b0ccf77641a62799.jpg","text":"TemporaryFile(/tmp/multipartBody109648172582508794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083367755,"filename":"image_30102025_11_51_17_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391834599","file1":"1391834598","file0":"1391834590","file4":"1391834630","file5":"1391834632","file3":"1391834625"},"map_files_photo_id_array":[{"photo_id":"1391834632","filename":"file5"},{"photo_id":"1391834599","filename":"file2"},{"photo_id":"1391834630","filename":"file4"},{"photo_id":"1391834598","filename":"file1"},{"photo_id":"1391834590","filename":"file0"},{"photo_id":"1391834625","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391834630":["hashtag1","hashtag2"]},{"1391834599":["hashtag1","hashtag2"]},{"1391834590":["hashtag1","hashtag2"]},{"1391834632":["hashtag1","hashtag2"]},{"1391834598":["hashtag1","hashtag2"]},{"1391834625":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391834630, 1391834599, 1391834590, 1391834632, 1391834598, 1391834625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.463109254837036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 12:36:02.708092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_26_2694.jpg', '/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_29_2683.jpg', '/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_32_3009.jpg', '/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_36_3684.jpg', '/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_38_2688.jpg', '/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_41_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/11/51/image_30102025_11_51_26_2694.jpg
/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_29_2683.jpg
/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_32_3009.jpg
/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_36_3684.jpg
/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_38_2688.jpg
/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_41_2723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391834660","1391834662","1391834665","1391834655","1391834670","1391834658"],"photo_ids_order":["1391834655","1391834658","1391834660","1391834662","1391834665","1391834670"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8a5685d9554d395a045c484635af42a2.jpg","text":"TemporaryFile(/tmp/multipartBody526738556196518297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083424793,"filename":"image_30102025_11_51_32_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/2/fafb076ce8401ad4db12f18d025a9e73.jpg","text":"TemporaryFile(/tmp/multipartBody7798462204927257372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083424793,"filename":"image_30102025_11_51_36_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/2/252882fd194d0968f8720cd7650e9e03.jpg","text":"TemporaryFile(/tmp/multipartBody1577008867958235622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083424793,"filename":"image_30102025_11_51_38_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/2/d2515f9698b4b1cf21019148b096f71a.jpg","text":"TemporaryFile(/tmp/multipartBody3469487309986955597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083424793,"filename":"image_30102025_11_51_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/2/e8adf9e3d31d8781cf992c32bf4d83a1.jpg","text":"TemporaryFile(/tmp/multipartBody4461930390546338925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083424793,"filename":"image_30102025_11_51_41_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/2/8552b20ca057ba16e964034d32d0eccc.jpg","text":"TemporaryFile(/tmp/multipartBody3502301697796946829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083424793,"filename":"image_30102025_11_51_29_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391834660","file1":"1391834658","file0":"1391834655","file4":"1391834665","file5":"1391834670","file3":"1391834662"},"map_files_photo_id_array":[{"photo_id":"1391834670","filename":"file5"},{"photo_id":"1391834660","filename":"file2"},{"photo_id":"1391834665","filename":"file4"},{"photo_id":"1391834658","filename":"file1"},{"photo_id":"1391834655","filename":"file0"},{"photo_id":"1391834662","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391834660":["hashtag1","hashtag2"]},{"1391834662":["hashtag1","hashtag2"]},{"1391834665":["hashtag1","hashtag2"]},{"1391834655":["hashtag1","hashtag2"]},{"1391834670":["hashtag1","hashtag2"]},{"1391834658":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391834660, 1391834662, 1391834665, 1391834655, 1391834670, 1391834658)","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 = 1391834660 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_32_3009.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 75.1674575805664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 12:37:24.257448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_45_3661.jpg', '/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_47_2624.jpg', '/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_50_2736.jpg', '/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_54_3563.jpg', '/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_56_2747.jpg', '/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_59_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/11/51/image_30102025_11_51_45_3661.jpg
/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_47_2624.jpg
/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_50_2736.jpg
/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_54_3563.jpg
/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_56_2747.jpg
/home/pi/Desktop/images/30102025/11/51/image_30102025_11_51_59_2562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391834692","1391834701","1391834694","1391834706","1391834696","1391834693"],"photo_ids_order":["1391834692","1391834693","1391834694","1391834696","1391834701","1391834706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/79498e0aff103a95cb3d5c6b5f70ff0c.jpg","text":"TemporaryFile(/tmp/multipartBody2944795660471242456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083507948,"filename":"image_30102025_11_51_45_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/2/92a725a86a8c7aa819d62e644953e3ac.jpg","text":"TemporaryFile(/tmp/multipartBody4485896673422052889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083507948,"filename":"image_30102025_11_51_56_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/2/4c882b68f888478f9d12240671b05d83.jpg","text":"TemporaryFile(/tmp/multipartBody2151840665224592919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083507948,"filename":"image_30102025_11_51_50_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/2/8d2001c2d952cc250f9875710b6f6b6b.jpg","text":"TemporaryFile(/tmp/multipartBody5855455199055313077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083507948,"filename":"image_30102025_11_51_59_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/2/d57ee4f5447b7b722f06d40d2e83c145.jpg","text":"TemporaryFile(/tmp/multipartBody6974427764775080181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083507948,"filename":"image_30102025_11_51_54_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/2/64df9529b1bdd7e4a82c9bcc90e81a4a.jpg","text":"TemporaryFile(/tmp/multipartBody9026231041602642131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083507948,"filename":"image_30102025_11_51_47_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391834694","file1":"1391834693","file0":"1391834692","file4":"1391834701","file5":"1391834706","file3":"1391834696"},"map_files_photo_id_array":[{"photo_id":"1391834706","filename":"file5"},{"photo_id":"1391834694","filename":"file2"},{"photo_id":"1391834701","filename":"file4"},{"photo_id":"1391834693","filename":"file1"},{"photo_id":"1391834692","filename":"file0"},{"photo_id":"1391834696","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391834692":["hashtag1","hashtag2"]},{"1391834701":["hashtag1","hashtag2"]},{"1391834694":["hashtag1","hashtag2"]},{"1391834706":["hashtag1","hashtag2"]},{"1391834696":["hashtag1","hashtag2"]},{"1391834693":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391834692, 1391834701, 1391834694, 1391834706, 1391834696, 1391834693)","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: 84.72628927230835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 12:39:03.654607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 12:39:22.698520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_03_3706.jpg', '/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_12_9487.jpg', '/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_15_2984.jpg', '/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_18_1521.jpg', '/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_20_1670.jpg', '/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_22_1763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_03_3706.jpg
/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_12_9487.jpg
/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_15_2984.jpg
/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_18_1521.jpg
/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_20_1670.jpg
/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_22_1763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391835226","1391835222","1391835303","1391835204","1391835281","1391835236"],"photo_ids_order":["1391835204","1391835222","1391835226","1391835236","1391835281","1391835303"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fb00b680208e199f1a50526b92949919.jpg","text":"TemporaryFile(/tmp/multipartBody7463254254021543484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083641622,"filename":"image_30102025_11_52_15_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/2/f87e88ac9df4846ed12a2631b95d578b.jpg","text":"TemporaryFile(/tmp/multipartBody6262676967964839205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083641622,"filename":"image_30102025_11_52_12_9487.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/693a59be7449b8461030d4d3e60a127e.jpg","text":"TemporaryFile(/tmp/multipartBody3394865852487840153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083641622,"filename":"image_30102025_11_52_22_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/2/deec3ec9d016d8305f1228b6e7e88cf7.jpg","text":"TemporaryFile(/tmp/multipartBody3805743811453943611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083641622,"filename":"image_30102025_11_52_03_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/2/7a6906aba3084d5f8a3f81a653ad1543.jpg","text":"TemporaryFile(/tmp/multipartBody8505351857754524091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083641622,"filename":"image_30102025_11_52_20_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/2/0c53a895cbc10c40d8b09adfc7672eed.jpg","text":"TemporaryFile(/tmp/multipartBody3972828388208175947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083641622,"filename":"image_30102025_11_52_18_1521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391835226","file1":"1391835222","file0":"1391835204","file4":"1391835281","file5":"1391835303","file3":"1391835236"},"map_files_photo_id_array":[{"photo_id":"1391835303","filename":"file5"},{"photo_id":"1391835226","filename":"file2"},{"photo_id":"1391835281","filename":"file4"},{"photo_id":"1391835222","filename":"file1"},{"photo_id":"1391835204","filename":"file0"},{"photo_id":"1391835236","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391835226":["hashtag1","hashtag2"]},{"1391835222":["hashtag1","hashtag2"]},{"1391835303":["hashtag1","hashtag2"]},{"1391835204":["hashtag1","hashtag2"]},{"1391835281":["hashtag1","hashtag2"]},{"1391835236":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391835226, 1391835222, 1391835303, 1391835204, 1391835281, 1391835236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.70791006088257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 12:40:21.846081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_23_1611.jpg', '/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_26_2873.jpg', '/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_29_2696.jpg', '/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_32_2793.jpg', '/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_36_3697.jpg', '/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_38_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/11/52/image_30102025_11_52_23_1611.jpg
/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_26_2873.jpg
/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_29_2696.jpg
/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_32_2793.jpg
/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_36_3697.jpg
/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_38_2662.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.3023765087127686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 12:40:41.853650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_23_1611.jpg', '/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_26_2873.jpg', '/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_29_2696.jpg', '/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_32_2793.jpg', '/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_36_3697.jpg', '/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_38_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/11/52/image_30102025_11_52_23_1611.jpg
/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_26_2873.jpg
/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_29_2696.jpg
/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_32_2793.jpg
/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_36_3697.jpg
/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_38_2662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391835410","1391835404","1391835406","1391835405","1391835398","1391835402"],"photo_ids_order":["1391835398","1391835402","1391835404","1391835405","1391835406","1391835410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/27b7d18b3f2640002e45c22d1389b7bc.jpg","text":"TemporaryFile(/tmp/multipartBody8561118892430668238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083702895,"filename":"image_30102025_11_52_38_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/2/f3c60c7dcf7f69e73107244e30db8588.jpg","text":"TemporaryFile(/tmp/multipartBody950347629707296137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083702895,"filename":"image_30102025_11_52_29_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/2/da4d784d522bb8a707ed7c095814545f.jpg","text":"TemporaryFile(/tmp/multipartBody6570555651606743566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083702895,"filename":"image_30102025_11_52_36_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/2/eed7d79eff167ee742e966511b83942a.jpg","text":"TemporaryFile(/tmp/multipartBody6649585521449679431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083702895,"filename":"image_30102025_11_52_32_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/2/160ade27023a26ca63dabe969c267fde.jpg","text":"TemporaryFile(/tmp/multipartBody2698545309897279899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083702895,"filename":"image_30102025_11_52_23_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/2/beaab00c8cb39d004adddbda847b39e8.jpg","text":"TemporaryFile(/tmp/multipartBody513562675756524402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083702895,"filename":"image_30102025_11_52_26_2873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391835404","file1":"1391835402","file0":"1391835398","file4":"1391835406","file5":"1391835410","file3":"1391835405"},"map_files_photo_id_array":[{"photo_id":"1391835410","filename":"file5"},{"photo_id":"1391835404","filename":"file2"},{"photo_id":"1391835406","filename":"file4"},{"photo_id":"1391835402","filename":"file1"},{"photo_id":"1391835398","filename":"file0"},{"photo_id":"1391835405","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391835410":["hashtag1","hashtag2"]},{"1391835404":["hashtag1","hashtag2"]},{"1391835406":["hashtag1","hashtag2"]},{"1391835405":["hashtag1","hashtag2"]},{"1391835398":["hashtag1","hashtag2"]},{"1391835402":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391835410, 1391835404, 1391835406, 1391835405, 1391835398, 1391835402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.385658264160156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 12:41:22.171537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_41_2546.jpg', '/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_44_3709.jpg', '/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_47_2661.jpg', '/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_50_2793.jpg', '/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_53_2704.jpg', '/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_56_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/11/52/image_30102025_11_52_41_2546.jpg
/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_44_3709.jpg
/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_47_2661.jpg
/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_50_2793.jpg
/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_53_2704.jpg
/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_56_3528.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391835425","1391835430","1391835433","1391835427","1391835436","1391835428"],"photo_ids_order":["1391835425","1391835427","1391835428","1391835430","1391835433","1391835436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/eb882f7be6e8f444387e5307ec83c58f.jpg","text":"TemporaryFile(/tmp/multipartBody3437103599821272012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083744968,"filename":"image_30102025_11_52_41_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/2/61c3d2c9be51334e1be893fea49e6562.jpg","text":"TemporaryFile(/tmp/multipartBody1700480272855220448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083744968,"filename":"image_30102025_11_52_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/2/a1a1fafb68e0215744ebbe12f435e04e.jpg","text":"TemporaryFile(/tmp/multipartBody4182068024171536717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083744968,"filename":"image_30102025_11_52_53_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/2/b800c37a7894d84bc038d618795b85e6.jpg","text":"TemporaryFile(/tmp/multipartBody677394981726642322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083744968,"filename":"image_30102025_11_52_44_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/2/bbff0b8b03f3241a03581f11138d72e7.jpg","text":"TemporaryFile(/tmp/multipartBody9107678968723707903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083744968,"filename":"image_30102025_11_52_56_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/2/c8ea3e86d643531aca7ca1eb9b4bf049.jpg","text":"TemporaryFile(/tmp/multipartBody1027981857354276610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083744968,"filename":"image_30102025_11_52_47_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391835428","file1":"1391835427","file0":"1391835425","file4":"1391835433","file5":"1391835436","file3":"1391835430"},"map_files_photo_id_array":[{"photo_id":"1391835436","filename":"file5"},{"photo_id":"1391835428","filename":"file2"},{"photo_id":"1391835433","filename":"file4"},{"photo_id":"1391835427","filename":"file1"},{"photo_id":"1391835425","filename":"file0"},{"photo_id":"1391835430","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391835425":["hashtag1","hashtag2"]},{"1391835430":["hashtag1","hashtag2"]},{"1391835433":["hashtag1","hashtag2"]},{"1391835427":["hashtag1","hashtag2"]},{"1391835436":["hashtag1","hashtag2"]},{"1391835428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391835425, 1391835430, 1391835433, 1391835427, 1391835436, 1391835428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.35092878341675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 12:42:03.140447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_59_2629.jpg', '/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_03_3756.jpg', '/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_05_2721.jpg', '/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_14_9114.jpg', '/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_18_1610.jpg', '/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_19_1565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/52/image_30102025_11_52_59_2629.jpg
/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_03_3756.jpg
/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_05_2721.jpg
/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_14_9114.jpg
/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_18_1610.jpg
/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_19_1565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391835456","1391835450","1391835453","1391835452","1391835446","1391835461"],"photo_ids_order":["1391835446","1391835450","1391835452","1391835453","1391835456","1391835461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/565e2c80ca911c6f777b3122bffba3aa.jpg","text":"TemporaryFile(/tmp/multipartBody8853036857943767968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083785281,"filename":"image_30102025_11_53_18_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/2/aca333be1a0aa65c495f182994af3006.jpg","text":"TemporaryFile(/tmp/multipartBody2478778756189757406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083785281,"filename":"image_30102025_11_53_03_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/2/6fd1536a61a3b61e87615ded37d8d20d.jpg","text":"TemporaryFile(/tmp/multipartBody2876403838949353053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083785281,"filename":"image_30102025_11_53_14_9114.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1502be46dd4a6c803a057c328bc5f512.jpg","text":"TemporaryFile(/tmp/multipartBody7248981687466246458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083785281,"filename":"image_30102025_11_53_05_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/2/aaff67e7470b0d4673fa9a0b5e79e6d2.jpg","text":"TemporaryFile(/tmp/multipartBody7264899565071629235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083785281,"filename":"image_30102025_11_52_59_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/2/f94c68a851793ac2d2b9545fbb4e6585.jpg","text":"TemporaryFile(/tmp/multipartBody2408707804886086210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083785281,"filename":"image_30102025_11_53_19_1565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391835452","file1":"1391835450","file0":"1391835446","file4":"1391835456","file5":"1391835461","file3":"1391835453"},"map_files_photo_id_array":[{"photo_id":"1391835461","filename":"file5"},{"photo_id":"1391835452","filename":"file2"},{"photo_id":"1391835456","filename":"file4"},{"photo_id":"1391835450","filename":"file1"},{"photo_id":"1391835446","filename":"file0"},{"photo_id":"1391835453","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391835456":["hashtag1","hashtag2"]},{"1391835450":["hashtag1","hashtag2"]},{"1391835453":["hashtag1","hashtag2"]},{"1391835452":["hashtag1","hashtag2"]},{"1391835446":["hashtag1","hashtag2"]},{"1391835461":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391835456, 1391835450, 1391835453, 1391835452, 1391835446, 1391835461)","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.2173273563385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 12:43:26.131069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_21_1724.jpg', '/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_23_1667.jpg', '/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_26_3634.jpg', '/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_29_2739.jpg', '/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_32_2668.jpg', '/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_35_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/11/53/image_30102025_11_53_21_1724.jpg
/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_23_1667.jpg
/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_26_3634.jpg
/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_29_2739.jpg
/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_32_2668.jpg
/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_35_3542.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391835556","1391835499","1391835498","1391835502","1391835537","1391835554"],"photo_ids_order":["1391835498","1391835499","1391835502","1391835537","1391835554","1391835556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f8f9c0447295e63129e4a768ac4572be.jpg","text":"TemporaryFile(/tmp/multipartBody249272028495675910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083874525,"filename":"image_30102025_11_53_35_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/2/9242125f84cd9b292c4581db5a58ad72.jpg","text":"TemporaryFile(/tmp/multipartBody821452973278956248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083874525,"filename":"image_30102025_11_53_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/2/86ad382459346428a25ea92c96049d67.jpg","text":"TemporaryFile(/tmp/multipartBody2453474629108753551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083874525,"filename":"image_30102025_11_53_21_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/2/d86c8c07da6ac9eea33e673d129f0df2.jpg","text":"TemporaryFile(/tmp/multipartBody3529974445220905551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083874525,"filename":"image_30102025_11_53_26_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/2/dfca37df3377de1897cc709cb78abc66.jpg","text":"TemporaryFile(/tmp/multipartBody4965120722063963728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083874525,"filename":"image_30102025_11_53_29_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/2/ca2605d4a92ab84267eb514d17e8e65f.jpg","text":"TemporaryFile(/tmp/multipartBody169180144964003786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083874525,"filename":"image_30102025_11_53_32_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391835502","file1":"1391835499","file0":"1391835498","file4":"1391835554","file5":"1391835556","file3":"1391835537"},"map_files_photo_id_array":[{"photo_id":"1391835556","filename":"file5"},{"photo_id":"1391835502","filename":"file2"},{"photo_id":"1391835554","filename":"file4"},{"photo_id":"1391835499","filename":"file1"},{"photo_id":"1391835498","filename":"file0"},{"photo_id":"1391835537","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391835556":["hashtag1","hashtag2"]},{"1391835499":["hashtag1","hashtag2"]},{"1391835498":["hashtag1","hashtag2"]},{"1391835502":["hashtag1","hashtag2"]},{"1391835537":["hashtag1","hashtag2"]},{"1391835554":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391835556, 1391835499, 1391835498, 1391835502, 1391835537, 1391835554)","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 = 1391835502 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_26_3634.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 79.81326675415039 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 12:45:12.084015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 12:45:31.324066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_38_2656.jpg', '/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_41_2639.jpg', '/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_44_3615.jpg', '/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_47_2531.jpg', '/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_50_3641.jpg', '/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_53_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/11/53/image_30102025_11_53_38_2656.jpg
/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_41_2639.jpg
/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_44_3615.jpg
/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_47_2531.jpg
/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_50_3641.jpg
/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_53_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":["1391835649","1391835643","1391835646","1391835640","1391835653","1391835629"],"photo_ids_order":["1391835629","1391835640","1391835643","1391835646","1391835649","1391835653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ac982588c2606d5ea069a54a858e7848.jpg","text":"TemporaryFile(/tmp/multipartBody2826306936306127707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083994114,"filename":"image_30102025_11_53_50_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/2/36ba75d64c3f71aa9eafd2132fee2056.jpg","text":"TemporaryFile(/tmp/multipartBody7702744296882433476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083994114,"filename":"image_30102025_11_53_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/2/c70d58767931947ef404c8b347a1c5ab.jpg","text":"TemporaryFile(/tmp/multipartBody1960884768277052464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083994114,"filename":"image_30102025_11_53_47_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/2/36e0080e31e7637152baaca286ed1258.jpg","text":"TemporaryFile(/tmp/multipartBody4586184672072460352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083994114,"filename":"image_30102025_11_53_41_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/2/5f16393b1d1a65720d95e67fa26240c2.jpg","text":"TemporaryFile(/tmp/multipartBody6058360195853792551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083994114,"filename":"image_30102025_11_53_53_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/2/31fbc8db48269074d8d8df42f11eb1ed.jpg","text":"TemporaryFile(/tmp/multipartBody6485080090000904290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762083994114,"filename":"image_30102025_11_53_38_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391835643","file1":"1391835640","file0":"1391835629","file4":"1391835649","file5":"1391835653","file3":"1391835646"},"map_files_photo_id_array":[{"photo_id":"1391835653","filename":"file5"},{"photo_id":"1391835643","filename":"file2"},{"photo_id":"1391835649","filename":"file4"},{"photo_id":"1391835640","filename":"file1"},{"photo_id":"1391835629","filename":"file0"},{"photo_id":"1391835646","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391835649":["hashtag1","hashtag2"]},{"1391835643":["hashtag1","hashtag2"]},{"1391835646":["hashtag1","hashtag2"]},{"1391835640":["hashtag1","hashtag2"]},{"1391835653":["hashtag1","hashtag2"]},{"1391835629":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391835649, 1391835643, 1391835646, 1391835640, 1391835653, 1391835629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10203742980957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 12:46:22.826748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_56_2699.jpg', '/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_59_3614.jpg', '/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_02_2761.jpg', '/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_05_2535.jpg', '/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_08_3643.jpg', '/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_11_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/11/53/image_30102025_11_53_56_2699.jpg
/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_59_3614.jpg
/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_02_2761.jpg
/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_05_2535.jpg
/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_08_3643.jpg
/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_11_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: 2.654846668243408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 12:46:42.731608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_56_2699.jpg', '/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_59_3614.jpg', '/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_02_2761.jpg', '/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_05_2535.jpg', '/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_08_3643.jpg', '/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_11_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/11/53/image_30102025_11_53_56_2699.jpg
/home/pi/Desktop/images/30102025/11/53/image_30102025_11_53_59_3614.jpg
/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_02_2761.jpg
/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_05_2535.jpg
/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_08_3643.jpg
/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_11_2685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391835800","1391835799","1391835795","1391835798","1391835801","1391835804"],"photo_ids_order":["1391835795","1391835798","1391835799","1391835800","1391835801","1391835804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/88962f5ed6ccf509bf9e4fa4773fe922.jpg","text":"TemporaryFile(/tmp/multipartBody9169079700426965307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084063662,"filename":"image_30102025_11_54_05_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/2/5e5399198934bfae38e22772996e4a11.jpg","text":"TemporaryFile(/tmp/multipartBody6166738411854975617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084063662,"filename":"image_30102025_11_54_02_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/2/17df4f750052c3d9da8ccda41eabba23.jpg","text":"TemporaryFile(/tmp/multipartBody9170366393072181597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084063662,"filename":"image_30102025_11_53_56_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/2/554653965a4997e7b8377aea1353e5b6.jpg","text":"TemporaryFile(/tmp/multipartBody189573447360837888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084063662,"filename":"image_30102025_11_53_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/2/7a94dade728b9ab78d6771623290f4ca.jpg","text":"TemporaryFile(/tmp/multipartBody3605088171333077985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084063662,"filename":"image_30102025_11_54_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/2/c5323c1fd67540f51411213d5c7b2438.jpg","text":"TemporaryFile(/tmp/multipartBody4875365171778785590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084063662,"filename":"image_30102025_11_54_11_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391835799","file1":"1391835798","file0":"1391835795","file4":"1391835801","file5":"1391835804","file3":"1391835800"},"map_files_photo_id_array":[{"photo_id":"1391835804","filename":"file5"},{"photo_id":"1391835799","filename":"file2"},{"photo_id":"1391835801","filename":"file4"},{"photo_id":"1391835798","filename":"file1"},{"photo_id":"1391835795","filename":"file0"},{"photo_id":"1391835800","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391835800":["hashtag1","hashtag2"]},{"1391835799":["hashtag1","hashtag2"]},{"1391835795":["hashtag1","hashtag2"]},{"1391835798":["hashtag1","hashtag2"]},{"1391835801":["hashtag1","hashtag2"]},{"1391835804":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391835800, 1391835799, 1391835795, 1391835798, 1391835801, 1391835804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99477958679199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 12:47:21.950753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_14_2742.jpg', '/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_16_2650.jpg', '/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_20_3813.jpg', '/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_23_2652.jpg', '/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_26_2844.jpg', '/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_29_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/11/54/image_30102025_11_54_14_2742.jpg
/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_16_2650.jpg
/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_20_3813.jpg
/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_23_2652.jpg
/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_26_2844.jpg
/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_29_3555.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391835898","1391835821","1391835892","1391835901","1391835823","1391835843"],"photo_ids_order":["1391835821","1391835823","1391835843","1391835892","1391835898","1391835901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e7690c1ecc565ec4ceb90ac91213bc54.jpg","text":"TemporaryFile(/tmp/multipartBody2466118985693075218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084104733,"filename":"image_30102025_11_54_26_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/2/75708a886eb6fe53efd5ad3bb0141b73.jpg","text":"TemporaryFile(/tmp/multipartBody6585415860987357959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084104733,"filename":"image_30102025_11_54_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/2/e486fbaf946ddebcc44a89439be6fda5.jpg","text":"TemporaryFile(/tmp/multipartBody4561648206220356671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084104733,"filename":"image_30102025_11_54_23_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/2/8ac5421b7d7dd840c2d551b178c0ed84.jpg","text":"TemporaryFile(/tmp/multipartBody1486745777793753059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084104733,"filename":"image_30102025_11_54_29_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/2/22aec70d596f34f86a84be4e6e04a915.jpg","text":"TemporaryFile(/tmp/multipartBody78808871990813427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084104733,"filename":"image_30102025_11_54_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/2/521d98a7e61ef6bfff1d2a1551426dbb.jpg","text":"TemporaryFile(/tmp/multipartBody3253130203058651321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084104733,"filename":"image_30102025_11_54_20_3813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391835843","file1":"1391835823","file0":"1391835821","file4":"1391835898","file5":"1391835901","file3":"1391835892"},"map_files_photo_id_array":[{"photo_id":"1391835901","filename":"file5"},{"photo_id":"1391835843","filename":"file2"},{"photo_id":"1391835898","filename":"file4"},{"photo_id":"1391835823","filename":"file1"},{"photo_id":"1391835821","filename":"file0"},{"photo_id":"1391835892","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391835898":["hashtag1","hashtag2"]},{"1391835821":["hashtag1","hashtag2"]},{"1391835892":["hashtag1","hashtag2"]},{"1391835901":["hashtag1","hashtag2"]},{"1391835823":["hashtag1","hashtag2"]},{"1391835843":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391835898, 1391835821, 1391835892, 1391835901, 1391835823, 1391835843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.561211824417114 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-02 12:48:22.119299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_32_2693.jpg', '/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_35_2559.jpg', '/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_38_3677.jpg', '/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_41_2690.jpg', '/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_44_2774.jpg', '/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_47_3678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_32_2693.jpg
/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_35_2559.jpg
/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_38_3677.jpg
/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_41_2690.jpg
/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_44_2774.jpg
/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_47_3678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391836030","1391835943","1391835913","1391835921","1391835989","1391835917"],"photo_ids_order":["1391835913","1391835917","1391835921","1391835943","1391835989","1391836030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/720992085a7a4f6cd83e3265889fbe21.jpg","text":"TemporaryFile(/tmp/multipartBody6656928152925753247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084164876,"filename":"image_30102025_11_54_47_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/2/cfec138152f7321682fa896e1799e2d4.jpg","text":"TemporaryFile(/tmp/multipartBody1058248159712103898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084164876,"filename":"image_30102025_11_54_41_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/2/d60db1a3e006e530e2126174d6d508af.jpg","text":"TemporaryFile(/tmp/multipartBody4887669033725724407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084164876,"filename":"image_30102025_11_54_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/2/94b785becab59d220b88099cdfec7a2b.jpg","text":"TemporaryFile(/tmp/multipartBody3041803669046806073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084164876,"filename":"image_30102025_11_54_38_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/2/efa86cb871320e8409c138b40564b3cc.jpg","text":"TemporaryFile(/tmp/multipartBody4559524720482485701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084164876,"filename":"image_30102025_11_54_44_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/2/595c9633cb30545360327ce1ab1d07a8.jpg","text":"TemporaryFile(/tmp/multipartBody7627385656051166281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084164876,"filename":"image_30102025_11_54_35_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391835921","file1":"1391835917","file0":"1391835913","file4":"1391835989","file5":"1391836030","file3":"1391835943"},"map_files_photo_id_array":[{"photo_id":"1391836030","filename":"file5"},{"photo_id":"1391835921","filename":"file2"},{"photo_id":"1391835989","filename":"file4"},{"photo_id":"1391835917","filename":"file1"},{"photo_id":"1391835913","filename":"file0"},{"photo_id":"1391835943","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391836030":["hashtag1","hashtag2"]},{"1391835943":["hashtag1","hashtag2"]},{"1391835913":["hashtag1","hashtag2"]},{"1391835921":["hashtag1","hashtag2"]},{"1391835989":["hashtag1","hashtag2"]},{"1391835917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391836030, 1391835943, 1391835913, 1391835921, 1391835989, 1391835917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7531213760376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 12:49:03.257335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_50_2872.jpg', '/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_53_2648.jpg', '/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_56_2696.jpg', '/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_58_2803.jpg', '/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_08_3012.jpg', '/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_11_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/11/54/image_30102025_11_54_50_2872.jpg
/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_53_2648.jpg
/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_56_2696.jpg
/home/pi/Desktop/images/30102025/11/54/image_30102025_11_54_58_2803.jpg
/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_08_3012.jpg
/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_11_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":["1391836072","1391836066","1391836075","1391836069","1391836062","1391836076"],"photo_ids_order":["1391836062","1391836066","1391836069","1391836072","1391836075","1391836076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d41c4bb67eef8a8cfd7717e00b445f3b.jpg","text":"TemporaryFile(/tmp/multipartBody2832535349411767731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084209640,"filename":"image_30102025_11_54_58_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/2/977b955b694b2c7e842de93ca1c699bc.jpg","text":"TemporaryFile(/tmp/multipartBody256515169220965380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084209640,"filename":"image_30102025_11_54_53_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/2/3f9ab1064e8d4926d5ee495616b5cab1.jpg","text":"TemporaryFile(/tmp/multipartBody1063921761794745603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084209640,"filename":"image_30102025_11_55_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/2/3f8223c8968bc0718e9cd82a3294807a.jpg","text":"TemporaryFile(/tmp/multipartBody265420947028170594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084209640,"filename":"image_30102025_11_54_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/2/18ed05f3888fa0a0a04b0552ef18bb9f.jpg","text":"TemporaryFile(/tmp/multipartBody4997189276502837331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084209640,"filename":"image_30102025_11_54_50_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/2/966ba30696ff06be9b0ea59761baf73a.jpg","text":"TemporaryFile(/tmp/multipartBody1735841961409187911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084209640,"filename":"image_30102025_11_55_11_3657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391836069","file1":"1391836066","file0":"1391836062","file4":"1391836075","file5":"1391836076","file3":"1391836072"},"map_files_photo_id_array":[{"photo_id":"1391836076","filename":"file5"},{"photo_id":"1391836069","filename":"file2"},{"photo_id":"1391836075","filename":"file4"},{"photo_id":"1391836066","filename":"file1"},{"photo_id":"1391836062","filename":"file0"},{"photo_id":"1391836072","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391836072":["hashtag1","hashtag2"]},{"1391836066":["hashtag1","hashtag2"]},{"1391836075":["hashtag1","hashtag2"]},{"1391836069":["hashtag1","hashtag2"]},{"1391836062":["hashtag1","hashtag2"]},{"1391836076":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391836072, 1391836066, 1391836075, 1391836069, 1391836062, 1391836076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.25367879867554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 12:50:02.880957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 12:50:27.001012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_14_2602.jpg', '/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_23_2695.jpg', '/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_29_2597.jpg', '/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_32_2770.jpg', '/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_36_3717.jpg', '/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_38_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/11/55/image_30102025_11_55_14_2602.jpg
/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_23_2695.jpg
/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_29_2597.jpg
/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_32_2770.jpg
/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_36_3717.jpg
/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_38_2755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391836141","1391836143","1391836151","1391836148","1391836145","1391836139"],"photo_ids_order":["1391836139","1391836141","1391836143","1391836145","1391836148","1391836151"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7d18bf25bf50d750eb438d473038d9e6.jpg","text":"TemporaryFile(/tmp/multipartBody2248894137400999552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084302772,"filename":"image_30102025_11_55_23_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/2/4a7d18fa5476daaa2238f5ea9a6c92b6.jpg","text":"TemporaryFile(/tmp/multipartBody4730832886248746933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084302772,"filename":"image_30102025_11_55_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/2/fd87f176730c9bb2db75883a3e6cc19c.jpg","text":"TemporaryFile(/tmp/multipartBody2791236960850455281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084302772,"filename":"image_30102025_11_55_38_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/2/7373979b2e29f05232310f20c79a5e6c.jpg","text":"TemporaryFile(/tmp/multipartBody3208984982731066709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084302772,"filename":"image_30102025_11_55_36_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/2/b7fc157816fe2ae2a27c29af6c9193fd.jpg","text":"TemporaryFile(/tmp/multipartBody4635486926796612516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084302772,"filename":"image_30102025_11_55_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/2/40de9b8ef86d983e230418385fbfce39.jpg","text":"TemporaryFile(/tmp/multipartBody2484504022554821266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084302772,"filename":"image_30102025_11_55_14_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391836143","file1":"1391836141","file0":"1391836139","file4":"1391836148","file5":"1391836151","file3":"1391836145"},"map_files_photo_id_array":[{"photo_id":"1391836151","filename":"file5"},{"photo_id":"1391836143","filename":"file2"},{"photo_id":"1391836148","filename":"file4"},{"photo_id":"1391836141","filename":"file1"},{"photo_id":"1391836139","filename":"file0"},{"photo_id":"1391836145","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391836141":["hashtag1","hashtag2"]},{"1391836143":["hashtag1","hashtag2"]},{"1391836151":["hashtag1","hashtag2"]},{"1391836148":["hashtag1","hashtag2"]},{"1391836145":["hashtag1","hashtag2"]},{"1391836139":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391836141, 1391836143, 1391836151, 1391836148, 1391836145, 1391836139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.896342039108276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 12:51:24.491497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_41_2698.jpg', '/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_45_3546.jpg', '/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_47_2666.jpg', '/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_50_2775.jpg', '/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_53_2695.jpg', '/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_56_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/11/55/image_30102025_11_55_41_2698.jpg
/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_45_3546.jpg
/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_47_2666.jpg
/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_50_2775.jpg
/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_53_2695.jpg
/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_56_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":["1391836246","1391836249","1391836161","1391836251","1391836181","1391836220"],"photo_ids_order":["1391836161","1391836181","1391836220","1391836246","1391836249","1391836251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9a6a4f3398d871ec6b7f8cce7caaefe3.jpg","text":"TemporaryFile(/tmp/multipartBody1345631465314049992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084347202,"filename":"image_30102025_11_55_50_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/2/5e759ece6d38773a8a1c83b98915ed38.jpg","text":"TemporaryFile(/tmp/multipartBody4822094241924609958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084347202,"filename":"image_30102025_11_55_53_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/2/b3c667d88c404473dd1edcdd03b94f0c.jpg","text":"TemporaryFile(/tmp/multipartBody4430784935891284196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084347202,"filename":"image_30102025_11_55_41_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/2/a9ca6d03728d874d0004152d81995116.jpg","text":"TemporaryFile(/tmp/multipartBody2943606102265821216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084347202,"filename":"image_30102025_11_55_56_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/2/2c6113e3458a34c8e1c274423dbc1bed.jpg","text":"TemporaryFile(/tmp/multipartBody7097666474476584902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084347202,"filename":"image_30102025_11_55_45_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/2/1eaf3355a111756b23857a0f1f4cf1ea.jpg","text":"TemporaryFile(/tmp/multipartBody326137941305606334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084347202,"filename":"image_30102025_11_55_47_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391836220","file1":"1391836181","file0":"1391836161","file4":"1391836249","file5":"1391836251","file3":"1391836246"},"map_files_photo_id_array":[{"photo_id":"1391836251","filename":"file5"},{"photo_id":"1391836220","filename":"file2"},{"photo_id":"1391836249","filename":"file4"},{"photo_id":"1391836181","filename":"file1"},{"photo_id":"1391836161","filename":"file0"},{"photo_id":"1391836246","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391836246":["hashtag1","hashtag2"]},{"1391836249":["hashtag1","hashtag2"]},{"1391836161":["hashtag1","hashtag2"]},{"1391836251":["hashtag1","hashtag2"]},{"1391836181":["hashtag1","hashtag2"]},{"1391836220":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391836246, 1391836249, 1391836161, 1391836251, 1391836181, 1391836220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72755575180054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 12:52:21.935017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_59_2781.jpg', '/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_02_2523.jpg', '/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_06_3806.jpg', '/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_10_4295.jpg', '/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_12_1688.jpg', '/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_14_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_59_2781.jpg
/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_02_2523.jpg
/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_06_3806.jpg
/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_10_4295.jpg
/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_12_1688.jpg
/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_14_2588.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.542782783508301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 12:52:41.947010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_59_2781.jpg', '/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_02_2523.jpg', '/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_06_3806.jpg', '/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_10_4295.jpg', '/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_12_1688.jpg', '/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_14_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/55/image_30102025_11_55_59_2781.jpg
/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_02_2523.jpg
/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_06_3806.jpg
/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_10_4295.jpg
/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_12_1688.jpg
/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_14_2588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391836291","1391836306","1391836302","1391836298","1391836328","1391836294"],"photo_ids_order":["1391836291","1391836294","1391836298","1391836302","1391836306","1391836328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/85c6097764d3b9379201e0cddbb5700b.jpg","text":"TemporaryFile(/tmp/multipartBody3398983175016454689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084422967,"filename":"image_30102025_11_55_59_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/2/dd4763a1609b4f3a72bbd9d674b5d911.jpg","text":"TemporaryFile(/tmp/multipartBody4409665860819307083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084422967,"filename":"image_30102025_11_56_12_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/2/a32892d4e01422d7ae1a136e89fd0d3c.jpg","text":"TemporaryFile(/tmp/multipartBody6084369807059326854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084422967,"filename":"image_30102025_11_56_10_4295.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d888188d28bec647551b6cefd69bcc5d.jpg","text":"TemporaryFile(/tmp/multipartBody5018538592464895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084422967,"filename":"image_30102025_11_56_06_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/2/b656654aa26571b970bed27499895144.jpg","text":"TemporaryFile(/tmp/multipartBody3709228729175606067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084422967,"filename":"image_30102025_11_56_14_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/2/9d99764a2dec856e1ba66ff0ae000316.jpg","text":"TemporaryFile(/tmp/multipartBody1219805459667026642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084422967,"filename":"image_30102025_11_56_02_2523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391836298","file1":"1391836294","file0":"1391836291","file4":"1391836306","file5":"1391836328","file3":"1391836302"},"map_files_photo_id_array":[{"photo_id":"1391836328","filename":"file5"},{"photo_id":"1391836298","filename":"file2"},{"photo_id":"1391836306","filename":"file4"},{"photo_id":"1391836294","filename":"file1"},{"photo_id":"1391836291","filename":"file0"},{"photo_id":"1391836302","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391836291":["hashtag1","hashtag2"]},{"1391836306":["hashtag1","hashtag2"]},{"1391836302":["hashtag1","hashtag2"]},{"1391836298":["hashtag1","hashtag2"]},{"1391836328":["hashtag1","hashtag2"]},{"1391836294":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391836291, 1391836306, 1391836302, 1391836298, 1391836328, 1391836294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57239866256714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 12:53:22.420555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_17_2865.jpg', '/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_20_2702.jpg', '/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_24_3904.jpg', '/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_26_2795.jpg', '/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_29_2792.jpg', '/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_32_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/11/56/image_30102025_11_56_17_2865.jpg
/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_20_2702.jpg
/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_24_3904.jpg
/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_26_2795.jpg
/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_29_2792.jpg
/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_32_2590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391836435","1391836429","1391836437","1391836431","1391836425","1391836433"],"photo_ids_order":["1391836425","1391836429","1391836431","1391836433","1391836435","1391836437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/98466668bee70875686109995bf14b02.jpg","text":"TemporaryFile(/tmp/multipartBody6036653211704822215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084465105,"filename":"image_30102025_11_56_29_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/2/f94fefaae9587a971550dd802abe4c15.jpg","text":"TemporaryFile(/tmp/multipartBody4879376875835255960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084465105,"filename":"image_30102025_11_56_20_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/2/c8eae2beffa5da4d5ada3a4e34aa5754.jpg","text":"TemporaryFile(/tmp/multipartBody5203091084746937013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084465105,"filename":"image_30102025_11_56_32_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/2/7920f64d7563e52c3e69ab625c39a8a9.jpg","text":"TemporaryFile(/tmp/multipartBody2591675135902090657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084465105,"filename":"image_30102025_11_56_24_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/2/9df45c4d154ed71aeb3b88d98f585288.jpg","text":"TemporaryFile(/tmp/multipartBody4008820539666294352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084465105,"filename":"image_30102025_11_56_17_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/2/e0cd26928cade1224f845d5a30f26197.jpg","text":"TemporaryFile(/tmp/multipartBody1229001117693944152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084465105,"filename":"image_30102025_11_56_26_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391836431","file1":"1391836429","file0":"1391836425","file4":"1391836435","file5":"1391836437","file3":"1391836433"},"map_files_photo_id_array":[{"photo_id":"1391836437","filename":"file5"},{"photo_id":"1391836431","filename":"file2"},{"photo_id":"1391836435","filename":"file4"},{"photo_id":"1391836429","filename":"file1"},{"photo_id":"1391836425","filename":"file0"},{"photo_id":"1391836433","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391836435":["hashtag1","hashtag2"]},{"1391836429":["hashtag1","hashtag2"]},{"1391836437":["hashtag1","hashtag2"]},{"1391836431":["hashtag1","hashtag2"]},{"1391836425":["hashtag1","hashtag2"]},{"1391836433":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391836435, 1391836429, 1391836437, 1391836431, 1391836425, 1391836433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18137168884277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 12:54:03.039465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_36_3815.jpg', '/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_38_2714.jpg', '/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_41_2675.jpg', '/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_44_2629.jpg', '/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_47_3673.jpg', '/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_50_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/11/56/image_30102025_11_56_36_3815.jpg
/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_38_2714.jpg
/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_41_2675.jpg
/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_44_2629.jpg
/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_47_3673.jpg
/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_50_2627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391836555","1391836531","1391836551","1391836554","1391836539","1391836594"],"photo_ids_order":["1391836531","1391836539","1391836551","1391836554","1391836555","1391836594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/badaa0630b523d15cbc9472c8c2a6797.jpg","text":"TemporaryFile(/tmp/multipartBody3641461638586011672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084504970,"filename":"image_30102025_11_56_47_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/2/d702f97fe8a79fce02ffd4c6f5ccc296.jpg","text":"TemporaryFile(/tmp/multipartBody8929321907385412022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084504970,"filename":"image_30102025_11_56_36_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/2/5e980968424c4c82b43cd39592e43a0f.jpg","text":"TemporaryFile(/tmp/multipartBody5037479422518997205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084504970,"filename":"image_30102025_11_56_41_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/2/55049ce97e4f7a0c1b33a453763f9a98.jpg","text":"TemporaryFile(/tmp/multipartBody1668183255442240126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084504970,"filename":"image_30102025_11_56_44_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/2/c19362d4a856ba7079c5f4e8fae718ef.jpg","text":"TemporaryFile(/tmp/multipartBody7693038086413463038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084504970,"filename":"image_30102025_11_56_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/2/24cc469446c1e3e1e0b8ff0dcba3907a.jpg","text":"TemporaryFile(/tmp/multipartBody66781480048193381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084504970,"filename":"image_30102025_11_56_50_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391836551","file1":"1391836539","file0":"1391836531","file4":"1391836555","file5":"1391836594","file3":"1391836554"},"map_files_photo_id_array":[{"photo_id":"1391836594","filename":"file5"},{"photo_id":"1391836551","filename":"file2"},{"photo_id":"1391836555","filename":"file4"},{"photo_id":"1391836539","filename":"file1"},{"photo_id":"1391836531","filename":"file0"},{"photo_id":"1391836554","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391836555":["hashtag1","hashtag2"]},{"1391836531":["hashtag1","hashtag2"]},{"1391836551":["hashtag1","hashtag2"]},{"1391836554":["hashtag1","hashtag2"]},{"1391836539":["hashtag1","hashtag2"]},{"1391836594":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391836555, 1391836531, 1391836551, 1391836554, 1391836539, 1391836594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.812268018722534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 12:54:42.324363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_53_2758.jpg', '/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_56_3782.jpg', '/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_59_2666.jpg', '/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_02_2851.jpg', '/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_05_2654.jpg', '/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_08_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/11/56/image_30102025_11_56_53_2758.jpg
/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_56_3782.jpg
/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_59_2666.jpg
/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_02_2851.jpg
/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_05_2654.jpg
/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_08_3589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391836603","1391836612","1391836599","1391836617","1391836607","1391836597"],"photo_ids_order":["1391836597","1391836599","1391836603","1391836607","1391836612","1391836617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/71184064b23cd72cf7e52659d46108a2.jpg","text":"TemporaryFile(/tmp/multipartBody2031788559002288500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084543449,"filename":"image_30102025_11_56_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/2/8a60a64047d0a64417a531f5692a7524.jpg","text":"TemporaryFile(/tmp/multipartBody1617496514643856243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084543449,"filename":"image_30102025_11_57_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/2/00f906a3d2027bf6eb3510f125400bb1.jpg","text":"TemporaryFile(/tmp/multipartBody6021926470296312321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084543449,"filename":"image_30102025_11_56_56_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/2/e99f4b6c5090e82c82c929db735c2fca.jpg","text":"TemporaryFile(/tmp/multipartBody620232075446641720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084543449,"filename":"image_30102025_11_57_08_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/2/c5fc1136cdab55deda4c6fe94cc9b913.jpg","text":"TemporaryFile(/tmp/multipartBody6557101561536667377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084543449,"filename":"image_30102025_11_57_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/2/54f91b132f8bdc50119d5349b8ead9f7.jpg","text":"TemporaryFile(/tmp/multipartBody8389422564256727980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084543449,"filename":"image_30102025_11_56_53_2758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391836603","file1":"1391836599","file0":"1391836597","file4":"1391836612","file5":"1391836617","file3":"1391836607"},"map_files_photo_id_array":[{"photo_id":"1391836617","filename":"file5"},{"photo_id":"1391836603","filename":"file2"},{"photo_id":"1391836612","filename":"file4"},{"photo_id":"1391836599","filename":"file1"},{"photo_id":"1391836597","filename":"file0"},{"photo_id":"1391836607","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391836603":["hashtag1","hashtag2"]},{"1391836612":["hashtag1","hashtag2"]},{"1391836599":["hashtag1","hashtag2"]},{"1391836617":["hashtag1","hashtag2"]},{"1391836607":["hashtag1","hashtag2"]},{"1391836597":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391836603, 1391836612, 1391836599, 1391836617, 1391836607, 1391836597)","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 = 1391836603 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/11/56/image_30102025_11_56_59_2666.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 74.67602872848511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 12:56:02.897179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 12:56:22.376942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_11_2530.jpg', '/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_14_3597.jpg', '/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_17_2558.jpg', '/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_20_2695.jpg', '/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_23_3707.jpg', '/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_26_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/11/57/image_30102025_11_57_11_2530.jpg
/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_14_3597.jpg
/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_17_2558.jpg
/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_20_2695.jpg
/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_23_3707.jpg
/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_26_2666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391836660","1391836654","1391836663","1391836656","1391836658","1391836652"],"photo_ids_order":["1391836652","1391836654","1391836656","1391836658","1391836660","1391836663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/436d1e55f830c11bd7709963d2f9d71c.jpg","text":"TemporaryFile(/tmp/multipartBody2037402297583616748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084645639,"filename":"image_30102025_11_57_23_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/2/f8154979dad766c1bab21b03034105da.jpg","text":"TemporaryFile(/tmp/multipartBody2228851598881377365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084645639,"filename":"image_30102025_11_57_14_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/2/0f8e0b81eda8ffefe57632b149c12a39.jpg","text":"TemporaryFile(/tmp/multipartBody3384965243728356699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084645639,"filename":"image_30102025_11_57_26_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/2/aeba00d24f4bbc88bdfd8db807a1a7ec.jpg","text":"TemporaryFile(/tmp/multipartBody8758020956892485458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084645639,"filename":"image_30102025_11_57_17_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/2/e63eedeb21c3aa8dfd7a27f8733dc1ed.jpg","text":"TemporaryFile(/tmp/multipartBody9008451997718331041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084645639,"filename":"image_30102025_11_57_20_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/2/7a66a1e49ac8dc907c9592e90a0cacf0.jpg","text":"TemporaryFile(/tmp/multipartBody5204174965339150337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084645639,"filename":"image_30102025_11_57_11_2530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391836656","file1":"1391836654","file0":"1391836652","file4":"1391836660","file5":"1391836663","file3":"1391836658"},"map_files_photo_id_array":[{"photo_id":"1391836663","filename":"file5"},{"photo_id":"1391836656","filename":"file2"},{"photo_id":"1391836660","filename":"file4"},{"photo_id":"1391836654","filename":"file1"},{"photo_id":"1391836652","filename":"file0"},{"photo_id":"1391836658","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391836660":["hashtag1","hashtag2"]},{"1391836654":["hashtag1","hashtag2"]},{"1391836663":["hashtag1","hashtag2"]},{"1391836656":["hashtag1","hashtag2"]},{"1391836658":["hashtag1","hashtag2"]},{"1391836652":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391836660, 1391836654, 1391836663, 1391836656, 1391836658, 1391836652)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.530972480773926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 12:57:25.805023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 12:57:46.108921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_29_2655.jpg', '/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_32_3690.jpg', '/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_35_2612.jpg', '/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_38_2663.jpg', '/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_41_3628.jpg', '/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_44_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/11/57/image_30102025_11_57_29_2655.jpg
/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_32_3690.jpg
/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_35_2612.jpg
/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_38_2663.jpg
/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_41_3628.jpg
/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_44_2695.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391836691","1391836694","1391836697","1391836682","1391836678","1391836687"],"photo_ids_order":["1391836678","1391836682","1391836687","1391836691","1391836694","1391836697"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5145c0522327ad14326cf284f3648bc6.jpg","text":"TemporaryFile(/tmp/multipartBody7709202508553399479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084727190,"filename":"image_30102025_11_57_38_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/2/ade7f97fe1b14bc3b010429bc49369de.jpg","text":"TemporaryFile(/tmp/multipartBody107767595709091957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084727190,"filename":"image_30102025_11_57_41_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/2/906ad4083979120740a0e95013e9a7c1.jpg","text":"TemporaryFile(/tmp/multipartBody3528775791153939710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084727190,"filename":"image_30102025_11_57_44_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/2/e315b2e00f18991facbbfd0f4806609c.jpg","text":"TemporaryFile(/tmp/multipartBody7264053704999511933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084727190,"filename":"image_30102025_11_57_32_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/2/90d356f028012d0136fcb70d8e643988.jpg","text":"TemporaryFile(/tmp/multipartBody3205702107332585613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084727190,"filename":"image_30102025_11_57_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/2/e5425b5cee1ef6d74072038485f2dcf9.jpg","text":"TemporaryFile(/tmp/multipartBody4330469522920892756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084727190,"filename":"image_30102025_11_57_35_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391836687","file1":"1391836682","file0":"1391836678","file4":"1391836694","file5":"1391836697","file3":"1391836691"},"map_files_photo_id_array":[{"photo_id":"1391836697","filename":"file5"},{"photo_id":"1391836687","filename":"file2"},{"photo_id":"1391836694","filename":"file4"},{"photo_id":"1391836682","filename":"file1"},{"photo_id":"1391836678","filename":"file0"},{"photo_id":"1391836691","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391836691":["hashtag1","hashtag2"]},{"1391836694":["hashtag1","hashtag2"]},{"1391836697":["hashtag1","hashtag2"]},{"1391836682":["hashtag1","hashtag2"]},{"1391836678":["hashtag1","hashtag2"]},{"1391836687":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391836691, 1391836694, 1391836697, 1391836682, 1391836678, 1391836687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13166403770447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 12:59:03.451903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_47_2660.jpg', '/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_50_3571.jpg', '/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_53_2680.jpg', '/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_59_3786.jpg', '/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_02_2669.jpg', '/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_05_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/11/57/image_30102025_11_57_47_2660.jpg
/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_50_3571.jpg
/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_53_2680.jpg
/home/pi/Desktop/images/30102025/11/57/image_30102025_11_57_59_3786.jpg
/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_02_2669.jpg
/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_05_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":["1391837518","1391837397","1391837622","1391837355","1391837310","1391837438"],"photo_ids_order":["1391837310","1391837355","1391837397","1391837438","1391837518","1391837622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5969e805338a9f7559784afad3376b90.jpg","text":"TemporaryFile(/tmp/multipartBody2237871556849536476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084807615,"filename":"image_30102025_11_58_02_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/2/2adebb25a46438b3a54eb18462d97cdf.jpg","text":"TemporaryFile(/tmp/multipartBody280063143256347853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084807615,"filename":"image_30102025_11_57_53_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/2/5368812967595165f3980cece55bb42b.jpg","text":"TemporaryFile(/tmp/multipartBody1811861810315991653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084807615,"filename":"image_30102025_11_58_05_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/2/8dfd57077c0ce81e4f2a7b7d16addb23.jpg","text":"TemporaryFile(/tmp/multipartBody2524382251442290288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084807615,"filename":"image_30102025_11_57_50_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/2/967f170952f259be6e5145fa1ec8c25a.jpg","text":"TemporaryFile(/tmp/multipartBody5351845447094702753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084807615,"filename":"image_30102025_11_57_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/2/33ce9f869abc3f3967405ceadbf773b2.jpg","text":"TemporaryFile(/tmp/multipartBody8480935362944779967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084807615,"filename":"image_30102025_11_57_59_3786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391837397","file1":"1391837355","file0":"1391837310","file4":"1391837518","file5":"1391837622","file3":"1391837438"},"map_files_photo_id_array":[{"photo_id":"1391837622","filename":"file5"},{"photo_id":"1391837397","filename":"file2"},{"photo_id":"1391837518","filename":"file4"},{"photo_id":"1391837355","filename":"file1"},{"photo_id":"1391837310","filename":"file0"},{"photo_id":"1391837438","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391837518":["hashtag1","hashtag2"]},{"1391837397":["hashtag1","hashtag2"]},{"1391837622":["hashtag1","hashtag2"]},{"1391837355":["hashtag1","hashtag2"]},{"1391837310":["hashtag1","hashtag2"]},{"1391837438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391837518, 1391837397, 1391837622, 1391837355, 1391837310, 1391837438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.63440155982971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 13:00:02.990265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_08_3737.jpg', '/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_11_2601.jpg', '/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_14_2671.jpg', '/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_17_3625.jpg', '/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_20_2683.jpg', '/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_23_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/11/58/image_30102025_11_58_08_3737.jpg
/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_11_2601.jpg
/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_14_2671.jpg
/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_17_3625.jpg
/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_20_2683.jpg
/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_23_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":["1391838051","1391838120","1391838293","1391838011","1391837968","1391838202"],"photo_ids_order":["1391837968","1391838011","1391838051","1391838120","1391838202","1391838293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6c835fab0764e087a732e1bbe6b790ce.jpg","text":"TemporaryFile(/tmp/multipartBody7400448760125671830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084869867,"filename":"image_30102025_11_58_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/2/635a38052d51c5bccf8d0da055d80026.jpg","text":"TemporaryFile(/tmp/multipartBody6621991641863428927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084869867,"filename":"image_30102025_11_58_17_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/2/2500d74d8b5b3f6652d9cac6ca2bd981.jpg","text":"TemporaryFile(/tmp/multipartBody2198261435367894687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084869867,"filename":"image_30102025_11_58_23_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/2/a2f8c5c911768c913f52aaf3f201893b.jpg","text":"TemporaryFile(/tmp/multipartBody1619580769002104748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084869867,"filename":"image_30102025_11_58_11_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/2/1541a33a6358980a9486409d7ba6247a.jpg","text":"TemporaryFile(/tmp/multipartBody9154852861201719392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084869867,"filename":"image_30102025_11_58_08_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/2/496c85e261d8d75d5ea62fb4b6aae558.jpg","text":"TemporaryFile(/tmp/multipartBody7897480531772938082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084869867,"filename":"image_30102025_11_58_20_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391838051","file1":"1391838011","file0":"1391837968","file4":"1391838202","file5":"1391838293","file3":"1391838120"},"map_files_photo_id_array":[{"photo_id":"1391838293","filename":"file5"},{"photo_id":"1391838051","filename":"file2"},{"photo_id":"1391838202","filename":"file4"},{"photo_id":"1391838011","filename":"file1"},{"photo_id":"1391837968","filename":"file0"},{"photo_id":"1391838120","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391838051":["hashtag1","hashtag2"]},{"1391838120":["hashtag1","hashtag2"]},{"1391838293":["hashtag1","hashtag2"]},{"1391838011":["hashtag1","hashtag2"]},{"1391837968":["hashtag1","hashtag2"]},{"1391838202":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391838051, 1391838120, 1391838293, 1391838011, 1391837968, 1391838202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.762147426605225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 13:01:02.641274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_26_3554.jpg', '/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_29_2740.jpg', '/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_32_2781.jpg', '/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_35_3642.jpg', '/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_38_2668.jpg', '/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_47_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/11/58/image_30102025_11_58_26_3554.jpg
/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_29_2740.jpg
/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_32_2781.jpg
/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_35_3642.jpg
/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_38_2668.jpg
/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_47_3615.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":["1391838582","1391838531","1391838656","1391838622","1391838625","1391838613"],"photo_ids_order":["1391838531","1391838582","1391838613","1391838622","1391838625","1391838656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8acb08b77b09490e612f572ea20985d3.jpg","text":"TemporaryFile(/tmp/multipartBody6650633360717418000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084924987,"filename":"image_30102025_11_58_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/2/b96e86a41b4a2e314d7e058a992b38df.jpg","text":"TemporaryFile(/tmp/multipartBody2917071408490946463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084924987,"filename":"image_30102025_11_58_26_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/2/a0560d79cc7e413a44c05a42870bfa0e.jpg","text":"TemporaryFile(/tmp/multipartBody5229983213180110599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084924987,"filename":"image_30102025_11_58_47_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/2/2ba5f799e1cab3fdcbf764c28d47dfeb.jpg","text":"TemporaryFile(/tmp/multipartBody7464268926578627802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084924987,"filename":"image_30102025_11_58_35_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/2/d0a09d0e978263c4021e9d5e669ba49e.jpg","text":"TemporaryFile(/tmp/multipartBody6376407719856699520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084924987,"filename":"image_30102025_11_58_38_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/2/f09131810cbf0e2edfc9335ae3c557b6.jpg","text":"TemporaryFile(/tmp/multipartBody2895214503452084620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762084924987,"filename":"image_30102025_11_58_32_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391838613","file1":"1391838582","file0":"1391838531","file4":"1391838625","file5":"1391838656","file3":"1391838622"},"map_files_photo_id_array":[{"photo_id":"1391838656","filename":"file5"},{"photo_id":"1391838613","filename":"file2"},{"photo_id":"1391838625","filename":"file4"},{"photo_id":"1391838582","filename":"file1"},{"photo_id":"1391838531","filename":"file0"},{"photo_id":"1391838622","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391838582":["hashtag1","hashtag2"]},{"1391838531":["hashtag1","hashtag2"]},{"1391838656":["hashtag1","hashtag2"]},{"1391838622":["hashtag1","hashtag2"]},{"1391838625":["hashtag1","hashtag2"]},{"1391838613":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391838582, 1391838531, 1391838656, 1391838622, 1391838625, 1391838613)","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: 91.02408504486084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:02:42.137243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_50_2693.jpg', '/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_53_2702.jpg', '/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_55_2703.jpg', '/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_59_3632.jpg', '/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_02_2788.jpg', '/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_05_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/11/58/image_30102025_11_58_50_2693.jpg
/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_53_2702.jpg
/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_55_2703.jpg
/home/pi/Desktop/images/30102025/11/58/image_30102025_11_58_59_3632.jpg
/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_02_2788.jpg
/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_05_2695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391838732","1391838735","1391838737","1391838725","1391838728","1391838722"],"photo_ids_order":["1391838722","1391838725","1391838728","1391838732","1391838735","1391838737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3cffe43d5aeddd71f05fc6891249ed73.jpg","text":"TemporaryFile(/tmp/multipartBody2877942519523054536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085028036,"filename":"image_30102025_11_58_59_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/2/f284659cfeb7790c96d4fcaabca6629d.jpg","text":"TemporaryFile(/tmp/multipartBody6699736027378710711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085028036,"filename":"image_30102025_11_59_02_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/2/515cb5dc9072f3ab4d485cbbc31e47f0.jpg","text":"TemporaryFile(/tmp/multipartBody2502972507776421767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085028036,"filename":"image_30102025_11_59_05_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/2/3c933f845203c6fc5980f91ca2ce82b6.jpg","text":"TemporaryFile(/tmp/multipartBody4330936674026289658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085028036,"filename":"image_30102025_11_58_53_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/2/39aa78cdceb9e339df4d88f6003e5f8d.jpg","text":"TemporaryFile(/tmp/multipartBody3760896752784995795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085028036,"filename":"image_30102025_11_58_55_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/2/dd70baefd9ffa41b4d12626797ae64f2.jpg","text":"TemporaryFile(/tmp/multipartBody3694273752436120059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085028036,"filename":"image_30102025_11_58_50_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391838728","file1":"1391838725","file0":"1391838722","file4":"1391838735","file5":"1391838737","file3":"1391838732"},"map_files_photo_id_array":[{"photo_id":"1391838737","filename":"file5"},{"photo_id":"1391838728","filename":"file2"},{"photo_id":"1391838735","filename":"file4"},{"photo_id":"1391838725","filename":"file1"},{"photo_id":"1391838722","filename":"file0"},{"photo_id":"1391838732","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391838732":["hashtag1","hashtag2"]},{"1391838735":["hashtag1","hashtag2"]},{"1391838737":["hashtag1","hashtag2"]},{"1391838725":["hashtag1","hashtag2"]},{"1391838728":["hashtag1","hashtag2"]},{"1391838722":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391838732, 1391838735, 1391838737, 1391838725, 1391838728, 1391838722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.28014135360718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 13:03:37.052159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_08_3686.jpg', '/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_11_2736.jpg', '/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_14_2653.jpg', '/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_17_3669.jpg', '/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_20_2655.jpg', '/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_23_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/11/59/image_30102025_11_59_08_3686.jpg
/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_11_2736.jpg
/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_14_2653.jpg
/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_17_3669.jpg
/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_20_2655.jpg
/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_23_2615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391838753","1391838849","1391838812","1391838772","1391838748","1391838888"],"photo_ids_order":["1391838748","1391838753","1391838772","1391838812","1391838849","1391838888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/94f122d1c4c5c1edceaa3f62520581ee.jpg","text":"TemporaryFile(/tmp/multipartBody8378796126987392520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085079741,"filename":"image_30102025_11_59_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/2/36be19993f22f5c430fee42fd0a631ee.jpg","text":"TemporaryFile(/tmp/multipartBody495603029787624846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085079741,"filename":"image_30102025_11_59_20_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/2/7d59ebd1e870b787f81cdbf67f66ef70.jpg","text":"TemporaryFile(/tmp/multipartBody4883971840312781962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085079741,"filename":"image_30102025_11_59_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/2/9650ab45326fa4fbb6644cd3425f0eec.jpg","text":"TemporaryFile(/tmp/multipartBody5071204669371810777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085079741,"filename":"image_30102025_11_59_14_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/2/08cc5909245c919716718c604b500dcd.jpg","text":"TemporaryFile(/tmp/multipartBody2563959871656588589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085079741,"filename":"image_30102025_11_59_08_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/2/80b2044b9a8b27f0217841064b536ff2.jpg","text":"TemporaryFile(/tmp/multipartBody3762037531708413974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085079741,"filename":"image_30102025_11_59_23_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391838772","file1":"1391838753","file0":"1391838748","file4":"1391838849","file5":"1391838888","file3":"1391838812"},"map_files_photo_id_array":[{"photo_id":"1391838888","filename":"file5"},{"photo_id":"1391838772","filename":"file2"},{"photo_id":"1391838849","filename":"file4"},{"photo_id":"1391838753","filename":"file1"},{"photo_id":"1391838748","filename":"file0"},{"photo_id":"1391838812","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391838753":["hashtag1","hashtag2"]},{"1391838849":["hashtag1","hashtag2"]},{"1391838812":["hashtag1","hashtag2"]},{"1391838772":["hashtag1","hashtag2"]},{"1391838748":["hashtag1","hashtag2"]},{"1391838888":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391838753, 1391838849, 1391838812, 1391838772, 1391838748, 1391838888)","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 = 1391838772 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_14_2653.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 63.15710425376892 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:04:42.275860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_26_3706.jpg', '/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_29_2607.jpg', '/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_31_2559.jpg', '/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_35_3771.jpg', '/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_38_2820.jpg', '/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_41_2859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_26_3706.jpg
/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_29_2607.jpg
/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_31_2559.jpg
/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_35_3771.jpg
/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_38_2820.jpg
/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_41_2859.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391838930","1391838933","1391838927","1391838935","1391838938","1391838925"],"photo_ids_order":["1391838925","1391838927","1391838930","1391838933","1391838935","1391838938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5a7d9300bcd30e31affc2b493c1b2a6d.jpg","text":"TemporaryFile(/tmp/multipartBody5782510792436676476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085143390,"filename":"image_30102025_11_59_31_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/2/95e8bd10b0087a2ecf4c2093ad71ba6e.jpg","text":"TemporaryFile(/tmp/multipartBody4082381142127885048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085143390,"filename":"image_30102025_11_59_35_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/2/80b8425217a4396c4e33baac38c32e58.jpg","text":"TemporaryFile(/tmp/multipartBody4157979152901562741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085143390,"filename":"image_30102025_11_59_29_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/2/b7ccd09dc42cd2ec7d4cb7b436f7d824.jpg","text":"TemporaryFile(/tmp/multipartBody2290718796857039698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085143390,"filename":"image_30102025_11_59_38_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/2/d7f6774c3b5eb13efab50a40dec0013b.jpg","text":"TemporaryFile(/tmp/multipartBody4465674486124854556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085143390,"filename":"image_30102025_11_59_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/2/cf35c7a20a564e9c14960d516dfd981d.jpg","text":"TemporaryFile(/tmp/multipartBody8525995999351266194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085143390,"filename":"image_30102025_11_59_26_3706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391838930","file1":"1391838927","file0":"1391838925","file4":"1391838935","file5":"1391838938","file3":"1391838933"},"map_files_photo_id_array":[{"photo_id":"1391838938","filename":"file5"},{"photo_id":"1391838930","filename":"file2"},{"photo_id":"1391838935","filename":"file4"},{"photo_id":"1391838927","filename":"file1"},{"photo_id":"1391838925","filename":"file0"},{"photo_id":"1391838933","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391838930":["hashtag1","hashtag2"]},{"1391838933":["hashtag1","hashtag2"]},{"1391838927":["hashtag1","hashtag2"]},{"1391838935":["hashtag1","hashtag2"]},{"1391838938":["hashtag1","hashtag2"]},{"1391838925":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391838930, 1391838933, 1391838927, 1391838935, 1391838938, 1391838925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.645658016204834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 13:05:22.362887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_44_2677.jpg', '/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_47_3629.jpg', '/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_50_2863.jpg', '/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_53_2601.jpg', '/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_56_3586.jpg', '/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_59_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/11/59/image_30102025_11_59_44_2677.jpg
/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_47_3629.jpg
/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_50_2863.jpg
/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_53_2601.jpg
/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_56_3586.jpg
/home/pi/Desktop/images/30102025/11/59/image_30102025_11_59_59_2648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391839029","1391839040","1391839037","1391839033","1391839021","1391839024"],"photo_ids_order":["1391839021","1391839024","1391839029","1391839033","1391839037","1391839040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3b83d7bb422ed7e54d3bb68e9ff306ec.jpg","text":"TemporaryFile(/tmp/multipartBody5992414147514038173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085226460,"filename":"image_30102025_11_59_50_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/2/a8c21f0f5e88226525442584ec51b2c4.jpg","text":"TemporaryFile(/tmp/multipartBody4726613447350721873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085226460,"filename":"image_30102025_11_59_59_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/2/19123442f5b56f44d9104cb7c24c1ddb.jpg","text":"TemporaryFile(/tmp/multipartBody8611005755600100273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085226460,"filename":"image_30102025_11_59_56_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/2/8c2546691e2e3b2eae0a4e09ac85cc1a.jpg","text":"TemporaryFile(/tmp/multipartBody396983897891707177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085226460,"filename":"image_30102025_11_59_53_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/2/c28a2097b29838caedc2139421463672.jpg","text":"TemporaryFile(/tmp/multipartBody5929149184712059376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085226460,"filename":"image_30102025_11_59_44_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/2/64746564686b546f62859492f2390302.jpg","text":"TemporaryFile(/tmp/multipartBody7925999248492402844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085226460,"filename":"image_30102025_11_59_47_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391839029","file1":"1391839024","file0":"1391839021","file4":"1391839037","file5":"1391839040","file3":"1391839033"},"map_files_photo_id_array":[{"photo_id":"1391839040","filename":"file5"},{"photo_id":"1391839029","filename":"file2"},{"photo_id":"1391839037","filename":"file4"},{"photo_id":"1391839024","filename":"file1"},{"photo_id":"1391839021","filename":"file0"},{"photo_id":"1391839033","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391839029":["hashtag1","hashtag2"]},{"1391839040":["hashtag1","hashtag2"]},{"1391839037":["hashtag1","hashtag2"]},{"1391839033":["hashtag1","hashtag2"]},{"1391839021":["hashtag1","hashtag2"]},{"1391839024":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391839029, 1391839040, 1391839037, 1391839033, 1391839021, 1391839024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 80.1897976398468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 13:07:03.103267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_09_3703.jpg', '/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_14_2628.jpg', '/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_18_3777.jpg', '/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_21_2611.jpg', '/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_23_2784.jpg', '/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_27_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_09_3703.jpg
/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_14_2628.jpg
/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_18_3777.jpg
/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_21_2611.jpg
/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_23_2784.jpg
/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_27_3635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391839070","1391839073","1391839067","1391839076","1391839066","1391839068"],"photo_ids_order":["1391839066","1391839067","1391839068","1391839070","1391839073","1391839076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/29fb22632ba4742212b96fc7fea3b518.jpg","text":"TemporaryFile(/tmp/multipartBody5735919824691456061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085287619,"filename":"image_30102025_12_00_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/2/bfee02a2886ff038e6829cc0e1e83a0e.jpg","text":"TemporaryFile(/tmp/multipartBody7384301302989770564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085287619,"filename":"image_30102025_12_00_23_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/2/4fb0cccab262bddae6e4b556658a6db0.jpg","text":"TemporaryFile(/tmp/multipartBody8205292680726848435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085287619,"filename":"image_30102025_12_00_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/2/254b765c93e9c5563cd527846ec86379.jpg","text":"TemporaryFile(/tmp/multipartBody5913527257090829264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085287619,"filename":"image_30102025_12_00_27_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/2/c7df498462cd03abc379772f26d77ba1.jpg","text":"TemporaryFile(/tmp/multipartBody2786893268173677529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085287619,"filename":"image_30102025_12_00_09_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/2/25f666e497910afead0c232b7137b48c.jpg","text":"TemporaryFile(/tmp/multipartBody8241269581211826009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085287619,"filename":"image_30102025_12_00_18_3777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391839068","file1":"1391839067","file0":"1391839066","file4":"1391839073","file5":"1391839076","file3":"1391839070"},"map_files_photo_id_array":[{"photo_id":"1391839076","filename":"file5"},{"photo_id":"1391839068","filename":"file2"},{"photo_id":"1391839073","filename":"file4"},{"photo_id":"1391839067","filename":"file1"},{"photo_id":"1391839066","filename":"file0"},{"photo_id":"1391839070","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391839070":["hashtag1","hashtag2"]},{"1391839073":["hashtag1","hashtag2"]},{"1391839067":["hashtag1","hashtag2"]},{"1391839076":["hashtag1","hashtag2"]},{"1391839066":["hashtag1","hashtag2"]},{"1391839068":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391839070, 1391839073, 1391839067, 1391839076, 1391839066, 1391839068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.71139121055603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 13:08:02.753085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 13:08:22.997709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 13:08:55.572676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 13:09:05.253139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 13:09:25.110241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_30_2615.jpg', '/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_41_2627.jpg', '/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_44_2821.jpg', '/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_48_3561.jpg', '/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_50_2632.jpg', '/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_53_2901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_30_2615.jpg
/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_41_2627.jpg
/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_44_2821.jpg
/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_48_3561.jpg
/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_50_2632.jpg
/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_53_2901.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391839343","1391839345","1391839347","1391839341","1391839350","1391839344"],"photo_ids_order":["1391839341","1391839343","1391839344","1391839345","1391839347","1391839350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/598ee51351ef9b0b50ee9fe2716fc902.jpg","text":"TemporaryFile(/tmp/multipartBody32600811128333823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085427949,"filename":"image_30102025_12_00_41_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/2/844cb1c45619e689490c9b2949d6cbfb.jpg","text":"TemporaryFile(/tmp/multipartBody172474609096801228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085427949,"filename":"image_30102025_12_00_48_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/2/c206ad0ab65f90a14a275fb3b5a765e3.jpg","text":"TemporaryFile(/tmp/multipartBody2642865620779089143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085427949,"filename":"image_30102025_12_00_50_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/2/41b5319fefb9395080cfdeda5931ff69.jpg","text":"TemporaryFile(/tmp/multipartBody5693608952814175935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085427949,"filename":"image_30102025_12_00_30_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/2/7281bcce255cc00985f0396174a13e6d.jpg","text":"TemporaryFile(/tmp/multipartBody2308700555233240157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085427949,"filename":"image_30102025_12_00_53_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/2/8bca1c309b75a90ada54003d991a5528.jpg","text":"TemporaryFile(/tmp/multipartBody3987111188537052910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085427949,"filename":"image_30102025_12_00_44_2821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391839344","file1":"1391839343","file0":"1391839341","file4":"1391839347","file5":"1391839350","file3":"1391839345"},"map_files_photo_id_array":[{"photo_id":"1391839350","filename":"file5"},{"photo_id":"1391839344","filename":"file2"},{"photo_id":"1391839347","filename":"file4"},{"photo_id":"1391839343","filename":"file1"},{"photo_id":"1391839341","filename":"file0"},{"photo_id":"1391839345","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391839343":["hashtag1","hashtag2"]},{"1391839345":["hashtag1","hashtag2"]},{"1391839347":["hashtag1","hashtag2"]},{"1391839341":["hashtag1","hashtag2"]},{"1391839350":["hashtag1","hashtag2"]},{"1391839344":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391839343, 1391839345, 1391839347, 1391839341, 1391839350, 1391839344)","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: 69.6044089794159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:10:46.141414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 13:11:02.431805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/00/image_30102025_12_00_57_3715.jpg', '/home/pi/Desktop/images/30102025/12/00/image_30102025_12_01_00_2686.jpg', '/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_02_2651.jpg', '/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_09_3916.jpg', '/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_11_2537.jpg', '/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_14_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/12/00/image_30102025_12_00_57_3715.jpg
/home/pi/Desktop/images/30102025/12/00/image_30102025_12_01_00_2686.jpg
/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_02_2651.jpg
/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_09_3916.jpg
/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_11_2537.jpg
/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_14_2600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391839425","1391839409","1391839418","1391839381","1391839386","1391839422"],"photo_ids_order":["1391839381","1391839386","1391839409","1391839418","1391839422","1391839425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4bba380dabfc53a70ee289080cc07c00.jpg","text":"TemporaryFile(/tmp/multipartBody1104669962806191053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085524828,"filename":"image_30102025_12_01_14_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/2/ff328c97bd459408d6426e8c657661a6.jpg","text":"TemporaryFile(/tmp/multipartBody2670238225401880032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085524828,"filename":"image_30102025_12_01_02_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/2/c65970460be39ce7533b54a39dcc86bf.jpg","text":"TemporaryFile(/tmp/multipartBody4123185126157501820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085524828,"filename":"image_30102025_12_01_09_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/2/a242b44b434f99e5087b438bfc7ec13c.jpg","text":"TemporaryFile(/tmp/multipartBody1594679614130302935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085524828,"filename":"image_30102025_12_00_57_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/2/f29fbf3bca62bbecc27d2089e3fc9079.jpg","text":"TemporaryFile(/tmp/multipartBody1519895570426671441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085524828,"filename":"image_30102025_12_01_00_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/2/2127a4088af426ce90a1842c2ee4708f.jpg","text":"TemporaryFile(/tmp/multipartBody4181861764092486467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085524828,"filename":"image_30102025_12_01_11_2537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391839409","file1":"1391839386","file0":"1391839381","file4":"1391839422","file5":"1391839425","file3":"1391839418"},"map_files_photo_id_array":[{"photo_id":"1391839425","filename":"file5"},{"photo_id":"1391839409","filename":"file2"},{"photo_id":"1391839422","filename":"file4"},{"photo_id":"1391839386","filename":"file1"},{"photo_id":"1391839381","filename":"file0"},{"photo_id":"1391839418","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391839425":["hashtag1","hashtag2"]},{"1391839409":["hashtag1","hashtag2"]},{"1391839418":["hashtag1","hashtag2"]},{"1391839381":["hashtag1","hashtag2"]},{"1391839386":["hashtag1","hashtag2"]},{"1391839422":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391839425, 1391839409, 1391839418, 1391839381, 1391839386, 1391839422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.67865014076233 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:11:41.912367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_18_3777.jpg', '/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_20_2539.jpg', '/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_30_2843.jpg', '/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_32_2743.jpg', '/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_35_2762.jpg', '/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_38_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/12/01/image_30102025_12_01_18_3777.jpg
/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_20_2539.jpg
/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_30_2843.jpg
/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_32_2743.jpg
/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_35_2762.jpg
/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_38_2813.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391839439","1391839430","1391839436","1391839468","1391839432","1391839428"],"photo_ids_order":["1391839428","1391839430","1391839432","1391839436","1391839439","1391839468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e026955104cfcf3ea6c189a011747cba.jpg","text":"TemporaryFile(/tmp/multipartBody8734450356593003931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085563165,"filename":"image_30102025_12_01_35_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/2/79cffe2800da955197a72eba847717bd.jpg","text":"TemporaryFile(/tmp/multipartBody574824162295156324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085563165,"filename":"image_30102025_12_01_20_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/2/9f730eb807f701f195220aaaa742a226.jpg","text":"TemporaryFile(/tmp/multipartBody6237460936744627851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085563165,"filename":"image_30102025_12_01_32_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/2/26a2ec1d2558452f9e2589fd4b56f250.jpg","text":"TemporaryFile(/tmp/multipartBody70488371047724256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085563165,"filename":"image_30102025_12_01_38_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/2/0993180a73c9b8836da683ce94c43adc.jpg","text":"TemporaryFile(/tmp/multipartBody4234182575304590612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085563165,"filename":"image_30102025_12_01_30_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/2/4e6bb3fe97bd7821ca263d95a7f493ca.jpg","text":"TemporaryFile(/tmp/multipartBody2821919128352969956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085563165,"filename":"image_30102025_12_01_18_3777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391839432","file1":"1391839430","file0":"1391839428","file4":"1391839439","file5":"1391839468","file3":"1391839436"},"map_files_photo_id_array":[{"photo_id":"1391839468","filename":"file5"},{"photo_id":"1391839432","filename":"file2"},{"photo_id":"1391839439","filename":"file4"},{"photo_id":"1391839430","filename":"file1"},{"photo_id":"1391839428","filename":"file0"},{"photo_id":"1391839436","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391839439":["hashtag1","hashtag2"]},{"1391839430":["hashtag1","hashtag2"]},{"1391839436":["hashtag1","hashtag2"]},{"1391839468":["hashtag1","hashtag2"]},{"1391839432":["hashtag1","hashtag2"]},{"1391839428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391839439, 1391839430, 1391839436, 1391839468, 1391839432, 1391839428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04021644592285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 13:12:22.084305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_42_3730.jpg', '/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_44_2795.jpg', '/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_47_2561.jpg', '/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_51_3785.jpg', '/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_53_2669.jpg', '/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_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/12/01/image_30102025_12_01_42_3730.jpg
/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_44_2795.jpg
/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_47_2561.jpg
/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_51_3785.jpg
/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_53_2669.jpg
/home/pi/Desktop/images/30102025/12/01/image_30102025_12_01_56_2768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391839652","1391839597","1391839616","1391839601","1391839648","1391839599"],"photo_ids_order":["1391839597","1391839599","1391839601","1391839616","1391839648","1391839652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2156da9574b349c51e09ea8c58f2512b.jpg","text":"TemporaryFile(/tmp/multipartBody4816197617387409502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085604793,"filename":"image_30102025_12_01_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/2/ed0139a69177c8403475d53c2a7f34ee.jpg","text":"TemporaryFile(/tmp/multipartBody7292247211717146325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085604793,"filename":"image_30102025_12_01_42_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/2/415b0e49e368f20d1efc5c2f2a5bde27.jpg","text":"TemporaryFile(/tmp/multipartBody6964764004583307157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085604793,"filename":"image_30102025_12_01_51_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/2/a09eb562ff933ef794135bfd3b683c29.jpg","text":"TemporaryFile(/tmp/multipartBody6506007468484215983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085604793,"filename":"image_30102025_12_01_47_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/2/092c7f6d2a6b1bbb92ef0371b81b63c2.jpg","text":"TemporaryFile(/tmp/multipartBody4273244288187221837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085604793,"filename":"image_30102025_12_01_53_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/2/e3d904abd30b309cd3881138c0dacaab.jpg","text":"TemporaryFile(/tmp/multipartBody7386928914145999726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085604793,"filename":"image_30102025_12_01_44_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391839601","file1":"1391839599","file0":"1391839597","file4":"1391839648","file5":"1391839652","file3":"1391839616"},"map_files_photo_id_array":[{"photo_id":"1391839652","filename":"file5"},{"photo_id":"1391839601","filename":"file2"},{"photo_id":"1391839648","filename":"file4"},{"photo_id":"1391839599","filename":"file1"},{"photo_id":"1391839597","filename":"file0"},{"photo_id":"1391839616","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391839652":["hashtag1","hashtag2"]},{"1391839597":["hashtag1","hashtag2"]},{"1391839616":["hashtag1","hashtag2"]},{"1391839601":["hashtag1","hashtag2"]},{"1391839648":["hashtag1","hashtag2"]},{"1391839599":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391839652, 1391839597, 1391839616, 1391839601, 1391839648, 1391839599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.575785636901855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 13:13:02.747227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/01/image_30102025_12_02_00_3648.jpg', '/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_02_2636.jpg', '/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_05_2634.jpg', '/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_08_2779.jpg', '/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_12_3677.jpg', '/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_14_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/12/01/image_30102025_12_02_00_3648.jpg
/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_02_2636.jpg
/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_05_2634.jpg
/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_08_2779.jpg
/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_12_3677.jpg
/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_14_2541.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391839716","1391839691","1391839721","1391839718","1391839714","1391839711"],"photo_ids_order":["1391839691","1391839711","1391839714","1391839716","1391839718","1391839721"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5825761575f827df6f5398cb64808691.jpg","text":"TemporaryFile(/tmp/multipartBody4381019080795101783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085645041,"filename":"image_30102025_12_02_08_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/2/d169c4a66d189a4225ba95e2f78c6efe.jpg","text":"TemporaryFile(/tmp/multipartBody4341949902844674892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085645041,"filename":"image_30102025_12_02_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/2/22092a946338800d76f5848e68441ed2.jpg","text":"TemporaryFile(/tmp/multipartBody3489548998224332323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085645041,"filename":"image_30102025_12_02_14_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/2/462e36b74fa932728ab3bd2dee3ec308.jpg","text":"TemporaryFile(/tmp/multipartBody6577019275437852679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085645041,"filename":"image_30102025_12_02_12_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/2/35a60298c124e56dfa06acb839ad45d1.jpg","text":"TemporaryFile(/tmp/multipartBody3113527383667935020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085645041,"filename":"image_30102025_12_02_05_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/2/af798a8f9fb5311dfced8e34a7dd2611.jpg","text":"TemporaryFile(/tmp/multipartBody6803309147746625681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085645041,"filename":"image_30102025_12_02_02_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391839714","file1":"1391839711","file0":"1391839691","file4":"1391839718","file5":"1391839721","file3":"1391839716"},"map_files_photo_id_array":[{"photo_id":"1391839721","filename":"file5"},{"photo_id":"1391839714","filename":"file2"},{"photo_id":"1391839718","filename":"file4"},{"photo_id":"1391839711","filename":"file1"},{"photo_id":"1391839691","filename":"file0"},{"photo_id":"1391839716","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391839716":["hashtag1","hashtag2"]},{"1391839691":["hashtag1","hashtag2"]},{"1391839721":["hashtag1","hashtag2"]},{"1391839718":["hashtag1","hashtag2"]},{"1391839714":["hashtag1","hashtag2"]},{"1391839711":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391839716, 1391839691, 1391839721, 1391839718, 1391839714, 1391839711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91997051239014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:13:41.991933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_17_2779.jpg', '/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_21_3647.jpg', '/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_23_2645.jpg', '/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_26_2695.jpg', '/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_30_3685.jpg', '/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_32_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/12/02/image_30102025_12_02_17_2779.jpg
/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_21_3647.jpg
/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_23_2645.jpg
/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_26_2695.jpg
/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_30_3685.jpg
/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_32_2716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391839815","1391839820","1391839802","1391839808","1391839818","1391839812"],"photo_ids_order":["1391839802","1391839808","1391839812","1391839815","1391839818","1391839820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/68c383c2864f589e863cfdcd1dc8cb88.jpg","text":"TemporaryFile(/tmp/multipartBody6484025338826285683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085683119,"filename":"image_30102025_12_02_26_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/2/9e16b3ba2dff75f466e7fb88a9391ffa.jpg","text":"TemporaryFile(/tmp/multipartBody2171495116771258327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085683119,"filename":"image_30102025_12_02_32_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/2/1fd545813e5c09f8caf15907360a2526.jpg","text":"TemporaryFile(/tmp/multipartBody1334702107990845810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085683119,"filename":"image_30102025_12_02_17_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/2/57d046c9d020552549c2696bd1d67446.jpg","text":"TemporaryFile(/tmp/multipartBody3402892862002211024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085683119,"filename":"image_30102025_12_02_21_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/2/d2695a3ce4a662d254a13d6fb2a8ebc9.jpg","text":"TemporaryFile(/tmp/multipartBody265025359038976550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085683119,"filename":"image_30102025_12_02_30_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/2/f8bcb93d0f31f25f7ebaa501e180e016.jpg","text":"TemporaryFile(/tmp/multipartBody3073548577434271132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085683119,"filename":"image_30102025_12_02_23_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391839812","file1":"1391839808","file0":"1391839802","file4":"1391839818","file5":"1391839820","file3":"1391839815"},"map_files_photo_id_array":[{"photo_id":"1391839820","filename":"file5"},{"photo_id":"1391839812","filename":"file2"},{"photo_id":"1391839818","filename":"file4"},{"photo_id":"1391839808","filename":"file1"},{"photo_id":"1391839802","filename":"file0"},{"photo_id":"1391839815","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391839815":["hashtag1","hashtag2"]},{"1391839820":["hashtag1","hashtag2"]},{"1391839802":["hashtag1","hashtag2"]},{"1391839808":["hashtag1","hashtag2"]},{"1391839818":["hashtag1","hashtag2"]},{"1391839812":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391839815, 1391839820, 1391839802, 1391839808, 1391839818, 1391839812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72137403488159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 13:14:36.873703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_35_2629.jpg', '/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_39_3697.jpg', '/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_41_2662.jpg', '/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_44_2678.jpg', '/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_48_3636.jpg', '/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_50_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/12/02/image_30102025_12_02_35_2629.jpg
/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_39_3697.jpg
/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_41_2662.jpg
/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_44_2678.jpg
/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_48_3636.jpg
/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_50_2607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391839865","1391839862","1391839858","1391839852","1391839855","1391839860"],"photo_ids_order":["1391839852","1391839855","1391839858","1391839860","1391839862","1391839865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/829fd6483a3146dbb267765c7a830938.jpg","text":"TemporaryFile(/tmp/multipartBody8250843828493945017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085785514,"filename":"image_30102025_12_02_50_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/2/f7d3facc697ff290a09ca7d0c39a0a98.jpg","text":"TemporaryFile(/tmp/multipartBody7087429666855027182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085785514,"filename":"image_30102025_12_02_48_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/2/c0b976a963e53d86cab7993e4053d103.jpg","text":"TemporaryFile(/tmp/multipartBody1018442302478958468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085785514,"filename":"image_30102025_12_02_41_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/2/00d6aaf7f350e6e93c0434b3e1a1a77f.jpg","text":"TemporaryFile(/tmp/multipartBody928760407971712051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085785514,"filename":"image_30102025_12_02_35_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/2/992d0396fa8f4cfcde3fb4bd3f72494d.jpg","text":"TemporaryFile(/tmp/multipartBody8593901125606621493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085785514,"filename":"image_30102025_12_02_39_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/2/99282acf6a48015d19c7623124acbff8.jpg","text":"TemporaryFile(/tmp/multipartBody3779410314374129710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085785514,"filename":"image_30102025_12_02_44_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391839858","file1":"1391839855","file0":"1391839852","file4":"1391839862","file5":"1391839865","file3":"1391839860"},"map_files_photo_id_array":[{"photo_id":"1391839865","filename":"file5"},{"photo_id":"1391839858","filename":"file2"},{"photo_id":"1391839862","filename":"file4"},{"photo_id":"1391839855","filename":"file1"},{"photo_id":"1391839852","filename":"file0"},{"photo_id":"1391839860","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391839865":["hashtag1","hashtag2"]},{"1391839862":["hashtag1","hashtag2"]},{"1391839858":["hashtag1","hashtag2"]},{"1391839852":["hashtag1","hashtag2"]},{"1391839855":["hashtag1","hashtag2"]},{"1391839860":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391839865, 1391839862, 1391839858, 1391839852, 1391839855, 1391839860)","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: 111.55049300193787 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:16:54.331890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_53_2849.jpg', '/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_57_3651.jpg', '/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_01_4147.jpg', '/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_05_1699.jpg', '/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_09_3631.jpg', '/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_16_4253.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_53_2849.jpg
/home/pi/Desktop/images/30102025/12/02/image_30102025_12_02_57_3651.jpg
/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_01_4147.jpg
/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_05_1699.jpg
/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_09_3631.jpg
/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_16_4253.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391839946","1391839941","1391839935","1391839944","1391839938","1391839923"],"photo_ids_order":["1391839923","1391839935","1391839938","1391839941","1391839944","1391839946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b357ddf10b0a2073c8c97462cb1ec628.jpg","text":"TemporaryFile(/tmp/multipartBody3520743352782886515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085875396,"filename":"image_30102025_12_03_16_4253.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/59e08d9f50dd1a7985ae9639b4f4a44b.jpg","text":"TemporaryFile(/tmp/multipartBody651650604238037105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085875396,"filename":"image_30102025_12_03_05_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/2/7c2b492176b04a9bc80876d7d4cbf6c7.jpg","text":"TemporaryFile(/tmp/multipartBody4082329230379353812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085875396,"filename":"image_30102025_12_02_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/2/b16ca64944a5a763e9ca7f5a99c82428.jpg","text":"TemporaryFile(/tmp/multipartBody8691845611560311902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085875396,"filename":"image_30102025_12_03_09_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/2/c872854c1ea7a8e0486f14b8e0877129.jpg","text":"TemporaryFile(/tmp/multipartBody3558260657581595123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085875396,"filename":"image_30102025_12_03_01_4147.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e5ea2fe2cc752d1821bfe2a4ba876a89.jpg","text":"TemporaryFile(/tmp/multipartBody4486447903461802373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085875396,"filename":"image_30102025_12_02_53_2849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391839938","file1":"1391839935","file0":"1391839923","file4":"1391839944","file5":"1391839946","file3":"1391839941"},"map_files_photo_id_array":[{"photo_id":"1391839946","filename":"file5"},{"photo_id":"1391839938","filename":"file2"},{"photo_id":"1391839944","filename":"file4"},{"photo_id":"1391839935","filename":"file1"},{"photo_id":"1391839923","filename":"file0"},{"photo_id":"1391839941","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391839946":["hashtag1","hashtag2"]},{"1391839941":["hashtag1","hashtag2"]},{"1391839935":["hashtag1","hashtag2"]},{"1391839944":["hashtag1","hashtag2"]},{"1391839938":["hashtag1","hashtag2"]},{"1391839923":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391839946, 1391839941, 1391839935, 1391839944, 1391839938, 1391839923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6037175655365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:17:42.475620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_18_1638.jpg', '/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_23_2699.jpg', '/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_27_3755.jpg', '/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_29_2606.jpg', '/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_32_2884.jpg', '/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_35_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/12/03/image_30102025_12_03_18_1638.jpg
/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_23_2699.jpg
/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_27_3755.jpg
/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_29_2606.jpg
/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_32_2884.jpg
/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_35_2601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391839961","1391839963","1391839957","1391839954","1391839965","1391839959"],"photo_ids_order":["1391839954","1391839957","1391839959","1391839961","1391839963","1391839965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b11da323977510e6bc42e3de6ced08b6.jpg","text":"TemporaryFile(/tmp/multipartBody7351893078969209067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085923548,"filename":"image_30102025_12_03_29_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/2/d8b2cb3cdad60fbc4fd3ad0ec75cdd21.jpg","text":"TemporaryFile(/tmp/multipartBody6428340338927754030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085923548,"filename":"image_30102025_12_03_32_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/2/57080b6ddb3e657fe9759b37a5f32204.jpg","text":"TemporaryFile(/tmp/multipartBody2064527096899353623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085923548,"filename":"image_30102025_12_03_23_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/2/3ac5f4ae6d693d851582c98d0cec497e.jpg","text":"TemporaryFile(/tmp/multipartBody3426052179258255375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085923548,"filename":"image_30102025_12_03_18_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/615e2d307fa9c18951b0ca1f081f0aae.jpg","text":"TemporaryFile(/tmp/multipartBody8833170343268018886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085923548,"filename":"image_30102025_12_03_35_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/2/8994a322c391feedd7870857f75500d1.jpg","text":"TemporaryFile(/tmp/multipartBody3561474925350901992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085923548,"filename":"image_30102025_12_03_27_3755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391839959","file1":"1391839957","file0":"1391839954","file4":"1391839963","file5":"1391839965","file3":"1391839961"},"map_files_photo_id_array":[{"photo_id":"1391839965","filename":"file5"},{"photo_id":"1391839959","filename":"file2"},{"photo_id":"1391839963","filename":"file4"},{"photo_id":"1391839957","filename":"file1"},{"photo_id":"1391839954","filename":"file0"},{"photo_id":"1391839961","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391839961":["hashtag1","hashtag2"]},{"1391839963":["hashtag1","hashtag2"]},{"1391839957":["hashtag1","hashtag2"]},{"1391839954":["hashtag1","hashtag2"]},{"1391839965":["hashtag1","hashtag2"]},{"1391839959":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391839961, 1391839963, 1391839957, 1391839954, 1391839965, 1391839959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07011604309082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 13:18:22.674230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_38_3579.jpg', '/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_41_2797.jpg', '/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_44_3392.jpg', '/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_47_2993.jpg', '/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_50_2575.jpg', '/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_53_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/12/03/image_30102025_12_03_38_3579.jpg
/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_41_2797.jpg
/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_44_3392.jpg
/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_47_2993.jpg
/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_50_2575.jpg
/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_53_2836.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391839982","1391839988","1391839987","1391839984","1391839980","1391839977"],"photo_ids_order":["1391839977","1391839980","1391839982","1391839984","1391839987","1391839988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/623bd65df7215c4ffeacdae1796322b0.jpg","text":"TemporaryFile(/tmp/multipartBody1279217412769993720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085965488,"filename":"image_30102025_12_03_44_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/2/4ad50ffbd62be5d5c7b47dab97cabf82.jpg","text":"TemporaryFile(/tmp/multipartBody2770040313243671967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085965488,"filename":"image_30102025_12_03_53_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/2/1b140c60cb8eb6eb292535892d83158a.jpg","text":"TemporaryFile(/tmp/multipartBody3198836263308565210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085965488,"filename":"image_30102025_12_03_50_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/2/7c52bc62f1c2a5ea5d7e356b80c582ac.jpg","text":"TemporaryFile(/tmp/multipartBody4507517476248868390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085965488,"filename":"image_30102025_12_03_47_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/2/16465a9b55e1d76aa0a537081a6d40ae.jpg","text":"TemporaryFile(/tmp/multipartBody5775690309954632414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085965488,"filename":"image_30102025_12_03_41_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/2/080fffb4ba9a9946abd9162f6bd2f9a9.jpg","text":"TemporaryFile(/tmp/multipartBody683252641173996354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762085965488,"filename":"image_30102025_12_03_38_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391839982","file1":"1391839980","file0":"1391839977","file4":"1391839987","file5":"1391839988","file3":"1391839984"},"map_files_photo_id_array":[{"photo_id":"1391839988","filename":"file5"},{"photo_id":"1391839982","filename":"file2"},{"photo_id":"1391839987","filename":"file4"},{"photo_id":"1391839980","filename":"file1"},{"photo_id":"1391839977","filename":"file0"},{"photo_id":"1391839984","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391839982":["hashtag1","hashtag2"]},{"1391839988":["hashtag1","hashtag2"]},{"1391839987":["hashtag1","hashtag2"]},{"1391839984":["hashtag1","hashtag2"]},{"1391839980":["hashtag1","hashtag2"]},{"1391839977":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391839982, 1391839988, 1391839987, 1391839984, 1391839980, 1391839977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25012469291687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 13:19:03.163298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_57_3703.jpg', '/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_59_2731.jpg', '/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_02_2657.jpg', '/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_05_2879.jpg', '/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_09_3683.jpg', '/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_11_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/12/03/image_30102025_12_03_57_3703.jpg
/home/pi/Desktop/images/30102025/12/03/image_30102025_12_03_59_2731.jpg
/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_02_2657.jpg
/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_05_2879.jpg
/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_09_3683.jpg
/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_11_2715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840004","1391840007","1391839996","1391840000","1391839998","1391839994"],"photo_ids_order":["1391839994","1391839996","1391839998","1391840000","1391840004","1391840007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/71d8d9b7bcc7f4581dffef309ea52187.jpg","text":"TemporaryFile(/tmp/multipartBody3954736394807658448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086005797,"filename":"image_30102025_12_04_09_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/2/8203279f2ff404722e318330ac98f3d4.jpg","text":"TemporaryFile(/tmp/multipartBody2645555824762711794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086005797,"filename":"image_30102025_12_04_11_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/2/2468c31f1d41860868c904f2f3e8fa8d.jpg","text":"TemporaryFile(/tmp/multipartBody7726888036046743944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086005797,"filename":"image_30102025_12_03_59_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/2/70fc7fa7acccb57f3bc9d305ea2281a5.jpg","text":"TemporaryFile(/tmp/multipartBody120136668522138502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086005797,"filename":"image_30102025_12_04_05_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/2/bcf1433918036bc5cd1656641e2a8949.jpg","text":"TemporaryFile(/tmp/multipartBody123260475387034072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086005797,"filename":"image_30102025_12_04_02_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/2/4cf4573306040888f58bb2e0e400f4c2.jpg","text":"TemporaryFile(/tmp/multipartBody809963922800725519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086005797,"filename":"image_30102025_12_03_57_3703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391839998","file1":"1391839996","file0":"1391839994","file4":"1391840004","file5":"1391840007","file3":"1391840000"},"map_files_photo_id_array":[{"photo_id":"1391840007","filename":"file5"},{"photo_id":"1391839998","filename":"file2"},{"photo_id":"1391840004","filename":"file4"},{"photo_id":"1391839996","filename":"file1"},{"photo_id":"1391839994","filename":"file0"},{"photo_id":"1391840000","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840004":["hashtag1","hashtag2"]},{"1391840007":["hashtag1","hashtag2"]},{"1391839996":["hashtag1","hashtag2"]},{"1391840000":["hashtag1","hashtag2"]},{"1391839998":["hashtag1","hashtag2"]},{"1391839994":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840004, 1391840007, 1391839996, 1391840000, 1391839998, 1391839994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.707438945770264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:19:42.518358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_14_2646.jpg', '/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_18_3660.jpg', '/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_20_2641.jpg', '/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_27_4407.jpg', '/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_29_1693.jpg', '/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_32_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/12/04/image_30102025_12_04_14_2646.jpg
/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_18_3660.jpg
/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_20_2641.jpg
/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_27_4407.jpg
/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_29_1693.jpg
/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_32_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":["1391840016","1391840025","1391840021","1391840018","1391840020","1391840023"],"photo_ids_order":["1391840016","1391840018","1391840020","1391840021","1391840023","1391840025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d23a73ee349a83a45f447f63425e985a.jpg","text":"TemporaryFile(/tmp/multipartBody185050434199356646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086048800,"filename":"image_30102025_12_04_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/2/9b885f0e24021e239b4eae7e0948f14b.jpg","text":"TemporaryFile(/tmp/multipartBody7553711926852189563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086048800,"filename":"image_30102025_12_04_32_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/2/9cdd5f961a4d911d44b82ff741af207e.jpg","text":"TemporaryFile(/tmp/multipartBody5982897463035437442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086048800,"filename":"image_30102025_12_04_27_4407.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8d195b3164a3aafcc1e9880aed828737.jpg","text":"TemporaryFile(/tmp/multipartBody2104308976825987991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086048800,"filename":"image_30102025_12_04_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/2/ca2427323c41075ce83a7c51ef05f7ba.jpg","text":"TemporaryFile(/tmp/multipartBody660934084064180957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086048800,"filename":"image_30102025_12_04_20_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/2/0eeb88900685c6b49bee154d1261d9c4.jpg","text":"TemporaryFile(/tmp/multipartBody8642848914877303078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086048800,"filename":"image_30102025_12_04_29_1693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840020","file1":"1391840018","file0":"1391840016","file4":"1391840023","file5":"1391840025","file3":"1391840021"},"map_files_photo_id_array":[{"photo_id":"1391840025","filename":"file5"},{"photo_id":"1391840020","filename":"file2"},{"photo_id":"1391840023","filename":"file4"},{"photo_id":"1391840018","filename":"file1"},{"photo_id":"1391840016","filename":"file0"},{"photo_id":"1391840021","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840016":["hashtag1","hashtag2"]},{"1391840025":["hashtag1","hashtag2"]},{"1391840021":["hashtag1","hashtag2"]},{"1391840018":["hashtag1","hashtag2"]},{"1391840020":["hashtag1","hashtag2"]},{"1391840023":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840016, 1391840025, 1391840021, 1391840018, 1391840020, 1391840023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30120873451233 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:20:42.773731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_35_3598.jpg', '/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_38_2678.jpg', '/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_41_2704.jpg', '/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_46_5660.jpg', '/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_48_1575.jpg', '/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_55_7095.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_35_3598.jpg
/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_38_2678.jpg
/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_41_2704.jpg
/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_46_5660.jpg
/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_48_1575.jpg
/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_55_7095.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840049","1391840040","1391840043","1391840046","1391840042","1391840041"],"photo_ids_order":["1391840040","1391840041","1391840042","1391840043","1391840046","1391840049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7c89be5c3b2615c5b6da6d4ec64aa328.jpg","text":"TemporaryFile(/tmp/multipartBody5652155529490394098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086120427,"filename":"image_30102025_12_04_55_7095.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5349e900571367f40ca6a78cacb93cc8.jpg","text":"TemporaryFile(/tmp/multipartBody6433525790396428052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086120427,"filename":"image_30102025_12_04_35_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/2/8265f92df905f97dadafff2ff62dd28b.jpg","text":"TemporaryFile(/tmp/multipartBody4976123946667342007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086120427,"filename":"image_30102025_12_04_46_5660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6d1177cb24f277b8dd56f3ef16c2db31.jpg","text":"TemporaryFile(/tmp/multipartBody8212323667622311462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086120427,"filename":"image_30102025_12_04_48_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/2/025eba9e7a795c886d06c5875c6294cc.jpg","text":"TemporaryFile(/tmp/multipartBody5975555039973780295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086120427,"filename":"image_30102025_12_04_41_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/2/b80144d328dc88bc2d26b6e61d7fb6f8.jpg","text":"TemporaryFile(/tmp/multipartBody8426568327979435942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086120427,"filename":"image_30102025_12_04_38_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840042","file1":"1391840041","file0":"1391840040","file4":"1391840046","file5":"1391840049","file3":"1391840043"},"map_files_photo_id_array":[{"photo_id":"1391840049","filename":"file5"},{"photo_id":"1391840042","filename":"file2"},{"photo_id":"1391840046","filename":"file4"},{"photo_id":"1391840041","filename":"file1"},{"photo_id":"1391840040","filename":"file0"},{"photo_id":"1391840043","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840049":["hashtag1","hashtag2"]},{"1391840040":["hashtag1","hashtag2"]},{"1391840043":["hashtag1","hashtag2"]},{"1391840046":["hashtag1","hashtag2"]},{"1391840042":["hashtag1","hashtag2"]},{"1391840041":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840049, 1391840040, 1391840043, 1391840046, 1391840042, 1391840041)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 59.57334756851196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 13:22:02.479516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_58_3102.jpg', '/home/pi/Desktop/images/30102025/12/04/image_30102025_12_05_00_1682.jpg', '/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_06_4591.jpg', '/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_09_2851.jpg', '/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_10_1621.jpg', '/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_15_4562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/04/image_30102025_12_04_58_3102.jpg
/home/pi/Desktop/images/30102025/12/04/image_30102025_12_05_00_1682.jpg
/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_06_4591.jpg
/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_09_2851.jpg
/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_10_1621.jpg
/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_15_4562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840081","1391840078","1391840075","1391840083","1391840085","1391840088"],"photo_ids_order":["1391840075","1391840078","1391840081","1391840083","1391840085","1391840088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/757bb2a026f586d9310bd3fd5aafe0aa.jpg","text":"TemporaryFile(/tmp/multipartBody5179374543243801023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086184555,"filename":"image_30102025_12_05_06_4591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/67ebde02e6662b07b186b5ac2b75f974.jpg","text":"TemporaryFile(/tmp/multipartBody143886873853030342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086184555,"filename":"image_30102025_12_05_00_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/2/e8162cca567d9aeb6f1a586c1755de99.jpg","text":"TemporaryFile(/tmp/multipartBody2142447919744318968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086184555,"filename":"image_30102025_12_04_58_3102.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6d6b0e292dfe48e9f02f19d6a55ae501.jpg","text":"TemporaryFile(/tmp/multipartBody3928288626324188041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086184555,"filename":"image_30102025_12_05_09_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/2/78914937d543fa3fe098254677e2fdf4.jpg","text":"TemporaryFile(/tmp/multipartBody4762211944739059376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086184555,"filename":"image_30102025_12_05_10_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/2/9ce0e6cd4f84bc555f21abe62229e554.jpg","text":"TemporaryFile(/tmp/multipartBody217457651374495487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086184555,"filename":"image_30102025_12_05_15_4562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840081","file1":"1391840078","file0":"1391840075","file4":"1391840085","file5":"1391840088","file3":"1391840083"},"map_files_photo_id_array":[{"photo_id":"1391840088","filename":"file5"},{"photo_id":"1391840081","filename":"file2"},{"photo_id":"1391840085","filename":"file4"},{"photo_id":"1391840078","filename":"file1"},{"photo_id":"1391840075","filename":"file0"},{"photo_id":"1391840083","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840081":["hashtag1","hashtag2"]},{"1391840078":["hashtag1","hashtag2"]},{"1391840075":["hashtag1","hashtag2"]},{"1391840083":["hashtag1","hashtag2"]},{"1391840085":["hashtag1","hashtag2"]},{"1391840088":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840081, 1391840078, 1391840075, 1391840083, 1391840085, 1391840088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.882508277893066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:22:42.031295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_17_1562.jpg', '/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_18_1683.jpg', '/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_20_1657.jpg', '/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_23_2656.jpg', '/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_26_3643.jpg', '/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_29_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/12/05/image_30102025_12_05_17_1562.jpg
/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_18_1683.jpg
/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_20_1657.jpg
/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_23_2656.jpg
/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_26_3643.jpg
/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_29_2670.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9771113395690918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 13:23:02.902414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_17_1562.jpg', '/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_18_1683.jpg', '/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_20_1657.jpg', '/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_23_2656.jpg', '/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_26_3643.jpg', '/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_29_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/12/05/image_30102025_12_05_17_1562.jpg
/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_18_1683.jpg
/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_20_1657.jpg
/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_23_2656.jpg
/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_26_3643.jpg
/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_29_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":["1391840121","1391840115","1391840118","1391840112","1391840106","1391840109"],"photo_ids_order":["1391840106","1391840109","1391840112","1391840115","1391840118","1391840121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1c430ddc33c4de066f9504a17042fd8c.jpg","text":"TemporaryFile(/tmp/multipartBody7639205040100667457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086246979,"filename":"image_30102025_12_05_29_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/2/52f1515039f15468e78a664bcb6d6abd.jpg","text":"TemporaryFile(/tmp/multipartBody6442440426842298606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086246979,"filename":"image_30102025_12_05_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/2/defb0811f6d2cfadf1aef3e20fe650c8.jpg","text":"TemporaryFile(/tmp/multipartBody541991149197987184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086246979,"filename":"image_30102025_12_05_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/2/884ef2adf9a363b0393a472961c62e06.jpg","text":"TemporaryFile(/tmp/multipartBody2279920452629583909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086246979,"filename":"image_30102025_12_05_20_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/2/4fd963dd48505e63ce32c4265f8f9f87.jpg","text":"TemporaryFile(/tmp/multipartBody8505799159247931838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086246979,"filename":"image_30102025_12_05_17_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1f2eef56b4702eb3f2eb91ad7069082b.jpg","text":"TemporaryFile(/tmp/multipartBody8677243619672020350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086246979,"filename":"image_30102025_12_05_18_1683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840112","file1":"1391840109","file0":"1391840106","file4":"1391840118","file5":"1391840121","file3":"1391840115"},"map_files_photo_id_array":[{"photo_id":"1391840121","filename":"file5"},{"photo_id":"1391840112","filename":"file2"},{"photo_id":"1391840118","filename":"file4"},{"photo_id":"1391840109","filename":"file1"},{"photo_id":"1391840106","filename":"file0"},{"photo_id":"1391840115","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840121":["hashtag1","hashtag2"]},{"1391840115":["hashtag1","hashtag2"]},{"1391840118":["hashtag1","hashtag2"]},{"1391840112":["hashtag1","hashtag2"]},{"1391840106":["hashtag1","hashtag2"]},{"1391840109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840121, 1391840115, 1391840118, 1391840112, 1391840106, 1391840109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91084694862366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 13:24:03.089245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_32_2701.jpg', '/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_35_3794.jpg', '/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_38_2619.jpg', '/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_44_3665.jpg', '/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_47_2565.jpg', '/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_49_2555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_32_2701.jpg
/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_35_3794.jpg
/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_38_2619.jpg
/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_44_3665.jpg
/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_47_2565.jpg
/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_49_2555.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840136","1391840150","1391840144","1391840132","1391840146","1391840140"],"photo_ids_order":["1391840132","1391840136","1391840140","1391840144","1391840146","1391840150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/305f0836a9fed077d1ff35b8f897dcd0.jpg","text":"TemporaryFile(/tmp/multipartBody1796501114259371654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086305655,"filename":"image_30102025_12_05_35_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/2/da1c0d25e04fb4e0c779c6a185f49786.jpg","text":"TemporaryFile(/tmp/multipartBody3010487669877923760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086305655,"filename":"image_30102025_12_05_49_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/2/288e8f54b13b0c1749b4711620d9f45c.jpg","text":"TemporaryFile(/tmp/multipartBody5221367058423405600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086305655,"filename":"image_30102025_12_05_44_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/2/b22545df9287d81cab28db8dba00a8bc.jpg","text":"TemporaryFile(/tmp/multipartBody4568341157771909127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086305655,"filename":"image_30102025_12_05_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/2/5a331a2eae5e3460474ab543a8d794bd.jpg","text":"TemporaryFile(/tmp/multipartBody7695925043553501958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086305655,"filename":"image_30102025_12_05_47_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/2/8083252794d0b6ff4c4f9c66dedb07d8.jpg","text":"TemporaryFile(/tmp/multipartBody828983430627280074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086305655,"filename":"image_30102025_12_05_38_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840140","file1":"1391840136","file0":"1391840132","file4":"1391840146","file5":"1391840150","file3":"1391840144"},"map_files_photo_id_array":[{"photo_id":"1391840150","filename":"file5"},{"photo_id":"1391840140","filename":"file2"},{"photo_id":"1391840146","filename":"file4"},{"photo_id":"1391840136","filename":"file1"},{"photo_id":"1391840132","filename":"file0"},{"photo_id":"1391840144","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840136":["hashtag1","hashtag2"]},{"1391840150":["hashtag1","hashtag2"]},{"1391840144":["hashtag1","hashtag2"]},{"1391840132":["hashtag1","hashtag2"]},{"1391840146":["hashtag1","hashtag2"]},{"1391840140":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840136, 1391840150, 1391840144, 1391840132, 1391840146, 1391840140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75934171676636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:24:42.404981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_53_3678.jpg', '/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_59_2666.jpg', '/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_02_3761.jpg', '/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_05_2638.jpg', '/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_08_2627.jpg', '/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_11_3844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_53_3678.jpg
/home/pi/Desktop/images/30102025/12/05/image_30102025_12_05_59_2666.jpg
/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_02_3761.jpg
/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_05_2638.jpg
/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_08_2627.jpg
/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_11_3844.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840160","1391840163","1391840162","1391840161","1391840158","1391840166"],"photo_ids_order":["1391840158","1391840160","1391840161","1391840162","1391840163","1391840166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b0da78ca8830d783c3ff5427734c4d61.jpg","text":"TemporaryFile(/tmp/multipartBody4497807992582172755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086343519,"filename":"image_30102025_12_05_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/2/12e5d19cd6c50ef09fe12cdd18345b72.jpg","text":"TemporaryFile(/tmp/multipartBody9177528683724849312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086343519,"filename":"image_30102025_12_06_08_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/2/71f622970e2993184a568670ede0b670.jpg","text":"TemporaryFile(/tmp/multipartBody158630725866298899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086343519,"filename":"image_30102025_12_06_05_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/2/a5a378652851da2afba09ba9e21d2a78.jpg","text":"TemporaryFile(/tmp/multipartBody3795766686945154350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086343519,"filename":"image_30102025_12_06_02_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/2/e09b01b51a98c49a34240c26d016f5d7.jpg","text":"TemporaryFile(/tmp/multipartBody2510794324139085157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086343519,"filename":"image_30102025_12_05_53_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/2/6bf30dcea121e7e56cd0ee53b652504c.jpg","text":"TemporaryFile(/tmp/multipartBody9175415830943559680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086343519,"filename":"image_30102025_12_06_11_3844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840161","file1":"1391840160","file0":"1391840158","file4":"1391840163","file5":"1391840166","file3":"1391840162"},"map_files_photo_id_array":[{"photo_id":"1391840166","filename":"file5"},{"photo_id":"1391840161","filename":"file2"},{"photo_id":"1391840163","filename":"file4"},{"photo_id":"1391840160","filename":"file1"},{"photo_id":"1391840158","filename":"file0"},{"photo_id":"1391840162","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840160":["hashtag1","hashtag2"]},{"1391840163":["hashtag1","hashtag2"]},{"1391840162":["hashtag1","hashtag2"]},{"1391840161":["hashtag1","hashtag2"]},{"1391840158":["hashtag1","hashtag2"]},{"1391840166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840160, 1391840163, 1391840162, 1391840161, 1391840158, 1391840166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59285855293274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 13:25:22.590952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_14_2772.jpg', '/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_17_2703.jpg', '/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_20_2648.jpg', '/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_23_3556.jpg', '/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_26_2640.jpg', '/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_29_3550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_14_2772.jpg
/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_17_2703.jpg
/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_20_2648.jpg
/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_23_3556.jpg
/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_26_2640.jpg
/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_29_3550.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840189","1391840191","1391840185","1391840188","1391840182","1391840179"],"photo_ids_order":["1391840179","1391840182","1391840185","1391840188","1391840189","1391840191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bf7b48fd2341c9394f70c4c270269440.jpg","text":"TemporaryFile(/tmp/multipartBody4901446454135850017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086385279,"filename":"image_30102025_12_06_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/2/5e4decaecb4e39bc7f8324dfdff43c51.jpg","text":"TemporaryFile(/tmp/multipartBody5879691707509225838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086385279,"filename":"image_30102025_12_06_29_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/2/b94e97d8ed7f3b3b4152f3ae28a12d3b.jpg","text":"TemporaryFile(/tmp/multipartBody7160562286078739347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086385279,"filename":"image_30102025_12_06_20_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/2/652ab1471d9f1ff61c24b62d405eda4b.jpg","text":"TemporaryFile(/tmp/multipartBody8828730165104184397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086385279,"filename":"image_30102025_12_06_23_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/2/577bc9d76ad169badf19fc330019ae07.jpg","text":"TemporaryFile(/tmp/multipartBody4190557664958536687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086385279,"filename":"image_30102025_12_06_17_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/2/dd09238d0d4da14c1ebdc22c90215c43.jpg","text":"TemporaryFile(/tmp/multipartBody1541019131454415035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086385279,"filename":"image_30102025_12_06_14_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840185","file1":"1391840182","file0":"1391840179","file4":"1391840189","file5":"1391840191","file3":"1391840188"},"map_files_photo_id_array":[{"photo_id":"1391840191","filename":"file5"},{"photo_id":"1391840185","filename":"file2"},{"photo_id":"1391840189","filename":"file4"},{"photo_id":"1391840182","filename":"file1"},{"photo_id":"1391840179","filename":"file0"},{"photo_id":"1391840188","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840189":["hashtag1","hashtag2"]},{"1391840191":["hashtag1","hashtag2"]},{"1391840185":["hashtag1","hashtag2"]},{"1391840188":["hashtag1","hashtag2"]},{"1391840182":["hashtag1","hashtag2"]},{"1391840179":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840189, 1391840191, 1391840185, 1391840188, 1391840182, 1391840179)","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: 64.29101014137268 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:26:44.456697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_32_2669.jpg', '/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_35_2709.jpg', '/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_38_3596.jpg', '/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_41_2646.jpg', '/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_43_2549.jpg', '/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_47_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/12/06/image_30102025_12_06_32_2669.jpg
/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_35_2709.jpg
/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_38_3596.jpg
/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_41_2646.jpg
/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_43_2549.jpg
/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_47_3715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840214","1391840223","1391840225","1391840228","1391840219","1391840227"],"photo_ids_order":["1391840214","1391840219","1391840223","1391840225","1391840227","1391840228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c265916d25b05ece1f4a96f4232cf578.jpg","text":"TemporaryFile(/tmp/multipartBody8305021075510668291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086465654,"filename":"image_30102025_12_06_32_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/2/7c7b1971808e99a90f3354a994cafb89.jpg","text":"TemporaryFile(/tmp/multipartBody2880656331169130267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086465654,"filename":"image_30102025_12_06_38_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/2/2ac7e9b78da518bf0bcd53d25ff4b977.jpg","text":"TemporaryFile(/tmp/multipartBody5670123211997369770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086465654,"filename":"image_30102025_12_06_41_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/2/61763a16322811d80861b448350eabd7.jpg","text":"TemporaryFile(/tmp/multipartBody5275355608519721469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086465654,"filename":"image_30102025_12_06_47_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/2/a50931f6153ee08d02aedb4733ac5326.jpg","text":"TemporaryFile(/tmp/multipartBody8338145171851893372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086465654,"filename":"image_30102025_12_06_35_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/2/cdd8a321c9470a9f6a3190f3a9e19bf8.jpg","text":"TemporaryFile(/tmp/multipartBody1936419398838215584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086465654,"filename":"image_30102025_12_06_43_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840223","file1":"1391840219","file0":"1391840214","file4":"1391840227","file5":"1391840228","file3":"1391840225"},"map_files_photo_id_array":[{"photo_id":"1391840228","filename":"file5"},{"photo_id":"1391840223","filename":"file2"},{"photo_id":"1391840227","filename":"file4"},{"photo_id":"1391840219","filename":"file1"},{"photo_id":"1391840214","filename":"file0"},{"photo_id":"1391840225","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840214":["hashtag1","hashtag2"]},{"1391840223":["hashtag1","hashtag2"]},{"1391840225":["hashtag1","hashtag2"]},{"1391840228":["hashtag1","hashtag2"]},{"1391840219":["hashtag1","hashtag2"]},{"1391840227":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840214, 1391840223, 1391840225, 1391840228, 1391840219, 1391840227)","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: 70.53674411773682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 13:28:27.091623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 13:28:44.920207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 13:29:02.755675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_50_2556.jpg', '/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_52_2696.jpg', '/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_56_3707.jpg', '/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_59_2738.jpg', '/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_02_2647.jpg', '/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_05_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/12/06/image_30102025_12_06_50_2556.jpg
/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_52_2696.jpg
/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_56_3707.jpg
/home/pi/Desktop/images/30102025/12/06/image_30102025_12_06_59_2738.jpg
/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_02_2647.jpg
/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_05_3558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840279","1391840270","1391840267","1391840272","1391840281","1391840275"],"photo_ids_order":["1391840267","1391840270","1391840272","1391840275","1391840279","1391840281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/350ea68ba96948821ffa1f36a347d009.jpg","text":"TemporaryFile(/tmp/multipartBody4771519651562309212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086612132,"filename":"image_30102025_12_07_02_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/2/8925b2c02ea423e9573ceb55daff84d8.jpg","text":"TemporaryFile(/tmp/multipartBody2234713722967702005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086612132,"filename":"image_30102025_12_06_52_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/2/8dbe6e34e6d34b11cc0003961e759dd6.jpg","text":"TemporaryFile(/tmp/multipartBody2681733625812779519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086612132,"filename":"image_30102025_12_06_50_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/2/b65128151b0338401b288ce0339f007d.jpg","text":"TemporaryFile(/tmp/multipartBody168149925469198036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086612132,"filename":"image_30102025_12_06_56_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/2/1c0d43d2d39a9eac90f1d942172f7840.jpg","text":"TemporaryFile(/tmp/multipartBody6575775116116923036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086612132,"filename":"image_30102025_12_07_05_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/2/e0e42229222faac6f936b85f257cc83e.jpg","text":"TemporaryFile(/tmp/multipartBody5300456943812368905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086612132,"filename":"image_30102025_12_06_59_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840272","file1":"1391840270","file0":"1391840267","file4":"1391840279","file5":"1391840281","file3":"1391840275"},"map_files_photo_id_array":[{"photo_id":"1391840281","filename":"file5"},{"photo_id":"1391840272","filename":"file2"},{"photo_id":"1391840279","filename":"file4"},{"photo_id":"1391840270","filename":"file1"},{"photo_id":"1391840267","filename":"file0"},{"photo_id":"1391840275","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840279":["hashtag1","hashtag2"]},{"1391840270":["hashtag1","hashtag2"]},{"1391840267":["hashtag1","hashtag2"]},{"1391840272":["hashtag1","hashtag2"]},{"1391840281":["hashtag1","hashtag2"]},{"1391840275":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840279, 1391840270, 1391840267, 1391840272, 1391840281, 1391840275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.952277183532715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 13:30:04.094784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_08_2686.jpg', '/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_11_3598.jpg', '/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_14_2642.jpg', '/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_17_2635.jpg', '/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_20_3690.jpg', '/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_23_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/12/07/image_30102025_12_07_08_2686.jpg
/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_11_3598.jpg
/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_14_2642.jpg
/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_17_2635.jpg
/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_20_3690.jpg
/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_23_2721.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":["1391840294","1391840299","1391840296","1391840302","1391840305","1391840292"],"photo_ids_order":["1391840292","1391840294","1391840296","1391840299","1391840302","1391840305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f1dd4a84ca218934e904da26935712c3.jpg","text":"TemporaryFile(/tmp/multipartBody6276675273021089061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086667951,"filename":"image_30102025_12_07_11_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/2/8f3781976f50e436f16e89b5aa407321.jpg","text":"TemporaryFile(/tmp/multipartBody6548031180336226868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086667951,"filename":"image_30102025_12_07_17_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/2/df7b66790a1d30d70dee28f875afda97.jpg","text":"TemporaryFile(/tmp/multipartBody6329699535792102594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086667951,"filename":"image_30102025_12_07_14_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/2/1b70361f00a46f9671466629ebc33dab.jpg","text":"TemporaryFile(/tmp/multipartBody2984200691192770285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086667951,"filename":"image_30102025_12_07_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/2/96fdf4edbde91693d5ebe1c33c302e24.jpg","text":"TemporaryFile(/tmp/multipartBody1868297631351128487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086667951,"filename":"image_30102025_12_07_23_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/2/d9aecf35387e815f4c5a145eb8c9fe4f.jpg","text":"TemporaryFile(/tmp/multipartBody7457853557465308949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086667951,"filename":"image_30102025_12_07_08_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840296","file1":"1391840294","file0":"1391840292","file4":"1391840302","file5":"1391840305","file3":"1391840299"},"map_files_photo_id_array":[{"photo_id":"1391840305","filename":"file5"},{"photo_id":"1391840296","filename":"file2"},{"photo_id":"1391840302","filename":"file4"},{"photo_id":"1391840294","filename":"file1"},{"photo_id":"1391840292","filename":"file0"},{"photo_id":"1391840299","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840294":["hashtag1","hashtag2"]},{"1391840299":["hashtag1","hashtag2"]},{"1391840296":["hashtag1","hashtag2"]},{"1391840302":["hashtag1","hashtag2"]},{"1391840305":["hashtag1","hashtag2"]},{"1391840292":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840294, 1391840299, 1391840296, 1391840302, 1391840305, 1391840292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.36411118507385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 13:31:02.871299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_26_2660.jpg', '/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_28_2641.jpg', '/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_32_3774.jpg', '/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_35_2621.jpg', '/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_37_2688.jpg', '/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_41_3820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_26_2660.jpg
/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_28_2641.jpg
/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_32_3774.jpg
/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_35_2621.jpg
/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_37_2688.jpg
/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_41_3820.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840331","1391840319","1391840327","1391840329","1391840323","1391840332"],"photo_ids_order":["1391840319","1391840323","1391840327","1391840329","1391840331","1391840332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/57410df7e5a1f5788506cbca8f8e07b3.jpg","text":"TemporaryFile(/tmp/multipartBody8635379513092750182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086725088,"filename":"image_30102025_12_07_37_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/2/c7e18de6757cb61b4363d2912933e335.jpg","text":"TemporaryFile(/tmp/multipartBody6434388563197276565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086725088,"filename":"image_30102025_12_07_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/2/9696e742dbacceb064bab9ed0c14d5bc.jpg","text":"TemporaryFile(/tmp/multipartBody7914545002256959081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086725088,"filename":"image_30102025_12_07_32_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/2/366ee6287360ddc9a6d5a88a499b964c.jpg","text":"TemporaryFile(/tmp/multipartBody7912695021847194637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086725088,"filename":"image_30102025_12_07_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/2/1f37d3782879fb19a460d9c6c2c3dd83.jpg","text":"TemporaryFile(/tmp/multipartBody3300771584857259112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086725088,"filename":"image_30102025_12_07_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/2/277bb5410820cbd864fbfdafd75bbf95.jpg","text":"TemporaryFile(/tmp/multipartBody6942071936859954401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086725088,"filename":"image_30102025_12_07_41_3820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840327","file1":"1391840323","file0":"1391840319","file4":"1391840331","file5":"1391840332","file3":"1391840329"},"map_files_photo_id_array":[{"photo_id":"1391840332","filename":"file5"},{"photo_id":"1391840327","filename":"file2"},{"photo_id":"1391840331","filename":"file4"},{"photo_id":"1391840323","filename":"file1"},{"photo_id":"1391840319","filename":"file0"},{"photo_id":"1391840329","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840331":["hashtag1","hashtag2"]},{"1391840319":["hashtag1","hashtag2"]},{"1391840327":["hashtag1","hashtag2"]},{"1391840329":["hashtag1","hashtag2"]},{"1391840323":["hashtag1","hashtag2"]},{"1391840332":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840331, 1391840319, 1391840327, 1391840329, 1391840323, 1391840332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.455471992492676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:31:42.178296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_44_2579.jpg', '/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_46_2677.jpg', '/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_50_3638.jpg', '/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_53_2628.jpg', '/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_56_2794.jpg', '/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_59_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/12/07/image_30102025_12_07_44_2579.jpg
/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_46_2677.jpg
/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_50_3638.jpg
/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_53_2628.jpg
/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_56_2794.jpg
/home/pi/Desktop/images/30102025/12/07/image_30102025_12_07_59_3597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840346","1391840342","1391840339","1391840347","1391840344","1391840338"],"photo_ids_order":["1391840338","1391840339","1391840342","1391840344","1391840346","1391840347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bd946ae482655d161176208b1ec6b94d.jpg","text":"TemporaryFile(/tmp/multipartBody1019937264602890150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086763302,"filename":"image_30102025_12_07_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/2/cb68d2dc3b31ed989ceb0ec25988add2.jpg","text":"TemporaryFile(/tmp/multipartBody2034196199213866620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086763302,"filename":"image_30102025_12_07_50_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/2/7fc663a9a2ff962e6735ac3fbc5c2b9e.jpg","text":"TemporaryFile(/tmp/multipartBody1615351270703016244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086763302,"filename":"image_30102025_12_07_46_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/2/a570e7e6a53e6d4e8f11a2fa54b103e4.jpg","text":"TemporaryFile(/tmp/multipartBody8915862288599588883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086763302,"filename":"image_30102025_12_07_59_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/2/01ecb6f877fd1fc84467c74f02d42c5e.jpg","text":"TemporaryFile(/tmp/multipartBody8049239354685363728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086763302,"filename":"image_30102025_12_07_53_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/2/0740c620af167a8b3540907a3d6685e8.jpg","text":"TemporaryFile(/tmp/multipartBody8665151779029599841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086763302,"filename":"image_30102025_12_07_44_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840342","file1":"1391840339","file0":"1391840338","file4":"1391840346","file5":"1391840347","file3":"1391840344"},"map_files_photo_id_array":[{"photo_id":"1391840347","filename":"file5"},{"photo_id":"1391840342","filename":"file2"},{"photo_id":"1391840346","filename":"file4"},{"photo_id":"1391840339","filename":"file1"},{"photo_id":"1391840338","filename":"file0"},{"photo_id":"1391840344","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840346":["hashtag1","hashtag2"]},{"1391840342":["hashtag1","hashtag2"]},{"1391840339":["hashtag1","hashtag2"]},{"1391840347":["hashtag1","hashtag2"]},{"1391840344":["hashtag1","hashtag2"]},{"1391840338":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840346, 1391840342, 1391840339, 1391840347, 1391840344, 1391840338)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.77175307273865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:32:42.315566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_02_2607.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_04_2581.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_08_3737.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_11_2786.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_14_2672.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_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/12/08/image_30102025_12_08_02_2607.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_04_2581.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_08_3737.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_11_2786.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_14_2672.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_17_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: 8.096433877944946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 13:33:03.185505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_02_2607.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_04_2581.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_08_3737.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_11_2786.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_14_2672.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_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/12/08/image_30102025_12_08_02_2607.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_04_2581.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_08_3737.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_11_2786.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_14_2672.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_17_3542.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840393","1391840389","1391840380","1391840382","1391840376","1391840385"],"photo_ids_order":["1391840376","1391840380","1391840382","1391840385","1391840389","1391840393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a101ef838a913a7b99787fac40d9bb59.jpg","text":"TemporaryFile(/tmp/multipartBody353645466339998268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086845264,"filename":"image_30102025_12_08_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/2/e38731c87fda8431253c78f34b2e3e86.jpg","text":"TemporaryFile(/tmp/multipartBody4012328213174397118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086845264,"filename":"image_30102025_12_08_14_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/2/ee19016bb2c95f22edcf6e2628ac2020.jpg","text":"TemporaryFile(/tmp/multipartBody6884303697163462390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086845264,"filename":"image_30102025_12_08_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/2/14d9ecc1cb58322ce01ad1072ac766c9.jpg","text":"TemporaryFile(/tmp/multipartBody6653480203269916106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086845264,"filename":"image_30102025_12_08_08_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/2/452e2d43cad4a6183cbd4c3465ac90b1.jpg","text":"TemporaryFile(/tmp/multipartBody6686330128869025760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086845264,"filename":"image_30102025_12_08_02_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/2/c98b07943b31f0445292187c38652ebf.jpg","text":"TemporaryFile(/tmp/multipartBody4330974180795541567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086845264,"filename":"image_30102025_12_08_11_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840382","file1":"1391840380","file0":"1391840376","file4":"1391840389","file5":"1391840393","file3":"1391840385"},"map_files_photo_id_array":[{"photo_id":"1391840393","filename":"file5"},{"photo_id":"1391840382","filename":"file2"},{"photo_id":"1391840389","filename":"file4"},{"photo_id":"1391840380","filename":"file1"},{"photo_id":"1391840376","filename":"file0"},{"photo_id":"1391840385","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840393":["hashtag1","hashtag2"]},{"1391840389":["hashtag1","hashtag2"]},{"1391840380":["hashtag1","hashtag2"]},{"1391840382":["hashtag1","hashtag2"]},{"1391840376":["hashtag1","hashtag2"]},{"1391840385":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840393, 1391840389, 1391840380, 1391840382, 1391840376, 1391840385)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 52.61281108856201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 13:34:02.555168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_20_2625.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_22_2705.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_26_3549.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_29_2786.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_31_2689.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_34_2858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_20_2625.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_22_2705.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_26_3549.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_29_2786.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_31_2689.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_34_2858.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.172691583633423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 13:34:21.920400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_20_2625.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_22_2705.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_26_3549.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_29_2786.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_31_2689.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_34_2858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_20_2625.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_22_2705.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_26_3549.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_29_2786.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_31_2689.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_34_2858.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840421","1391840423","1391840417","1391840428","1391840425","1391840419"],"photo_ids_order":["1391840417","1391840419","1391840421","1391840423","1391840425","1391840428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bdf31599ee83cf6ed1211a293ba36eb2.jpg","text":"TemporaryFile(/tmp/multipartBody1057592170905921646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086924341,"filename":"image_30102025_12_08_26_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/2/632bf822863162204ecb36ba18d2ebf5.jpg","text":"TemporaryFile(/tmp/multipartBody4641295514010792270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086924341,"filename":"image_30102025_12_08_29_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/2/24d9a691afdd774c0925ba2ef163aedd.jpg","text":"TemporaryFile(/tmp/multipartBody2672506133438373605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086924341,"filename":"image_30102025_12_08_20_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/2/d4102277e36b59dc9cfcb2690800b164.jpg","text":"TemporaryFile(/tmp/multipartBody2546248234010833450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086924341,"filename":"image_30102025_12_08_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/2/a60b7cd2528daad5f2705272c078615f.jpg","text":"TemporaryFile(/tmp/multipartBody8674091611699726644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086924341,"filename":"image_30102025_12_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/2/9cfc7461fcdfc3540cf94ca0fe99a77b.jpg","text":"TemporaryFile(/tmp/multipartBody1454100050916608359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086924341,"filename":"image_30102025_12_08_22_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840421","file1":"1391840419","file0":"1391840417","file4":"1391840425","file5":"1391840428","file3":"1391840423"},"map_files_photo_id_array":[{"photo_id":"1391840428","filename":"file5"},{"photo_id":"1391840421","filename":"file2"},{"photo_id":"1391840425","filename":"file4"},{"photo_id":"1391840419","filename":"file1"},{"photo_id":"1391840417","filename":"file0"},{"photo_id":"1391840423","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840421":["hashtag1","hashtag2"]},{"1391840423":["hashtag1","hashtag2"]},{"1391840417":["hashtag1","hashtag2"]},{"1391840428":["hashtag1","hashtag2"]},{"1391840425":["hashtag1","hashtag2"]},{"1391840419":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840421, 1391840423, 1391840417, 1391840428, 1391840425, 1391840419)","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 = 1391840421 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_26_3549.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 61.65418601036072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 13:35:28.984014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_38_3797.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_41_2591.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_43_2698.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_47_3713.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_50_2549.jpg', '/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_56_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/12/08/image_30102025_12_08_38_3797.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_41_2591.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_43_2698.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_47_3713.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_50_2549.jpg
/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_56_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":["1391840448","1391840453","1391840461","1391840440","1391840443","1391840457"],"photo_ids_order":["1391840440","1391840443","1391840448","1391840453","1391840457","1391840461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3a3ff75e50fc715ff5430b0aefe31488.jpg","text":"TemporaryFile(/tmp/multipartBody5932621010904066088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086995113,"filename":"image_30102025_12_08_43_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/2/2a630f1e50d5eaaad6163e360feaf2d1.jpg","text":"TemporaryFile(/tmp/multipartBody5374168043899589758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086995113,"filename":"image_30102025_12_08_47_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/2/2f029d506c33115c56ed009106fca973.jpg","text":"TemporaryFile(/tmp/multipartBody181876360573616847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086995113,"filename":"image_30102025_12_08_56_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/2/d6d0ee4cdc251133a70a842a1a9b6459.jpg","text":"TemporaryFile(/tmp/multipartBody3917762913547838330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086995113,"filename":"image_30102025_12_08_38_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/2/3f033c091eb3039cc59fc21a0acd0843.jpg","text":"TemporaryFile(/tmp/multipartBody3189939691873242405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086995113,"filename":"image_30102025_12_08_41_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/2/c87c5e8070017c92c718b5c724b0bc38.jpg","text":"TemporaryFile(/tmp/multipartBody6224915934874220551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762086995113,"filename":"image_30102025_12_08_50_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840448","file1":"1391840443","file0":"1391840440","file4":"1391840457","file5":"1391840461","file3":"1391840453"},"map_files_photo_id_array":[{"photo_id":"1391840461","filename":"file5"},{"photo_id":"1391840448","filename":"file2"},{"photo_id":"1391840457","filename":"file4"},{"photo_id":"1391840443","filename":"file1"},{"photo_id":"1391840440","filename":"file0"},{"photo_id":"1391840453","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840448":["hashtag1","hashtag2"]},{"1391840453":["hashtag1","hashtag2"]},{"1391840461":["hashtag1","hashtag2"]},{"1391840440":["hashtag1","hashtag2"]},{"1391840443":["hashtag1","hashtag2"]},{"1391840457":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840448, 1391840453, 1391840461, 1391840440, 1391840443, 1391840457)","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 = 1391840448 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_43_2698.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 69.1098415851593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:36:42.429924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/08/image_30102025_12_08_59_2789.jpg', '/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_02_3029.jpg', '/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_04_2665.jpg', '/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_08_3595.jpg', '/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_11_2695.jpg', '/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_13_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/12/08/image_30102025_12_08_59_2789.jpg
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_02_3029.jpg
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_04_2665.jpg
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_08_3595.jpg
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_11_2695.jpg
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_13_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":["1391840489","1391840497","1391840482","1391840491","1391840485","1391840494"],"photo_ids_order":["1391840482","1391840485","1391840489","1391840491","1391840494","1391840497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b6316b316167fc14736634b47be99d8a.jpg","text":"TemporaryFile(/tmp/multipartBody5322224104317615134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087068041,"filename":"image_30102025_12_09_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/2/eef6f76d0d66ea54914035773b4fc5da.jpg","text":"TemporaryFile(/tmp/multipartBody224958116052886064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087068041,"filename":"image_30102025_12_09_13_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/2/188ae4539654be1fb6e59ab551507bef.jpg","text":"TemporaryFile(/tmp/multipartBody7160834283876299747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087068041,"filename":"image_30102025_12_08_59_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/2/d5e9678b27620f4de359c48c50991f04.jpg","text":"TemporaryFile(/tmp/multipartBody632346280417389285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087068041,"filename":"image_30102025_12_09_08_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/2/1ed3e6c29f4774bbdcd4dea34c12a1b7.jpg","text":"TemporaryFile(/tmp/multipartBody8169194995036804407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087068041,"filename":"image_30102025_12_09_02_3029.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d92e5791caf745b7f47faf1589c95307.jpg","text":"TemporaryFile(/tmp/multipartBody1224275428886228933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087068041,"filename":"image_30102025_12_09_11_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840489","file1":"1391840485","file0":"1391840482","file4":"1391840494","file5":"1391840497","file3":"1391840491"},"map_files_photo_id_array":[{"photo_id":"1391840497","filename":"file5"},{"photo_id":"1391840489","filename":"file2"},{"photo_id":"1391840494","filename":"file4"},{"photo_id":"1391840485","filename":"file1"},{"photo_id":"1391840482","filename":"file0"},{"photo_id":"1391840491","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840489":["hashtag1","hashtag2"]},{"1391840497":["hashtag1","hashtag2"]},{"1391840482":["hashtag1","hashtag2"]},{"1391840491":["hashtag1","hashtag2"]},{"1391840485":["hashtag1","hashtag2"]},{"1391840494":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840489, 1391840497, 1391840482, 1391840491, 1391840485, 1391840494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.9710795879364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:37:42.234032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_17_3735.jpg', '/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_20_2684.jpg', '/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_22_2600.jpg', '/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_26_3660.jpg', '/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_29_2734.jpg', '/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_31_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_17_3735.jpg
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_20_2684.jpg
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_22_2600.jpg
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_26_3660.jpg
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_29_2734.jpg
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_31_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840520","1391840517","1391840522","1391840519","1391840515","1391840512"],"photo_ids_order":["1391840512","1391840515","1391840517","1391840519","1391840520","1391840522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/17947678aa79c4fa64efa6110a11b342.jpg","text":"TemporaryFile(/tmp/multipartBody8695537473164746138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087123347,"filename":"image_30102025_12_09_29_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/2/9f309f0f07445a923a39e7464d4d6f0d.jpg","text":"TemporaryFile(/tmp/multipartBody5174840080734615201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087123347,"filename":"image_30102025_12_09_22_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/2/d0324fb19c999dc19e15ecd1f1cb7848.jpg","text":"TemporaryFile(/tmp/multipartBody5092203040464227332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087123347,"filename":"image_30102025_12_09_31_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/2/1bbced07736886606bff1ccd056e49dc.jpg","text":"TemporaryFile(/tmp/multipartBody6630332249335924440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087123347,"filename":"image_30102025_12_09_26_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/2/fd197baf17c79539a7d100259ca62ea2.jpg","text":"TemporaryFile(/tmp/multipartBody4915976053655645161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087123347,"filename":"image_30102025_12_09_20_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/2/5355d276736389feaa1059cd66cf01d2.jpg","text":"TemporaryFile(/tmp/multipartBody1345606618333815637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087123347,"filename":"image_30102025_12_09_17_3735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840517","file1":"1391840515","file0":"1391840512","file4":"1391840520","file5":"1391840522","file3":"1391840519"},"map_files_photo_id_array":[{"photo_id":"1391840522","filename":"file5"},{"photo_id":"1391840517","filename":"file2"},{"photo_id":"1391840520","filename":"file4"},{"photo_id":"1391840515","filename":"file1"},{"photo_id":"1391840512","filename":"file0"},{"photo_id":"1391840519","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840520":["hashtag1","hashtag2"]},{"1391840517":["hashtag1","hashtag2"]},{"1391840522":["hashtag1","hashtag2"]},{"1391840519":["hashtag1","hashtag2"]},{"1391840515":["hashtag1","hashtag2"]},{"1391840512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840520, 1391840517, 1391840522, 1391840519, 1391840515, 1391840512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48580837249756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 13:38:22.388429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_34_2722.jpg', '/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_38_3654.jpg', '/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_41_2848.jpg', '/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_43_2611.jpg', '/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_47_3747.jpg', '/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_54_7046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_34_2722.jpg
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_38_3654.jpg
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_41_2848.jpg
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_43_2611.jpg
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_47_3747.jpg
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_54_7046.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5983941555023193 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:38:42.542431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_34_2722.jpg', '/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_38_3654.jpg', '/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_41_2848.jpg', '/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_43_2611.jpg', '/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_47_3747.jpg', '/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_54_7046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_34_2722.jpg
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_38_3654.jpg
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_41_2848.jpg
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_43_2611.jpg
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_47_3747.jpg
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_54_7046.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840541","1391840543","1391840546","1391840545","1391840548","1391840539"],"photo_ids_order":["1391840539","1391840541","1391840543","1391840545","1391840546","1391840548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/81b0cfcd98421765b5e0569bd7657754.jpg","text":"TemporaryFile(/tmp/multipartBody1572452198291966065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087183556,"filename":"image_30102025_12_09_38_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/2/4d6bbde19270891f65f9d8863e813100.jpg","text":"TemporaryFile(/tmp/multipartBody7361705090919375905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087183556,"filename":"image_30102025_12_09_41_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/2/81637c72185f30474dc5818301822126.jpg","text":"TemporaryFile(/tmp/multipartBody5135973175553374372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087183556,"filename":"image_30102025_12_09_47_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/2/13005bf0c2f2db5c2220b74818e35308.jpg","text":"TemporaryFile(/tmp/multipartBody6620317310815352521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087183556,"filename":"image_30102025_12_09_43_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/2/5426555a65cde69ca2280d6c3ce30dd5.jpg","text":"TemporaryFile(/tmp/multipartBody199452668544191089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087183556,"filename":"image_30102025_12_09_54_7046.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0810084dea50dc97ab00e4f76b8caf57.jpg","text":"TemporaryFile(/tmp/multipartBody6773867218344151987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087183556,"filename":"image_30102025_12_09_34_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840543","file1":"1391840541","file0":"1391840539","file4":"1391840546","file5":"1391840548","file3":"1391840545"},"map_files_photo_id_array":[{"photo_id":"1391840548","filename":"file5"},{"photo_id":"1391840543","filename":"file2"},{"photo_id":"1391840546","filename":"file4"},{"photo_id":"1391840541","filename":"file1"},{"photo_id":"1391840539","filename":"file0"},{"photo_id":"1391840545","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840541":["hashtag1","hashtag2"]},{"1391840543":["hashtag1","hashtag2"]},{"1391840546":["hashtag1","hashtag2"]},{"1391840545":["hashtag1","hashtag2"]},{"1391840548":["hashtag1","hashtag2"]},{"1391840539":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840541, 1391840543, 1391840546, 1391840545, 1391840548, 1391840539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05827069282532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 13:39:22.682073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_56_1730.jpg', '/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_58_1714.jpg', '/home/pi/Desktop/images/30102025/12/09/image_30102025_12_10_00_2372.jpg', '/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_06_6018.jpg', '/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_08_1924.jpg', '/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_10_2318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_56_1730.jpg
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_09_58_1714.jpg
/home/pi/Desktop/images/30102025/12/09/image_30102025_12_10_00_2372.jpg
/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_06_6018.jpg
/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_08_1924.jpg
/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_10_2318.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840565","1391840567","1391840555","1391840558","1391840563","1391840560"],"photo_ids_order":["1391840555","1391840558","1391840560","1391840563","1391840565","1391840567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5564f40b852d2d72661b56dee65dac85.jpg","text":"TemporaryFile(/tmp/multipartBody8473220745384815242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087225580,"filename":"image_30102025_12_10_08_1924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c8d247974847afb4d5da51bab0aae711.jpg","text":"TemporaryFile(/tmp/multipartBody7336007361315091022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087225580,"filename":"image_30102025_12_10_10_2318.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cf2b8f85f1fe392ea48f66938353b4e5.jpg","text":"TemporaryFile(/tmp/multipartBody3170941801015407238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087225580,"filename":"image_30102025_12_09_56_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/623b3b9410fed71cfeaf44532b5b9bf1.jpg","text":"TemporaryFile(/tmp/multipartBody6212219850811309280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087225580,"filename":"image_30102025_12_09_58_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/2/3b50fc25aae4244be02aff2e411aec0c.jpg","text":"TemporaryFile(/tmp/multipartBody642236661948161826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087225580,"filename":"image_30102025_12_10_06_6018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/75d2ba4ef139e7c12252fc9fd3aa0bd7.jpg","text":"TemporaryFile(/tmp/multipartBody2750507609967814565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087225580,"filename":"image_30102025_12_10_00_2372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840560","file1":"1391840558","file0":"1391840555","file4":"1391840565","file5":"1391840567","file3":"1391840563"},"map_files_photo_id_array":[{"photo_id":"1391840567","filename":"file5"},{"photo_id":"1391840560","filename":"file2"},{"photo_id":"1391840565","filename":"file4"},{"photo_id":"1391840558","filename":"file1"},{"photo_id":"1391840555","filename":"file0"},{"photo_id":"1391840563","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840565":["hashtag1","hashtag2"]},{"1391840567":["hashtag1","hashtag2"]},{"1391840555":["hashtag1","hashtag2"]},{"1391840558":["hashtag1","hashtag2"]},{"1391840563":["hashtag1","hashtag2"]},{"1391840560":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840565, 1391840567, 1391840555, 1391840558, 1391840563, 1391840560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41796660423279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 13:40:02.321200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_12_2038.jpg', '/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_14_1706.jpg', '/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_17_2910.jpg', '/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_20_2757.jpg', '/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_22_2583.jpg', '/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_32_10279.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_12_2038.jpg
/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_14_1706.jpg
/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_17_2910.jpg
/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_20_2757.jpg
/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_22_2583.jpg
/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_32_10279.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840594","1391840582","1391840590","1391840578","1391840572","1391840586"],"photo_ids_order":["1391840572","1391840578","1391840582","1391840586","1391840590","1391840594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/17ea62621b2e3cc1c8af5fc032635cdb.jpg","text":"TemporaryFile(/tmp/multipartBody7274564104933717929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087264467,"filename":"image_30102025_12_10_32_10279.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ab581e282422407556c16ce763ad897b.jpg","text":"TemporaryFile(/tmp/multipartBody6393628464044487153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087264467,"filename":"image_30102025_12_10_17_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/2/2304f8061600fd05f15984e8565b9615.jpg","text":"TemporaryFile(/tmp/multipartBody5203068578369126383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087264467,"filename":"image_30102025_12_10_22_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/2/310fed480e2e57f956827828c18e6eda.jpg","text":"TemporaryFile(/tmp/multipartBody726036852727655658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087264467,"filename":"image_30102025_12_10_14_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9f2ab2ae56849391f2c4ac35ae3170ab.jpg","text":"TemporaryFile(/tmp/multipartBody6648747199393899594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087264467,"filename":"image_30102025_12_10_12_2038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ac4b88bd8bd7d6297aabc01383d75dbf.jpg","text":"TemporaryFile(/tmp/multipartBody5930360432976080869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087264467,"filename":"image_30102025_12_10_20_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840582","file1":"1391840578","file0":"1391840572","file4":"1391840590","file5":"1391840594","file3":"1391840586"},"map_files_photo_id_array":[{"photo_id":"1391840594","filename":"file5"},{"photo_id":"1391840582","filename":"file2"},{"photo_id":"1391840590","filename":"file4"},{"photo_id":"1391840578","filename":"file1"},{"photo_id":"1391840572","filename":"file0"},{"photo_id":"1391840586","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840594":["hashtag1","hashtag2"]},{"1391840582":["hashtag1","hashtag2"]},{"1391840590":["hashtag1","hashtag2"]},{"1391840578":["hashtag1","hashtag2"]},{"1391840572":["hashtag1","hashtag2"]},{"1391840586":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840594, 1391840582, 1391840590, 1391840578, 1391840572, 1391840586)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.958754777908325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 13:41:07.395509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 13:41:26.685847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_34_1601.jpg', '/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_37_2511.jpg', '/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_41_4361.jpg', '/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_43_1902.jpg', '/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_45_2493.jpg', '/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_47_1661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_34_1601.jpg
/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_37_2511.jpg
/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_41_4361.jpg
/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_43_1902.jpg
/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_45_2493.jpg
/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_47_1661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840625","1391840619","1391840610","1391840613","1391840616","1391840623"],"photo_ids_order":["1391840610","1391840613","1391840616","1391840619","1391840623","1391840625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d74ffde5401223c83735450d3a309181.jpg","text":"TemporaryFile(/tmp/multipartBody174221355268354058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087349387,"filename":"image_30102025_12_10_47_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/2/b81a5e5cf854bd6854f69ea045939fd4.jpg","text":"TemporaryFile(/tmp/multipartBody3536017405889267171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087349387,"filename":"image_30102025_12_10_43_1902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1c765c6a15fed50223fd56d67c054864.jpg","text":"TemporaryFile(/tmp/multipartBody77576070469497681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087349387,"filename":"image_30102025_12_10_34_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/2/bb01cb087c10f5197eff51ed860b3d76.jpg","text":"TemporaryFile(/tmp/multipartBody1467189388350013061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087349387,"filename":"image_30102025_12_10_37_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/2/4792dbb541bfb6b6b64e896eb76566f0.jpg","text":"TemporaryFile(/tmp/multipartBody7411391065618372633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087349387,"filename":"image_30102025_12_10_41_4361.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/85c71ed00f4cd984457e640baf8cbbec.jpg","text":"TemporaryFile(/tmp/multipartBody93832332629242963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087349387,"filename":"image_30102025_12_10_45_2493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840616","file1":"1391840613","file0":"1391840610","file4":"1391840623","file5":"1391840625","file3":"1391840619"},"map_files_photo_id_array":[{"photo_id":"1391840625","filename":"file5"},{"photo_id":"1391840616","filename":"file2"},{"photo_id":"1391840623","filename":"file4"},{"photo_id":"1391840613","filename":"file1"},{"photo_id":"1391840610","filename":"file0"},{"photo_id":"1391840619","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840625":["hashtag1","hashtag2"]},{"1391840619":["hashtag1","hashtag2"]},{"1391840610":["hashtag1","hashtag2"]},{"1391840613":["hashtag1","hashtag2"]},{"1391840616":["hashtag1","hashtag2"]},{"1391840623":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840625, 1391840619, 1391840610, 1391840613, 1391840616, 1391840623)","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 = 1391840616 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_41_4361.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 56.634286403656006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:42:44.659794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_49_1895.jpg', '/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_53_1708.jpg', '/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_59_2862.jpg', '/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_02_2651.jpg', '/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_06_4392.jpg', '/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_09_3196.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_49_1895.jpg
/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_53_1708.jpg
/home/pi/Desktop/images/30102025/12/10/image_30102025_12_10_59_2862.jpg
/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_02_2651.jpg
/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_06_4392.jpg
/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_09_3196.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840643","1391840652","1391840648","1391840645","1391840647","1391840649"],"photo_ids_order":["1391840643","1391840645","1391840647","1391840648","1391840649","1391840652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a6f5a86dc02979fdbb40642d9a0ba315.jpg","text":"TemporaryFile(/tmp/multipartBody3961927578140161310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087425722,"filename":"image_30102025_12_10_49_1895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bcea688a7736ed1ff98f6f34e8011ead.jpg","text":"TemporaryFile(/tmp/multipartBody7050051981477229359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087425722,"filename":"image_30102025_12_11_09_3196.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ea54dfdece83a9cbca96f22ba8f01174.jpg","text":"TemporaryFile(/tmp/multipartBody5663870038417118621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087425722,"filename":"image_30102025_12_11_02_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/2/41059a4fb1dbe51a9a59de52714cf88b.jpg","text":"TemporaryFile(/tmp/multipartBody527461830561513729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087425722,"filename":"image_30102025_12_10_53_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/2/e2544e8fe55af888c52e6dcbb1abcf04.jpg","text":"TemporaryFile(/tmp/multipartBody530747759546809986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087425722,"filename":"image_30102025_12_10_59_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/2/95ed15f2e50ed6a1429dd784f863564f.jpg","text":"TemporaryFile(/tmp/multipartBody7807406534901926268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087425722,"filename":"image_30102025_12_11_06_4392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840647","file1":"1391840645","file0":"1391840643","file4":"1391840649","file5":"1391840652","file3":"1391840648"},"map_files_photo_id_array":[{"photo_id":"1391840652","filename":"file5"},{"photo_id":"1391840647","filename":"file2"},{"photo_id":"1391840649","filename":"file4"},{"photo_id":"1391840645","filename":"file1"},{"photo_id":"1391840643","filename":"file0"},{"photo_id":"1391840648","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840643":["hashtag1","hashtag2"]},{"1391840652":["hashtag1","hashtag2"]},{"1391840648":["hashtag1","hashtag2"]},{"1391840645":["hashtag1","hashtag2"]},{"1391840647":["hashtag1","hashtag2"]},{"1391840649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840643, 1391840652, 1391840648, 1391840645, 1391840647, 1391840649)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.322755098342896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:43:41.938101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_13_3178.jpg', '/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_15_2180.jpg', '/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_17_2380.jpg', '/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_19_1776.jpg', '/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_23_3964.jpg', '/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_26_2980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_13_3178.jpg
/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_15_2180.jpg
/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_17_2380.jpg
/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_19_1776.jpg
/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_23_3964.jpg
/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_26_2980.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840678","1391840681","1391840675","1391840683","1391840686","1391840673"],"photo_ids_order":["1391840673","1391840675","1391840678","1391840681","1391840683","1391840686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1f2682a35ecd05696869c079271fe466.jpg","text":"TemporaryFile(/tmp/multipartBody3678857340213313430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087482938,"filename":"image_30102025_12_11_17_2380.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0e3ade6e022e441909de67b807a99264.jpg","text":"TemporaryFile(/tmp/multipartBody3940225907549874148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087482938,"filename":"image_30102025_12_11_19_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/2/e745063964f7bf59a29df7d0bc69c0e5.jpg","text":"TemporaryFile(/tmp/multipartBody1211035044392334093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087482938,"filename":"image_30102025_12_11_15_2180.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a73ffad2e330175724ff52b9deaf56e6.jpg","text":"TemporaryFile(/tmp/multipartBody8342549412147717589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087482938,"filename":"image_30102025_12_11_23_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/2/ff1cd5aac6e922731186dbff81dbc683.jpg","text":"TemporaryFile(/tmp/multipartBody801574692326333433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087482938,"filename":"image_30102025_12_11_26_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/2/5a1b9e88af43b47880727afd825bbae5.jpg","text":"TemporaryFile(/tmp/multipartBody7727473541477744204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087482938,"filename":"image_30102025_12_11_13_3178.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840678","file1":"1391840675","file0":"1391840673","file4":"1391840683","file5":"1391840686","file3":"1391840681"},"map_files_photo_id_array":[{"photo_id":"1391840686","filename":"file5"},{"photo_id":"1391840678","filename":"file2"},{"photo_id":"1391840683","filename":"file4"},{"photo_id":"1391840675","filename":"file1"},{"photo_id":"1391840673","filename":"file0"},{"photo_id":"1391840681","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840678":["hashtag1","hashtag2"]},{"1391840681":["hashtag1","hashtag2"]},{"1391840675":["hashtag1","hashtag2"]},{"1391840683":["hashtag1","hashtag2"]},{"1391840686":["hashtag1","hashtag2"]},{"1391840673":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840678, 1391840681, 1391840675, 1391840683, 1391840686, 1391840673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95795249938965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 13:44:22.198988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_29_2779.jpg', '/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_31_2472.jpg', '/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_34_2769.jpg', '/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_38_3750.jpg', '/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_44_2922.jpg', '/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_46_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/12/11/image_30102025_12_11_29_2779.jpg
/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_31_2472.jpg
/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_34_2769.jpg
/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_38_3750.jpg
/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_44_2922.jpg
/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_46_2742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840703","1391840706","1391840700","1391840708","1391840694","1391840697"],"photo_ids_order":["1391840694","1391840697","1391840700","1391840703","1391840706","1391840708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1d480c2d7373317b5da2bc9f16d6fdb7.jpg","text":"TemporaryFile(/tmp/multipartBody7957129631035462262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087524970,"filename":"image_30102025_12_11_38_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/2/b8b4f636e7884ff3ad79ef049d0de530.jpg","text":"TemporaryFile(/tmp/multipartBody184687808292146584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087524970,"filename":"image_30102025_12_11_44_2922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/934b98dc27f390ff03f2ad0576aad152.jpg","text":"TemporaryFile(/tmp/multipartBody628289684322821119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087524970,"filename":"image_30102025_12_11_34_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/2/d10d69495a011467285fa49db4a5827f.jpg","text":"TemporaryFile(/tmp/multipartBody3718824648591781001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087524970,"filename":"image_30102025_12_11_46_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/2/9b1b7fce303cd1c563765ac5801edf03.jpg","text":"TemporaryFile(/tmp/multipartBody8316309393155322303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087524970,"filename":"image_30102025_12_11_29_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/2/af156a8e5c249756045da2e69044e89a.jpg","text":"TemporaryFile(/tmp/multipartBody8935241694172760276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087524970,"filename":"image_30102025_12_11_31_2472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840700","file1":"1391840697","file0":"1391840694","file4":"1391840706","file5":"1391840708","file3":"1391840703"},"map_files_photo_id_array":[{"photo_id":"1391840708","filename":"file5"},{"photo_id":"1391840700","filename":"file2"},{"photo_id":"1391840706","filename":"file4"},{"photo_id":"1391840697","filename":"file1"},{"photo_id":"1391840694","filename":"file0"},{"photo_id":"1391840703","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840703":["hashtag1","hashtag2"]},{"1391840706":["hashtag1","hashtag2"]},{"1391840700":["hashtag1","hashtag2"]},{"1391840708":["hashtag1","hashtag2"]},{"1391840694":["hashtag1","hashtag2"]},{"1391840697":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840703, 1391840706, 1391840700, 1391840708, 1391840694, 1391840697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.365238428115845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 13:45:03.289679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_49_2797.jpg', '/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_52_2991.jpg', '/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_56_3403.jpg', '/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_01_3078.jpg', '/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_04_2642.jpg', '/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_08_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/12/11/image_30102025_12_11_49_2797.jpg
/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_52_2991.jpg
/home/pi/Desktop/images/30102025/12/11/image_30102025_12_11_56_3403.jpg
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_01_3078.jpg
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_04_2642.jpg
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_08_3688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840720","1391840711","1391840725","1391840713","1391840722","1391840716"],"photo_ids_order":["1391840711","1391840713","1391840716","1391840720","1391840722","1391840725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/08cb099e079998c73bd976e3465950f4.jpg","text":"TemporaryFile(/tmp/multipartBody9147778780460581726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087565482,"filename":"image_30102025_12_12_01_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/2/d030b5e1337dec799bc8677b54cef0fd.jpg","text":"TemporaryFile(/tmp/multipartBody3521009150309133484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087565482,"filename":"image_30102025_12_11_49_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/2/1195df6dbfb3e87003e852d22d73999a.jpg","text":"TemporaryFile(/tmp/multipartBody588631815801194130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087565482,"filename":"image_30102025_12_12_08_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/2/73bfadac12124bc004841e0f5f7dd099.jpg","text":"TemporaryFile(/tmp/multipartBody2690394436901588111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087565482,"filename":"image_30102025_12_11_52_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/2/b7a9176e5d0d2df97087593e77c6e964.jpg","text":"TemporaryFile(/tmp/multipartBody5562243703525098140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087565482,"filename":"image_30102025_12_12_04_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/2/468a7b0765cc349c421394882d30bea0.jpg","text":"TemporaryFile(/tmp/multipartBody8004119108892735756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087565482,"filename":"image_30102025_12_11_56_3403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840716","file1":"1391840713","file0":"1391840711","file4":"1391840722","file5":"1391840725","file3":"1391840720"},"map_files_photo_id_array":[{"photo_id":"1391840725","filename":"file5"},{"photo_id":"1391840716","filename":"file2"},{"photo_id":"1391840722","filename":"file4"},{"photo_id":"1391840713","filename":"file1"},{"photo_id":"1391840711","filename":"file0"},{"photo_id":"1391840720","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840720":["hashtag1","hashtag2"]},{"1391840711":["hashtag1","hashtag2"]},{"1391840725":["hashtag1","hashtag2"]},{"1391840713":["hashtag1","hashtag2"]},{"1391840722":["hashtag1","hashtag2"]},{"1391840716":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840720, 1391840711, 1391840725, 1391840713, 1391840722, 1391840716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38550019264221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:45:42.574026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_11_3354.jpg', '/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_14_2748.jpg', '/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_16_2570.jpg', '/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_19_3042.jpg', '/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_22_2653.jpg', '/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_26_3504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_11_3354.jpg
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_14_2748.jpg
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_16_2570.jpg
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_19_3042.jpg
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_22_2653.jpg
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_26_3504.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840732","1391840735","1391840729","1391840738","1391840743","1391840748"],"photo_ids_order":["1391840729","1391840732","1391840735","1391840738","1391840743","1391840748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e90a505e280944e4541688ef08b67385.jpg","text":"TemporaryFile(/tmp/multipartBody3341799487210946012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087603688,"filename":"image_30102025_12_12_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/2/ccfe16029ce5d071bc68dc46fc1c1c10.jpg","text":"TemporaryFile(/tmp/multipartBody2858848148877723193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087603688,"filename":"image_30102025_12_12_16_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/2/5aa68d8fbdee2e3d4c31d6ef191f290e.jpg","text":"TemporaryFile(/tmp/multipartBody4784554861033374102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087603688,"filename":"image_30102025_12_12_11_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/2/aa9ca0d2c0480b15c03e63f378aa2476.jpg","text":"TemporaryFile(/tmp/multipartBody3676001807510515781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087603688,"filename":"image_30102025_12_12_19_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/2/3e2a00905ba665ebfdd0d834e528fe12.jpg","text":"TemporaryFile(/tmp/multipartBody2528042864973541598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087603688,"filename":"image_30102025_12_12_22_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/2/2b4e582a7b24f2445c71d8e1009652fe.jpg","text":"TemporaryFile(/tmp/multipartBody7997221290084848771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087603688,"filename":"image_30102025_12_12_26_3504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840735","file1":"1391840732","file0":"1391840729","file4":"1391840743","file5":"1391840748","file3":"1391840738"},"map_files_photo_id_array":[{"photo_id":"1391840748","filename":"file5"},{"photo_id":"1391840735","filename":"file2"},{"photo_id":"1391840743","filename":"file4"},{"photo_id":"1391840732","filename":"file1"},{"photo_id":"1391840729","filename":"file0"},{"photo_id":"1391840738","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840732":["hashtag1","hashtag2"]},{"1391840735":["hashtag1","hashtag2"]},{"1391840729":["hashtag1","hashtag2"]},{"1391840738":["hashtag1","hashtag2"]},{"1391840743":["hashtag1","hashtag2"]},{"1391840748":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840732, 1391840735, 1391840729, 1391840738, 1391840743, 1391840748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.857343912124634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 13:46:22.765268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_28_2669.jpg', '/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_32_3548.jpg', '/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_34_2715.jpg', '/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_38_3293.jpg', '/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_43_5093.jpg', '/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_45_1965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_28_2669.jpg
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_32_3548.jpg
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_34_2715.jpg
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_38_3293.jpg
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_43_5093.jpg
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_45_1965.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6752681732177734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:46:42.751898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_28_2669.jpg', '/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_32_3548.jpg', '/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_34_2715.jpg', '/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_38_3293.jpg', '/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_43_5093.jpg', '/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_45_1965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_28_2669.jpg
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_32_3548.jpg
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_34_2715.jpg
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_38_3293.jpg
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_43_5093.jpg
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_45_1965.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840778","1391840777","1391840780","1391840773","1391840776","1391840775"],"photo_ids_order":["1391840773","1391840775","1391840776","1391840777","1391840778","1391840780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1e5e9386b84bb22e6ea5e7e89c1b9ac4.jpg","text":"TemporaryFile(/tmp/multipartBody6057215397139543311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087663728,"filename":"image_30102025_12_12_43_5093.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/483bfa443bb04e088d544593c09abbe5.jpg","text":"TemporaryFile(/tmp/multipartBody6200197635888599382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087663728,"filename":"image_30102025_12_12_38_3293.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/03b80812af20f977a9b69f4c6c4c2f97.jpg","text":"TemporaryFile(/tmp/multipartBody4635871730087920701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087663728,"filename":"image_30102025_12_12_45_1965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/89359cdebbd9ec66b8085ffee41286ce.jpg","text":"TemporaryFile(/tmp/multipartBody6755256764053733869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087663728,"filename":"image_30102025_12_12_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/2/b80e8a39ebb3cb349fd786f48de568fd.jpg","text":"TemporaryFile(/tmp/multipartBody101838541381046643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087663728,"filename":"image_30102025_12_12_34_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/2/580155120037cc3d97ec3539b9e98f20.jpg","text":"TemporaryFile(/tmp/multipartBody6929973581765969007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087663728,"filename":"image_30102025_12_12_32_3548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840776","file1":"1391840775","file0":"1391840773","file4":"1391840778","file5":"1391840780","file3":"1391840777"},"map_files_photo_id_array":[{"photo_id":"1391840780","filename":"file5"},{"photo_id":"1391840776","filename":"file2"},{"photo_id":"1391840778","filename":"file4"},{"photo_id":"1391840775","filename":"file1"},{"photo_id":"1391840773","filename":"file0"},{"photo_id":"1391840777","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840778":["hashtag1","hashtag2"]},{"1391840777":["hashtag1","hashtag2"]},{"1391840780":["hashtag1","hashtag2"]},{"1391840773":["hashtag1","hashtag2"]},{"1391840776":["hashtag1","hashtag2"]},{"1391840775":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840778, 1391840777, 1391840780, 1391840773, 1391840776, 1391840775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86898589134216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 13:47:21.854011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_50_4885.jpg', '/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_51_1661.jpg', '/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_53_1657.jpg', '/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_56_2635.jpg', '/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_58_2795.jpg', '/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_01_2520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_50_4885.jpg
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_51_1661.jpg
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_53_1657.jpg
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_56_2635.jpg
/home/pi/Desktop/images/30102025/12/12/image_30102025_12_12_58_2795.jpg
/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_01_2520.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840802","1391840805","1391840798","1391840794","1391840797","1391840796"],"photo_ids_order":["1391840794","1391840796","1391840797","1391840798","1391840802","1391840805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/19c9a56a1bffb4789c44ae5b4bca305b.jpg","text":"TemporaryFile(/tmp/multipartBody8466015081688369821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087706419,"filename":"image_30102025_12_12_58_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/2/2b6f08cbe42956511d75ba078e811302.jpg","text":"TemporaryFile(/tmp/multipartBody957190663226830120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087706419,"filename":"image_30102025_12_13_01_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/2/7bd736d7449fc7d267bb9882522128d6.jpg","text":"TemporaryFile(/tmp/multipartBody8224985872198004277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087706419,"filename":"image_30102025_12_12_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/2/fecc5d9109ced4b38852db2fe5e240a0.jpg","text":"TemporaryFile(/tmp/multipartBody9033209752354721939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087706419,"filename":"image_30102025_12_12_50_4885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1f8fda1b318ee53c0911a392bdf7d7af.jpg","text":"TemporaryFile(/tmp/multipartBody7634710457004044282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087706419,"filename":"image_30102025_12_12_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/2/bcce40a384555128b5cacdd30ffa15c9.jpg","text":"TemporaryFile(/tmp/multipartBody8265169043087649765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087706419,"filename":"image_30102025_12_12_51_1661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840797","file1":"1391840796","file0":"1391840794","file4":"1391840802","file5":"1391840805","file3":"1391840798"},"map_files_photo_id_array":[{"photo_id":"1391840805","filename":"file5"},{"photo_id":"1391840797","filename":"file2"},{"photo_id":"1391840802","filename":"file4"},{"photo_id":"1391840796","filename":"file1"},{"photo_id":"1391840794","filename":"file0"},{"photo_id":"1391840798","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840802":["hashtag1","hashtag2"]},{"1391840805":["hashtag1","hashtag2"]},{"1391840798":["hashtag1","hashtag2"]},{"1391840794":["hashtag1","hashtag2"]},{"1391840797":["hashtag1","hashtag2"]},{"1391840796":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840802, 1391840805, 1391840798, 1391840794, 1391840797, 1391840796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0162787437439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 13:48:02.609332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_05_3599.jpg', '/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_08_3179.jpg', '/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_10_2660.jpg', '/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_13_2910.jpg', '/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_16_2585.jpg', '/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_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/12/13/image_30102025_12_13_05_3599.jpg
/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_08_3179.jpg
/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_10_2660.jpg
/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_13_2910.jpg
/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_16_2585.jpg
/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_19_3617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840814","1391840813","1391840822","1391840816","1391840819","1391840812"],"photo_ids_order":["1391840812","1391840813","1391840814","1391840816","1391840819","1391840822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a1c3a648d48b51aabc6cd905c42b3be7.jpg","text":"TemporaryFile(/tmp/multipartBody3261294648733089274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087746382,"filename":"image_30102025_12_13_10_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/2/5e84093a3443a9cf6da69fd9606b60e1.jpg","text":"TemporaryFile(/tmp/multipartBody4077417936477652178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087746382,"filename":"image_30102025_12_13_08_3179.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5e76e25b578c2d29c5c9e30dfcba21f6.jpg","text":"TemporaryFile(/tmp/multipartBody6960704538093974208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087746382,"filename":"image_30102025_12_13_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/2/1e6366766d29a13dcac40fc483974e66.jpg","text":"TemporaryFile(/tmp/multipartBody5734129741459270080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087746382,"filename":"image_30102025_12_13_13_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/2/dd7bee6f499192dfbf12e729ba86c3fd.jpg","text":"TemporaryFile(/tmp/multipartBody7207732998477796833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087746382,"filename":"image_30102025_12_13_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/2/5e8233d2c4b03015293081602c4508a3.jpg","text":"TemporaryFile(/tmp/multipartBody1101342970705821154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087746382,"filename":"image_30102025_12_13_05_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840814","file1":"1391840813","file0":"1391840812","file4":"1391840819","file5":"1391840822","file3":"1391840816"},"map_files_photo_id_array":[{"photo_id":"1391840822","filename":"file5"},{"photo_id":"1391840814","filename":"file2"},{"photo_id":"1391840819","filename":"file4"},{"photo_id":"1391840813","filename":"file1"},{"photo_id":"1391840812","filename":"file0"},{"photo_id":"1391840816","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840814":["hashtag1","hashtag2"]},{"1391840813":["hashtag1","hashtag2"]},{"1391840822":["hashtag1","hashtag2"]},{"1391840816":["hashtag1","hashtag2"]},{"1391840819":["hashtag1","hashtag2"]},{"1391840812":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840814, 1391840813, 1391840822, 1391840816, 1391840819, 1391840812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.480607748031616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:48:42.102988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_22_2633.jpg', '/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_25_2713.jpg', '/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_28_3622.jpg', '/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_31_2641.jpg', '/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_35_3592.jpg', '/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_37_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/12/13/image_30102025_12_13_22_2633.jpg
/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_25_2713.jpg
/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_28_3622.jpg
/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_31_2641.jpg
/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_35_3592.jpg
/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_37_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840835","1391840832","1391840834","1391840828","1391840837","1391840830"],"photo_ids_order":["1391840828","1391840830","1391840832","1391840834","1391840835","1391840837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e1fcc12fca887bc1109b4d5a4da7800a.jpg","text":"TemporaryFile(/tmp/multipartBody9050118053559330607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087783275,"filename":"image_30102025_12_13_35_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/2/c882a68b4bb7764594ab4637b3aa0153.jpg","text":"TemporaryFile(/tmp/multipartBody7805229230046979043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087783275,"filename":"image_30102025_12_13_28_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/2/afbc05b16bacfdc70d40b54955ed13f9.jpg","text":"TemporaryFile(/tmp/multipartBody5936700114452498126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087783275,"filename":"image_30102025_12_13_31_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/2/54dd3a4a2cfd44e63691bc9fd3e6a48d.jpg","text":"TemporaryFile(/tmp/multipartBody609553516670353562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087783275,"filename":"image_30102025_12_13_22_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/2/883049bbe8354a7d33c615f129d1022e.jpg","text":"TemporaryFile(/tmp/multipartBody5131198753679656029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087783275,"filename":"image_30102025_12_13_37_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/2/0f1b48478b3a0de29d9dae0d8c7c08d0.jpg","text":"TemporaryFile(/tmp/multipartBody8114266856748023135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087783275,"filename":"image_30102025_12_13_25_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840832","file1":"1391840830","file0":"1391840828","file4":"1391840835","file5":"1391840837","file3":"1391840834"},"map_files_photo_id_array":[{"photo_id":"1391840837","filename":"file5"},{"photo_id":"1391840832","filename":"file2"},{"photo_id":"1391840835","filename":"file4"},{"photo_id":"1391840830","filename":"file1"},{"photo_id":"1391840828","filename":"file0"},{"photo_id":"1391840834","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840835":["hashtag1","hashtag2"]},{"1391840832":["hashtag1","hashtag2"]},{"1391840834":["hashtag1","hashtag2"]},{"1391840828":["hashtag1","hashtag2"]},{"1391840837":["hashtag1","hashtag2"]},{"1391840830":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840835, 1391840832, 1391840834, 1391840828, 1391840837, 1391840830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.452412843704224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 13:49:22.237343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_40_2671.jpg', '/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_43_2986.jpg', '/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_46_2868.jpg', '/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_49_2836.jpg', '/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_52_3565.jpg', '/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_55_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/12/13/image_30102025_12_13_40_2671.jpg
/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_43_2986.jpg
/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_46_2868.jpg
/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_49_2836.jpg
/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_52_3565.jpg
/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_55_2720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840862","1391840856","1391840860","1391840854","1391840857","1391840851"],"photo_ids_order":["1391840851","1391840854","1391840856","1391840857","1391840860","1391840862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/39c72115306b731725db4c2e677ba386.jpg","text":"TemporaryFile(/tmp/multipartBody4905992126795612734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087825599,"filename":"image_30102025_12_13_55_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/2/aeb5e0ea826045805fdc9cc1ac5505ad.jpg","text":"TemporaryFile(/tmp/multipartBody6999508364932229681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087825599,"filename":"image_30102025_12_13_46_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/2/015de92d77a90c6366a598fbcade31ea.jpg","text":"TemporaryFile(/tmp/multipartBody1351790323613110631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087825599,"filename":"image_30102025_12_13_52_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/2/351eddcbe3f3e5c5d7ef2c12430b93a8.jpg","text":"TemporaryFile(/tmp/multipartBody2746239821678991947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087825599,"filename":"image_30102025_12_13_43_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/2/76b5788eff4a387113615cb31ead68ee.jpg","text":"TemporaryFile(/tmp/multipartBody6443339901028266737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087825599,"filename":"image_30102025_12_13_49_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/2/2cc2d2ba794681dbc9b5bdc1866f858d.jpg","text":"TemporaryFile(/tmp/multipartBody5035718060354184231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087825599,"filename":"image_30102025_12_13_40_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840856","file1":"1391840854","file0":"1391840851","file4":"1391840860","file5":"1391840862","file3":"1391840857"},"map_files_photo_id_array":[{"photo_id":"1391840862","filename":"file5"},{"photo_id":"1391840856","filename":"file2"},{"photo_id":"1391840860","filename":"file4"},{"photo_id":"1391840854","filename":"file1"},{"photo_id":"1391840851","filename":"file0"},{"photo_id":"1391840857","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840862":["hashtag1","hashtag2"]},{"1391840856":["hashtag1","hashtag2"]},{"1391840860":["hashtag1","hashtag2"]},{"1391840854":["hashtag1","hashtag2"]},{"1391840857":["hashtag1","hashtag2"]},{"1391840851":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840862, 1391840856, 1391840860, 1391840854, 1391840857, 1391840851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23299694061279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 13:50:03.171450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_59_3610.jpg', '/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_01_2721.jpg', '/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_04_2809.jpg', '/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_07_2522.jpg', '/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_10_3705.jpg', '/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_13_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/12/13/image_30102025_12_13_59_3610.jpg
/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_01_2721.jpg
/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_04_2809.jpg
/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_07_2522.jpg
/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_10_3705.jpg
/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_13_2717.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.0742099285125732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 13:50:22.619507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/13/image_30102025_12_13_59_3610.jpg', '/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_01_2721.jpg', '/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_04_2809.jpg', '/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_07_2522.jpg', '/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_10_3705.jpg', '/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_13_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/12/13/image_30102025_12_13_59_3610.jpg
/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_01_2721.jpg
/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_04_2809.jpg
/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_07_2522.jpg
/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_10_3705.jpg
/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_13_2717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840890","1391840878","1391840883","1391840886","1391840889","1391840880"],"photo_ids_order":["1391840878","1391840880","1391840883","1391840886","1391840889","1391840890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/399b794caf2e6ee0a27cab15ba911b62.jpg","text":"TemporaryFile(/tmp/multipartBody1871297475290879703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087885203,"filename":"image_30102025_12_14_13_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/2/04f548584ccc1fd38c839a19cee96c54.jpg","text":"TemporaryFile(/tmp/multipartBody2294187836237590699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087885203,"filename":"image_30102025_12_13_59_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/2/b16fe13e3e8f3eb09f8c92f8bd6213be.jpg","text":"TemporaryFile(/tmp/multipartBody7375380262150361816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087885203,"filename":"image_30102025_12_14_04_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/2/1e7a52c1a1fbaa59f7e946aab03a7371.jpg","text":"TemporaryFile(/tmp/multipartBody2816627997218454080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087885203,"filename":"image_30102025_12_14_07_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/2/268087bd4cc75e19d376cadc688eefe3.jpg","text":"TemporaryFile(/tmp/multipartBody4308554724421108591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087885203,"filename":"image_30102025_12_14_10_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/2/6f2e0237288aaf884ef8ddd5c4a72abe.jpg","text":"TemporaryFile(/tmp/multipartBody2870018952071676476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087885203,"filename":"image_30102025_12_14_01_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840883","file1":"1391840880","file0":"1391840878","file4":"1391840889","file5":"1391840890","file3":"1391840886"},"map_files_photo_id_array":[{"photo_id":"1391840890","filename":"file5"},{"photo_id":"1391840883","filename":"file2"},{"photo_id":"1391840889","filename":"file4"},{"photo_id":"1391840880","filename":"file1"},{"photo_id":"1391840878","filename":"file0"},{"photo_id":"1391840886","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840890":["hashtag1","hashtag2"]},{"1391840878":["hashtag1","hashtag2"]},{"1391840883":["hashtag1","hashtag2"]},{"1391840886":["hashtag1","hashtag2"]},{"1391840889":["hashtag1","hashtag2"]},{"1391840880":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840890, 1391840878, 1391840883, 1391840886, 1391840889, 1391840880)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.083250761032104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 13:51:22.444577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_16_2619.jpg', '/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_19_3696.jpg', '/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_22_2760.jpg', '/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_25_2698.jpg', '/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_28_2961.jpg', '/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_31_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/12/14/image_30102025_12_14_16_2619.jpg
/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_19_3696.jpg
/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_22_2760.jpg
/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_25_2698.jpg
/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_28_2961.jpg
/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_31_2795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840901","1391840910","1391840904","1391840907","1391840906","1391840905"],"photo_ids_order":["1391840901","1391840904","1391840905","1391840906","1391840907","1391840910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9506ddc9531e0bce1f6a75ba89a4c7f8.jpg","text":"TemporaryFile(/tmp/multipartBody952650607148467532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087944918,"filename":"image_30102025_12_14_16_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/2/68d40c1e6e00888195313c251182ee80.jpg","text":"TemporaryFile(/tmp/multipartBody4590741477980733026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087944918,"filename":"image_30102025_12_14_31_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/2/af253b7eef32d742cebe484d3b9409e1.jpg","text":"TemporaryFile(/tmp/multipartBody3743978932081167203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087944918,"filename":"image_30102025_12_14_19_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/2/82af0ad7c6511f6066592e636ab82ba5.jpg","text":"TemporaryFile(/tmp/multipartBody4053013151879918450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087944918,"filename":"image_30102025_12_14_28_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/2/2bc934bf680d6961bc4ac57e9be822f2.jpg","text":"TemporaryFile(/tmp/multipartBody6420769407322838908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087944918,"filename":"image_30102025_12_14_25_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/2/8fbeab882d397a3b19b3ad378e69ac64.jpg","text":"TemporaryFile(/tmp/multipartBody7630065424452006254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087944918,"filename":"image_30102025_12_14_22_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840905","file1":"1391840904","file0":"1391840901","file4":"1391840907","file5":"1391840910","file3":"1391840906"},"map_files_photo_id_array":[{"photo_id":"1391840910","filename":"file5"},{"photo_id":"1391840905","filename":"file2"},{"photo_id":"1391840907","filename":"file4"},{"photo_id":"1391840904","filename":"file1"},{"photo_id":"1391840901","filename":"file0"},{"photo_id":"1391840906","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840901":["hashtag1","hashtag2"]},{"1391840910":["hashtag1","hashtag2"]},{"1391840904":["hashtag1","hashtag2"]},{"1391840907":["hashtag1","hashtag2"]},{"1391840906":["hashtag1","hashtag2"]},{"1391840905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840901, 1391840910, 1391840904, 1391840907, 1391840906, 1391840905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17398977279663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 13:52:03.185856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_34_3707.jpg', '/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_37_2534.jpg', '/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_41_3666.jpg', '/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_43_2701.jpg', '/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_46_2659.jpg', '/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_49_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_34_3707.jpg
/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_37_2534.jpg
/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_41_3666.jpg
/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_43_2701.jpg
/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_46_2659.jpg
/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_49_2679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840934","1391840928","1391840930","1391840924","1391840932","1391840926"],"photo_ids_order":["1391840924","1391840926","1391840928","1391840930","1391840932","1391840934"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b7bf7d1b4e2402f93c5b2cbcfaf9ac88.jpg","text":"TemporaryFile(/tmp/multipartBody8266602089674957180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087985358,"filename":"image_30102025_12_14_49_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/2/d48879c3e927f6a4d2090e177e6a7356.jpg","text":"TemporaryFile(/tmp/multipartBody5963441190047643123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087985358,"filename":"image_30102025_12_14_41_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/2/302158c18e417d60039340b91ed62624.jpg","text":"TemporaryFile(/tmp/multipartBody7365280240153848312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087985358,"filename":"image_30102025_12_14_43_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/2/06fd999fd780832f6c77260bc8621706.jpg","text":"TemporaryFile(/tmp/multipartBody5965301911306818578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087985358,"filename":"image_30102025_12_14_34_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/2/a9ccc3c3e6ada12a5afcaf90984f5542.jpg","text":"TemporaryFile(/tmp/multipartBody174058528817276553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087985358,"filename":"image_30102025_12_14_46_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/2/6f03be3042c58b8577145e2f0c3a07fd.jpg","text":"TemporaryFile(/tmp/multipartBody8497264616814909278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762087985358,"filename":"image_30102025_12_14_37_2534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840928","file1":"1391840926","file0":"1391840924","file4":"1391840932","file5":"1391840934","file3":"1391840930"},"map_files_photo_id_array":[{"photo_id":"1391840934","filename":"file5"},{"photo_id":"1391840928","filename":"file2"},{"photo_id":"1391840932","filename":"file4"},{"photo_id":"1391840926","filename":"file1"},{"photo_id":"1391840924","filename":"file0"},{"photo_id":"1391840930","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840934":["hashtag1","hashtag2"]},{"1391840928":["hashtag1","hashtag2"]},{"1391840930":["hashtag1","hashtag2"]},{"1391840924":["hashtag1","hashtag2"]},{"1391840932":["hashtag1","hashtag2"]},{"1391840926":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840934, 1391840928, 1391840930, 1391840924, 1391840932, 1391840926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.554749727249146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:52:42.564627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_52_3654.jpg', '/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_55_2665.jpg', '/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_58_2650.jpg', '/home/pi/Desktop/images/30102025/12/14/image_30102025_12_15_01_3672.jpg', '/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_04_2653.jpg', '/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_07_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/12/14/image_30102025_12_14_52_3654.jpg
/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_55_2665.jpg
/home/pi/Desktop/images/30102025/12/14/image_30102025_12_14_58_2650.jpg
/home/pi/Desktop/images/30102025/12/14/image_30102025_12_15_01_3672.jpg
/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_04_2653.jpg
/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_07_2943.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840961","1391840958","1391840954","1391840956","1391840950","1391840952"],"photo_ids_order":["1391840950","1391840952","1391840954","1391840956","1391840958","1391840961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/68fa52f7f485955cb7c5fe7ec3bdff4f.jpg","text":"TemporaryFile(/tmp/multipartBody645327762374466309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088061517,"filename":"image_30102025_12_15_07_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/2/0603ad8f8bfbf9f4d80fcb8a1192cb42.jpg","text":"TemporaryFile(/tmp/multipartBody1609330327350457783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088061517,"filename":"image_30102025_12_15_04_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/2/259372e5199b9ee187c02df67ee1962c.jpg","text":"TemporaryFile(/tmp/multipartBody4936791103407363180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088061517,"filename":"image_30102025_12_14_58_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/2/2edf0210c09f611a081e39ff17f13cc5.jpg","text":"TemporaryFile(/tmp/multipartBody2311159204416048276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088061517,"filename":"image_30102025_12_15_01_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/2/66bf852f4c0f7e2757862f78c41e68e0.jpg","text":"TemporaryFile(/tmp/multipartBody1995402101843792205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088061517,"filename":"image_30102025_12_14_52_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/2/e8d9da392010fe1f6370288d885f22ec.jpg","text":"TemporaryFile(/tmp/multipartBody5372183344579696176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088061517,"filename":"image_30102025_12_14_55_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840954","file1":"1391840952","file0":"1391840950","file4":"1391840958","file5":"1391840961","file3":"1391840956"},"map_files_photo_id_array":[{"photo_id":"1391840961","filename":"file5"},{"photo_id":"1391840954","filename":"file2"},{"photo_id":"1391840958","filename":"file4"},{"photo_id":"1391840952","filename":"file1"},{"photo_id":"1391840950","filename":"file0"},{"photo_id":"1391840956","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840961":["hashtag1","hashtag2"]},{"1391840958":["hashtag1","hashtag2"]},{"1391840954":["hashtag1","hashtag2"]},{"1391840956":["hashtag1","hashtag2"]},{"1391840950":["hashtag1","hashtag2"]},{"1391840952":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840961, 1391840958, 1391840954, 1391840956, 1391840950, 1391840952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 75.43331289291382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 13:54:02.442662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_10_3654.jpg', '/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_13_2675.jpg', '/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_16_2744.jpg', '/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_19_2748.jpg', '/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_22_3747.jpg', '/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_25_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/12/15/image_30102025_12_15_10_3654.jpg
/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_13_2675.jpg
/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_16_2744.jpg
/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_19_2748.jpg
/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_22_3747.jpg
/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_25_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":["1391840971","1391840980","1391840974","1391840968","1391840977","1391840965"],"photo_ids_order":["1391840965","1391840968","1391840971","1391840974","1391840977","1391840980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f7d95983a370595ea24fbf79a88c5f2a.jpg","text":"TemporaryFile(/tmp/multipartBody8724727320048471149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088106982,"filename":"image_30102025_12_15_16_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/2/a6f7aa7aba4e32b823c0348cfcce4c2f.jpg","text":"TemporaryFile(/tmp/multipartBody99666320125834184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088106982,"filename":"image_30102025_12_15_25_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/2/2ad2892e777f8b6350ebfc42dcccc835.jpg","text":"TemporaryFile(/tmp/multipartBody4859388553845278928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088106982,"filename":"image_30102025_12_15_19_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/2/81194cfd5e3721dfd06e6f900d8de5a0.jpg","text":"TemporaryFile(/tmp/multipartBody5439002035398792653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088106982,"filename":"image_30102025_12_15_13_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/2/793c3f7d6c7bb17675773257798be5be.jpg","text":"TemporaryFile(/tmp/multipartBody1220260713437683064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088106982,"filename":"image_30102025_12_15_22_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/2/466ef40a343f849383d7777af28d1162.jpg","text":"TemporaryFile(/tmp/multipartBody9014899143462574685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088106982,"filename":"image_30102025_12_15_10_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840971","file1":"1391840968","file0":"1391840965","file4":"1391840977","file5":"1391840980","file3":"1391840974"},"map_files_photo_id_array":[{"photo_id":"1391840980","filename":"file5"},{"photo_id":"1391840971","filename":"file2"},{"photo_id":"1391840977","filename":"file4"},{"photo_id":"1391840968","filename":"file1"},{"photo_id":"1391840965","filename":"file0"},{"photo_id":"1391840974","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840971":["hashtag1","hashtag2"]},{"1391840980":["hashtag1","hashtag2"]},{"1391840974":["hashtag1","hashtag2"]},{"1391840968":["hashtag1","hashtag2"]},{"1391840977":["hashtag1","hashtag2"]},{"1391840965":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840971, 1391840980, 1391840974, 1391840968, 1391840977, 1391840965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.46359896659851 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 13:55:02.782620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_28_2761.jpg', '/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_31_2576.jpg', '/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_34_3661.jpg', '/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_37_2899.jpg', '/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_40_2689.jpg', '/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_43_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/12/15/image_30102025_12_15_28_2761.jpg
/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_31_2576.jpg
/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_34_3661.jpg
/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_37_2899.jpg
/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_40_2689.jpg
/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_43_2828.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391840993","1391840999","1391841002","1391840995","1391841001","1391840991"],"photo_ids_order":["1391840991","1391840993","1391840995","1391840999","1391841001","1391841002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ef309513d5bc4083317255d738e414de.jpg","text":"TemporaryFile(/tmp/multipartBody9038519473587948206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088165066,"filename":"image_30102025_12_15_31_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/2/c97af9e8caae2829157cb88709cfde87.jpg","text":"TemporaryFile(/tmp/multipartBody4474065011557946073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088165066,"filename":"image_30102025_12_15_37_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/2/20852a8638633062218acd68535c65be.jpg","text":"TemporaryFile(/tmp/multipartBody7732190848798939432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088165066,"filename":"image_30102025_12_15_43_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/2/c5805714dd93320439e82f5152711d64.jpg","text":"TemporaryFile(/tmp/multipartBody2610207098298734639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088165066,"filename":"image_30102025_12_15_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/2/8cd02b92af576be4d3c7085adaf2eded.jpg","text":"TemporaryFile(/tmp/multipartBody1991634037269612160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088165066,"filename":"image_30102025_12_15_40_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/2/c91ac484ba58de0e394e6147f3c49eab.jpg","text":"TemporaryFile(/tmp/multipartBody8336256148360597402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088165066,"filename":"image_30102025_12_15_28_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391840995","file1":"1391840993","file0":"1391840991","file4":"1391841001","file5":"1391841002","file3":"1391840999"},"map_files_photo_id_array":[{"photo_id":"1391841002","filename":"file5"},{"photo_id":"1391840995","filename":"file2"},{"photo_id":"1391841001","filename":"file4"},{"photo_id":"1391840993","filename":"file1"},{"photo_id":"1391840991","filename":"file0"},{"photo_id":"1391840999","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391840993":["hashtag1","hashtag2"]},{"1391840999":["hashtag1","hashtag2"]},{"1391841002":["hashtag1","hashtag2"]},{"1391840995":["hashtag1","hashtag2"]},{"1391841001":["hashtag1","hashtag2"]},{"1391840991":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391840993, 1391840999, 1391841002, 1391840995, 1391841001, 1391840991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.321547746658325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:55:42.210543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_46_3755.jpg', '/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_49_2955.jpg', '/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_52_2602.jpg', '/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_55_2676.jpg', '/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_58_3674.jpg', '/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_01_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/12/15/image_30102025_12_15_46_3755.jpg
/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_49_2955.jpg
/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_52_2602.jpg
/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_55_2676.jpg
/home/pi/Desktop/images/30102025/12/15/image_30102025_12_15_58_3674.jpg
/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_01_2651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391841012","1391841006","1391841016","1391841004","1391841021","1391841009"],"photo_ids_order":["1391841004","1391841006","1391841009","1391841012","1391841016","1391841021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c8d49c91321500cc3a5256b01440de96.jpg","text":"TemporaryFile(/tmp/multipartBody7854376988599859927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088203331,"filename":"image_30102025_12_15_55_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/2/f65c563175e76dcb879a56153bb8abc8.jpg","text":"TemporaryFile(/tmp/multipartBody4723752973171161398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088203331,"filename":"image_30102025_12_15_49_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/2/e9300e37de8d93e58357a87ac2582e39.jpg","text":"TemporaryFile(/tmp/multipartBody4431525281517067306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088203331,"filename":"image_30102025_12_15_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/2/9817127e14a5c669c66c1ea39be1e4aa.jpg","text":"TemporaryFile(/tmp/multipartBody3276186284799384821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088203331,"filename":"image_30102025_12_15_46_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/2/5a17823a115cae69e9cdaf5d261596e6.jpg","text":"TemporaryFile(/tmp/multipartBody7681906928146705552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088203331,"filename":"image_30102025_12_16_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/2/0cba8f3b1db9d6a793295090121b664c.jpg","text":"TemporaryFile(/tmp/multipartBody6081091020584118866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088203331,"filename":"image_30102025_12_15_52_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391841009","file1":"1391841006","file0":"1391841004","file4":"1391841016","file5":"1391841021","file3":"1391841012"},"map_files_photo_id_array":[{"photo_id":"1391841021","filename":"file5"},{"photo_id":"1391841009","filename":"file2"},{"photo_id":"1391841016","filename":"file4"},{"photo_id":"1391841006","filename":"file1"},{"photo_id":"1391841004","filename":"file0"},{"photo_id":"1391841012","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391841012":["hashtag1","hashtag2"]},{"1391841006":["hashtag1","hashtag2"]},{"1391841016":["hashtag1","hashtag2"]},{"1391841004":["hashtag1","hashtag2"]},{"1391841021":["hashtag1","hashtag2"]},{"1391841009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391841012, 1391841006, 1391841016, 1391841004, 1391841021, 1391841009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56771659851074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 13:56:22.342245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_04_2725.jpg', '/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_07_3655.jpg', '/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_10_2925.jpg', '/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_13_2764.jpg', '/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_16_2720.jpg', '/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_19_3701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_04_2725.jpg
/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_07_3655.jpg
/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_10_2925.jpg
/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_13_2764.jpg
/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_16_2720.jpg
/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_19_3701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391841038","1391841032","1391841035","1391841029","1391841037","1391841027"],"photo_ids_order":["1391841027","1391841029","1391841032","1391841035","1391841037","1391841038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/557a24513c2b875290628b7ee6a8f635.jpg","text":"TemporaryFile(/tmp/multipartBody2436689801405573212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088245040,"filename":"image_30102025_12_16_19_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/2/a11d3d4cc3239c90cbd74742e28c2462.jpg","text":"TemporaryFile(/tmp/multipartBody7870559535529400916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088245040,"filename":"image_30102025_12_16_10_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/2/c0a5255755dcef9db87724d2ee195318.jpg","text":"TemporaryFile(/tmp/multipartBody4801968061297792590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088245040,"filename":"image_30102025_12_16_13_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/2/391a3050c492203ff0094e8abce1df57.jpg","text":"TemporaryFile(/tmp/multipartBody323716950126970827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088245040,"filename":"image_30102025_12_16_07_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/2/9b75507832b3afa5332e454528f702ab.jpg","text":"TemporaryFile(/tmp/multipartBody2790199991552852768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088245040,"filename":"image_30102025_12_16_16_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/2/1adf8bb2f83f42eb15223212d7ef712e.jpg","text":"TemporaryFile(/tmp/multipartBody2476404587553973334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088245040,"filename":"image_30102025_12_16_04_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391841032","file1":"1391841029","file0":"1391841027","file4":"1391841037","file5":"1391841038","file3":"1391841035"},"map_files_photo_id_array":[{"photo_id":"1391841038","filename":"file5"},{"photo_id":"1391841032","filename":"file2"},{"photo_id":"1391841037","filename":"file4"},{"photo_id":"1391841029","filename":"file1"},{"photo_id":"1391841027","filename":"file0"},{"photo_id":"1391841035","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391841038":["hashtag1","hashtag2"]},{"1391841032":["hashtag1","hashtag2"]},{"1391841035":["hashtag1","hashtag2"]},{"1391841029":["hashtag1","hashtag2"]},{"1391841037":["hashtag1","hashtag2"]},{"1391841027":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391841038, 1391841032, 1391841035, 1391841029, 1391841037, 1391841027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12365770339966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 13:57:03.123525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_22_2643.jpg', '/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_25_2797.jpg', '/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_28_2898.jpg', '/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_31_2778.jpg', '/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_34_3678.jpg', '/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_37_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_22_2643.jpg
/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_25_2797.jpg
/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_28_2898.jpg
/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_31_2778.jpg
/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_34_3678.jpg
/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_37_2783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391841056","1391841050","1391841044","1391841053","1391841047","1391841041"],"photo_ids_order":["1391841041","1391841044","1391841047","1391841050","1391841053","1391841056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d29da8d8de2f02b7d933bfb7d7d97707.jpg","text":"TemporaryFile(/tmp/multipartBody78058716077299534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088285350,"filename":"image_30102025_12_16_37_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/2/6f51baf0eaccc222eec36560de0ef331.jpg","text":"TemporaryFile(/tmp/multipartBody3802734388751254565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088285350,"filename":"image_30102025_12_16_31_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/2/fa9219025d052fd9ce50ad5a4cd5ae14.jpg","text":"TemporaryFile(/tmp/multipartBody5880072346167953985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088285350,"filename":"image_30102025_12_16_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/2/40db926141cd7560880826dd582213f4.jpg","text":"TemporaryFile(/tmp/multipartBody9222417549144546203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088285350,"filename":"image_30102025_12_16_34_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/2/82eced76aa1728a245a598c0bdb7116f.jpg","text":"TemporaryFile(/tmp/multipartBody6154601715954532736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088285350,"filename":"image_30102025_12_16_28_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/2/517a4d1e0e1be54806cb9687c4905add.jpg","text":"TemporaryFile(/tmp/multipartBody3971893033596746706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088285350,"filename":"image_30102025_12_16_22_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391841047","file1":"1391841044","file0":"1391841041","file4":"1391841053","file5":"1391841056","file3":"1391841050"},"map_files_photo_id_array":[{"photo_id":"1391841056","filename":"file5"},{"photo_id":"1391841047","filename":"file2"},{"photo_id":"1391841053","filename":"file4"},{"photo_id":"1391841044","filename":"file1"},{"photo_id":"1391841041","filename":"file0"},{"photo_id":"1391841050","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391841056":["hashtag1","hashtag2"]},{"1391841050":["hashtag1","hashtag2"]},{"1391841044":["hashtag1","hashtag2"]},{"1391841053":["hashtag1","hashtag2"]},{"1391841047":["hashtag1","hashtag2"]},{"1391841041":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391841056, 1391841050, 1391841044, 1391841053, 1391841047, 1391841041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31852674484253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 13:57:42.693138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_41_4375.jpg', '/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_44_3072.jpg', '/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_46_1535.jpg', '/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_49_2548.jpg', '/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_52_3561.jpg', '/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_55_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/12/16/image_30102025_12_16_41_4375.jpg
/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_44_3072.jpg
/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_46_1535.jpg
/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_49_2548.jpg
/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_52_3561.jpg
/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_55_2704.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391841284","1391841287","1391841278","1391841238","1391841189","1391841147"],"photo_ids_order":["1391841147","1391841189","1391841238","1391841278","1391841284","1391841287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/09693c4df9f2cc2a549d03ac567338c0.jpg","text":"TemporaryFile(/tmp/multipartBody1287419027909620177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088323807,"filename":"image_30102025_12_16_52_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/2/5344b3d382f548df4134d309a9a4c1a2.jpg","text":"TemporaryFile(/tmp/multipartBody4108432615663804046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088323807,"filename":"image_30102025_12_16_55_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/2/c59c8cc2743e5a5872917c8985303b9a.jpg","text":"TemporaryFile(/tmp/multipartBody691018034491383269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088323807,"filename":"image_30102025_12_16_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/2/4863ccf1bd237ff4531c84484b8529b9.jpg","text":"TemporaryFile(/tmp/multipartBody448673009057183496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088323807,"filename":"image_30102025_12_16_46_1535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d0bbaa75acc035c33e3c70093bc711e5.jpg","text":"TemporaryFile(/tmp/multipartBody6802622446489673070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088323807,"filename":"image_30102025_12_16_44_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/2/1b7fff6c984c920f6d4bb95f07aec371.jpg","text":"TemporaryFile(/tmp/multipartBody4728652631578777657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088323807,"filename":"image_30102025_12_16_41_4375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391841238","file1":"1391841189","file0":"1391841147","file4":"1391841284","file5":"1391841287","file3":"1391841278"},"map_files_photo_id_array":[{"photo_id":"1391841287","filename":"file5"},{"photo_id":"1391841238","filename":"file2"},{"photo_id":"1391841284","filename":"file4"},{"photo_id":"1391841189","filename":"file1"},{"photo_id":"1391841147","filename":"file0"},{"photo_id":"1391841278","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391841284":["hashtag1","hashtag2"]},{"1391841287":["hashtag1","hashtag2"]},{"1391841278":["hashtag1","hashtag2"]},{"1391841238":["hashtag1","hashtag2"]},{"1391841189":["hashtag1","hashtag2"]},{"1391841147":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391841284, 1391841287, 1391841278, 1391841238, 1391841189, 1391841147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.395769357681274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 13:59:02.813761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_57_2575.jpg', '/home/pi/Desktop/images/30102025/12/16/image_30102025_12_17_01_3594.jpg', '/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_06_2668.jpg', '/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_10_3685.jpg', '/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_13_2624.jpg', '/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_17_3855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/16/image_30102025_12_16_57_2575.jpg
/home/pi/Desktop/images/30102025/12/16/image_30102025_12_17_01_3594.jpg
/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_06_2668.jpg
/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_10_3685.jpg
/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_13_2624.jpg
/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_17_3855.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391841356","1391841364","1391841373","1391841369","1391841360","1391841351"],"photo_ids_order":["1391841351","1391841356","1391841360","1391841364","1391841369","1391841373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3a6e81a5962471b74756313068ac42ee.jpg","text":"TemporaryFile(/tmp/multipartBody234788631043024566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088405174,"filename":"image_30102025_12_17_01_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/2/2adfd959d19118fc68eb32b80ef665b5.jpg","text":"TemporaryFile(/tmp/multipartBody5362574408448791397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088405174,"filename":"image_30102025_12_17_10_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/2/34c96900ab2a4869528495bf6e1f3d19.jpg","text":"TemporaryFile(/tmp/multipartBody7951375479167208616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088405174,"filename":"image_30102025_12_17_17_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/2/ce9e42306ea1a5763ed7a1cae5992b88.jpg","text":"TemporaryFile(/tmp/multipartBody1266258566892687198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088405174,"filename":"image_30102025_12_17_13_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/2/c7490640f9cae3447ef648230ac6d49c.jpg","text":"TemporaryFile(/tmp/multipartBody6058964978377708586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088405174,"filename":"image_30102025_12_17_06_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/2/6ba6d2fc5b6cd784c82979859704cb60.jpg","text":"TemporaryFile(/tmp/multipartBody6547273128366539019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088405174,"filename":"image_30102025_12_16_57_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391841360","file1":"1391841356","file0":"1391841351","file4":"1391841369","file5":"1391841373","file3":"1391841364"},"map_files_photo_id_array":[{"photo_id":"1391841373","filename":"file5"},{"photo_id":"1391841360","filename":"file2"},{"photo_id":"1391841369","filename":"file4"},{"photo_id":"1391841356","filename":"file1"},{"photo_id":"1391841351","filename":"file0"},{"photo_id":"1391841364","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391841356":["hashtag1","hashtag2"]},{"1391841364":["hashtag1","hashtag2"]},{"1391841373":["hashtag1","hashtag2"]},{"1391841369":["hashtag1","hashtag2"]},{"1391841360":["hashtag1","hashtag2"]},{"1391841351":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391841356, 1391841364, 1391841373, 1391841369, 1391841360, 1391841351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.00645875930786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 14:00:02.666793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_19_2717.jpg', '/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_22_2668.jpg', '/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_25_2753.jpg', '/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_27_2592.jpg', '/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_31_3759.jpg', '/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_34_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/12/17/image_30102025_12_17_19_2717.jpg
/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_22_2668.jpg
/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_25_2753.jpg
/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_27_2592.jpg
/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_31_3759.jpg
/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_34_2868.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391841903","1391841819","1391842135","1391842218","1391842053","1391841978"],"photo_ids_order":["1391841819","1391841903","1391841978","1391842053","1391842135","1391842218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a2dfcbda24225de8d934c622d41e80a0.jpg","text":"TemporaryFile(/tmp/multipartBody796171616150191739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088464843,"filename":"image_30102025_12_17_22_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/2/5443e83134254dd27f4bfd721e7793b9.jpg","text":"TemporaryFile(/tmp/multipartBody5454990243492158712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088464843,"filename":"image_30102025_12_17_19_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/2/d0aae2e3e97bfa930695bac666941872.jpg","text":"TemporaryFile(/tmp/multipartBody4071895496390091335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088464843,"filename":"image_30102025_12_17_31_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/2/b946dddcd9bb9a0360385bcfa0e5e506.jpg","text":"TemporaryFile(/tmp/multipartBody7032451947683319918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088464843,"filename":"image_30102025_12_17_34_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/2/dfa26f4d91cd9fb0f029efb0620d448f.jpg","text":"TemporaryFile(/tmp/multipartBody5874686439795161871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088464843,"filename":"image_30102025_12_17_27_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/2/daee835f206aa78a4b0c38916ad6696b.jpg","text":"TemporaryFile(/tmp/multipartBody5507949927643841946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088464843,"filename":"image_30102025_12_17_25_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391841978","file1":"1391841903","file0":"1391841819","file4":"1391842135","file5":"1391842218","file3":"1391842053"},"map_files_photo_id_array":[{"photo_id":"1391842218","filename":"file5"},{"photo_id":"1391841978","filename":"file2"},{"photo_id":"1391842135","filename":"file4"},{"photo_id":"1391841903","filename":"file1"},{"photo_id":"1391841819","filename":"file0"},{"photo_id":"1391842053","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391841903":["hashtag1","hashtag2"]},{"1391841819":["hashtag1","hashtag2"]},{"1391842135":["hashtag1","hashtag2"]},{"1391842218":["hashtag1","hashtag2"]},{"1391842053":["hashtag1","hashtag2"]},{"1391841978":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391841903, 1391841819, 1391842135, 1391842218, 1391842053, 1391841978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09724974632263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:00:42.166347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_37_2692.jpg', '/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_40_2875.jpg', '/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_43_3731.jpg', '/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_46_2892.jpg', '/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_49_2658.jpg', '/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_52_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/12/17/image_30102025_12_17_37_2692.jpg
/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_40_2875.jpg
/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_43_3731.jpg
/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_46_2892.jpg
/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_49_2658.jpg
/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_52_2751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391842468","1391842624","1391842504","1391842432","1391842580","1391842541"],"photo_ids_order":["1391842432","1391842468","1391842504","1391842541","1391842580","1391842624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bc72f34840f93ea20326acc5b188eee7.jpg","text":"TemporaryFile(/tmp/multipartBody4816153828263068220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088503314,"filename":"image_30102025_12_17_40_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/2/2f063e0f8efd96d0fa23a072c983476e.jpg","text":"TemporaryFile(/tmp/multipartBody1685729273727926034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088503314,"filename":"image_30102025_12_17_52_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/2/f97dc57545297fa18962770d4fac5b1b.jpg","text":"TemporaryFile(/tmp/multipartBody4821711547195066777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088503314,"filename":"image_30102025_12_17_43_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/2/eeaf2ed0e500331916f4f8114517f922.jpg","text":"TemporaryFile(/tmp/multipartBody7430092157618630987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088503314,"filename":"image_30102025_12_17_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/2/1834a5cf1f6e19d38882269b32049b4e.jpg","text":"TemporaryFile(/tmp/multipartBody9049385108930008742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088503314,"filename":"image_30102025_12_17_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/2/6153eaf6eeb61cf8acf8d6543d840f3d.jpg","text":"TemporaryFile(/tmp/multipartBody801002476692630029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088503314,"filename":"image_30102025_12_17_46_2892.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391842504","file1":"1391842468","file0":"1391842432","file4":"1391842580","file5":"1391842624","file3":"1391842541"},"map_files_photo_id_array":[{"photo_id":"1391842624","filename":"file5"},{"photo_id":"1391842504","filename":"file2"},{"photo_id":"1391842580","filename":"file4"},{"photo_id":"1391842468","filename":"file1"},{"photo_id":"1391842432","filename":"file0"},{"photo_id":"1391842541","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391842468":["hashtag1","hashtag2"]},{"1391842624":["hashtag1","hashtag2"]},{"1391842504":["hashtag1","hashtag2"]},{"1391842432":["hashtag1","hashtag2"]},{"1391842580":["hashtag1","hashtag2"]},{"1391842541":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391842468, 1391842624, 1391842504, 1391842432, 1391842580, 1391842541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71233606338501 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 14:01:22.306584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_55_3571.jpg', '/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_59_3768.jpg', '/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_01_1680.jpg', '/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_03_2836.jpg', '/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_07_3595.jpg', '/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_15_7690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_55_3571.jpg
/home/pi/Desktop/images/30102025/12/17/image_30102025_12_17_59_3768.jpg
/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_01_1680.jpg
/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_03_2836.jpg
/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_07_3595.jpg
/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_15_7690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391842961","1391842894","1391842966","1391842854","1391842991","1391842931"],"photo_ids_order":["1391842854","1391842894","1391842931","1391842961","1391842966","1391842991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1a331ab5191d01c8e882f1dde63c4485.jpg","text":"TemporaryFile(/tmp/multipartBody4459499137971869650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088545061,"filename":"image_30102025_12_18_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/2/621b66e2fbfad8502d3f93f3f8fd6ef0.jpg","text":"TemporaryFile(/tmp/multipartBody3426371230861631291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088545061,"filename":"image_30102025_12_17_59_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/2/2c3ff2594cd6b44097ca9af0d34b900d.jpg","text":"TemporaryFile(/tmp/multipartBody5023843483954201949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088545061,"filename":"image_30102025_12_18_07_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/2/f348e88251eb8c73f60e9650141f2829.jpg","text":"TemporaryFile(/tmp/multipartBody4981080088147820918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088545061,"filename":"image_30102025_12_17_55_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/2/7691ba46003f495aca2c55ffc4173d1d.jpg","text":"TemporaryFile(/tmp/multipartBody8086481084613958301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088545061,"filename":"image_30102025_12_18_15_7690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f393547006465d510863deaf07db4e0b.jpg","text":"TemporaryFile(/tmp/multipartBody7866642023751397127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088545061,"filename":"image_30102025_12_18_01_1680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391842931","file1":"1391842894","file0":"1391842854","file4":"1391842966","file5":"1391842991","file3":"1391842961"},"map_files_photo_id_array":[{"photo_id":"1391842991","filename":"file5"},{"photo_id":"1391842931","filename":"file2"},{"photo_id":"1391842966","filename":"file4"},{"photo_id":"1391842894","filename":"file1"},{"photo_id":"1391842854","filename":"file0"},{"photo_id":"1391842961","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391842961":["hashtag1","hashtag2"]},{"1391842894":["hashtag1","hashtag2"]},{"1391842966":["hashtag1","hashtag2"]},{"1391842854":["hashtag1","hashtag2"]},{"1391842991":["hashtag1","hashtag2"]},{"1391842931":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391842961, 1391842894, 1391842966, 1391842854, 1391842991, 1391842931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43494462966919 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 14:02:02.945753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 14:02:25.376182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_18_3053.jpg', '/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_19_1557.jpg', '/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_23_1575.jpg', '/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_25_2585.jpg', '/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_28_2662.jpg', '/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_31_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/12/18/image_30102025_12_18_18_3053.jpg
/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_19_1557.jpg
/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_23_1575.jpg
/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_25_2585.jpg
/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_28_2662.jpg
/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_31_2778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391843254","1391843291","1391843183","1391843100","1391843219","1391843141"],"photo_ids_order":["1391843100","1391843141","1391843183","1391843219","1391843254","1391843291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1b96af01529a9f03ca1fd1f48b3b00e5.jpg","text":"TemporaryFile(/tmp/multipartBody7682491171762626246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088611335,"filename":"image_30102025_12_18_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/2/33d15e92b2448002386cf98f05879467.jpg","text":"TemporaryFile(/tmp/multipartBody1500431676101132045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088611335,"filename":"image_30102025_12_18_31_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/2/590203af16a0ed042e0f8a79d2d21745.jpg","text":"TemporaryFile(/tmp/multipartBody3336053075692485597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088611335,"filename":"image_30102025_12_18_23_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/2/d8c3d4b2c9abd235c9431aae9fa2b228.jpg","text":"TemporaryFile(/tmp/multipartBody6689898859081343708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088611335,"filename":"image_30102025_12_18_18_3053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/87c2ea9e28dc4addfeb7f88f12ef2157.jpg","text":"TemporaryFile(/tmp/multipartBody4411869435623519081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088611335,"filename":"image_30102025_12_18_25_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/2/a77dc14faaca918ac97c362fdf6bb880.jpg","text":"TemporaryFile(/tmp/multipartBody5527980288923968172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088611335,"filename":"image_30102025_12_18_19_1557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391843183","file1":"1391843141","file0":"1391843100","file4":"1391843254","file5":"1391843291","file3":"1391843219"},"map_files_photo_id_array":[{"photo_id":"1391843291","filename":"file5"},{"photo_id":"1391843183","filename":"file2"},{"photo_id":"1391843254","filename":"file4"},{"photo_id":"1391843141","filename":"file1"},{"photo_id":"1391843100","filename":"file0"},{"photo_id":"1391843219","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391843254":["hashtag1","hashtag2"]},{"1391843291":["hashtag1","hashtag2"]},{"1391843183":["hashtag1","hashtag2"]},{"1391843100":["hashtag1","hashtag2"]},{"1391843219":["hashtag1","hashtag2"]},{"1391843141":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391843254, 1391843291, 1391843183, 1391843100, 1391843219, 1391843141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.77777862548828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 14:03:22.635136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_33_2764.jpg', '/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_37_3450.jpg', '/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_39_2610.jpg', '/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_44_5042.jpg', '/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_46_1708.jpg', '/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_49_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_33_2764.jpg
/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_37_3450.jpg
/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_39_2610.jpg
/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_44_5042.jpg
/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_46_1708.jpg
/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_49_2732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391843507","1391843488","1391843500","1391843443","1391843505","1391843450"],"photo_ids_order":["1391843443","1391843450","1391843488","1391843500","1391843505","1391843507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/69c4b68579a59d5d6a50d49f9be56a44.jpg","text":"TemporaryFile(/tmp/multipartBody313976405320620674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088665377,"filename":"image_30102025_12_18_49_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/2/3c8e5b1ca117642db75f739f84c0738c.jpg","text":"TemporaryFile(/tmp/multipartBody5929856438399181809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088665377,"filename":"image_30102025_12_18_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/2/83e66f69488b608e47b578a98ca85145.jpg","text":"TemporaryFile(/tmp/multipartBody1719984271193380963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088665377,"filename":"image_30102025_12_18_44_5042.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/02d29b999667281d542d945a6ffadc34.jpg","text":"TemporaryFile(/tmp/multipartBody5853927748726714462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088665377,"filename":"image_30102025_12_18_33_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/2/bb4dfd1784115abcbb508e85d75fd3f4.jpg","text":"TemporaryFile(/tmp/multipartBody8876714763777938994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088665377,"filename":"image_30102025_12_18_46_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/2/316fd8870231eae442c5221e165c1bf4.jpg","text":"TemporaryFile(/tmp/multipartBody965352390980721093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088665377,"filename":"image_30102025_12_18_37_3450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391843488","file1":"1391843450","file0":"1391843443","file4":"1391843505","file5":"1391843507","file3":"1391843500"},"map_files_photo_id_array":[{"photo_id":"1391843507","filename":"file5"},{"photo_id":"1391843488","filename":"file2"},{"photo_id":"1391843505","filename":"file4"},{"photo_id":"1391843450","filename":"file1"},{"photo_id":"1391843443","filename":"file0"},{"photo_id":"1391843500","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391843507":["hashtag1","hashtag2"]},{"1391843488":["hashtag1","hashtag2"]},{"1391843500":["hashtag1","hashtag2"]},{"1391843443":["hashtag1","hashtag2"]},{"1391843505":["hashtag1","hashtag2"]},{"1391843450":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391843507, 1391843488, 1391843500, 1391843443, 1391843505, 1391843450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70426321029663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 14:04:02.797468
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_52_2641.jpg', '/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_01_9145.jpg', '/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_10_9006.jpg', '/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_14_3803.jpg', '/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_15_1751.jpg', '/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_17_1761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/18/image_30102025_12_18_52_2641.jpg
/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_01_9145.jpg
/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_10_9006.jpg
/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_14_3803.jpg
/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_15_1751.jpg
/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_17_1761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391843515","1391843518","1391843520","1391843528","1391843522","1391843525"],"photo_ids_order":["1391843515","1391843518","1391843520","1391843522","1391843525","1391843528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/83810cb193f71b5dd6f8b558c6b0d9a4.jpg","text":"TemporaryFile(/tmp/multipartBody2363372282921594920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088705049,"filename":"image_30102025_12_18_52_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/2/94a4d56e693b6b81c8907858a0d8b94f.jpg","text":"TemporaryFile(/tmp/multipartBody372618593369575776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088705049,"filename":"image_30102025_12_19_01_9145.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/87f512154187710b8b05a12e13e0800a.jpg","text":"TemporaryFile(/tmp/multipartBody1256518066336496387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088705049,"filename":"image_30102025_12_19_10_9006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d5df3900e7513c28102b4e7875be101c.jpg","text":"TemporaryFile(/tmp/multipartBody415585501328107743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088705049,"filename":"image_30102025_12_19_17_1761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/77ebe7075c24a3d484bcfae7f3259c8d.jpg","text":"TemporaryFile(/tmp/multipartBody8489006613903678509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088705049,"filename":"image_30102025_12_19_14_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/2/b4833c80b1221d6637894172f3eadccd.jpg","text":"TemporaryFile(/tmp/multipartBody4488729943651284769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088705049,"filename":"image_30102025_12_19_15_1751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391843520","file1":"1391843518","file0":"1391843515","file4":"1391843525","file5":"1391843528","file3":"1391843522"},"map_files_photo_id_array":[{"photo_id":"1391843528","filename":"file5"},{"photo_id":"1391843520","filename":"file2"},{"photo_id":"1391843525","filename":"file4"},{"photo_id":"1391843518","filename":"file1"},{"photo_id":"1391843515","filename":"file0"},{"photo_id":"1391843522","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391843515":["hashtag1","hashtag2"]},{"1391843518":["hashtag1","hashtag2"]},{"1391843520":["hashtag1","hashtag2"]},{"1391843528":["hashtag1","hashtag2"]},{"1391843522":["hashtag1","hashtag2"]},{"1391843525":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391843515, 1391843518, 1391843520, 1391843528, 1391843522, 1391843525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.257981300354004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:04:42.087625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_19_1650.jpg', '/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_20_1590.jpg', '/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_22_1615.jpg', '/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_23_1512.jpg', '/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_25_1818.jpg', '/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_27_1627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_19_1650.jpg
/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_20_1590.jpg
/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_22_1615.jpg
/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_23_1512.jpg
/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_25_1818.jpg
/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_27_1627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391843539","1391843533","1391843536","1391843541","1391843540","1391843543"],"photo_ids_order":["1391843533","1391843536","1391843539","1391843540","1391843541","1391843543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0fadb5d42da2fa81cfb0c77e8acf3635.jpg","text":"TemporaryFile(/tmp/multipartBody6663332005043222112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088743216,"filename":"image_30102025_12_19_22_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/2/75396c6b89f0136c75e4fc47ccafe8a7.jpg","text":"TemporaryFile(/tmp/multipartBody232651495540646366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088743216,"filename":"image_30102025_12_19_19_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/2/b818ad6c5f7e2075751a27c48ef40e79.jpg","text":"TemporaryFile(/tmp/multipartBody4328434275133754817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088743216,"filename":"image_30102025_12_19_20_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/643d1898b7c275c78cd0455c25d7ab7c.jpg","text":"TemporaryFile(/tmp/multipartBody8904958839240716266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088743216,"filename":"image_30102025_12_19_25_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/2/c7f8375d8231f7ae036e47efd800f401.jpg","text":"TemporaryFile(/tmp/multipartBody3963755597135761833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088743216,"filename":"image_30102025_12_19_23_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/2/7dab43232b1af17cffe4ece4d1d77cdf.jpg","text":"TemporaryFile(/tmp/multipartBody4765245450059812733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088743216,"filename":"image_30102025_12_19_27_1627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391843539","file1":"1391843536","file0":"1391843533","file4":"1391843541","file5":"1391843543","file3":"1391843540"},"map_files_photo_id_array":[{"photo_id":"1391843543","filename":"file5"},{"photo_id":"1391843539","filename":"file2"},{"photo_id":"1391843541","filename":"file4"},{"photo_id":"1391843536","filename":"file1"},{"photo_id":"1391843533","filename":"file0"},{"photo_id":"1391843540","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391843539":["hashtag1","hashtag2"]},{"1391843533":["hashtag1","hashtag2"]},{"1391843536":["hashtag1","hashtag2"]},{"1391843541":["hashtag1","hashtag2"]},{"1391843540":["hashtag1","hashtag2"]},{"1391843543":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391843539, 1391843533, 1391843536, 1391843541, 1391843540, 1391843543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10227918624878 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 14:05:22.162190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_29_1697.jpg', '/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_30_1786.jpg', '/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_34_3675.jpg', '/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_37_2775.jpg', '/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_39_2660.jpg', '/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_42_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/12/19/image_30102025_12_19_29_1697.jpg
/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_30_1786.jpg
/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_34_3675.jpg
/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_37_2775.jpg
/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_39_2660.jpg
/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_42_2655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391843554","1391843556","1391843550","1391843553","1391843552","1391843558"],"photo_ids_order":["1391843550","1391843552","1391843553","1391843554","1391843556","1391843558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f8fcb2368b0636f85881fb345f935509.jpg","text":"TemporaryFile(/tmp/multipartBody6083092999038778718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088784872,"filename":"image_30102025_12_19_37_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/2/a93224dc0fa1509f8582aa21ac02092c.jpg","text":"TemporaryFile(/tmp/multipartBody5652646048410246902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088784872,"filename":"image_30102025_12_19_39_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/2/fd3b7fcdb5d85babee61b7a938568a2c.jpg","text":"TemporaryFile(/tmp/multipartBody6565668458509065389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088784872,"filename":"image_30102025_12_19_29_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/2/35c7cf621d368be96e1e9bc7ff356a6c.jpg","text":"TemporaryFile(/tmp/multipartBody363067189683483296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088784872,"filename":"image_30102025_12_19_34_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/2/d4dd20d899471e822a91b1239323297b.jpg","text":"TemporaryFile(/tmp/multipartBody642137256020189660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088784872,"filename":"image_30102025_12_19_30_1786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1280c9c05a263f90d3a4fe5e911a30ad.jpg","text":"TemporaryFile(/tmp/multipartBody5718929894411006904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088784872,"filename":"image_30102025_12_19_42_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391843553","file1":"1391843552","file0":"1391843550","file4":"1391843556","file5":"1391843558","file3":"1391843554"},"map_files_photo_id_array":[{"photo_id":"1391843558","filename":"file5"},{"photo_id":"1391843553","filename":"file2"},{"photo_id":"1391843556","filename":"file4"},{"photo_id":"1391843552","filename":"file1"},{"photo_id":"1391843550","filename":"file0"},{"photo_id":"1391843554","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391843554":["hashtag1","hashtag2"]},{"1391843556":["hashtag1","hashtag2"]},{"1391843550":["hashtag1","hashtag2"]},{"1391843553":["hashtag1","hashtag2"]},{"1391843552":["hashtag1","hashtag2"]},{"1391843558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391843554, 1391843556, 1391843550, 1391843553, 1391843552, 1391843558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.97234129905701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 14:06:02.992417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_46_3549.jpg', '/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_48_2822.jpg', '/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_51_2608.jpg', '/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_55_3819.jpg', '/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_58_2689.jpg', '/home/pi/Desktop/images/30102025/12/19/image_30102025_12_20_00_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/12/19/image_30102025_12_19_46_3549.jpg
/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_48_2822.jpg
/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_51_2608.jpg
/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_55_3819.jpg
/home/pi/Desktop/images/30102025/12/19/image_30102025_12_19_58_2689.jpg
/home/pi/Desktop/images/30102025/12/19/image_30102025_12_20_00_2586.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391843575","1391843572","1391843571","1391843570","1391843573","1391843567"],"photo_ids_order":["1391843567","1391843570","1391843571","1391843572","1391843573","1391843575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/02dea588cfa45f576db7718148623519.jpg","text":"TemporaryFile(/tmp/multipartBody5086522442510037976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088825105,"filename":"image_30102025_12_20_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/2/7122605d7ba8533f906c2d5d3655beb2.jpg","text":"TemporaryFile(/tmp/multipartBody6729704134124472031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088825105,"filename":"image_30102025_12_19_55_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/2/430283dbd3a879f5db0ddb53ff1f5aa0.jpg","text":"TemporaryFile(/tmp/multipartBody4696177562466984276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088825105,"filename":"image_30102025_12_19_51_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/2/a97d6601d7c410df7a5c83226342fc6d.jpg","text":"TemporaryFile(/tmp/multipartBody1131673355974597626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088825105,"filename":"image_30102025_12_19_48_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/2/893027470918135a6b6c7da891133c86.jpg","text":"TemporaryFile(/tmp/multipartBody150931331164463705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088825105,"filename":"image_30102025_12_19_58_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/2/2010ad287fa86546bd5f44b906f3dfb0.jpg","text":"TemporaryFile(/tmp/multipartBody7169283952584716597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088825105,"filename":"image_30102025_12_19_46_3549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391843571","file1":"1391843570","file0":"1391843567","file4":"1391843573","file5":"1391843575","file3":"1391843572"},"map_files_photo_id_array":[{"photo_id":"1391843575","filename":"file5"},{"photo_id":"1391843571","filename":"file2"},{"photo_id":"1391843573","filename":"file4"},{"photo_id":"1391843570","filename":"file1"},{"photo_id":"1391843567","filename":"file0"},{"photo_id":"1391843572","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391843575":["hashtag1","hashtag2"]},{"1391843572":["hashtag1","hashtag2"]},{"1391843571":["hashtag1","hashtag2"]},{"1391843570":["hashtag1","hashtag2"]},{"1391843573":["hashtag1","hashtag2"]},{"1391843567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391843575, 1391843572, 1391843571, 1391843570, 1391843573, 1391843567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94652032852173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:06:42.374829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_04_3864.jpg', '/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_07_2856.jpg', '/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_09_2570.jpg', '/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_12_2711.jpg', '/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_16_3838.jpg', '/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_19_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/12/20/image_30102025_12_20_04_3864.jpg
/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_07_2856.jpg
/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_09_2570.jpg
/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_12_2711.jpg
/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_16_3838.jpg
/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_19_2626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391843590","1391843584","1391843586","1391843582","1391843594","1391843588"],"photo_ids_order":["1391843582","1391843584","1391843586","1391843588","1391843590","1391843594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2b00234882d6c2e113b91f128683fd49.jpg","text":"TemporaryFile(/tmp/multipartBody8629079294302204153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088863491,"filename":"image_30102025_12_20_16_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/2/923f455ca2c50ffa17b1bfe5bed5556b.jpg","text":"TemporaryFile(/tmp/multipartBody7861448143081126551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088863491,"filename":"image_30102025_12_20_07_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/2/90248ccc7a969eb307591fc0cc068893.jpg","text":"TemporaryFile(/tmp/multipartBody4761775231270174234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088863491,"filename":"image_30102025_12_20_09_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/2/3e1ab5147bf9e4886acd4ee5b3d0e47d.jpg","text":"TemporaryFile(/tmp/multipartBody2848271208813880856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088863491,"filename":"image_30102025_12_20_04_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/2/333e5d14de5d7edeb091849127f75cca.jpg","text":"TemporaryFile(/tmp/multipartBody6571427567763045571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088863491,"filename":"image_30102025_12_20_19_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/2/63ba32569f5e907f33f364d0b91893d9.jpg","text":"TemporaryFile(/tmp/multipartBody5903949315462541548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088863491,"filename":"image_30102025_12_20_12_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391843586","file1":"1391843584","file0":"1391843582","file4":"1391843590","file5":"1391843594","file3":"1391843588"},"map_files_photo_id_array":[{"photo_id":"1391843594","filename":"file5"},{"photo_id":"1391843586","filename":"file2"},{"photo_id":"1391843590","filename":"file4"},{"photo_id":"1391843584","filename":"file1"},{"photo_id":"1391843582","filename":"file0"},{"photo_id":"1391843588","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391843590":["hashtag1","hashtag2"]},{"1391843584":["hashtag1","hashtag2"]},{"1391843586":["hashtag1","hashtag2"]},{"1391843582":["hashtag1","hashtag2"]},{"1391843594":["hashtag1","hashtag2"]},{"1391843588":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391843590, 1391843584, 1391843586, 1391843582, 1391843594, 1391843588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21179389953613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 14:07:22.548216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_21_2620.jpg', '/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_25_3726.jpg', '/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_28_2919.jpg', '/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_30_2563.jpg', '/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_33_3022.jpg', '/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_36_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/12/20/image_30102025_12_20_21_2620.jpg
/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_25_3726.jpg
/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_28_2919.jpg
/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_30_2563.jpg
/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_33_3022.jpg
/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_36_2725.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391843606","1391843600","1391843602","1391843604","1391843607","1391843609"],"photo_ids_order":["1391843600","1391843602","1391843604","1391843606","1391843607","1391843609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/af4f92696f3eaf97e05220ba89fc296b.jpg","text":"TemporaryFile(/tmp/multipartBody4659865785278772445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088905275,"filename":"image_30102025_12_20_30_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/2/cb2a6013fdfc5d73ae83a5d3a47a60cd.jpg","text":"TemporaryFile(/tmp/multipartBody1705179210114447402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088905275,"filename":"image_30102025_12_20_21_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/2/f770036481bfd3e08512f70fa74abfdc.jpg","text":"TemporaryFile(/tmp/multipartBody7968095699220041138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088905275,"filename":"image_30102025_12_20_25_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/2/54136f69e61ee148176a7ea29d3a18c0.jpg","text":"TemporaryFile(/tmp/multipartBody4071110086075272285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088905275,"filename":"image_30102025_12_20_28_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/2/547e0cd530101567db4b73253ee416ad.jpg","text":"TemporaryFile(/tmp/multipartBody8812823881424355911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088905275,"filename":"image_30102025_12_20_33_3022.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4b55073e72658fb2b303235f9eda4ade.jpg","text":"TemporaryFile(/tmp/multipartBody1898083461205377094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088905275,"filename":"image_30102025_12_20_36_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391843604","file1":"1391843602","file0":"1391843600","file4":"1391843607","file5":"1391843609","file3":"1391843606"},"map_files_photo_id_array":[{"photo_id":"1391843609","filename":"file5"},{"photo_id":"1391843604","filename":"file2"},{"photo_id":"1391843607","filename":"file4"},{"photo_id":"1391843602","filename":"file1"},{"photo_id":"1391843600","filename":"file0"},{"photo_id":"1391843606","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391843606":["hashtag1","hashtag2"]},{"1391843600":["hashtag1","hashtag2"]},{"1391843602":["hashtag1","hashtag2"]},{"1391843604":["hashtag1","hashtag2"]},{"1391843607":["hashtag1","hashtag2"]},{"1391843609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391843606, 1391843600, 1391843602, 1391843604, 1391843607, 1391843609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7891263961792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 14:08:02.279684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_40_3577.jpg', '/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_42_2671.jpg', '/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_45_2789.jpg', '/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_49_3639.jpg', '/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_52_2602.jpg', '/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_54_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/12/20/image_30102025_12_20_40_3577.jpg
/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_42_2671.jpg
/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_45_2789.jpg
/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_49_3639.jpg
/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_52_2602.jpg
/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_54_2699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391843620","1391843617","1391843622","1391843619","1391843615","1391843618"],"photo_ids_order":["1391843615","1391843617","1391843618","1391843619","1391843620","1391843622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b86f46704fd745a192dccceb688fdc32.jpg","text":"TemporaryFile(/tmp/multipartBody4214707642013569527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088944400,"filename":"image_30102025_12_20_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/2/5d93f451967920d427064c52141b8850.jpg","text":"TemporaryFile(/tmp/multipartBody3879704967272959361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088944400,"filename":"image_30102025_12_20_42_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/2/11c294296829e5a0a111b02814f162e7.jpg","text":"TemporaryFile(/tmp/multipartBody1336981567443542766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088944400,"filename":"image_30102025_12_20_54_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/2/12519175c308b575034f194bafd09f07.jpg","text":"TemporaryFile(/tmp/multipartBody6085844517085055450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088944400,"filename":"image_30102025_12_20_49_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/2/04a0cbab5f7cdbf28ba1c133c08ba549.jpg","text":"TemporaryFile(/tmp/multipartBody2240864457351041107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088944400,"filename":"image_30102025_12_20_40_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/2/9279a692b4ddb0b2824e9bcdae106f69.jpg","text":"TemporaryFile(/tmp/multipartBody6815677429813637187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088944400,"filename":"image_30102025_12_20_45_2789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391843618","file1":"1391843617","file0":"1391843615","file4":"1391843620","file5":"1391843622","file3":"1391843619"},"map_files_photo_id_array":[{"photo_id":"1391843622","filename":"file5"},{"photo_id":"1391843618","filename":"file2"},{"photo_id":"1391843620","filename":"file4"},{"photo_id":"1391843617","filename":"file1"},{"photo_id":"1391843615","filename":"file0"},{"photo_id":"1391843619","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391843620":["hashtag1","hashtag2"]},{"1391843617":["hashtag1","hashtag2"]},{"1391843622":["hashtag1","hashtag2"]},{"1391843619":["hashtag1","hashtag2"]},{"1391843615":["hashtag1","hashtag2"]},{"1391843618":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391843620, 1391843617, 1391843622, 1391843619, 1391843615, 1391843618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21091866493225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:08:41.817363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_58_3692.jpg', '/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_01_2684.jpg', '/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_03_2648.jpg', '/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_07_3682.jpg', '/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_09_2530.jpg', '/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_12_2878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/20/image_30102025_12_20_58_3692.jpg
/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_01_2684.jpg
/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_03_2648.jpg
/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_07_3682.jpg
/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_09_2530.jpg
/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_12_2878.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391843632","1391843640","1391843637","1391843634","1391843628","1391843630"],"photo_ids_order":["1391843628","1391843630","1391843632","1391843634","1391843637","1391843640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e933ddd6c204bd708763bb4b85c112ef.jpg","text":"TemporaryFile(/tmp/multipartBody2466911024907444306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088982963,"filename":"image_30102025_12_21_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/2/d928016d6386f249a3916e20ff120175.jpg","text":"TemporaryFile(/tmp/multipartBody6331382827558190123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088982963,"filename":"image_30102025_12_21_12_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/2/e21577adb1dcbffe9b6d3cdeb123c153.jpg","text":"TemporaryFile(/tmp/multipartBody7668321430697265583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088982963,"filename":"image_30102025_12_21_09_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/2/781368075c4f1b04306c6555f278c9eb.jpg","text":"TemporaryFile(/tmp/multipartBody3211277392435545248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088982963,"filename":"image_30102025_12_21_07_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/2/b6bb1a74b5185ead9f99b6f5414731e6.jpg","text":"TemporaryFile(/tmp/multipartBody654560217833224482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088982963,"filename":"image_30102025_12_20_58_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/2/8b7b3311c1ea7506abb628e32ebeda56.jpg","text":"TemporaryFile(/tmp/multipartBody3968165613514045152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762088982963,"filename":"image_30102025_12_21_01_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391843632","file1":"1391843630","file0":"1391843628","file4":"1391843637","file5":"1391843640","file3":"1391843634"},"map_files_photo_id_array":[{"photo_id":"1391843640","filename":"file5"},{"photo_id":"1391843632","filename":"file2"},{"photo_id":"1391843637","filename":"file4"},{"photo_id":"1391843630","filename":"file1"},{"photo_id":"1391843628","filename":"file0"},{"photo_id":"1391843634","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391843632":["hashtag1","hashtag2"]},{"1391843640":["hashtag1","hashtag2"]},{"1391843637":["hashtag1","hashtag2"]},{"1391843634":["hashtag1","hashtag2"]},{"1391843628":["hashtag1","hashtag2"]},{"1391843630":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391843632, 1391843640, 1391843637, 1391843634, 1391843628, 1391843630)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 53.30803394317627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:09:41.929299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 14:10:02.672177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_16_3574.jpg', '/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_18_2557.jpg', '/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_21_2776.jpg', '/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_24_2759.jpg', '/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_28_3875.jpg', '/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_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/12/21/image_30102025_12_21_16_3574.jpg
/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_18_2557.jpg
/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_21_2776.jpg
/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_24_2759.jpg
/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_28_3875.jpg
/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_31_2743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391843674","1391843677","1391843679","1391843681","1391843672","1391843669"],"photo_ids_order":["1391843669","1391843672","1391843674","1391843677","1391843679","1391843681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/934fb70809e82c06e98b6e2c84f29c0f.jpg","text":"TemporaryFile(/tmp/multipartBody5849464853519977533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089064817,"filename":"image_30102025_12_21_21_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/2/5c5e98cf4129f1659323a93c730bc25f.jpg","text":"TemporaryFile(/tmp/multipartBody6370308591973437037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089064817,"filename":"image_30102025_12_21_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/2/4076f79035cee0b6f32b94938e8c3c2a.jpg","text":"TemporaryFile(/tmp/multipartBody7639145433144341755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089064817,"filename":"image_30102025_12_21_28_3875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7aeddee21ee7ce08a146cefd9aeb2bde.jpg","text":"TemporaryFile(/tmp/multipartBody5157959860473816930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089064817,"filename":"image_30102025_12_21_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/2/c53b1f171ed46c841b9ad2cd944d69ae.jpg","text":"TemporaryFile(/tmp/multipartBody1830733637686041017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089064817,"filename":"image_30102025_12_21_18_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/2/d7ef733e712293b4bbc600f05ea74e36.jpg","text":"TemporaryFile(/tmp/multipartBody7027633325789723221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089064817,"filename":"image_30102025_12_21_16_3574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391843674","file1":"1391843672","file0":"1391843669","file4":"1391843679","file5":"1391843681","file3":"1391843677"},"map_files_photo_id_array":[{"photo_id":"1391843681","filename":"file5"},{"photo_id":"1391843674","filename":"file2"},{"photo_id":"1391843679","filename":"file4"},{"photo_id":"1391843672","filename":"file1"},{"photo_id":"1391843669","filename":"file0"},{"photo_id":"1391843677","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391843674":["hashtag1","hashtag2"]},{"1391843677":["hashtag1","hashtag2"]},{"1391843679":["hashtag1","hashtag2"]},{"1391843681":["hashtag1","hashtag2"]},{"1391843672":["hashtag1","hashtag2"]},{"1391843669":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391843674, 1391843677, 1391843679, 1391843681, 1391843672, 1391843669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23157501220703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:10:42.104824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_33_2640.jpg', '/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_37_3624.jpg', '/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_40_2672.jpg', '/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_42_2746.jpg', '/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_45_2650.jpg', '/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_49_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/12/21/image_30102025_12_21_33_2640.jpg
/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_37_3624.jpg
/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_40_2672.jpg
/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_42_2746.jpg
/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_45_2650.jpg
/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_49_3666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391843686","1391843697","1391843691","1391843694","1391843700","1391843699"],"photo_ids_order":["1391843686","1391843691","1391843694","1391843697","1391843699","1391843700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e12d8ed65b5cfc465a01e38f857f9221.jpg","text":"TemporaryFile(/tmp/multipartBody6083122387134584689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089103162,"filename":"image_30102025_12_21_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/2/f6f5ff3088395a31c63789b87b81a79a.jpg","text":"TemporaryFile(/tmp/multipartBody1939060993733583339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089103162,"filename":"image_30102025_12_21_42_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/2/7cdd2ff5d9532fdf9e493521b48e8581.jpg","text":"TemporaryFile(/tmp/multipartBody8300544760242931710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089103162,"filename":"image_30102025_12_21_37_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/2/be9a52dc0b2d54f1ea5cd2ab7eb7e501.jpg","text":"TemporaryFile(/tmp/multipartBody3580673158128690419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089103162,"filename":"image_30102025_12_21_40_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/2/be4cd4ca67194c73262b38d8ade94597.jpg","text":"TemporaryFile(/tmp/multipartBody2064187192720875767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089103162,"filename":"image_30102025_12_21_49_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/2/5e4bebabff143030c89d0c0b601f932d.jpg","text":"TemporaryFile(/tmp/multipartBody2092648527455633249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089103162,"filename":"image_30102025_12_21_45_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391843694","file1":"1391843691","file0":"1391843686","file4":"1391843699","file5":"1391843700","file3":"1391843697"},"map_files_photo_id_array":[{"photo_id":"1391843700","filename":"file5"},{"photo_id":"1391843694","filename":"file2"},{"photo_id":"1391843699","filename":"file4"},{"photo_id":"1391843691","filename":"file1"},{"photo_id":"1391843686","filename":"file0"},{"photo_id":"1391843697","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391843686":["hashtag1","hashtag2"]},{"1391843697":["hashtag1","hashtag2"]},{"1391843691":["hashtag1","hashtag2"]},{"1391843694":["hashtag1","hashtag2"]},{"1391843700":["hashtag1","hashtag2"]},{"1391843699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391843686, 1391843697, 1391843691, 1391843694, 1391843700, 1391843699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.337690591812134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 14:11:22.323020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_51_2725.jpg', '/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_54_2653.jpg', '/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_58_3555.jpg', '/home/pi/Desktop/images/30102025/12/21/image_30102025_12_22_00_2677.jpg', '/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_03_2818.jpg', '/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_07_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/12/21/image_30102025_12_21_51_2725.jpg
/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_54_2653.jpg
/home/pi/Desktop/images/30102025/12/21/image_30102025_12_21_58_3555.jpg
/home/pi/Desktop/images/30102025/12/21/image_30102025_12_22_00_2677.jpg
/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_03_2818.jpg
/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_07_3715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391843705","1391843710","1391843715","1391843712","1391843708","1391843717"],"photo_ids_order":["1391843705","1391843708","1391843710","1391843712","1391843715","1391843717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1fd12c93d64c9a69157a0f5dd1e9c53d.jpg","text":"TemporaryFile(/tmp/multipartBody768152306962635003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089145054,"filename":"image_30102025_12_21_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/2/30b8f268b6f4a841f8c4e050e17d304a.jpg","text":"TemporaryFile(/tmp/multipartBody2732868159164901239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089145054,"filename":"image_30102025_12_21_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/2/7009f621092c2df61654e3001d3c0093.jpg","text":"TemporaryFile(/tmp/multipartBody6473016272521819173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089145054,"filename":"image_30102025_12_22_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/2/8bfcdc153efc18cfe592f944874e1475.jpg","text":"TemporaryFile(/tmp/multipartBody8411122576580159844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089145054,"filename":"image_30102025_12_22_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/2/a99113133f300170baf46da39cf3d30c.jpg","text":"TemporaryFile(/tmp/multipartBody1858372557378185466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089145054,"filename":"image_30102025_12_21_54_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/2/e65bc2bd10e440f16172bd400fa2169b.jpg","text":"TemporaryFile(/tmp/multipartBody6062796867306910958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089145054,"filename":"image_30102025_12_22_07_3715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391843710","file1":"1391843708","file0":"1391843705","file4":"1391843715","file5":"1391843717","file3":"1391843712"},"map_files_photo_id_array":[{"photo_id":"1391843717","filename":"file5"},{"photo_id":"1391843710","filename":"file2"},{"photo_id":"1391843715","filename":"file4"},{"photo_id":"1391843708","filename":"file1"},{"photo_id":"1391843705","filename":"file0"},{"photo_id":"1391843712","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391843705":["hashtag1","hashtag2"]},{"1391843710":["hashtag1","hashtag2"]},{"1391843715":["hashtag1","hashtag2"]},{"1391843712":["hashtag1","hashtag2"]},{"1391843708":["hashtag1","hashtag2"]},{"1391843717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391843705, 1391843710, 1391843715, 1391843712, 1391843708, 1391843717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.749518394470215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 14:12:02.945083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_09_2656.jpg', '/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_14_4293.jpg', '/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_15_1733.jpg', '/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_18_2721.jpg', '/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_22_3625.jpg', '/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_24_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/12/22/image_30102025_12_22_09_2656.jpg
/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_14_4293.jpg
/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_15_1733.jpg
/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_18_2721.jpg
/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_22_3625.jpg
/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_24_2717.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.066052198410034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 14:12:22.560036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_09_2656.jpg', '/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_14_4293.jpg', '/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_15_1733.jpg', '/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_18_2721.jpg', '/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_22_3625.jpg', '/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_24_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/12/22/image_30102025_12_22_09_2656.jpg
/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_14_4293.jpg
/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_15_1733.jpg
/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_18_2721.jpg
/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_22_3625.jpg
/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_24_2717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391843736","1391843750","1391843744","1391843747","1391843741","1391843738"],"photo_ids_order":["1391843736","1391843738","1391843741","1391843744","1391843747","1391843750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/164ec5492f89807ece8dfe7051936e05.jpg","text":"TemporaryFile(/tmp/multipartBody9125509387251476336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089204982,"filename":"image_30102025_12_22_09_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/2/c3e15cb655e80703288e9de9939d585e.jpg","text":"TemporaryFile(/tmp/multipartBody5662254382156835802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089204982,"filename":"image_30102025_12_22_24_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/2/b38ae2b655dcb76476d3035588d16738.jpg","text":"TemporaryFile(/tmp/multipartBody7073702003879290906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089204982,"filename":"image_30102025_12_22_18_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/2/dd96f55636cd7797098565b3fc8f079f.jpg","text":"TemporaryFile(/tmp/multipartBody1129536349582319652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089204982,"filename":"image_30102025_12_22_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/2/6effebc6e5d978355d7b8883c0b77beb.jpg","text":"TemporaryFile(/tmp/multipartBody3733001907434984821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089204982,"filename":"image_30102025_12_22_15_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/2/1cd58f6d80237dcf9b93f72cfd242e34.jpg","text":"TemporaryFile(/tmp/multipartBody8847609374359504942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089204982,"filename":"image_30102025_12_22_14_4293.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391843741","file1":"1391843738","file0":"1391843736","file4":"1391843747","file5":"1391843750","file3":"1391843744"},"map_files_photo_id_array":[{"photo_id":"1391843750","filename":"file5"},{"photo_id":"1391843741","filename":"file2"},{"photo_id":"1391843747","filename":"file4"},{"photo_id":"1391843738","filename":"file1"},{"photo_id":"1391843736","filename":"file0"},{"photo_id":"1391843744","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391843736":["hashtag1","hashtag2"]},{"1391843750":["hashtag1","hashtag2"]},{"1391843744":["hashtag1","hashtag2"]},{"1391843747":["hashtag1","hashtag2"]},{"1391843741":["hashtag1","hashtag2"]},{"1391843738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391843736, 1391843750, 1391843744, 1391843747, 1391843741, 1391843738)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.13429522514343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 14:13:28.996322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_27_2644.jpg', '/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_31_3625.jpg', '/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_33_2625.jpg', '/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_36_2740.jpg', '/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_40_3642.jpg', '/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_42_2532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_27_2644.jpg
/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_31_3625.jpg
/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_33_2625.jpg
/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_36_2740.jpg
/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_40_3642.jpg
/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_42_2532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391843782","1391843779","1391843770","1391843767","1391843765","1391843774"],"photo_ids_order":["1391843765","1391843767","1391843770","1391843774","1391843779","1391843782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4942f1fa669b52ce42e9d3c0ceeb03bf.jpg","text":"TemporaryFile(/tmp/multipartBody9161875609137041493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089278112,"filename":"image_30102025_12_22_42_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/2/3be2fcb43066cffc3b2f39d1234facef.jpg","text":"TemporaryFile(/tmp/multipartBody3582086137194260206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089278112,"filename":"image_30102025_12_22_40_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/2/93965b2d0e80e880857f96b6d8cc095b.jpg","text":"TemporaryFile(/tmp/multipartBody803364840700232255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089278112,"filename":"image_30102025_12_22_33_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/2/bc7936707edcf80deb071eced1881a17.jpg","text":"TemporaryFile(/tmp/multipartBody2608265332842217226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089278112,"filename":"image_30102025_12_22_31_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/2/9b0ab4ab7dc12f6312c7494b9c34054a.jpg","text":"TemporaryFile(/tmp/multipartBody8963949389060764134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089278112,"filename":"image_30102025_12_22_27_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/2/03c4a7de1f1399adaf09198cc313c29c.jpg","text":"TemporaryFile(/tmp/multipartBody7165607347751546839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089278112,"filename":"image_30102025_12_22_36_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391843770","file1":"1391843767","file0":"1391843765","file4":"1391843779","file5":"1391843782","file3":"1391843774"},"map_files_photo_id_array":[{"photo_id":"1391843782","filename":"file5"},{"photo_id":"1391843770","filename":"file2"},{"photo_id":"1391843779","filename":"file4"},{"photo_id":"1391843767","filename":"file1"},{"photo_id":"1391843765","filename":"file0"},{"photo_id":"1391843774","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391843782":["hashtag1","hashtag2"]},{"1391843779":["hashtag1","hashtag2"]},{"1391843770":["hashtag1","hashtag2"]},{"1391843767":["hashtag1","hashtag2"]},{"1391843765":["hashtag1","hashtag2"]},{"1391843774":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391843782, 1391843779, 1391843770, 1391843767, 1391843765, 1391843774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.9298415184021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 14:14:22.240071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_45_2688.jpg', '/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_49_3642.jpg', '/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_51_2626.jpg', '/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_54_2562.jpg', '/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_58_3848.jpg', '/home/pi/Desktop/images/30102025/12/22/image_30102025_12_23_00_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/12/22/image_30102025_12_22_45_2688.jpg
/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_49_3642.jpg
/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_51_2626.jpg
/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_54_2562.jpg
/home/pi/Desktop/images/30102025/12/22/image_30102025_12_22_58_3848.jpg
/home/pi/Desktop/images/30102025/12/22/image_30102025_12_23_00_2604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391843794","1391843800","1391843803","1391843805","1391843798","1391843801"],"photo_ids_order":["1391843794","1391843798","1391843800","1391843801","1391843803","1391843805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c853af10109675287e1f055a0c132adf.jpg","text":"TemporaryFile(/tmp/multipartBody2121163680709314909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089324942,"filename":"image_30102025_12_22_45_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/2/c409c701b4169f993ba373b2e1939fd7.jpg","text":"TemporaryFile(/tmp/multipartBody1640647375900620756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089324942,"filename":"image_30102025_12_22_51_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/2/47ed3f25ffa914c31a1e80264ffbbdc9.jpg","text":"TemporaryFile(/tmp/multipartBody2104053727671353940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089324942,"filename":"image_30102025_12_22_58_3848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8a6a1dd81e2e29a466013c659e62ba7b.jpg","text":"TemporaryFile(/tmp/multipartBody2616953924757985518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089324942,"filename":"image_30102025_12_23_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/2/0983a40c0658420592e0785c6f075deb.jpg","text":"TemporaryFile(/tmp/multipartBody706181101906143140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089324942,"filename":"image_30102025_12_22_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/2/d751554d46cc731aa802838becddd1e5.jpg","text":"TemporaryFile(/tmp/multipartBody9157385119193708993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089324942,"filename":"image_30102025_12_22_54_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391843800","file1":"1391843798","file0":"1391843794","file4":"1391843803","file5":"1391843805","file3":"1391843801"},"map_files_photo_id_array":[{"photo_id":"1391843805","filename":"file5"},{"photo_id":"1391843800","filename":"file2"},{"photo_id":"1391843803","filename":"file4"},{"photo_id":"1391843798","filename":"file1"},{"photo_id":"1391843794","filename":"file0"},{"photo_id":"1391843801","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391843794":["hashtag1","hashtag2"]},{"1391843800":["hashtag1","hashtag2"]},{"1391843803":["hashtag1","hashtag2"]},{"1391843805":["hashtag1","hashtag2"]},{"1391843798":["hashtag1","hashtag2"]},{"1391843801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391843794, 1391843800, 1391843803, 1391843805, 1391843798, 1391843801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98210859298706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 14:15:03.568562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_03_2771.jpg', '/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_07_3605.jpg', '/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_09_2674.jpg', '/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_12_2856.jpg', '/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_15_2710.jpg', '/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_19_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/12/23/image_30102025_12_23_03_2771.jpg
/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_07_3605.jpg
/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_09_2674.jpg
/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_12_2856.jpg
/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_15_2710.jpg
/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_19_3737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391843819","1391843818","1391843815","1391843820","1391843817","1391843822"],"photo_ids_order":["1391843815","1391843817","1391843818","1391843819","1391843820","1391843822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2c3134924043659998db656b6361d46f.jpg","text":"TemporaryFile(/tmp/multipartBody1644550221858390839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089365877,"filename":"image_30102025_12_23_12_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/2/343cfc4ecd40bb3a465a4dbe23614b59.jpg","text":"TemporaryFile(/tmp/multipartBody5805523070127821237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089365877,"filename":"image_30102025_12_23_09_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/2/532b200b22a860baa1382948d60f9977.jpg","text":"TemporaryFile(/tmp/multipartBody7929499821799943824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089365877,"filename":"image_30102025_12_23_03_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/2/efd7ad88ecd7044b9e9bc6a2844dfd20.jpg","text":"TemporaryFile(/tmp/multipartBody4910942577409588826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089365877,"filename":"image_30102025_12_23_15_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/2/99dfea679dd52388328e063bef28fa68.jpg","text":"TemporaryFile(/tmp/multipartBody509558755967809270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089365877,"filename":"image_30102025_12_23_07_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/2/fd6119e293c26fa197783003ca87bd65.jpg","text":"TemporaryFile(/tmp/multipartBody5791741662204515078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089365877,"filename":"image_30102025_12_23_19_3737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391843818","file1":"1391843817","file0":"1391843815","file4":"1391843820","file5":"1391843822","file3":"1391843819"},"map_files_photo_id_array":[{"photo_id":"1391843822","filename":"file5"},{"photo_id":"1391843818","filename":"file2"},{"photo_id":"1391843820","filename":"file4"},{"photo_id":"1391843817","filename":"file1"},{"photo_id":"1391843815","filename":"file0"},{"photo_id":"1391843819","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391843819":["hashtag1","hashtag2"]},{"1391843818":["hashtag1","hashtag2"]},{"1391843815":["hashtag1","hashtag2"]},{"1391843820":["hashtag1","hashtag2"]},{"1391843817":["hashtag1","hashtag2"]},{"1391843822":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391843819, 1391843818, 1391843815, 1391843820, 1391843817, 1391843822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91330909729004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:15:42.749196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_21_2684.jpg', '/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_24_2853.jpg', '/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_34_10068.jpg', '/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_36_1627.jpg', '/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_37_1622.jpg', '/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_40_2487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_21_2684.jpg
/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_24_2853.jpg
/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_34_10068.jpg
/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_36_1627.jpg
/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_37_1622.jpg
/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_40_2487.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391843850","1391843847","1391843838","1391843843","1391843852","1391843849"],"photo_ids_order":["1391843838","1391843843","1391843847","1391843849","1391843850","1391843852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3b6c6c38e241b56d10f1a0291bfb392a.jpg","text":"TemporaryFile(/tmp/multipartBody2004759120527896302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089403861,"filename":"image_30102025_12_23_37_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/2/3669bb7d77afd6843aabdff81e26989e.jpg","text":"TemporaryFile(/tmp/multipartBody2964065553609492464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089403861,"filename":"image_30102025_12_23_34_10068.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c1a216f42971b820dee4b5ffd321709b.jpg","text":"TemporaryFile(/tmp/multipartBody3250596080669475980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089403861,"filename":"image_30102025_12_23_21_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/2/4bd0bc53463257a59ed4607e9533f9fc.jpg","text":"TemporaryFile(/tmp/multipartBody8471848786179047789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089403861,"filename":"image_30102025_12_23_24_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/2/7028200545c3cb0cf7197b85ff885160.jpg","text":"TemporaryFile(/tmp/multipartBody3489822303331762090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089403861,"filename":"image_30102025_12_23_40_2487.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/69a1f72d5d9f3f20e4b26c39edac54aa.jpg","text":"TemporaryFile(/tmp/multipartBody2512010489627720980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089403861,"filename":"image_30102025_12_23_36_1627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391843847","file1":"1391843843","file0":"1391843838","file4":"1391843850","file5":"1391843852","file3":"1391843849"},"map_files_photo_id_array":[{"photo_id":"1391843852","filename":"file5"},{"photo_id":"1391843847","filename":"file2"},{"photo_id":"1391843850","filename":"file4"},{"photo_id":"1391843843","filename":"file1"},{"photo_id":"1391843838","filename":"file0"},{"photo_id":"1391843849","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391843850":["hashtag1","hashtag2"]},{"1391843847":["hashtag1","hashtag2"]},{"1391843838":["hashtag1","hashtag2"]},{"1391843843":["hashtag1","hashtag2"]},{"1391843852":["hashtag1","hashtag2"]},{"1391843849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391843850, 1391843847, 1391843838, 1391843843, 1391843852, 1391843849)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.87375283241272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:16:42.045232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_42_1611.jpg', '/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_43_1768.jpg', '/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_45_1710.jpg', '/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_49_3884.jpg', '/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_51_1728.jpg', '/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_54_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/12/23/image_30102025_12_23_42_1611.jpg
/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_43_1768.jpg
/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_45_1710.jpg
/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_49_3884.jpg
/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_51_1728.jpg
/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_54_3652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391843887","1391843881","1391843883","1391843885","1391843879","1391843873"],"photo_ids_order":["1391843873","1391843879","1391843881","1391843883","1391843885","1391843887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f294b87bec2c6e69b20a12808a21e4ca.jpg","text":"TemporaryFile(/tmp/multipartBody6620462074949992748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089463170,"filename":"image_30102025_12_23_54_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/2/1aa84e356b50bbf440ed12ac85bf7146.jpg","text":"TemporaryFile(/tmp/multipartBody5088973789175582159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089463170,"filename":"image_30102025_12_23_45_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9f33e714a06f7ebddc829bb0524d8beb.jpg","text":"TemporaryFile(/tmp/multipartBody5547970306098247715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089463170,"filename":"image_30102025_12_23_49_3884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/471e08d99f327d4a1e7a2b273216d026.jpg","text":"TemporaryFile(/tmp/multipartBody7316144934844813105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089463170,"filename":"image_30102025_12_23_51_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/2/6c31e72bc0517970022cfb34dc1f4c81.jpg","text":"TemporaryFile(/tmp/multipartBody9115180419344550647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089463170,"filename":"image_30102025_12_23_43_1768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/13a9117cdd4db6d192d90b3729286c39.jpg","text":"TemporaryFile(/tmp/multipartBody3975026101234621064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089463170,"filename":"image_30102025_12_23_42_1611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391843881","file1":"1391843879","file0":"1391843873","file4":"1391843885","file5":"1391843887","file3":"1391843883"},"map_files_photo_id_array":[{"photo_id":"1391843887","filename":"file5"},{"photo_id":"1391843881","filename":"file2"},{"photo_id":"1391843885","filename":"file4"},{"photo_id":"1391843879","filename":"file1"},{"photo_id":"1391843873","filename":"file0"},{"photo_id":"1391843883","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391843887":["hashtag1","hashtag2"]},{"1391843881":["hashtag1","hashtag2"]},{"1391843883":["hashtag1","hashtag2"]},{"1391843885":["hashtag1","hashtag2"]},{"1391843879":["hashtag1","hashtag2"]},{"1391843873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391843887, 1391843881, 1391843883, 1391843885, 1391843879, 1391843873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55092716217041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 14:17:22.143435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_57_2697.jpg', '/home/pi/Desktop/images/30102025/12/23/image_30102025_12_24_00_2633.jpg', '/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_03_3685.jpg', '/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_20_16249.jpg', '/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_22_1904.jpg', '/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_34_12764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_57_2697.jpg
/home/pi/Desktop/images/30102025/12/23/image_30102025_12_24_00_2633.jpg
/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_03_3685.jpg
/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_20_16249.jpg
/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_22_1904.jpg
/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_34_12764.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.6183032989501953 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:17:42.188391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_57_2697.jpg', '/home/pi/Desktop/images/30102025/12/23/image_30102025_12_24_00_2633.jpg', '/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_03_3685.jpg', '/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_20_16249.jpg', '/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_22_1904.jpg', '/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_34_12764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/23/image_30102025_12_23_57_2697.jpg
/home/pi/Desktop/images/30102025/12/23/image_30102025_12_24_00_2633.jpg
/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_03_3685.jpg
/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_20_16249.jpg
/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_22_1904.jpg
/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_34_12764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391843911","1391843914","1391843904","1391843912","1391843906","1391843909"],"photo_ids_order":["1391843904","1391843906","1391843909","1391843911","1391843912","1391843914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/86212eed65f4bf0dac7a0136e6641326.jpg","text":"TemporaryFile(/tmp/multipartBody1482271326325940995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089523167,"filename":"image_30102025_12_24_20_16249.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/675ea6ff087c01478a045306b35cd25b.jpg","text":"TemporaryFile(/tmp/multipartBody7416435641327715644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089523167,"filename":"image_30102025_12_24_34_12764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/eb69f917b7d116c2c101d5506b9ba9b6.jpg","text":"TemporaryFile(/tmp/multipartBody5249233888568759988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089523167,"filename":"image_30102025_12_23_57_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/2/e03e4e0b8fec347dbed9c7142c7a5762.jpg","text":"TemporaryFile(/tmp/multipartBody3527282177814475015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089523167,"filename":"image_30102025_12_24_22_1904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2915539bc6f52a73a7dd59989362372e.jpg","text":"TemporaryFile(/tmp/multipartBody4919322021094861145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089523167,"filename":"image_30102025_12_24_00_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/2/4fc8262b6a73eb8f590361f8f861a980.jpg","text":"TemporaryFile(/tmp/multipartBody7095999600600879624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089523167,"filename":"image_30102025_12_24_03_3685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391843909","file1":"1391843906","file0":"1391843904","file4":"1391843912","file5":"1391843914","file3":"1391843911"},"map_files_photo_id_array":[{"photo_id":"1391843914","filename":"file5"},{"photo_id":"1391843909","filename":"file2"},{"photo_id":"1391843912","filename":"file4"},{"photo_id":"1391843906","filename":"file1"},{"photo_id":"1391843904","filename":"file0"},{"photo_id":"1391843911","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391843911":["hashtag1","hashtag2"]},{"1391843914":["hashtag1","hashtag2"]},{"1391843904":["hashtag1","hashtag2"]},{"1391843912":["hashtag1","hashtag2"]},{"1391843906":["hashtag1","hashtag2"]},{"1391843909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391843911, 1391843914, 1391843904, 1391843912, 1391843906, 1391843909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41012144088745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 14:18:22.386234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_36_1538.jpg', '/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_38_1723.jpg', '/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_39_1716.jpg', '/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_46_6735.jpg', '/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_49_2941.jpg', '/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_51_1771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_36_1538.jpg
/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_38_1723.jpg
/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_39_1716.jpg
/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_46_6735.jpg
/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_49_2941.jpg
/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_51_1771.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.8082804679870605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:18:44.161931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_36_1538.jpg', '/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_38_1723.jpg', '/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_39_1716.jpg', '/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_46_6735.jpg', '/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_49_2941.jpg', '/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_51_1771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_36_1538.jpg
/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_38_1723.jpg
/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_39_1716.jpg
/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_46_6735.jpg
/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_49_2941.jpg
/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_51_1771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391843929","1391843942","1391843945","1391843939","1391843933","1391843936"],"photo_ids_order":["1391843929","1391843933","1391843936","1391843939","1391843942","1391843945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7f072c21a94a6886a9ce497d2cec1631.jpg","text":"TemporaryFile(/tmp/multipartBody5925539239789140815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089585141,"filename":"image_30102025_12_24_36_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/2/ca425572a1050450c64f6b15a55c6d0a.jpg","text":"TemporaryFile(/tmp/multipartBody6828031718808515564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089585141,"filename":"image_30102025_12_24_49_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/2/7ad8061378aa897893a05de02c909ac0.jpg","text":"TemporaryFile(/tmp/multipartBody9067455195851733524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089585141,"filename":"image_30102025_12_24_51_1771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d5ea0caf1c732ebd474acd452a802710.jpg","text":"TemporaryFile(/tmp/multipartBody4862729804733738653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089585141,"filename":"image_30102025_12_24_46_6735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7c904090cfd8c527b2463a8b43510f52.jpg","text":"TemporaryFile(/tmp/multipartBody2329695865025015826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089585141,"filename":"image_30102025_12_24_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/2/d5b029d0f40c41d7b43944d31c04cd76.jpg","text":"TemporaryFile(/tmp/multipartBody1180926840028473920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089585141,"filename":"image_30102025_12_24_39_1716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391843936","file1":"1391843933","file0":"1391843929","file4":"1391843942","file5":"1391843945","file3":"1391843939"},"map_files_photo_id_array":[{"photo_id":"1391843945","filename":"file5"},{"photo_id":"1391843936","filename":"file2"},{"photo_id":"1391843942","filename":"file4"},{"photo_id":"1391843933","filename":"file1"},{"photo_id":"1391843929","filename":"file0"},{"photo_id":"1391843939","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391843929":["hashtag1","hashtag2"]},{"1391843942":["hashtag1","hashtag2"]},{"1391843945":["hashtag1","hashtag2"]},{"1391843939":["hashtag1","hashtag2"]},{"1391843933":["hashtag1","hashtag2"]},{"1391843936":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391843929, 1391843942, 1391843945, 1391843939, 1391843933, 1391843936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07895612716675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 14:19:22.188979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_52_1624.jpg', '/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_57_4425.jpg', '/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_58_1644.jpg', '/home/pi/Desktop/images/30102025/12/24/image_30102025_12_25_00_1556.jpg', '/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_02_1652.jpg', '/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_03_1791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_52_1624.jpg
/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_57_4425.jpg
/home/pi/Desktop/images/30102025/12/24/image_30102025_12_24_58_1644.jpg
/home/pi/Desktop/images/30102025/12/24/image_30102025_12_25_00_1556.jpg
/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_02_1652.jpg
/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_03_1791.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391843950","1391843960","1391843963","1391843957","1391843954","1391843948"],"photo_ids_order":["1391843948","1391843950","1391843954","1391843957","1391843960","1391843963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7ddd29aac1f3349b63040319e83bc680.jpg","text":"TemporaryFile(/tmp/multipartBody7971895624959408164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089624900,"filename":"image_30102025_12_24_57_4425.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d89d78bfee0fcb95c7bb4ea0661b2901.jpg","text":"TemporaryFile(/tmp/multipartBody5261404007543732211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089624900,"filename":"image_30102025_12_25_02_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/2/e1b221653edd738a208633331f7b118c.jpg","text":"TemporaryFile(/tmp/multipartBody7479635452102582996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089624900,"filename":"image_30102025_12_25_03_1791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c24b51ab935d9adce3742ae7b99daa77.jpg","text":"TemporaryFile(/tmp/multipartBody8078297033541067132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089624900,"filename":"image_30102025_12_25_00_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/2/790a3513fdcf61b520e9a9c7876277b1.jpg","text":"TemporaryFile(/tmp/multipartBody6595080717492216730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089624900,"filename":"image_30102025_12_24_58_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/2/13e9226766c4200eefccb782843623cf.jpg","text":"TemporaryFile(/tmp/multipartBody269493275404458145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089624900,"filename":"image_30102025_12_24_52_1624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391843954","file1":"1391843950","file0":"1391843948","file4":"1391843960","file5":"1391843963","file3":"1391843957"},"map_files_photo_id_array":[{"photo_id":"1391843963","filename":"file5"},{"photo_id":"1391843954","filename":"file2"},{"photo_id":"1391843960","filename":"file4"},{"photo_id":"1391843950","filename":"file1"},{"photo_id":"1391843948","filename":"file0"},{"photo_id":"1391843957","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391843950":["hashtag1","hashtag2"]},{"1391843960":["hashtag1","hashtag2"]},{"1391843963":["hashtag1","hashtag2"]},{"1391843957":["hashtag1","hashtag2"]},{"1391843954":["hashtag1","hashtag2"]},{"1391843948":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391843950, 1391843960, 1391843963, 1391843957, 1391843954, 1391843948)","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.89393401145935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:20:42.573180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_05_1863.jpg', '/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_07_1743.jpg', '/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_12_5087.jpg', '/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_14_1618.jpg', '/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_15_1639.jpg', '/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_21_5787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_05_1863.jpg
/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_07_1743.jpg
/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_12_5087.jpg
/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_14_1618.jpg
/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_15_1639.jpg
/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_21_5787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391843992","1391843989","1391843988","1391843999","1391843987","1391843996"],"photo_ids_order":["1391843987","1391843988","1391843989","1391843992","1391843996","1391843999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7c2f76428398efddd13bb7282e9f311a.jpg","text":"TemporaryFile(/tmp/multipartBody7561957496285237705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089729130,"filename":"image_30102025_12_25_14_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/2/23ad3fb297dd8bdc517445db89d9ad57.jpg","text":"TemporaryFile(/tmp/multipartBody5447815775013033852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089729130,"filename":"image_30102025_12_25_12_5087.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4a61ca482e56ddff766edda85e696c2b.jpg","text":"TemporaryFile(/tmp/multipartBody1759319446182806371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089729130,"filename":"image_30102025_12_25_07_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/2/88f669bd2f279b44f0afd5e86cae1681.jpg","text":"TemporaryFile(/tmp/multipartBody1876219424984849004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089729130,"filename":"image_30102025_12_25_21_5787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3d1180118bc2ac81f2054210351287fb.jpg","text":"TemporaryFile(/tmp/multipartBody3036392049936516467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089729130,"filename":"image_30102025_12_25_05_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/2/fc69abf401d70a8e75b53f7c990827ff.jpg","text":"TemporaryFile(/tmp/multipartBody6615998748035884876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089729130,"filename":"image_30102025_12_25_15_1639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391843989","file1":"1391843988","file0":"1391843987","file4":"1391843996","file5":"1391843999","file3":"1391843992"},"map_files_photo_id_array":[{"photo_id":"1391843999","filename":"file5"},{"photo_id":"1391843989","filename":"file2"},{"photo_id":"1391843996","filename":"file4"},{"photo_id":"1391843988","filename":"file1"},{"photo_id":"1391843987","filename":"file0"},{"photo_id":"1391843992","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391843992":["hashtag1","hashtag2"]},{"1391843989":["hashtag1","hashtag2"]},{"1391843988":["hashtag1","hashtag2"]},{"1391843999":["hashtag1","hashtag2"]},{"1391843987":["hashtag1","hashtag2"]},{"1391843996":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391843992, 1391843989, 1391843988, 1391843999, 1391843987, 1391843996)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 98.45019364356995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 14:22:24.034696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 14:22:41.682148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_23_1624.jpg', '/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_25_1753.jpg', '/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_26_1586.jpg', '/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_28_1687.jpg', '/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_30_1716.jpg', '/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_31_1674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_23_1624.jpg
/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_25_1753.jpg
/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_26_1586.jpg
/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_28_1687.jpg
/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_30_1716.jpg
/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_31_1674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391844028","1391844030","1391844033","1391844024","1391844026","1391844035"],"photo_ids_order":["1391844024","1391844026","1391844028","1391844030","1391844033","1391844035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0628d1f47e0630f9a58d632bdbc75ede.jpg","text":"TemporaryFile(/tmp/multipartBody3618948731921032215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089830388,"filename":"image_30102025_12_25_26_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/2/65dbfbd4139097306dd7acab1f387622.jpg","text":"TemporaryFile(/tmp/multipartBody2018760762038812132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089830388,"filename":"image_30102025_12_25_28_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/2/674dc66a7c2c58969133eb5631997249.jpg","text":"TemporaryFile(/tmp/multipartBody846948307133880744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089830388,"filename":"image_30102025_12_25_30_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/06bdb665ad01d08bc6a4e169dee84c44.jpg","text":"TemporaryFile(/tmp/multipartBody5112981914483303446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089830388,"filename":"image_30102025_12_25_23_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/2/2965daa0562f5bc6bea07fd72f6feb6d.jpg","text":"TemporaryFile(/tmp/multipartBody1233439439821795229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089830388,"filename":"image_30102025_12_25_25_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/2/91576046b23c2a137a2ff1f4141fe348.jpg","text":"TemporaryFile(/tmp/multipartBody3351448743651357000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089830388,"filename":"image_30102025_12_25_31_1674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844028","file1":"1391844026","file0":"1391844024","file4":"1391844033","file5":"1391844035","file3":"1391844030"},"map_files_photo_id_array":[{"photo_id":"1391844035","filename":"file5"},{"photo_id":"1391844028","filename":"file2"},{"photo_id":"1391844033","filename":"file4"},{"photo_id":"1391844026","filename":"file1"},{"photo_id":"1391844024","filename":"file0"},{"photo_id":"1391844030","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844028":["hashtag1","hashtag2"]},{"1391844030":["hashtag1","hashtag2"]},{"1391844033":["hashtag1","hashtag2"]},{"1391844024":["hashtag1","hashtag2"]},{"1391844026":["hashtag1","hashtag2"]},{"1391844035":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844028, 1391844030, 1391844033, 1391844024, 1391844026, 1391844035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.39891982078552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:23:41.892412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_33_1852.jpg', '/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_35_1623.jpg', '/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_36_1718.jpg', '/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_38_1611.jpg', '/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_40_1661.jpg', '/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_42_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/12/25/image_30102025_12_25_33_1852.jpg
/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_35_1623.jpg
/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_36_1718.jpg
/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_38_1611.jpg
/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_40_1661.jpg
/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_42_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":["1391844058","1391844057","1391844051","1391844060","1391844054","1391844062"],"photo_ids_order":["1391844051","1391844054","1391844057","1391844058","1391844060","1391844062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f2a085f02f358ba326840b3f2dfbfa6f.jpg","text":"TemporaryFile(/tmp/multipartBody8891124690464792834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089888543,"filename":"image_30102025_12_25_38_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/2/0fd399c0625958617da540644f6afc7f.jpg","text":"TemporaryFile(/tmp/multipartBody1294396105052083604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089888543,"filename":"image_30102025_12_25_36_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d8c0ad60f99e0d62d1d10817ac8c5879.jpg","text":"TemporaryFile(/tmp/multipartBody4679804838907050523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089888543,"filename":"image_30102025_12_25_33_1852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/054c88c29a8ea315d172acd69c273e54.jpg","text":"TemporaryFile(/tmp/multipartBody6136500903004766244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089888543,"filename":"image_30102025_12_25_40_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/2/35e8c35d56c370c4dcd19ee4958a3869.jpg","text":"TemporaryFile(/tmp/multipartBody7782227533516075148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089888543,"filename":"image_30102025_12_25_35_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/2/81f9e27dd421fef8e03289e9ff3018bc.jpg","text":"TemporaryFile(/tmp/multipartBody1679929754757951242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762089888543,"filename":"image_30102025_12_25_42_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844057","file1":"1391844054","file0":"1391844051","file4":"1391844060","file5":"1391844062","file3":"1391844058"},"map_files_photo_id_array":[{"photo_id":"1391844062","filename":"file5"},{"photo_id":"1391844057","filename":"file2"},{"photo_id":"1391844060","filename":"file4"},{"photo_id":"1391844054","filename":"file1"},{"photo_id":"1391844051","filename":"file0"},{"photo_id":"1391844058","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844058":["hashtag1","hashtag2"]},{"1391844057":["hashtag1","hashtag2"]},{"1391844051":["hashtag1","hashtag2"]},{"1391844060":["hashtag1","hashtag2"]},{"1391844054":["hashtag1","hashtag2"]},{"1391844062":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844058, 1391844057, 1391844051, 1391844060, 1391844054, 1391844062)","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: 98.17263555526733 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 14:25:35.005625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 14:25:55.070545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_45_2616.jpg', '/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_48_2685.jpg', '/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_51_3743.jpg', '/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_54_2650.jpg', '/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_57_2566.jpg', '/home/pi/Desktop/images/30102025/12/25/image_30102025_12_26_00_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/12/25/image_30102025_12_25_45_2616.jpg
/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_48_2685.jpg
/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_51_3743.jpg
/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_54_2650.jpg
/home/pi/Desktop/images/30102025/12/25/image_30102025_12_25_57_2566.jpg
/home/pi/Desktop/images/30102025/12/25/image_30102025_12_26_00_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":["1391844109","1391844103","1391844106","1391844096","1391844100","1391844097"],"photo_ids_order":["1391844096","1391844097","1391844100","1391844103","1391844106","1391844109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/68aba0e6684732d909b69da7debc2ecc.jpg","text":"TemporaryFile(/tmp/multipartBody7556776084331060650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090016365,"filename":"image_30102025_12_26_00_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/2/a0722c2613d4565b254f72fd9f021d06.jpg","text":"TemporaryFile(/tmp/multipartBody5884527629306722081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090016365,"filename":"image_30102025_12_25_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/2/934f93d4b5d3229f7264b01efdc7d0f2.jpg","text":"TemporaryFile(/tmp/multipartBody2371741422610311183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090016365,"filename":"image_30102025_12_25_57_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/2/ac1f24012cfadf4c57272c6509a62344.jpg","text":"TemporaryFile(/tmp/multipartBody7262924881745835230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090016365,"filename":"image_30102025_12_25_45_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/2/298baeef8b354773428c9df2a2c6e502.jpg","text":"TemporaryFile(/tmp/multipartBody7024708020058749744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090016365,"filename":"image_30102025_12_25_51_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/2/ffb5ef29745ff0978919fb0491c51ce0.jpg","text":"TemporaryFile(/tmp/multipartBody3525175518410073810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090016365,"filename":"image_30102025_12_25_48_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844100","file1":"1391844097","file0":"1391844096","file4":"1391844106","file5":"1391844109","file3":"1391844103"},"map_files_photo_id_array":[{"photo_id":"1391844109","filename":"file5"},{"photo_id":"1391844100","filename":"file2"},{"photo_id":"1391844106","filename":"file4"},{"photo_id":"1391844097","filename":"file1"},{"photo_id":"1391844096","filename":"file0"},{"photo_id":"1391844103","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844109":["hashtag1","hashtag2"]},{"1391844103":["hashtag1","hashtag2"]},{"1391844106":["hashtag1","hashtag2"]},{"1391844096":["hashtag1","hashtag2"]},{"1391844100":["hashtag1","hashtag2"]},{"1391844097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844109, 1391844103, 1391844106, 1391844096, 1391844100, 1391844097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.689746379852295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:26:44.761567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_03_2645.jpg', '/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_05_2604.jpg', '/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_09_3657.jpg', '/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_12_2702.jpg', '/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_15_2672.jpg', '/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_18_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/12/26/image_30102025_12_26_03_2645.jpg
/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_05_2604.jpg
/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_09_3657.jpg
/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_12_2702.jpg
/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_15_2672.jpg
/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_18_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":["1391844115","1391844132","1391844126","1391844129","1391844122","1391844119"],"photo_ids_order":["1391844115","1391844119","1391844122","1391844126","1391844129","1391844132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/39fbd3c6d618af6c77bb81fd94d598b3.jpg","text":"TemporaryFile(/tmp/multipartBody1905351805046927130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090067136,"filename":"image_30102025_12_26_03_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/2/fd68a289ebd72cc5fcaab9cb864bfd84.jpg","text":"TemporaryFile(/tmp/multipartBody269993905921946643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090067136,"filename":"image_30102025_12_26_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/2/080e19192d06346d600923d3e4cc6402.jpg","text":"TemporaryFile(/tmp/multipartBody799652197956337894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090067136,"filename":"image_30102025_12_26_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/2/1720dd44d77c225e9233089bcb5af561.jpg","text":"TemporaryFile(/tmp/multipartBody2210942195411005264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090067136,"filename":"image_30102025_12_26_15_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/2/36488bd76756318d0005f22e46152f78.jpg","text":"TemporaryFile(/tmp/multipartBody5611775267136934378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090067136,"filename":"image_30102025_12_26_09_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/2/47736f3e3d3f0bd23ba105c419919da6.jpg","text":"TemporaryFile(/tmp/multipartBody930127313142466929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090067136,"filename":"image_30102025_12_26_05_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844122","file1":"1391844119","file0":"1391844115","file4":"1391844129","file5":"1391844132","file3":"1391844126"},"map_files_photo_id_array":[{"photo_id":"1391844132","filename":"file5"},{"photo_id":"1391844122","filename":"file2"},{"photo_id":"1391844129","filename":"file4"},{"photo_id":"1391844119","filename":"file1"},{"photo_id":"1391844115","filename":"file0"},{"photo_id":"1391844126","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844115":["hashtag1","hashtag2"]},{"1391844132":["hashtag1","hashtag2"]},{"1391844126":["hashtag1","hashtag2"]},{"1391844129":["hashtag1","hashtag2"]},{"1391844122":["hashtag1","hashtag2"]},{"1391844119":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844115, 1391844132, 1391844126, 1391844129, 1391844122, 1391844119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00828671455383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:27:41.908364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_21_2708.jpg', '/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_24_2582.jpg', '/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_27_3557.jpg', '/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_30_2677.jpg', '/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_32_2661.jpg', '/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_36_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/12/26/image_30102025_12_26_21_2708.jpg
/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_24_2582.jpg
/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_27_3557.jpg
/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_30_2677.jpg
/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_32_2661.jpg
/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_36_3662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391844154","1391844148","1391844156","1391844159","1391844150","1391844152"],"photo_ids_order":["1391844148","1391844150","1391844152","1391844154","1391844156","1391844159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c0b4f1225dcf65ce8c3db14eb1ab4f83.jpg","text":"TemporaryFile(/tmp/multipartBody3242902633464474546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090123026,"filename":"image_30102025_12_26_30_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/2/f11d9f44b9231e4a6867d523a04eed00.jpg","text":"TemporaryFile(/tmp/multipartBody4452864353664532241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090123026,"filename":"image_30102025_12_26_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/2/7e5a214d3f67f99a1e25d904377c9738.jpg","text":"TemporaryFile(/tmp/multipartBody8345010126029548982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090123026,"filename":"image_30102025_12_26_32_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/2/16ba420955ca01b247ffaf4a51be59ba.jpg","text":"TemporaryFile(/tmp/multipartBody8905082115558928478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090123026,"filename":"image_30102025_12_26_36_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/2/e1dec6d838cee7e258992b085e884ee3.jpg","text":"TemporaryFile(/tmp/multipartBody6420945393749050208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090123026,"filename":"image_30102025_12_26_24_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/2/d625158c901e2e6e0cc9bbd2e05031fd.jpg","text":"TemporaryFile(/tmp/multipartBody4003559392825871152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090123026,"filename":"image_30102025_12_26_27_3557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844152","file1":"1391844150","file0":"1391844148","file4":"1391844156","file5":"1391844159","file3":"1391844154"},"map_files_photo_id_array":[{"photo_id":"1391844159","filename":"file5"},{"photo_id":"1391844152","filename":"file2"},{"photo_id":"1391844156","filename":"file4"},{"photo_id":"1391844150","filename":"file1"},{"photo_id":"1391844148","filename":"file0"},{"photo_id":"1391844154","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844154":["hashtag1","hashtag2"]},{"1391844148":["hashtag1","hashtag2"]},{"1391844156":["hashtag1","hashtag2"]},{"1391844159":["hashtag1","hashtag2"]},{"1391844150":["hashtag1","hashtag2"]},{"1391844152":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844154, 1391844148, 1391844156, 1391844159, 1391844150, 1391844152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.462770223617554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 14:28:22.048817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_39_2541.jpg', '/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_42_3697.jpg', '/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_45_2664.jpg', '/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_48_2559.jpg', '/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_51_3598.jpg', '/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_56_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/12/26/image_30102025_12_26_39_2541.jpg
/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_42_3697.jpg
/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_45_2664.jpg
/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_48_2559.jpg
/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_51_3598.jpg
/home/pi/Desktop/images/30102025/12/26/image_30102025_12_26_56_2643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391844174","1391844168","1391844170","1391844178","1391844172","1391844166"],"photo_ids_order":["1391844166","1391844168","1391844170","1391844172","1391844174","1391844178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/deb28aa72a1a471d74c75bd33f6204f7.jpg","text":"TemporaryFile(/tmp/multipartBody9161776352750995726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090164738,"filename":"image_30102025_12_26_51_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/2/96cdaadca9ef3db5a42d7a090544f9cc.jpg","text":"TemporaryFile(/tmp/multipartBody8933299292667079322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090164738,"filename":"image_30102025_12_26_42_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/2/40f0f063af555b223989f85340cdeb8f.jpg","text":"TemporaryFile(/tmp/multipartBody3236915323730630051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090164738,"filename":"image_30102025_12_26_45_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/2/760200505c9df1ef3a152b16caac3951.jpg","text":"TemporaryFile(/tmp/multipartBody246202555737247195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090164738,"filename":"image_30102025_12_26_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/2/65fa67de82e86bf9435d7e953e4b943c.jpg","text":"TemporaryFile(/tmp/multipartBody5151156004728280120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090164738,"filename":"image_30102025_12_26_48_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/2/328bfd0279b43e8226d9787348104cca.jpg","text":"TemporaryFile(/tmp/multipartBody8388232518402785991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090164738,"filename":"image_30102025_12_26_39_2541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844170","file1":"1391844168","file0":"1391844166","file4":"1391844174","file5":"1391844178","file3":"1391844172"},"map_files_photo_id_array":[{"photo_id":"1391844178","filename":"file5"},{"photo_id":"1391844170","filename":"file2"},{"photo_id":"1391844174","filename":"file4"},{"photo_id":"1391844168","filename":"file1"},{"photo_id":"1391844166","filename":"file0"},{"photo_id":"1391844172","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844174":["hashtag1","hashtag2"]},{"1391844168":["hashtag1","hashtag2"]},{"1391844170":["hashtag1","hashtag2"]},{"1391844178":["hashtag1","hashtag2"]},{"1391844172":["hashtag1","hashtag2"]},{"1391844166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844174, 1391844168, 1391844170, 1391844178, 1391844172, 1391844166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40161967277527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 14:29:03.330778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/26/image_30102025_12_27_00_3596.jpg', '/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_03_2610.jpg', '/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_06_3645.jpg', '/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_09_2558.jpg', '/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_12_2613.jpg', '/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_15_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/12/26/image_30102025_12_27_00_3596.jpg
/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_03_2610.jpg
/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_06_3645.jpg
/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_09_2558.jpg
/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_12_2613.jpg
/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_15_3696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391844186","1391844197","1391844201","1391844191","1391844188","1391844193"],"photo_ids_order":["1391844186","1391844188","1391844191","1391844193","1391844197","1391844201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/013424a7be1615a10ea1c9c6297894fd.jpg","text":"TemporaryFile(/tmp/multipartBody7128211149725686173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090205706,"filename":"image_30102025_12_27_00_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/2/8a6b1c6bb35d19c2a7e87e0d32e11867.jpg","text":"TemporaryFile(/tmp/multipartBody5609050161760638930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090205706,"filename":"image_30102025_12_27_12_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/2/21dca06cce74cc2e6260d117e12c4929.jpg","text":"TemporaryFile(/tmp/multipartBody4475344995972511898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090205706,"filename":"image_30102025_12_27_15_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/2/ebd9f913d4166f1fa9a6d5fdf68dd2aa.jpg","text":"TemporaryFile(/tmp/multipartBody4394895456410303880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090205706,"filename":"image_30102025_12_27_06_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/2/4a88dfa39d9947ac06eabfba62adbe83.jpg","text":"TemporaryFile(/tmp/multipartBody454474352679372537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090205706,"filename":"image_30102025_12_27_03_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/2/4f761595ac0f0c3d7500430f3c94d3f9.jpg","text":"TemporaryFile(/tmp/multipartBody5575776693445050845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090205706,"filename":"image_30102025_12_27_09_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844191","file1":"1391844188","file0":"1391844186","file4":"1391844197","file5":"1391844201","file3":"1391844193"},"map_files_photo_id_array":[{"photo_id":"1391844201","filename":"file5"},{"photo_id":"1391844191","filename":"file2"},{"photo_id":"1391844197","filename":"file4"},{"photo_id":"1391844188","filename":"file1"},{"photo_id":"1391844186","filename":"file0"},{"photo_id":"1391844193","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844186":["hashtag1","hashtag2"]},{"1391844197":["hashtag1","hashtag2"]},{"1391844201":["hashtag1","hashtag2"]},{"1391844191":["hashtag1","hashtag2"]},{"1391844188":["hashtag1","hashtag2"]},{"1391844193":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844186, 1391844197, 1391844201, 1391844191, 1391844188, 1391844193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.436917304992676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:29:42.360298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_18_2793.jpg', '/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_21_2696.jpg', '/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_23_2703.jpg', '/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_27_3677.jpg', '/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_30_2717.jpg', '/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_32_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/12/27/image_30102025_12_27_18_2793.jpg
/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_21_2696.jpg
/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_23_2703.jpg
/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_27_3677.jpg
/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_30_2717.jpg
/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_32_2586.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":["1391844217","1391844211","1391844210","1391844212","1391844206","1391844209"],"photo_ids_order":["1391844206","1391844209","1391844210","1391844211","1391844212","1391844217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/54a18cccd71031dcdb9612b8a479994c.jpg","text":"TemporaryFile(/tmp/multipartBody961748563027747502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090243734,"filename":"image_30102025_12_27_32_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/2/e12c328437be7ef1651cb58b1fb8fd21.jpg","text":"TemporaryFile(/tmp/multipartBody902062447036819308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090243734,"filename":"image_30102025_12_27_27_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/2/da1fc2ede3634a3bd9c4c7c667a27db6.jpg","text":"TemporaryFile(/tmp/multipartBody2288722090940613493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090243734,"filename":"image_30102025_12_27_23_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/2/13fecbabb77d04196d951374d48c3935.jpg","text":"TemporaryFile(/tmp/multipartBody4443498927740734445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090243734,"filename":"image_30102025_12_27_30_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/2/0a9285d5b80293df21138701ec52bb94.jpg","text":"TemporaryFile(/tmp/multipartBody5270970868096669724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090243734,"filename":"image_30102025_12_27_18_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/2/7b2c08591b8659fe23ef29d452ef7b89.jpg","text":"TemporaryFile(/tmp/multipartBody2083290024444306737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090243734,"filename":"image_30102025_12_27_21_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844210","file1":"1391844209","file0":"1391844206","file4":"1391844212","file5":"1391844217","file3":"1391844211"},"map_files_photo_id_array":[{"photo_id":"1391844217","filename":"file5"},{"photo_id":"1391844210","filename":"file2"},{"photo_id":"1391844212","filename":"file4"},{"photo_id":"1391844209","filename":"file1"},{"photo_id":"1391844206","filename":"file0"},{"photo_id":"1391844211","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844217":["hashtag1","hashtag2"]},{"1391844211":["hashtag1","hashtag2"]},{"1391844210":["hashtag1","hashtag2"]},{"1391844212":["hashtag1","hashtag2"]},{"1391844206":["hashtag1","hashtag2"]},{"1391844209":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844217, 1391844211, 1391844210, 1391844212, 1391844206, 1391844209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.06745362281799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:30:42.614583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_36_3892.jpg', '/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_39_2854.jpg', '/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_42_2648.jpg', '/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_44_2711.jpg', '/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_47_2827.jpg', '/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_51_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/12/27/image_30102025_12_27_36_3892.jpg
/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_39_2854.jpg
/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_42_2648.jpg
/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_44_2711.jpg
/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_47_2827.jpg
/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_51_3738.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391844232","1391844243","1391844246","1391844249","1391844236","1391844239"],"photo_ids_order":["1391844232","1391844236","1391844239","1391844243","1391844246","1391844249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/347e1af7b09ce022589564bc2841e4c7.jpg","text":"TemporaryFile(/tmp/multipartBody4164481394556115807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090306791,"filename":"image_30102025_12_27_36_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/2/c1a32d6e5e7c3e12d1864d9b91512eea.jpg","text":"TemporaryFile(/tmp/multipartBody8745957243263902459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090306791,"filename":"image_30102025_12_27_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/2/7e307a79e0282b5b2b421ec919a80e91.jpg","text":"TemporaryFile(/tmp/multipartBody4810447229416557333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090306791,"filename":"image_30102025_12_27_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/2/f2091074615a3eef13e4fcded7aa1f3a.jpg","text":"TemporaryFile(/tmp/multipartBody5564843923322279894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090306791,"filename":"image_30102025_12_27_51_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/2/5241fefb6f109a7ba19285af7f1db848.jpg","text":"TemporaryFile(/tmp/multipartBody2402609561204748300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090306791,"filename":"image_30102025_12_27_39_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/2/a8e41cf379d892976e14fc967f031064.jpg","text":"TemporaryFile(/tmp/multipartBody5370134517512623280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090306791,"filename":"image_30102025_12_27_42_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844239","file1":"1391844236","file0":"1391844232","file4":"1391844246","file5":"1391844249","file3":"1391844243"},"map_files_photo_id_array":[{"photo_id":"1391844249","filename":"file5"},{"photo_id":"1391844239","filename":"file2"},{"photo_id":"1391844246","filename":"file4"},{"photo_id":"1391844236","filename":"file1"},{"photo_id":"1391844232","filename":"file0"},{"photo_id":"1391844243","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844232":["hashtag1","hashtag2"]},{"1391844243":["hashtag1","hashtag2"]},{"1391844246":["hashtag1","hashtag2"]},{"1391844249":["hashtag1","hashtag2"]},{"1391844236":["hashtag1","hashtag2"]},{"1391844239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844232, 1391844243, 1391844246, 1391844249, 1391844236, 1391844239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.29260969161987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 14:31:23.732626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_54_2828.jpg', '/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_57_2673.jpg', '/home/pi/Desktop/images/30102025/12/27/image_30102025_12_28_00_3563.jpg', '/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_03_2769.jpg', '/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_06_2823.jpg', '/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_08_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/12/27/image_30102025_12_27_54_2828.jpg
/home/pi/Desktop/images/30102025/12/27/image_30102025_12_27_57_2673.jpg
/home/pi/Desktop/images/30102025/12/27/image_30102025_12_28_00_3563.jpg
/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_03_2769.jpg
/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_06_2823.jpg
/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_08_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":["1391844253","1391844256","1391844267","1391844266","1391844260","1391844263"],"photo_ids_order":["1391844253","1391844256","1391844260","1391844263","1391844266","1391844267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/08f280c8146fcad4e96e9220ac1ca099.jpg","text":"TemporaryFile(/tmp/multipartBody9122788511769968315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090347847,"filename":"image_30102025_12_27_54_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/2/f802261f638810a1b810509d603ad646.jpg","text":"TemporaryFile(/tmp/multipartBody7719453119596623330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090347847,"filename":"image_30102025_12_27_57_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/2/594de7a13f8cff8b22a6ae9335afc5e0.jpg","text":"TemporaryFile(/tmp/multipartBody8351132444096296196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090347847,"filename":"image_30102025_12_28_08_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/2/ac52aec6ee0afb14edac14ea82de7a92.jpg","text":"TemporaryFile(/tmp/multipartBody8878640180470787725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090347847,"filename":"image_30102025_12_28_06_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/2/c67339b55221bc203f68ebb21fd12759.jpg","text":"TemporaryFile(/tmp/multipartBody5270378449638213587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090347847,"filename":"image_30102025_12_28_00_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/2/a3d18c530b241d30a0fd6b0189242b63.jpg","text":"TemporaryFile(/tmp/multipartBody7350322709837469595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090347847,"filename":"image_30102025_12_28_03_2769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844260","file1":"1391844256","file0":"1391844253","file4":"1391844266","file5":"1391844267","file3":"1391844263"},"map_files_photo_id_array":[{"photo_id":"1391844267","filename":"file5"},{"photo_id":"1391844260","filename":"file2"},{"photo_id":"1391844266","filename":"file4"},{"photo_id":"1391844256","filename":"file1"},{"photo_id":"1391844253","filename":"file0"},{"photo_id":"1391844263","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844253":["hashtag1","hashtag2"]},{"1391844256":["hashtag1","hashtag2"]},{"1391844267":["hashtag1","hashtag2"]},{"1391844266":["hashtag1","hashtag2"]},{"1391844260":["hashtag1","hashtag2"]},{"1391844263":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844253, 1391844256, 1391844267, 1391844266, 1391844260, 1391844263)","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 = 1391844260 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/12/27/image_30102025_12_28_00_3563.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 66.24684381484985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:32:41.934370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_15_6540.jpg', '/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_17_1642.jpg', '/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_18_1563.jpg', '/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_21_2759.jpg', '/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_23_2539.jpg', '/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_27_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_15_6540.jpg
/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_17_1642.jpg
/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_18_1563.jpg
/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_21_2759.jpg
/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_23_2539.jpg
/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_27_3626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391844304","1391844282","1391844299","1391844302","1391844295","1391844292"],"photo_ids_order":["1391844282","1391844292","1391844295","1391844299","1391844302","1391844304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/af20e31ef44a65c6fc4c225405f4681c.jpg","text":"TemporaryFile(/tmp/multipartBody7451773680711512336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090423674,"filename":"image_30102025_12_28_27_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/2/efe20d08528e189c6f8241297f60759c.jpg","text":"TemporaryFile(/tmp/multipartBody7141474082980026413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090423674,"filename":"image_30102025_12_28_15_6540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9bc1c233e969b6a3e8184515806d58d4.jpg","text":"TemporaryFile(/tmp/multipartBody2466984106399218276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090423674,"filename":"image_30102025_12_28_21_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/2/aa9b66ded33c338b712fa2abc659e983.jpg","text":"TemporaryFile(/tmp/multipartBody3135665603833166567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090423674,"filename":"image_30102025_12_28_23_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/2/a993913b38f004337122d797836c7b7f.jpg","text":"TemporaryFile(/tmp/multipartBody6787988669274100766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090423674,"filename":"image_30102025_12_28_18_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/2/251c64c00593a635d50b969a7084c9e9.jpg","text":"TemporaryFile(/tmp/multipartBody5594395936130267628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090423674,"filename":"image_30102025_12_28_17_1642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844295","file1":"1391844292","file0":"1391844282","file4":"1391844302","file5":"1391844304","file3":"1391844299"},"map_files_photo_id_array":[{"photo_id":"1391844304","filename":"file5"},{"photo_id":"1391844295","filename":"file2"},{"photo_id":"1391844302","filename":"file4"},{"photo_id":"1391844292","filename":"file1"},{"photo_id":"1391844282","filename":"file0"},{"photo_id":"1391844299","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844304":["hashtag1","hashtag2"]},{"1391844282":["hashtag1","hashtag2"]},{"1391844299":["hashtag1","hashtag2"]},{"1391844302":["hashtag1","hashtag2"]},{"1391844295":["hashtag1","hashtag2"]},{"1391844292":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844304, 1391844282, 1391844299, 1391844302, 1391844295, 1391844292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54237365722656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 14:33:22.027811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_30_2553.jpg', '/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_32_2662.jpg', '/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_36_3726.jpg', '/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_38_2199.jpg', '/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_42_3824.jpg', '/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_45_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/12/28/image_30102025_12_28_30_2553.jpg
/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_32_2662.jpg
/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_36_3726.jpg
/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_38_2199.jpg
/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_42_3824.jpg
/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_45_2578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391844322","1391844319","1391844324","1391844314","1391844317","1391844311"],"photo_ids_order":["1391844311","1391844314","1391844317","1391844319","1391844322","1391844324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f9c3ed6c299072d20e9c52e6049ff396.jpg","text":"TemporaryFile(/tmp/multipartBody3998174113675342276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090464753,"filename":"image_30102025_12_28_42_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/2/38abf1b52502bc8f3cacf8b63b1e57f8.jpg","text":"TemporaryFile(/tmp/multipartBody3334598959459621886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090464753,"filename":"image_30102025_12_28_38_2199.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/de1a5aa474439bc967fee7acb3cc1e41.jpg","text":"TemporaryFile(/tmp/multipartBody5589350590522742984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090464753,"filename":"image_30102025_12_28_45_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/2/43e576cf929926432e680ab395c18077.jpg","text":"TemporaryFile(/tmp/multipartBody7153568129723343724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090464753,"filename":"image_30102025_12_28_32_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/2/fdf87ef410f2fcfa137a32147959550e.jpg","text":"TemporaryFile(/tmp/multipartBody5028730531853881524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090464753,"filename":"image_30102025_12_28_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/2/0ec2933ca56a7174a030150cfd48d48b.jpg","text":"TemporaryFile(/tmp/multipartBody238308622765303509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090464753,"filename":"image_30102025_12_28_30_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844317","file1":"1391844314","file0":"1391844311","file4":"1391844322","file5":"1391844324","file3":"1391844319"},"map_files_photo_id_array":[{"photo_id":"1391844324","filename":"file5"},{"photo_id":"1391844317","filename":"file2"},{"photo_id":"1391844322","filename":"file4"},{"photo_id":"1391844314","filename":"file1"},{"photo_id":"1391844311","filename":"file0"},{"photo_id":"1391844319","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844322":["hashtag1","hashtag2"]},{"1391844319":["hashtag1","hashtag2"]},{"1391844324":["hashtag1","hashtag2"]},{"1391844314":["hashtag1","hashtag2"]},{"1391844317":["hashtag1","hashtag2"]},{"1391844311":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844322, 1391844319, 1391844324, 1391844314, 1391844317, 1391844311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94321632385254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 14:34:02.817123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_47_2838.jpg', '/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_50_2767.jpg', '/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_54_3606.jpg', '/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_57_2644.jpg', '/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_59_2650.jpg', '/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_03_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_47_2838.jpg
/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_50_2767.jpg
/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_54_3606.jpg
/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_57_2644.jpg
/home/pi/Desktop/images/30102025/12/28/image_30102025_12_28_59_2650.jpg
/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_03_3669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391844331","1391844340","1391844334","1391844342","1391844336","1391844338"],"photo_ids_order":["1391844331","1391844334","1391844336","1391844338","1391844340","1391844342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a11dff3c7f37cca92caf8faeb4d699cc.jpg","text":"TemporaryFile(/tmp/multipartBody125507956978217530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090504972,"filename":"image_30102025_12_28_47_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/2/07ae73363a18fe36543266b8440a2a22.jpg","text":"TemporaryFile(/tmp/multipartBody8514140265061673305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090504972,"filename":"image_30102025_12_28_59_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/2/a5f69d443ed86a1224cbfffb0ce6693c.jpg","text":"TemporaryFile(/tmp/multipartBody626927774073843274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090504972,"filename":"image_30102025_12_28_50_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/2/d92269885ad56d59a08cc923e205bf71.jpg","text":"TemporaryFile(/tmp/multipartBody2848281319124408380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090504972,"filename":"image_30102025_12_29_03_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/2/b294b9d5d4c7b1abbb79c15b572a4734.jpg","text":"TemporaryFile(/tmp/multipartBody2156516314383854576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090504972,"filename":"image_30102025_12_28_54_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/2/8b43d5117bc17931a0a7c52fc5b0ab10.jpg","text":"TemporaryFile(/tmp/multipartBody3927464181942432444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090504972,"filename":"image_30102025_12_28_57_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844336","file1":"1391844334","file0":"1391844331","file4":"1391844340","file5":"1391844342","file3":"1391844338"},"map_files_photo_id_array":[{"photo_id":"1391844342","filename":"file5"},{"photo_id":"1391844336","filename":"file2"},{"photo_id":"1391844340","filename":"file4"},{"photo_id":"1391844334","filename":"file1"},{"photo_id":"1391844331","filename":"file0"},{"photo_id":"1391844338","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844331":["hashtag1","hashtag2"]},{"1391844340":["hashtag1","hashtag2"]},{"1391844334":["hashtag1","hashtag2"]},{"1391844342":["hashtag1","hashtag2"]},{"1391844336":["hashtag1","hashtag2"]},{"1391844338":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844331, 1391844340, 1391844334, 1391844342, 1391844336, 1391844338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.163049936294556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:34:42.216127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_06_2677.jpg', '/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_09_3637.jpg', '/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_12_2612.jpg', '/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_14_2730.jpg', '/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_18_4009.jpg', '/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_20_1912.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_06_2677.jpg
/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_09_3637.jpg
/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_12_2612.jpg
/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_14_2730.jpg
/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_18_4009.jpg
/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_20_1912.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391844346","1391844349","1391844357","1391844365","1391844353","1391844361"],"photo_ids_order":["1391844346","1391844349","1391844353","1391844357","1391844361","1391844365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/66ebd2fd4161d1572c7ea8498c92ff98.jpg","text":"TemporaryFile(/tmp/multipartBody4979006133483861413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090543330,"filename":"image_30102025_12_29_06_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/2/f51f5a301b438a78e985c417a968ef10.jpg","text":"TemporaryFile(/tmp/multipartBody7354192711831251846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090543330,"filename":"image_30102025_12_29_09_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/2/317f4914de99d3d85ecd740975b86a9a.jpg","text":"TemporaryFile(/tmp/multipartBody2661009783089292686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090543330,"filename":"image_30102025_12_29_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/2/902ad0649bae34da9b8c6d02395ca246.jpg","text":"TemporaryFile(/tmp/multipartBody379318939610595331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090543330,"filename":"image_30102025_12_29_20_1912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/67160c04f42ea88e92f118be76d2bf60.jpg","text":"TemporaryFile(/tmp/multipartBody2233502489243385968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090543330,"filename":"image_30102025_12_29_12_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/2/3bfb6f67ee20e996c7acfe8b432a31f9.jpg","text":"TemporaryFile(/tmp/multipartBody1891813204952404736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090543330,"filename":"image_30102025_12_29_18_4009.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844353","file1":"1391844349","file0":"1391844346","file4":"1391844361","file5":"1391844365","file3":"1391844357"},"map_files_photo_id_array":[{"photo_id":"1391844365","filename":"file5"},{"photo_id":"1391844353","filename":"file2"},{"photo_id":"1391844361","filename":"file4"},{"photo_id":"1391844349","filename":"file1"},{"photo_id":"1391844346","filename":"file0"},{"photo_id":"1391844357","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844346":["hashtag1","hashtag2"]},{"1391844349":["hashtag1","hashtag2"]},{"1391844357":["hashtag1","hashtag2"]},{"1391844365":["hashtag1","hashtag2"]},{"1391844353":["hashtag1","hashtag2"]},{"1391844361":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844346, 1391844349, 1391844357, 1391844365, 1391844353, 1391844361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.813701152801514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 14:35:22.410771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_24_3637.jpg', '/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_27_2797.jpg', '/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_29_2641.jpg', '/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_32_2999.jpg', '/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_36_3612.jpg', '/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_39_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/12/29/image_30102025_12_29_24_3637.jpg
/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_27_2797.jpg
/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_29_2641.jpg
/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_32_2999.jpg
/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_36_3612.jpg
/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_39_2602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391844375","1391844383","1391844392","1391844371","1391844368","1391844379"],"photo_ids_order":["1391844368","1391844371","1391844375","1391844379","1391844383","1391844392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/14a418218b28e427a0e9beff2e0f1c3b.jpg","text":"TemporaryFile(/tmp/multipartBody2136256371930643602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090585552,"filename":"image_30102025_12_29_29_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/2/db9ca090ec3f1eecc48ef615688adbed.jpg","text":"TemporaryFile(/tmp/multipartBody3492154955293256640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090585552,"filename":"image_30102025_12_29_36_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/2/8053d1153d60b1cae5ed6c0696a5a9a6.jpg","text":"TemporaryFile(/tmp/multipartBody5447282785458526455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090585552,"filename":"image_30102025_12_29_39_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/2/bd418fd348d51083ae7af54098567763.jpg","text":"TemporaryFile(/tmp/multipartBody1159524361210148271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090585552,"filename":"image_30102025_12_29_27_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/2/a6f2cdc8a238c722419104d981523fd2.jpg","text":"TemporaryFile(/tmp/multipartBody3776698369101978504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090585552,"filename":"image_30102025_12_29_24_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/2/baf421b4cf674e5f0046add2e557a43f.jpg","text":"TemporaryFile(/tmp/multipartBody6938228576316150728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090585552,"filename":"image_30102025_12_29_32_2999.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844375","file1":"1391844371","file0":"1391844368","file4":"1391844383","file5":"1391844392","file3":"1391844379"},"map_files_photo_id_array":[{"photo_id":"1391844392","filename":"file5"},{"photo_id":"1391844375","filename":"file2"},{"photo_id":"1391844383","filename":"file4"},{"photo_id":"1391844371","filename":"file1"},{"photo_id":"1391844368","filename":"file0"},{"photo_id":"1391844379","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844375":["hashtag1","hashtag2"]},{"1391844383":["hashtag1","hashtag2"]},{"1391844392":["hashtag1","hashtag2"]},{"1391844371":["hashtag1","hashtag2"]},{"1391844368":["hashtag1","hashtag2"]},{"1391844379":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844375, 1391844383, 1391844392, 1391844371, 1391844368, 1391844379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27987599372864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 14:36:03.022027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_41_2723.jpg', '/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_44_2745.jpg', '/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_48_3559.jpg', '/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_50_2686.jpg', '/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_54_3604.jpg', '/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_57_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/12/29/image_30102025_12_29_41_2723.jpg
/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_44_2745.jpg
/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_48_3559.jpg
/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_50_2686.jpg
/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_54_3604.jpg
/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_57_2693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391844406","1391844409","1391844398","1391844402","1391844413","1391844394"],"photo_ids_order":["1391844394","1391844398","1391844402","1391844406","1391844409","1391844413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/26e250f22a20f8b5ca8235845b955805.jpg","text":"TemporaryFile(/tmp/multipartBody827974281187700819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090625172,"filename":"image_30102025_12_29_50_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/2/29a4014d5b68882df7a68fdf121ade9f.jpg","text":"TemporaryFile(/tmp/multipartBody2702278492453888340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090625172,"filename":"image_30102025_12_29_54_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/2/e4c2b04dad727ef491cd1762524b571e.jpg","text":"TemporaryFile(/tmp/multipartBody3915927293980731451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090625172,"filename":"image_30102025_12_29_44_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/2/ad91e715274d1923ffc5167f42a9edd5.jpg","text":"TemporaryFile(/tmp/multipartBody8770598365971949639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090625172,"filename":"image_30102025_12_29_48_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/2/32221145152d479c6c46e3ef76fb8bc7.jpg","text":"TemporaryFile(/tmp/multipartBody3169308146745184163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090625172,"filename":"image_30102025_12_29_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/2/806d6f83781aae987691fda40f8544c6.jpg","text":"TemporaryFile(/tmp/multipartBody8939111476690514655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090625172,"filename":"image_30102025_12_29_41_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844402","file1":"1391844398","file0":"1391844394","file4":"1391844409","file5":"1391844413","file3":"1391844406"},"map_files_photo_id_array":[{"photo_id":"1391844413","filename":"file5"},{"photo_id":"1391844402","filename":"file2"},{"photo_id":"1391844409","filename":"file4"},{"photo_id":"1391844398","filename":"file1"},{"photo_id":"1391844394","filename":"file0"},{"photo_id":"1391844406","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844406":["hashtag1","hashtag2"]},{"1391844409":["hashtag1","hashtag2"]},{"1391844398":["hashtag1","hashtag2"]},{"1391844402":["hashtag1","hashtag2"]},{"1391844413":["hashtag1","hashtag2"]},{"1391844394":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844406, 1391844409, 1391844398, 1391844402, 1391844413, 1391844394)","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 = 1391844402 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_48_3559.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 70.71943044662476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 14:37:22.688032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 14:37:47.767671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/29/image_30102025_12_29_59_2716.jpg', '/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_08_3012.jpg', '/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_12_3696.jpg', '/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_14_2644.jpg', '/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_17_2844.jpg', '/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_21_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/12/29/image_30102025_12_29_59_2716.jpg
/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_08_3012.jpg
/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_12_3696.jpg
/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_14_2644.jpg
/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_17_2844.jpg
/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_21_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":["1391844465","1391844468","1391844453","1391844462","1391844459","1391844455"],"photo_ids_order":["1391844453","1391844455","1391844459","1391844462","1391844465","1391844468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cc51be45cc75b029b375fcda6ca50829.jpg","text":"TemporaryFile(/tmp/multipartBody151865994922752526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090736667,"filename":"image_30102025_12_30_17_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/2/b5653409707afc75b6f1cf828c48a24d.jpg","text":"TemporaryFile(/tmp/multipartBody7776279229715495017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090736667,"filename":"image_30102025_12_30_21_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/2/605f64a518bf60f84ee9d2b41bff0d0a.jpg","text":"TemporaryFile(/tmp/multipartBody6949384902055849614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090736667,"filename":"image_30102025_12_29_59_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/2/1897434cc9924db1c0e61f0016f6d992.jpg","text":"TemporaryFile(/tmp/multipartBody2141954197342078822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090736667,"filename":"image_30102025_12_30_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/2/f2ee329a1c5f3264116a8e0f99e9f2f9.jpg","text":"TemporaryFile(/tmp/multipartBody1775794265458140532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090736667,"filename":"image_30102025_12_30_12_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/2/6c04ff1dab7264791509484bacd366b8.jpg","text":"TemporaryFile(/tmp/multipartBody3936529691398814930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090736667,"filename":"image_30102025_12_30_08_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844459","file1":"1391844455","file0":"1391844453","file4":"1391844465","file5":"1391844468","file3":"1391844462"},"map_files_photo_id_array":[{"photo_id":"1391844468","filename":"file5"},{"photo_id":"1391844459","filename":"file2"},{"photo_id":"1391844465","filename":"file4"},{"photo_id":"1391844455","filename":"file1"},{"photo_id":"1391844453","filename":"file0"},{"photo_id":"1391844462","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844465":["hashtag1","hashtag2"]},{"1391844468":["hashtag1","hashtag2"]},{"1391844453":["hashtag1","hashtag2"]},{"1391844462":["hashtag1","hashtag2"]},{"1391844459":["hashtag1","hashtag2"]},{"1391844455":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844465, 1391844468, 1391844453, 1391844462, 1391844459, 1391844455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.482584953308105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:38:44.081418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_23_2716.jpg', '/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_26_2575.jpg', '/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_29_3000.jpg', '/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_32_2806.jpg', '/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_36_3774.jpg', '/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_38_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/12/30/image_30102025_12_30_23_2716.jpg
/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_26_2575.jpg
/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_29_3000.jpg
/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_32_2806.jpg
/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_36_3774.jpg
/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_38_2714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391844498","1391844502","1391844492","1391844494","1391844487","1391844490"],"photo_ids_order":["1391844487","1391844490","1391844492","1391844494","1391844498","1391844502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9e86cde40a62c280e6bcc4870a9011a8.jpg","text":"TemporaryFile(/tmp/multipartBody3246319001384937576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090787101,"filename":"image_30102025_12_30_36_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/2/b6f901d0ce0d87fdc1fb0ddcbe6f5743.jpg","text":"TemporaryFile(/tmp/multipartBody4776512432559295650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090787101,"filename":"image_30102025_12_30_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/2/e06a0ddaf09c9f45838eeab874fddf02.jpg","text":"TemporaryFile(/tmp/multipartBody9011547622571996320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090787101,"filename":"image_30102025_12_30_29_3000.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b49d061d4b5a0fafd111918ef689b877.jpg","text":"TemporaryFile(/tmp/multipartBody5233840325665069075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090787101,"filename":"image_30102025_12_30_32_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/2/2accbc66fe67454b05e877465e831181.jpg","text":"TemporaryFile(/tmp/multipartBody8361701570605868269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090787101,"filename":"image_30102025_12_30_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/2/ff18202ad0dc1f68becbdc58cc0e6662.jpg","text":"TemporaryFile(/tmp/multipartBody8914088240040883423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090787101,"filename":"image_30102025_12_30_26_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844492","file1":"1391844490","file0":"1391844487","file4":"1391844498","file5":"1391844502","file3":"1391844494"},"map_files_photo_id_array":[{"photo_id":"1391844502","filename":"file5"},{"photo_id":"1391844492","filename":"file2"},{"photo_id":"1391844498","filename":"file4"},{"photo_id":"1391844490","filename":"file1"},{"photo_id":"1391844487","filename":"file0"},{"photo_id":"1391844494","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844498":["hashtag1","hashtag2"]},{"1391844502":["hashtag1","hashtag2"]},{"1391844492":["hashtag1","hashtag2"]},{"1391844494":["hashtag1","hashtag2"]},{"1391844487":["hashtag1","hashtag2"]},{"1391844490":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844498, 1391844502, 1391844492, 1391844494, 1391844487, 1391844490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21207141876221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 14:39:24.934204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_41_2601.jpg', '/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_47_2655.jpg', '/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_50_2556.jpg', '/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_54_3770.jpg', '/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_56_2584.jpg', '/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_59_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/12/30/image_30102025_12_30_41_2601.jpg
/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_47_2655.jpg
/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_50_2556.jpg
/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_54_3770.jpg
/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_56_2584.jpg
/home/pi/Desktop/images/30102025/12/30/image_30102025_12_30_59_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":["1391844523","1391844520","1391844516","1391844531","1391844527","1391844518"],"photo_ids_order":["1391844516","1391844518","1391844520","1391844523","1391844527","1391844531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1225f755daf5b30c4c76e809ee8363c5.jpg","text":"TemporaryFile(/tmp/multipartBody5154813725959399546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090832786,"filename":"image_30102025_12_30_54_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/2/c060115ff627c730e25f153cfd9957d9.jpg","text":"TemporaryFile(/tmp/multipartBody8192234279988347246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090832786,"filename":"image_30102025_12_30_50_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/2/b0a4671e08acefad64a54c3490d6487f.jpg","text":"TemporaryFile(/tmp/multipartBody2044410263817609623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090832786,"filename":"image_30102025_12_30_41_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/2/9533fc28d34b443bd0d978db7ecb8a4c.jpg","text":"TemporaryFile(/tmp/multipartBody5065290248356574226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090832786,"filename":"image_30102025_12_30_59_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/2/e20e2e0bd4e756a18938984041b0eb01.jpg","text":"TemporaryFile(/tmp/multipartBody5524836683247870035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090832786,"filename":"image_30102025_12_30_56_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/2/5035e18afc286a9b5e81abba80d0b769.jpg","text":"TemporaryFile(/tmp/multipartBody3427537426522837726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090832786,"filename":"image_30102025_12_30_47_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844520","file1":"1391844518","file0":"1391844516","file4":"1391844527","file5":"1391844531","file3":"1391844523"},"map_files_photo_id_array":[{"photo_id":"1391844531","filename":"file5"},{"photo_id":"1391844520","filename":"file2"},{"photo_id":"1391844527","filename":"file4"},{"photo_id":"1391844518","filename":"file1"},{"photo_id":"1391844516","filename":"file0"},{"photo_id":"1391844523","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844523":["hashtag1","hashtag2"]},{"1391844520":["hashtag1","hashtag2"]},{"1391844516":["hashtag1","hashtag2"]},{"1391844531":["hashtag1","hashtag2"]},{"1391844527":["hashtag1","hashtag2"]},{"1391844518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844523, 1391844520, 1391844516, 1391844531, 1391844527, 1391844518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.46756315231323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 14:40:22.211786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_03_3659.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_05_2721.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_08_2708.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_11_2743.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_15_3787.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_17_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/12/31/image_30102025_12_31_03_3659.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_05_2721.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_08_2708.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_11_2743.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_15_3787.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_17_2519.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391844553","1391844547","1391844540","1391844543","1391844537","1391844551"],"photo_ids_order":["1391844537","1391844540","1391844543","1391844547","1391844551","1391844553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e7e1df9b023cc9180c38545d12c3d02f.jpg","text":"TemporaryFile(/tmp/multipartBody4575368448823472754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090884894,"filename":"image_30102025_12_31_17_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/2/0ba960c3d7502f13b19068ce05d30d87.jpg","text":"TemporaryFile(/tmp/multipartBody1516808569955472363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090884894,"filename":"image_30102025_12_31_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/2/db2006a93c4ddfafe56bb348bfcfc106.jpg","text":"TemporaryFile(/tmp/multipartBody1725253006187651490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090884894,"filename":"image_30102025_12_31_05_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/2/2379a7596b9719858b1fed21cf18a2f6.jpg","text":"TemporaryFile(/tmp/multipartBody6767126962574431964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090884894,"filename":"image_30102025_12_31_08_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/2/bf4d0ef9a085b93059a95fcc8e4ca752.jpg","text":"TemporaryFile(/tmp/multipartBody9182043510222452812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090884894,"filename":"image_30102025_12_31_03_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/2/5e16d6e50627c0e862c11ba3372103dd.jpg","text":"TemporaryFile(/tmp/multipartBody6124000177218905776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090884894,"filename":"image_30102025_12_31_15_3787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844543","file1":"1391844540","file0":"1391844537","file4":"1391844551","file5":"1391844553","file3":"1391844547"},"map_files_photo_id_array":[{"photo_id":"1391844553","filename":"file5"},{"photo_id":"1391844543","filename":"file2"},{"photo_id":"1391844551","filename":"file4"},{"photo_id":"1391844540","filename":"file1"},{"photo_id":"1391844537","filename":"file0"},{"photo_id":"1391844547","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844553":["hashtag1","hashtag2"]},{"1391844547":["hashtag1","hashtag2"]},{"1391844540":["hashtag1","hashtag2"]},{"1391844543":["hashtag1","hashtag2"]},{"1391844537":["hashtag1","hashtag2"]},{"1391844551":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844553, 1391844547, 1391844540, 1391844543, 1391844537, 1391844551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.74867391586304 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-02 14:41:22.331066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_20_2675.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_24_3685.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_26_2643.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_29_2881.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_32_2870.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_36_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/12/31/image_30102025_12_31_20_2675.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_24_3685.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_26_2643.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_29_2881.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_32_2870.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_36_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.6194732189178467 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:41:42.356872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_20_2675.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_24_3685.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_26_2643.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_29_2881.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_32_2870.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_36_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/12/31/image_30102025_12_31_20_2675.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_24_3685.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_26_2643.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_29_2881.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_32_2870.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_36_3653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391844582","1391844593","1391844606","1391844596","1391844599","1391844602"],"photo_ids_order":["1391844582","1391844593","1391844596","1391844599","1391844602","1391844606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fe5a5a7447b5f0a56a616bc447f0472f.jpg","text":"TemporaryFile(/tmp/multipartBody7759452435289318876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090963332,"filename":"image_30102025_12_31_20_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/2/c699dfb769914250390f8023425a8023.jpg","text":"TemporaryFile(/tmp/multipartBody4893771159396569223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090963332,"filename":"image_30102025_12_31_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/2/b7980af35bdc5c621bda4bfa9b6f3f54.jpg","text":"TemporaryFile(/tmp/multipartBody7864563414044377790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090963332,"filename":"image_30102025_12_31_36_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/2/590f085e3d862f517873a8a785057843.jpg","text":"TemporaryFile(/tmp/multipartBody2114658395056372907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090963332,"filename":"image_30102025_12_31_26_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/2/4b9ad5528289b3ab9b37de3f7859d90c.jpg","text":"TemporaryFile(/tmp/multipartBody1181590963516350036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090963332,"filename":"image_30102025_12_31_29_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/2/07f7cdfc8c12606f915095877b1e93d4.jpg","text":"TemporaryFile(/tmp/multipartBody7672580964725182191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762090963332,"filename":"image_30102025_12_31_32_2870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844596","file1":"1391844593","file0":"1391844582","file4":"1391844602","file5":"1391844606","file3":"1391844599"},"map_files_photo_id_array":[{"photo_id":"1391844606","filename":"file5"},{"photo_id":"1391844596","filename":"file2"},{"photo_id":"1391844602","filename":"file4"},{"photo_id":"1391844593","filename":"file1"},{"photo_id":"1391844582","filename":"file0"},{"photo_id":"1391844599","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844582":["hashtag1","hashtag2"]},{"1391844593":["hashtag1","hashtag2"]},{"1391844606":["hashtag1","hashtag2"]},{"1391844596":["hashtag1","hashtag2"]},{"1391844599":["hashtag1","hashtag2"]},{"1391844602":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844582, 1391844593, 1391844606, 1391844596, 1391844599, 1391844602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60216021537781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 14:42:22.465785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_49_13325.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_51_1648.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_52_1835.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_54_1547.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_56_1774.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_57_1629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_49_13325.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_51_1648.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_52_1835.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_54_1547.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_56_1774.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_57_1629.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.819883108139038 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:42:42.539738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_49_13325.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_51_1648.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_52_1835.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_54_1547.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_56_1774.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_57_1629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_49_13325.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_51_1648.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_52_1835.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_54_1547.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_56_1774.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_57_1629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391844631","1391844628","1391844621","1391844624","1391844638","1391844634"],"photo_ids_order":["1391844621","1391844624","1391844628","1391844631","1391844634","1391844638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bc9bf60aae514875a03d3782110ae1bc.jpg","text":"TemporaryFile(/tmp/multipartBody568678140266463403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091023525,"filename":"image_30102025_12_31_54_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/2/20c7044e139e50ebffe1802e7a5c1e54.jpg","text":"TemporaryFile(/tmp/multipartBody6574890998628677277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091023525,"filename":"image_30102025_12_31_52_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/2/cd942f38cbb39c9ff1f318722cb37ba9.jpg","text":"TemporaryFile(/tmp/multipartBody6671832180767508161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091023525,"filename":"image_30102025_12_31_49_13325.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/95ae4c91184363f78af88023a712a95b.jpg","text":"TemporaryFile(/tmp/multipartBody930265616651238603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091023525,"filename":"image_30102025_12_31_51_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/2/30247df7e6ef4b448e22cd86fbd2ec5f.jpg","text":"TemporaryFile(/tmp/multipartBody1317220072427443995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091023525,"filename":"image_30102025_12_31_57_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/2/7fdbadb1b5c574e5e6fe3ff65e5c9d80.jpg","text":"TemporaryFile(/tmp/multipartBody3291974419566851136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091023525,"filename":"image_30102025_12_31_56_1774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844628","file1":"1391844624","file0":"1391844621","file4":"1391844634","file5":"1391844638","file3":"1391844631"},"map_files_photo_id_array":[{"photo_id":"1391844638","filename":"file5"},{"photo_id":"1391844628","filename":"file2"},{"photo_id":"1391844634","filename":"file4"},{"photo_id":"1391844624","filename":"file1"},{"photo_id":"1391844621","filename":"file0"},{"photo_id":"1391844631","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844631":["hashtag1","hashtag2"]},{"1391844628":["hashtag1","hashtag2"]},{"1391844621":["hashtag1","hashtag2"]},{"1391844624":["hashtag1","hashtag2"]},{"1391844638":["hashtag1","hashtag2"]},{"1391844634":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844631, 1391844628, 1391844621, 1391844624, 1391844638, 1391844634)","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 = 1391844628 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_52_1835.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391844628 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_52_1835.jpg";
uploaded 6 photos
time to upload: 62.600708961486816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 14:44:02.995898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 14:44:22.313104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 14:44:53.658480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 14:45:05.294126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT 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=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 14:45:21.846910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_49_13325.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_51_1648.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_52_1835.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_54_1547.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_56_1774.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_57_1629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_49_13325.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_51_1648.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_52_1835.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_54_1547.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_56_1774.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_57_1629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391844696","1391844700","1391844702","1391844698","1391844691","1391844694"],"photo_ids_order":["1391844691","1391844694","1391844696","1391844698","1391844700","1391844702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b6fba19a3c64d19c46c0eefc2492be71.jpg","text":"TemporaryFile(/tmp/multipartBody7609885624886936917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091184512,"filename":"image_30102025_12_31_52_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/2/bd8277d8771b44cfff1bd495e0282c99.jpg","text":"TemporaryFile(/tmp/multipartBody5009571836123242446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091184512,"filename":"image_30102025_12_31_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/2/d7ca00631660fc062924951403ea13a7.jpg","text":"TemporaryFile(/tmp/multipartBody4212790221001629631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091184512,"filename":"image_30102025_12_31_57_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/2/96044d3729cfb5743992ced76cccbcc0.jpg","text":"TemporaryFile(/tmp/multipartBody8168296952912329874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091184512,"filename":"image_30102025_12_31_54_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/2/6a1e44d5194a4866f5a7b11cd34c47b7.jpg","text":"TemporaryFile(/tmp/multipartBody6098464289164979493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091184512,"filename":"image_30102025_12_31_49_13325.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/baaae6da91b44b31678d0ce802b20a8d.jpg","text":"TemporaryFile(/tmp/multipartBody8509335901520739929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091184512,"filename":"image_30102025_12_31_51_1648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844696","file1":"1391844694","file0":"1391844691","file4":"1391844700","file5":"1391844702","file3":"1391844698"},"map_files_photo_id_array":[{"photo_id":"1391844702","filename":"file5"},{"photo_id":"1391844696","filename":"file2"},{"photo_id":"1391844700","filename":"file4"},{"photo_id":"1391844694","filename":"file1"},{"photo_id":"1391844691","filename":"file0"},{"photo_id":"1391844698","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844696":["hashtag1","hashtag2"]},{"1391844700":["hashtag1","hashtag2"]},{"1391844702":["hashtag1","hashtag2"]},{"1391844698":["hashtag1","hashtag2"]},{"1391844691":["hashtag1","hashtag2"]},{"1391844694":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844696, 1391844700, 1391844702, 1391844698, 1391844691, 1391844694)","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 = 1391844696 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_52_1835.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391844696 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_52_1835.jpg";
uploaded 6 photos
time to upload: 77.42070698738098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:46:42.573379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 14:47:03.072760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 14:47:22.677005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 14:48:02.816279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 14:48:23.788274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 14:48:42.447896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 14:49:04.170277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 14:49:28.553151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 14:49:42.342537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 14:50:30.855476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 14:51:03.315159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_49_13325.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_51_1648.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_52_1835.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_54_1547.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_56_1774.jpg', '/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_57_1629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_49_13325.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_51_1648.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_52_1835.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_54_1547.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_56_1774.jpg
/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_57_1629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391844841","1391844844","1391844843","1391844846","1391844848","1391844850"],"photo_ids_order":["1391844841","1391844843","1391844844","1391844846","1391844848","1391844850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/16f72d474e582875b18745bd601a8f89.jpg","text":"TemporaryFile(/tmp/multipartBody8864016927587015661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091525273,"filename":"image_30102025_12_31_49_13325.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7ab0dccc002dae8b868a2b793d453287.jpg","text":"TemporaryFile(/tmp/multipartBody6211544115202209540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091525273,"filename":"image_30102025_12_31_52_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/2/b16c7e1ce15312401e8c2cf779c1d38b.jpg","text":"TemporaryFile(/tmp/multipartBody7139104432749450145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091525273,"filename":"image_30102025_12_31_51_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/2/4323ad102941e9ea726ea74c50a302cd.jpg","text":"TemporaryFile(/tmp/multipartBody7250605336524503391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091525273,"filename":"image_30102025_12_31_54_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/2/b5ebe311ee418456cb0e4d9297113d00.jpg","text":"TemporaryFile(/tmp/multipartBody2071067136267173328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091525273,"filename":"image_30102025_12_31_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/2/502be4d489e7eb23e809fce433777aa8.jpg","text":"TemporaryFile(/tmp/multipartBody8132386580808786233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091525273,"filename":"image_30102025_12_31_57_1629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844844","file1":"1391844843","file0":"1391844841","file4":"1391844848","file5":"1391844850","file3":"1391844846"},"map_files_photo_id_array":[{"photo_id":"1391844850","filename":"file5"},{"photo_id":"1391844844","filename":"file2"},{"photo_id":"1391844848","filename":"file4"},{"photo_id":"1391844843","filename":"file1"},{"photo_id":"1391844841","filename":"file0"},{"photo_id":"1391844846","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844841":["hashtag1","hashtag2"]},{"1391844844":["hashtag1","hashtag2"]},{"1391844843":["hashtag1","hashtag2"]},{"1391844846":["hashtag1","hashtag2"]},{"1391844848":["hashtag1","hashtag2"]},{"1391844850":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844841, 1391844844, 1391844843, 1391844846, 1391844848, 1391844850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.937607526779175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:51:42.707085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_59_1601.jpg', '/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_01_1625.jpg', '/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_02_1706.jpg', '/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_05_2625.jpg', '/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_09_3669.jpg', '/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_11_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/12/31/image_30102025_12_31_59_1601.jpg
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_01_1625.jpg
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_02_1706.jpg
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_05_2625.jpg
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_09_3669.jpg
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_11_2565.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.003812551498413 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 14:52:02.391874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/31/image_30102025_12_31_59_1601.jpg', '/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_01_1625.jpg', '/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_02_1706.jpg', '/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_05_2625.jpg', '/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_09_3669.jpg', '/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_11_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/12/31/image_30102025_12_31_59_1601.jpg
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_01_1625.jpg
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_02_1706.jpg
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_05_2625.jpg
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_09_3669.jpg
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_11_2565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391844870","1391844872","1391844875","1391844878","1391844880","1391844868"],"photo_ids_order":["1391844868","1391844870","1391844872","1391844875","1391844878","1391844880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/42d3610194b94c5f68c37cd470f3ea62.jpg","text":"TemporaryFile(/tmp/multipartBody2605071820089880378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091584308,"filename":"image_30102025_12_32_01_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/2/87cff2970eba879f081f8b0d1e397226.jpg","text":"TemporaryFile(/tmp/multipartBody4528668471620958440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091584308,"filename":"image_30102025_12_32_02_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/34b4269493fc9e94a74b4d44fc0f9370.jpg","text":"TemporaryFile(/tmp/multipartBody4339367515089896734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091584308,"filename":"image_30102025_12_32_05_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/2/48ad5c3d1dd265dfb2d960f0cb272e02.jpg","text":"TemporaryFile(/tmp/multipartBody2219613830400209699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091584308,"filename":"image_30102025_12_32_09_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/2/1f8eb41bb98887017ccc21bf9016d557.jpg","text":"TemporaryFile(/tmp/multipartBody1300997167514494553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091584308,"filename":"image_30102025_12_32_11_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/2/243272cade796faf3b9b85d034856f10.jpg","text":"TemporaryFile(/tmp/multipartBody1607226372628210183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091584308,"filename":"image_30102025_12_31_59_1601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844872","file1":"1391844870","file0":"1391844868","file4":"1391844878","file5":"1391844880","file3":"1391844875"},"map_files_photo_id_array":[{"photo_id":"1391844880","filename":"file5"},{"photo_id":"1391844872","filename":"file2"},{"photo_id":"1391844878","filename":"file4"},{"photo_id":"1391844870","filename":"file1"},{"photo_id":"1391844868","filename":"file0"},{"photo_id":"1391844875","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844870":["hashtag1","hashtag2"]},{"1391844872":["hashtag1","hashtag2"]},{"1391844875":["hashtag1","hashtag2"]},{"1391844878":["hashtag1","hashtag2"]},{"1391844880":["hashtag1","hashtag2"]},{"1391844868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844870, 1391844872, 1391844875, 1391844878, 1391844880, 1391844868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.803619384765625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:52:41.935624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_14_2732.jpg', '/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_18_3702.jpg', '/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_20_2675.jpg', '/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_25_4953.jpg', '/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_28_2909.jpg', '/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_30_1706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_14_2732.jpg
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_18_3702.jpg
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_20_2675.jpg
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_25_4953.jpg
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_28_2909.jpg
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_30_1706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391844900","1391844884","1391844893","1391844887","1391844896","1391844898"],"photo_ids_order":["1391844884","1391844887","1391844893","1391844896","1391844898","1391844900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c24e7be5a17ad11632741cad74ac354a.jpg","text":"TemporaryFile(/tmp/multipartBody4757768308689304840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091623014,"filename":"image_30102025_12_32_30_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6e79338602c50d29f8b3c60ee27c077c.jpg","text":"TemporaryFile(/tmp/multipartBody9105315895842149508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091623014,"filename":"image_30102025_12_32_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/2/8175cf10b6208d2892fc09c98b2cce8c.jpg","text":"TemporaryFile(/tmp/multipartBody7349873949063043167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091623014,"filename":"image_30102025_12_32_20_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/2/82e041c04291f7deb6ebfc01342b739b.jpg","text":"TemporaryFile(/tmp/multipartBody5691485853967357105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091623014,"filename":"image_30102025_12_32_18_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/2/7ba25140d96e207528e6e77a00f60e7a.jpg","text":"TemporaryFile(/tmp/multipartBody3646341116533945699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091623014,"filename":"image_30102025_12_32_25_4953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/667c2d095e372f4d58b27602c98229fe.jpg","text":"TemporaryFile(/tmp/multipartBody2704805281168344817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091623014,"filename":"image_30102025_12_32_28_2909.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844893","file1":"1391844887","file0":"1391844884","file4":"1391844898","file5":"1391844900","file3":"1391844896"},"map_files_photo_id_array":[{"photo_id":"1391844900","filename":"file5"},{"photo_id":"1391844893","filename":"file2"},{"photo_id":"1391844898","filename":"file4"},{"photo_id":"1391844887","filename":"file1"},{"photo_id":"1391844884","filename":"file0"},{"photo_id":"1391844896","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844900":["hashtag1","hashtag2"]},{"1391844884":["hashtag1","hashtag2"]},{"1391844893":["hashtag1","hashtag2"]},{"1391844887":["hashtag1","hashtag2"]},{"1391844896":["hashtag1","hashtag2"]},{"1391844898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844900, 1391844884, 1391844893, 1391844887, 1391844896, 1391844898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64185690879822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 14:53:22.277850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_32_2525.jpg', '/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_35_2608.jpg', '/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_38_2662.jpg', '/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_41_3573.jpg', '/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_44_2734.jpg', '/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_48_3584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_32_2525.jpg
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_35_2608.jpg
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_38_2662.jpg
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_41_3573.jpg
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_44_2734.jpg
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_48_3584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391844919","1391844917","1391844911","1391844905","1391844914","1391844908"],"photo_ids_order":["1391844905","1391844908","1391844911","1391844914","1391844917","1391844919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f1530fd24ab0dc5134f79e2e87274329.jpg","text":"TemporaryFile(/tmp/multipartBody856811096617896605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091664889,"filename":"image_30102025_12_32_48_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/2/58b743b904c415ef3fbf6742526ba9dd.jpg","text":"TemporaryFile(/tmp/multipartBody4441575554928569683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091664889,"filename":"image_30102025_12_32_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/2/a4066b704d9b2b8737427c68917b058d.jpg","text":"TemporaryFile(/tmp/multipartBody3693571926897876708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091664889,"filename":"image_30102025_12_32_38_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/2/10952efdbc95a38e46adde1e061a3c63.jpg","text":"TemporaryFile(/tmp/multipartBody7992235688932647067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091664889,"filename":"image_30102025_12_32_32_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/2/c8f1f41ff80659f691a3b622eedd27cd.jpg","text":"TemporaryFile(/tmp/multipartBody2354836300579513155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091664889,"filename":"image_30102025_12_32_41_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/2/166b056f2d6cf8f21e7dbce051e5dc97.jpg","text":"TemporaryFile(/tmp/multipartBody5783066115332106044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091664889,"filename":"image_30102025_12_32_35_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844911","file1":"1391844908","file0":"1391844905","file4":"1391844917","file5":"1391844919","file3":"1391844914"},"map_files_photo_id_array":[{"photo_id":"1391844919","filename":"file5"},{"photo_id":"1391844911","filename":"file2"},{"photo_id":"1391844917","filename":"file4"},{"photo_id":"1391844908","filename":"file1"},{"photo_id":"1391844905","filename":"file0"},{"photo_id":"1391844914","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844919":["hashtag1","hashtag2"]},{"1391844917":["hashtag1","hashtag2"]},{"1391844911":["hashtag1","hashtag2"]},{"1391844905":["hashtag1","hashtag2"]},{"1391844914":["hashtag1","hashtag2"]},{"1391844908":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844919, 1391844917, 1391844911, 1391844905, 1391844914, 1391844908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93473553657532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 14:54:03.181034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_50_2653.jpg', '/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_53_2604.jpg', '/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_56_3713.jpg', '/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_02_2712.jpg', '/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_05_3728.jpg', '/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_12_6233.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_50_2653.jpg
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_53_2604.jpg
/home/pi/Desktop/images/30102025/12/32/image_30102025_12_32_56_3713.jpg
/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_02_2712.jpg
/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_05_3728.jpg
/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_12_6233.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391844934","1391844936","1391844930","1391844927","1391844941","1391844944"],"photo_ids_order":["1391844927","1391844930","1391844934","1391844936","1391844941","1391844944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7f4e7407515f0635045aecf00a822a95.jpg","text":"TemporaryFile(/tmp/multipartBody1779324952443109222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091705252,"filename":"image_30102025_12_32_56_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/2/9e7220b73a6e741da1dab5a6602c4bbc.jpg","text":"TemporaryFile(/tmp/multipartBody6146643527268475257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091705252,"filename":"image_30102025_12_33_02_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/2/4741007fcb54455fedfe0e48fdd62ec1.jpg","text":"TemporaryFile(/tmp/multipartBody6903545997582062876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091705252,"filename":"image_30102025_12_32_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/2/7f511f3af58b434a81a43b5d2b6eff67.jpg","text":"TemporaryFile(/tmp/multipartBody6009227265913197121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091705252,"filename":"image_30102025_12_32_50_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/2/61f43ea7b73b7dd394997c8762684f1c.jpg","text":"TemporaryFile(/tmp/multipartBody477493831374177358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091705252,"filename":"image_30102025_12_33_05_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/2/54d7a2523e72eca04aa28237ed9d5f61.jpg","text":"TemporaryFile(/tmp/multipartBody2405425800919965431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091705252,"filename":"image_30102025_12_33_12_6233.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844934","file1":"1391844930","file0":"1391844927","file4":"1391844941","file5":"1391844944","file3":"1391844936"},"map_files_photo_id_array":[{"photo_id":"1391844944","filename":"file5"},{"photo_id":"1391844934","filename":"file2"},{"photo_id":"1391844941","filename":"file4"},{"photo_id":"1391844930","filename":"file1"},{"photo_id":"1391844927","filename":"file0"},{"photo_id":"1391844936","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844934":["hashtag1","hashtag2"]},{"1391844936":["hashtag1","hashtag2"]},{"1391844930":["hashtag1","hashtag2"]},{"1391844927":["hashtag1","hashtag2"]},{"1391844941":["hashtag1","hashtag2"]},{"1391844944":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844934, 1391844936, 1391844930, 1391844927, 1391844941, 1391844944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33829665184021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:54:42.493305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_13_1649.jpg', '/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_15_1640.jpg', '/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_17_1718.jpg', '/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_20_3678.jpg', '/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_23_2621.jpg', '/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_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/12/33/image_30102025_12_33_13_1649.jpg
/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_15_1640.jpg
/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_17_1718.jpg
/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_20_3678.jpg
/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_23_2621.jpg
/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_26_2740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391844955","1391844949","1391844960","1391844963","1391844957","1391844952"],"photo_ids_order":["1391844949","1391844952","1391844955","1391844957","1391844960","1391844963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5b686565572b24c63ea27b61a0051a24.jpg","text":"TemporaryFile(/tmp/multipartBody251012148590713871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091743579,"filename":"image_30102025_12_33_17_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f0691f5082b807103543d80ad1dbe3d2.jpg","text":"TemporaryFile(/tmp/multipartBody4284466898374821984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091743579,"filename":"image_30102025_12_33_13_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/2/1d57431138d561a80e0df84dd6cd4448.jpg","text":"TemporaryFile(/tmp/multipartBody4806132544996950176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091743579,"filename":"image_30102025_12_33_23_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/2/46b42e0c9baa5baa0f042b2f291afb5b.jpg","text":"TemporaryFile(/tmp/multipartBody7200236142861303935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091743579,"filename":"image_30102025_12_33_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/2/4a4b9166bddbc00c58b3063cc1dc533e.jpg","text":"TemporaryFile(/tmp/multipartBody152885305318178549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091743579,"filename":"image_30102025_12_33_20_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/2/eefa5ec2038d75a99a6dc79002910c89.jpg","text":"TemporaryFile(/tmp/multipartBody2638569711185071986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091743579,"filename":"image_30102025_12_33_15_1640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844955","file1":"1391844952","file0":"1391844949","file4":"1391844960","file5":"1391844963","file3":"1391844957"},"map_files_photo_id_array":[{"photo_id":"1391844963","filename":"file5"},{"photo_id":"1391844955","filename":"file2"},{"photo_id":"1391844960","filename":"file4"},{"photo_id":"1391844952","filename":"file1"},{"photo_id":"1391844949","filename":"file0"},{"photo_id":"1391844957","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844955":["hashtag1","hashtag2"]},{"1391844949":["hashtag1","hashtag2"]},{"1391844960":["hashtag1","hashtag2"]},{"1391844963":["hashtag1","hashtag2"]},{"1391844957":["hashtag1","hashtag2"]},{"1391844952":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844955, 1391844949, 1391844960, 1391844963, 1391844957, 1391844952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.267431020736694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 14:55:22.656120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_29_3647.jpg', '/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_35_2943.jpg', '/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_38_2594.jpg', '/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_44_3634.jpg', '/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_47_2651.jpg', '/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_53_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_29_3647.jpg
/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_35_2943.jpg
/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_38_2594.jpg
/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_44_3634.jpg
/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_47_2651.jpg
/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_53_3692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391844978","1391844980","1391844968","1391844976","1391844970","1391844973"],"photo_ids_order":["1391844968","1391844970","1391844973","1391844976","1391844978","1391844980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7333963cbf3bdf4c4ff9533bb6b43754.jpg","text":"TemporaryFile(/tmp/multipartBody7709023632401914524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091785236,"filename":"image_30102025_12_33_47_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/2/89b9bc941133bc3aa98fbf58406b7feb.jpg","text":"TemporaryFile(/tmp/multipartBody8886066081422588995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091785236,"filename":"image_30102025_12_33_53_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/2/5e4f882acec099399c49d2b31efcf926.jpg","text":"TemporaryFile(/tmp/multipartBody2017498226258157546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091785236,"filename":"image_30102025_12_33_29_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/2/561f78bbc04beafb07da6710a0f76cae.jpg","text":"TemporaryFile(/tmp/multipartBody3353816449177519729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091785236,"filename":"image_30102025_12_33_44_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/2/17c3c57d2eea6637b58012752d003cb3.jpg","text":"TemporaryFile(/tmp/multipartBody8898672530739349320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091785236,"filename":"image_30102025_12_33_35_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/2/af7b7724943af185172d18a7d2cdda0b.jpg","text":"TemporaryFile(/tmp/multipartBody6556257441921825704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091785236,"filename":"image_30102025_12_33_38_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844973","file1":"1391844970","file0":"1391844968","file4":"1391844978","file5":"1391844980","file3":"1391844976"},"map_files_photo_id_array":[{"photo_id":"1391844980","filename":"file5"},{"photo_id":"1391844973","filename":"file2"},{"photo_id":"1391844978","filename":"file4"},{"photo_id":"1391844970","filename":"file1"},{"photo_id":"1391844968","filename":"file0"},{"photo_id":"1391844976","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844978":["hashtag1","hashtag2"]},{"1391844980":["hashtag1","hashtag2"]},{"1391844968":["hashtag1","hashtag2"]},{"1391844976":["hashtag1","hashtag2"]},{"1391844970":["hashtag1","hashtag2"]},{"1391844973":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844978, 1391844980, 1391844968, 1391844976, 1391844970, 1391844973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.699371099472046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 14:56:02.390738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_56_2888.jpg', '/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_59_2686.jpg', '/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_02_3554.jpg', '/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_05_2672.jpg', '/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_08_2676.jpg', '/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_11_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/12/33/image_30102025_12_33_56_2888.jpg
/home/pi/Desktop/images/30102025/12/33/image_30102025_12_33_59_2686.jpg
/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_02_3554.jpg
/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_05_2672.jpg
/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_08_2676.jpg
/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_11_3600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391844998","1391844994","1391844988","1391844982","1391844991","1391844985"],"photo_ids_order":["1391844982","1391844985","1391844988","1391844991","1391844994","1391844998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e28ec8e3778b05c3a870d7ad0f75c96a.jpg","text":"TemporaryFile(/tmp/multipartBody268686377720515293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091824400,"filename":"image_30102025_12_34_11_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/2/2ae0b84e019ebc19586b1cfd37ba4885.jpg","text":"TemporaryFile(/tmp/multipartBody8831274691141043435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091824400,"filename":"image_30102025_12_34_08_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/2/65bb1b4b36d3fe6c1ff5b8fac55aa6e3.jpg","text":"TemporaryFile(/tmp/multipartBody6015153362133668896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091824400,"filename":"image_30102025_12_34_02_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/2/e097555942744fe1959b784851d4c5fa.jpg","text":"TemporaryFile(/tmp/multipartBody8987986533469936291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091824400,"filename":"image_30102025_12_33_56_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/2/bb1bbb18dae1997535b721d73da1aa99.jpg","text":"TemporaryFile(/tmp/multipartBody3319588086089840374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091824400,"filename":"image_30102025_12_34_05_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/2/2453319675243d355951671e34663aa1.jpg","text":"TemporaryFile(/tmp/multipartBody8957402910361996744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091824400,"filename":"image_30102025_12_33_59_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391844988","file1":"1391844985","file0":"1391844982","file4":"1391844994","file5":"1391844998","file3":"1391844991"},"map_files_photo_id_array":[{"photo_id":"1391844998","filename":"file5"},{"photo_id":"1391844988","filename":"file2"},{"photo_id":"1391844994","filename":"file4"},{"photo_id":"1391844985","filename":"file1"},{"photo_id":"1391844982","filename":"file0"},{"photo_id":"1391844991","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391844998":["hashtag1","hashtag2"]},{"1391844994":["hashtag1","hashtag2"]},{"1391844988":["hashtag1","hashtag2"]},{"1391844982":["hashtag1","hashtag2"]},{"1391844991":["hashtag1","hashtag2"]},{"1391844985":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391844998, 1391844994, 1391844988, 1391844982, 1391844991, 1391844985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.835524559020996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 14:56:41.968175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_14_2699.jpg', '/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_17_2593.jpg', '/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_20_3623.jpg', '/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_23_2771.jpg', '/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_26_2625.jpg', '/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_29_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_14_2699.jpg
/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_17_2593.jpg
/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_20_3623.jpg
/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_23_2771.jpg
/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_26_2625.jpg
/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_29_3679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391845024","1391845005","1391845020","1391845022","1391845016","1391845027"],"photo_ids_order":["1391845005","1391845016","1391845020","1391845022","1391845024","1391845027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/794184b1ffeb69db5d785864b6471310.jpg","text":"TemporaryFile(/tmp/multipartBody2542074691244694000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091863051,"filename":"image_30102025_12_34_26_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/2/16d456785f05b365a739a456dddb6b55.jpg","text":"TemporaryFile(/tmp/multipartBody2401115228634644996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091863051,"filename":"image_30102025_12_34_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/2/1fdd20aa1234525dbdc866ffcbe030c6.jpg","text":"TemporaryFile(/tmp/multipartBody2912286269151005880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091863051,"filename":"image_30102025_12_34_20_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/2/bf54e764524edfd76f03b731b38081c5.jpg","text":"TemporaryFile(/tmp/multipartBody1226350921133031348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091863051,"filename":"image_30102025_12_34_23_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/2/96e1c059bc5d56ba0192e80684505a01.jpg","text":"TemporaryFile(/tmp/multipartBody2569719191962530177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091863051,"filename":"image_30102025_12_34_17_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/2/2586387142bbd8bb4044f23c269b2bfc.jpg","text":"TemporaryFile(/tmp/multipartBody6211368797266052612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091863051,"filename":"image_30102025_12_34_29_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391845020","file1":"1391845016","file0":"1391845005","file4":"1391845024","file5":"1391845027","file3":"1391845022"},"map_files_photo_id_array":[{"photo_id":"1391845027","filename":"file5"},{"photo_id":"1391845020","filename":"file2"},{"photo_id":"1391845024","filename":"file4"},{"photo_id":"1391845016","filename":"file1"},{"photo_id":"1391845005","filename":"file0"},{"photo_id":"1391845022","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391845024":["hashtag1","hashtag2"]},{"1391845005":["hashtag1","hashtag2"]},{"1391845020":["hashtag1","hashtag2"]},{"1391845022":["hashtag1","hashtag2"]},{"1391845016":["hashtag1","hashtag2"]},{"1391845027":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391845024, 1391845005, 1391845020, 1391845022, 1391845016, 1391845027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.430697441101074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 14:57:22.124953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_32_2697.jpg', '/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_35_2661.jpg', '/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_38_3689.jpg', '/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_44_2830.jpg', '/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_46_2569.jpg', '/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_50_3769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_32_2697.jpg
/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_35_2661.jpg
/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_38_3689.jpg
/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_44_2830.jpg
/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_46_2569.jpg
/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_50_3769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391845035","1391845046","1391845037","1391845039","1391845033","1391845042"],"photo_ids_order":["1391845033","1391845035","1391845037","1391845039","1391845042","1391845046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e6142ce427e5396309e1f20499bfba46.jpg","text":"TemporaryFile(/tmp/multipartBody4231232870311116675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091904801,"filename":"image_30102025_12_34_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/2/f9ae805bfc09fb31d2bd86ce3d91469f.jpg","text":"TemporaryFile(/tmp/multipartBody3702512534792397775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091904801,"filename":"image_30102025_12_34_50_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/2/3cd74dc11049decdf5431c02dd30518b.jpg","text":"TemporaryFile(/tmp/multipartBody7508953940625476269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091904801,"filename":"image_30102025_12_34_38_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/2/2c50cfb717c0ca2e334c5ac58bbc750b.jpg","text":"TemporaryFile(/tmp/multipartBody4117860549171759552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091904801,"filename":"image_30102025_12_34_44_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/2/21b7e6e8c1e1830ce9dfa9561240fcc8.jpg","text":"TemporaryFile(/tmp/multipartBody4782716318401448766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091904801,"filename":"image_30102025_12_34_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/2/09465603f548f5eba2347c876b89a525.jpg","text":"TemporaryFile(/tmp/multipartBody4444414565979766394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762091904801,"filename":"image_30102025_12_34_46_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391845037","file1":"1391845035","file0":"1391845033","file4":"1391845042","file5":"1391845046","file3":"1391845039"},"map_files_photo_id_array":[{"photo_id":"1391845046","filename":"file5"},{"photo_id":"1391845037","filename":"file2"},{"photo_id":"1391845042","filename":"file4"},{"photo_id":"1391845035","filename":"file1"},{"photo_id":"1391845033","filename":"file0"},{"photo_id":"1391845039","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391845035":["hashtag1","hashtag2"]},{"1391845046":["hashtag1","hashtag2"]},{"1391845037":["hashtag1","hashtag2"]},{"1391845039":["hashtag1","hashtag2"]},{"1391845033":["hashtag1","hashtag2"]},{"1391845042":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391845035, 1391845046, 1391845037, 1391845039, 1391845033, 1391845042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16379475593567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 14:59:03.533642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_53_2739.jpg', '/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_56_2664.jpg', '/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_59_3696.jpg', '/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_02_2595.jpg', '/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_07_2663.jpg', '/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_11_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/12/34/image_30102025_12_34_53_2739.jpg
/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_56_2664.jpg
/home/pi/Desktop/images/30102025/12/34/image_30102025_12_34_59_3696.jpg
/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_02_2595.jpg
/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_07_2663.jpg
/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_11_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":["1391845711","1391845371","1391845455","1391845637","1391845288","1391845555"],"photo_ids_order":["1391845288","1391845371","1391845455","1391845555","1391845637","1391845711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7047a60498616ef36b3fdfadbb3f5910.jpg","text":"TemporaryFile(/tmp/multipartBody4161086728958108593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092016541,"filename":"image_30102025_12_35_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/2/da050b099fbf8c84b8194aaefdce6e16.jpg","text":"TemporaryFile(/tmp/multipartBody8656961214084793376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092016541,"filename":"image_30102025_12_34_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/2/baff051225f77e99d67735ae14db575d.jpg","text":"TemporaryFile(/tmp/multipartBody5863661875558208956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092016541,"filename":"image_30102025_12_34_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/2/54d62150570ddc54eba46fe2b803e74b.jpg","text":"TemporaryFile(/tmp/multipartBody2599794111259146976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092016541,"filename":"image_30102025_12_35_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/2/9cc3da4a6537954cd377346918dfcb77.jpg","text":"TemporaryFile(/tmp/multipartBody4929373172922057762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092016541,"filename":"image_30102025_12_34_53_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/2/be11c9f6a795c8375be2b0b26c94fda7.jpg","text":"TemporaryFile(/tmp/multipartBody3181150504929054624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092016541,"filename":"image_30102025_12_35_02_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391845455","file1":"1391845371","file0":"1391845288","file4":"1391845637","file5":"1391845711","file3":"1391845555"},"map_files_photo_id_array":[{"photo_id":"1391845711","filename":"file5"},{"photo_id":"1391845455","filename":"file2"},{"photo_id":"1391845637","filename":"file4"},{"photo_id":"1391845371","filename":"file1"},{"photo_id":"1391845288","filename":"file0"},{"photo_id":"1391845555","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391845711":["hashtag1","hashtag2"]},{"1391845371":["hashtag1","hashtag2"]},{"1391845455":["hashtag1","hashtag2"]},{"1391845637":["hashtag1","hashtag2"]},{"1391845288":["hashtag1","hashtag2"]},{"1391845555":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391845711, 1391845371, 1391845455, 1391845637, 1391845288, 1391845555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.38185906410217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 15:00:03.060613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_14_2714.jpg', '/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_16_2648.jpg', '/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_20_3661.jpg', '/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_23_2627.jpg', '/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_25_2644.jpg', '/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_29_3842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_14_2714.jpg
/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_16_2648.jpg
/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_20_3661.jpg
/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_23_2627.jpg
/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_25_2644.jpg
/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_29_3842.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391846268","1391846208","1391846057","1391846095","1391846134","1391846172"],"photo_ids_order":["1391846057","1391846095","1391846134","1391846172","1391846208","1391846268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/18eefbd8f530527bd7446e03b039f854.jpg","text":"TemporaryFile(/tmp/multipartBody4729973934316977196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092065126,"filename":"image_30102025_12_35_29_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/2/f82169e8ddaa2d9b5c89d5bf5869949d.jpg","text":"TemporaryFile(/tmp/multipartBody5573795193918194951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092065126,"filename":"image_30102025_12_35_25_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/2/6f62a2bf5f4b2af3542bb5c5af6e1738.jpg","text":"TemporaryFile(/tmp/multipartBody3425919639510873625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092065126,"filename":"image_30102025_12_35_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/2/9d09f56f66ee5b16aa56986dc9d9e533.jpg","text":"TemporaryFile(/tmp/multipartBody1734699559325081661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092065126,"filename":"image_30102025_12_35_16_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/2/b74d991d7976ba1d5b411a6b04772f6a.jpg","text":"TemporaryFile(/tmp/multipartBody7884395928118683188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092065126,"filename":"image_30102025_12_35_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/2/9de320acdb9bb5663efae565dfc33398.jpg","text":"TemporaryFile(/tmp/multipartBody5611895514289963103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092065126,"filename":"image_30102025_12_35_23_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391846134","file1":"1391846095","file0":"1391846057","file4":"1391846208","file5":"1391846268","file3":"1391846172"},"map_files_photo_id_array":[{"photo_id":"1391846268","filename":"file5"},{"photo_id":"1391846134","filename":"file2"},{"photo_id":"1391846208","filename":"file4"},{"photo_id":"1391846095","filename":"file1"},{"photo_id":"1391846057","filename":"file0"},{"photo_id":"1391846172","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391846268":["hashtag1","hashtag2"]},{"1391846208":["hashtag1","hashtag2"]},{"1391846057":["hashtag1","hashtag2"]},{"1391846095":["hashtag1","hashtag2"]},{"1391846134":["hashtag1","hashtag2"]},{"1391846172":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391846268, 1391846208, 1391846057, 1391846095, 1391846134, 1391846172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12060761451721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:00:42.747941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_32_2736.jpg', '/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_35_2579.jpg', '/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_38_3690.jpg', '/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_41_2811.jpg', '/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_44_2570.jpg', '/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_46_2847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_32_2736.jpg
/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_35_2579.jpg
/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_38_3690.jpg
/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_41_2811.jpg
/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_44_2570.jpg
/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_46_2847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391846427","1391846805","1391846468","1391846561","1391846695","1391846761"],"photo_ids_order":["1391846427","1391846468","1391846561","1391846695","1391846761","1391846805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/81163e7d818e0fbfbe672d1037316932.jpg","text":"TemporaryFile(/tmp/multipartBody6456634114282454510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092103894,"filename":"image_30102025_12_35_32_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/2/e6d8f5d2a52c4f20cc5f3bfb481c329e.jpg","text":"TemporaryFile(/tmp/multipartBody2669353181985558751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092103894,"filename":"image_30102025_12_35_46_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/2/7b21bd86344c084244208adbe3371a9b.jpg","text":"TemporaryFile(/tmp/multipartBody9096187221225594072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092103894,"filename":"image_30102025_12_35_35_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/2/f16005e9ad2816b05fc452ef0196792a.jpg","text":"TemporaryFile(/tmp/multipartBody7045015899542086168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092103894,"filename":"image_30102025_12_35_38_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/2/335b72a31e58e7ba76bbc672a36fc628.jpg","text":"TemporaryFile(/tmp/multipartBody2636171422191724295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092103894,"filename":"image_30102025_12_35_41_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/2/d2a336d03ecbe5dd558fc8dcf36ad809.jpg","text":"TemporaryFile(/tmp/multipartBody9140413552164761787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092103894,"filename":"image_30102025_12_35_44_2570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391846561","file1":"1391846468","file0":"1391846427","file4":"1391846761","file5":"1391846805","file3":"1391846695"},"map_files_photo_id_array":[{"photo_id":"1391846805","filename":"file5"},{"photo_id":"1391846561","filename":"file2"},{"photo_id":"1391846761","filename":"file4"},{"photo_id":"1391846468","filename":"file1"},{"photo_id":"1391846427","filename":"file0"},{"photo_id":"1391846695","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391846427":["hashtag1","hashtag2"]},{"1391846805":["hashtag1","hashtag2"]},{"1391846468":["hashtag1","hashtag2"]},{"1391846561":["hashtag1","hashtag2"]},{"1391846695":["hashtag1","hashtag2"]},{"1391846761":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391846427, 1391846805, 1391846468, 1391846561, 1391846695, 1391846761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.919978857040405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:01:41.882413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_50_3736.jpg', '/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_53_2644.jpg', '/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_55_2660.jpg', '/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_59_3521.jpg', '/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_02_2803.jpg', '/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_04_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/12/35/image_30102025_12_35_50_3736.jpg
/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_53_2644.jpg
/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_55_2660.jpg
/home/pi/Desktop/images/30102025/12/35/image_30102025_12_35_59_3521.jpg
/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_02_2803.jpg
/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_04_2636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391847258","1391847222","1391847417","1391847339","1391847380","1391847296"],"photo_ids_order":["1391847222","1391847258","1391847296","1391847339","1391847380","1391847417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/552b9bc15783f9d0507a4fe58a1c4244.jpg","text":"TemporaryFile(/tmp/multipartBody8018429648254809426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092170293,"filename":"image_30102025_12_35_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/2/7af8d21ebfbef2b9846bd9c65886906d.jpg","text":"TemporaryFile(/tmp/multipartBody2941557504140158649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092170293,"filename":"image_30102025_12_35_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/2/eaa69ad3494d071d32903f5b1f959a0d.jpg","text":"TemporaryFile(/tmp/multipartBody6511829144430451039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092170293,"filename":"image_30102025_12_36_04_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/2/dd18d4b46fd3e502005f2bf93aefc312.jpg","text":"TemporaryFile(/tmp/multipartBody3445227376635017711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092170293,"filename":"image_30102025_12_35_59_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/2/8027100a480c0ced46ef8b6e9a53ad2e.jpg","text":"TemporaryFile(/tmp/multipartBody2683917785556019009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092170293,"filename":"image_30102025_12_36_02_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/2/8ed4c60a0d46c0370e1188e54606762f.jpg","text":"TemporaryFile(/tmp/multipartBody4908066765450609127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092170293,"filename":"image_30102025_12_35_55_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391847296","file1":"1391847258","file0":"1391847222","file4":"1391847380","file5":"1391847417","file3":"1391847339"},"map_files_photo_id_array":[{"photo_id":"1391847417","filename":"file5"},{"photo_id":"1391847296","filename":"file2"},{"photo_id":"1391847380","filename":"file4"},{"photo_id":"1391847258","filename":"file1"},{"photo_id":"1391847222","filename":"file0"},{"photo_id":"1391847339","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391847258":["hashtag1","hashtag2"]},{"1391847222":["hashtag1","hashtag2"]},{"1391847417":["hashtag1","hashtag2"]},{"1391847339":["hashtag1","hashtag2"]},{"1391847380":["hashtag1","hashtag2"]},{"1391847296":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391847258, 1391847222, 1391847417, 1391847339, 1391847380, 1391847296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.776448249816895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:02:42.076957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_07_2976.jpg', '/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_11_3736.jpg', '/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_14_2744.jpg', '/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_17_2854.jpg', '/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_29_9817.jpg', '/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_31_1739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_07_2976.jpg
/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_11_3736.jpg
/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_14_2744.jpg
/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_17_2854.jpg
/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_29_9817.jpg
/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_31_1739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391847581","1391847599","1391847578","1391847602","1391847592","1391847595"],"photo_ids_order":["1391847578","1391847581","1391847592","1391847595","1391847599","1391847602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/983c710d1d7421881027d2f9317c209c.jpg","text":"TemporaryFile(/tmp/multipartBody6043000612366446393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092223144,"filename":"image_30102025_12_36_11_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/2/b2a3c9b9d931098c5fe38805543839c1.jpg","text":"TemporaryFile(/tmp/multipartBody6532444971611478928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092223144,"filename":"image_30102025_12_36_29_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a4be76fd20c697261474eea70451c0e0.jpg","text":"TemporaryFile(/tmp/multipartBody2515739017147614220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092223144,"filename":"image_30102025_12_36_07_2976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9737cba9bd46eba48e12e7f83259083b.jpg","text":"TemporaryFile(/tmp/multipartBody6981086683191800243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092223144,"filename":"image_30102025_12_36_31_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/2/d49e1a2f660b4e95c81b18a2eb52480e.jpg","text":"TemporaryFile(/tmp/multipartBody6270972171985466784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092223144,"filename":"image_30102025_12_36_14_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/2/164bd9d782b9cdca80e7ccda14d9e2ed.jpg","text":"TemporaryFile(/tmp/multipartBody2396011620792870991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092223144,"filename":"image_30102025_12_36_17_2854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391847592","file1":"1391847581","file0":"1391847578","file4":"1391847599","file5":"1391847602","file3":"1391847595"},"map_files_photo_id_array":[{"photo_id":"1391847602","filename":"file5"},{"photo_id":"1391847592","filename":"file2"},{"photo_id":"1391847599","filename":"file4"},{"photo_id":"1391847581","filename":"file1"},{"photo_id":"1391847578","filename":"file0"},{"photo_id":"1391847595","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391847581":["hashtag1","hashtag2"]},{"1391847599":["hashtag1","hashtag2"]},{"1391847578":["hashtag1","hashtag2"]},{"1391847602":["hashtag1","hashtag2"]},{"1391847592":["hashtag1","hashtag2"]},{"1391847595":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391847581, 1391847599, 1391847578, 1391847602, 1391847592, 1391847595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13254380226135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:03:22.372564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_35_4305.jpg', '/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_37_1709.jpg', '/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_40_2607.jpg', '/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_42_1751.jpg', '/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_45_1578.jpg', '/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_47_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/12/36/image_30102025_12_36_35_4305.jpg
/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_37_1709.jpg
/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_40_2607.jpg
/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_42_1751.jpg
/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_45_1578.jpg
/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_47_1688.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.8829026222229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:03:42.309633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 15:04:02.729952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_35_4305.jpg', '/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_37_1709.jpg', '/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_40_2607.jpg', '/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_42_1751.jpg', '/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_45_1578.jpg', '/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_47_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/12/36/image_30102025_12_36_35_4305.jpg
/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_37_1709.jpg
/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_40_2607.jpg
/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_42_1751.jpg
/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_45_1578.jpg
/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_47_1688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391847947","1391847970","1391847955","1391847913","1391848008","1391847966"],"photo_ids_order":["1391847913","1391847947","1391847955","1391847966","1391847970","1391848008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f3006206ce27cadd1824eea0d5d16671.jpg","text":"TemporaryFile(/tmp/multipartBody1220703752569271334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092309379,"filename":"image_30102025_12_36_37_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/2/2ebbdac6075b2fdd64704d98628f75b0.jpg","text":"TemporaryFile(/tmp/multipartBody9187305155096554566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092309379,"filename":"image_30102025_12_36_45_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/529b20ee5156cd80ad0ac5bc5d73cec1.jpg","text":"TemporaryFile(/tmp/multipartBody1253909484436262906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092309379,"filename":"image_30102025_12_36_40_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/2/7c0f7c28db8527d18f7532a6d5c5312c.jpg","text":"TemporaryFile(/tmp/multipartBody8013866763824399834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092309379,"filename":"image_30102025_12_36_35_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/2/268e170477c80e9ff63e627fe44aff35.jpg","text":"TemporaryFile(/tmp/multipartBody1422130320773084475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092309379,"filename":"image_30102025_12_36_47_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/2/08796782357304518408d5c051d60fb4.jpg","text":"TemporaryFile(/tmp/multipartBody7870872484558974188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092309379,"filename":"image_30102025_12_36_42_1751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391847955","file1":"1391847947","file0":"1391847913","file4":"1391847970","file5":"1391848008","file3":"1391847966"},"map_files_photo_id_array":[{"photo_id":"1391848008","filename":"file5"},{"photo_id":"1391847955","filename":"file2"},{"photo_id":"1391847970","filename":"file4"},{"photo_id":"1391847947","filename":"file1"},{"photo_id":"1391847913","filename":"file0"},{"photo_id":"1391847966","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391847947":["hashtag1","hashtag2"]},{"1391847970":["hashtag1","hashtag2"]},{"1391847955":["hashtag1","hashtag2"]},{"1391847913":["hashtag1","hashtag2"]},{"1391848008":["hashtag1","hashtag2"]},{"1391847966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391847947, 1391847970, 1391847955, 1391847913, 1391848008, 1391847966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.248270750045776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 15:05:03.623288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 15:05:23.071233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_49_2703.jpg', '/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_52_3247.jpg', '/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_59_3772.jpg', '/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_02_2701.jpg', '/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_04_2644.jpg', '/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_08_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/12/36/image_30102025_12_36_49_2703.jpg
/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_52_3247.jpg
/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_59_3772.jpg
/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_02_2701.jpg
/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_04_2644.jpg
/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_08_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":["1391848109","1391848100","1391848103","1391848094","1391848113","1391848097"],"photo_ids_order":["1391848094","1391848097","1391848100","1391848103","1391848109","1391848113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6241a921f27de7722245c52858c16eff.jpg","text":"TemporaryFile(/tmp/multipartBody8541484155516679245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092388850,"filename":"image_30102025_12_37_04_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/2/65cdf10b07cc798337d9794a1a768694.jpg","text":"TemporaryFile(/tmp/multipartBody3216337683630900425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092388850,"filename":"image_30102025_12_36_59_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/2/e4e4700d815ffcd36f15818d95d55930.jpg","text":"TemporaryFile(/tmp/multipartBody3061422444467009930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092388850,"filename":"image_30102025_12_37_02_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/2/9487d590cd7201fb4bd8f574b10a1faa.jpg","text":"TemporaryFile(/tmp/multipartBody4834027939162633770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092388850,"filename":"image_30102025_12_36_49_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/2/f1a1a87ee730f461a82127cc9a09cee3.jpg","text":"TemporaryFile(/tmp/multipartBody3897866177491580175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092388850,"filename":"image_30102025_12_37_08_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/2/8aa99ac07538b52dfebc32d746439318.jpg","text":"TemporaryFile(/tmp/multipartBody1408413526748827021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092388850,"filename":"image_30102025_12_36_52_3247.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848100","file1":"1391848097","file0":"1391848094","file4":"1391848109","file5":"1391848113","file3":"1391848103"},"map_files_photo_id_array":[{"photo_id":"1391848113","filename":"file5"},{"photo_id":"1391848100","filename":"file2"},{"photo_id":"1391848109","filename":"file4"},{"photo_id":"1391848097","filename":"file1"},{"photo_id":"1391848094","filename":"file0"},{"photo_id":"1391848103","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848109":["hashtag1","hashtag2"]},{"1391848100":["hashtag1","hashtag2"]},{"1391848103":["hashtag1","hashtag2"]},{"1391848094":["hashtag1","hashtag2"]},{"1391848113":["hashtag1","hashtag2"]},{"1391848097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848109, 1391848100, 1391848103, 1391848094, 1391848113, 1391848097)","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 = 1391848100 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/12/36/image_30102025_12_36_59_3772.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 74.70151281356812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:06:41.892444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_13_4822.jpg', '/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_17_4492.jpg', '/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_19_1692.jpg', '/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_21_1594.jpg', '/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_23_2605.jpg', '/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_26_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/12/37/image_30102025_12_37_13_4822.jpg
/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_17_4492.jpg
/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_19_1692.jpg
/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_21_1594.jpg
/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_23_2605.jpg
/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_26_2658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848141","1391848135","1391848129","1391848137","1391848131","1391848139"],"photo_ids_order":["1391848129","1391848131","1391848135","1391848137","1391848139","1391848141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2532384c9d24d56673d8b766772f8b47.jpg","text":"TemporaryFile(/tmp/multipartBody1870424985773481459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092462971,"filename":"image_30102025_12_37_26_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/2/797479406d75bc16f89f768bdf326fac.jpg","text":"TemporaryFile(/tmp/multipartBody7504139133981422979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092462971,"filename":"image_30102025_12_37_19_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/2/b91d23a972a8f79b69eada2b5281321d.jpg","text":"TemporaryFile(/tmp/multipartBody155694635922851773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092462971,"filename":"image_30102025_12_37_13_4822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3f64522650f5c1f3eb987edef6dbb037.jpg","text":"TemporaryFile(/tmp/multipartBody757712967974038477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092462971,"filename":"image_30102025_12_37_21_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8938ca67f49f8d381914aefe7eadcb3b.jpg","text":"TemporaryFile(/tmp/multipartBody1051437063581770785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092462971,"filename":"image_30102025_12_37_17_4492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a9833c465d8430646bda25f51f0b819d.jpg","text":"TemporaryFile(/tmp/multipartBody343641341799515464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092462971,"filename":"image_30102025_12_37_23_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848135","file1":"1391848131","file0":"1391848129","file4":"1391848139","file5":"1391848141","file3":"1391848137"},"map_files_photo_id_array":[{"photo_id":"1391848141","filename":"file5"},{"photo_id":"1391848135","filename":"file2"},{"photo_id":"1391848139","filename":"file4"},{"photo_id":"1391848131","filename":"file1"},{"photo_id":"1391848129","filename":"file0"},{"photo_id":"1391848137","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848141":["hashtag1","hashtag2"]},{"1391848135":["hashtag1","hashtag2"]},{"1391848129":["hashtag1","hashtag2"]},{"1391848137":["hashtag1","hashtag2"]},{"1391848131":["hashtag1","hashtag2"]},{"1391848139":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848141, 1391848135, 1391848129, 1391848137, 1391848131, 1391848139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69402837753296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:07:22.168213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_29_2775.jpg', '/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_32_3069.jpg', '/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_34_2691.jpg', '/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_37_2792.jpg', '/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_41_3676.jpg', '/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_45_3808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_29_2775.jpg
/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_32_3069.jpg
/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_34_2691.jpg
/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_37_2792.jpg
/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_41_3676.jpg
/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_45_3808.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848160","1391848148","1391848153","1391848155","1391848157","1391848151"],"photo_ids_order":["1391848148","1391848151","1391848153","1391848155","1391848157","1391848160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a0b5e50a67dbd9e6388f41b375bf0d7d.jpg","text":"TemporaryFile(/tmp/multipartBody7704978305712604455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092504769,"filename":"image_30102025_12_37_45_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/2/7749cd3b883937c806424c245ab084e9.jpg","text":"TemporaryFile(/tmp/multipartBody1859325060031179818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092504769,"filename":"image_30102025_12_37_29_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/2/019889cdbc212b2c1619d5b5684ee9bf.jpg","text":"TemporaryFile(/tmp/multipartBody6250672118251584882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092504769,"filename":"image_30102025_12_37_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/2/c33f376cd1a8fecd1cbd2e3498951687.jpg","text":"TemporaryFile(/tmp/multipartBody3464365445236351412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092504769,"filename":"image_30102025_12_37_37_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/2/1d952d9529df03051d09f3b2a991485c.jpg","text":"TemporaryFile(/tmp/multipartBody11313939892682140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092504769,"filename":"image_30102025_12_37_41_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/2/00cd09575ff8b4f058cb128262a5d74a.jpg","text":"TemporaryFile(/tmp/multipartBody9160243578544976049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092504769,"filename":"image_30102025_12_37_32_3069.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848153","file1":"1391848151","file0":"1391848148","file4":"1391848157","file5":"1391848160","file3":"1391848155"},"map_files_photo_id_array":[{"photo_id":"1391848160","filename":"file5"},{"photo_id":"1391848153","filename":"file2"},{"photo_id":"1391848157","filename":"file4"},{"photo_id":"1391848151","filename":"file1"},{"photo_id":"1391848148","filename":"file0"},{"photo_id":"1391848155","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848160":["hashtag1","hashtag2"]},{"1391848148":["hashtag1","hashtag2"]},{"1391848153":["hashtag1","hashtag2"]},{"1391848155":["hashtag1","hashtag2"]},{"1391848157":["hashtag1","hashtag2"]},{"1391848151":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848160, 1391848148, 1391848153, 1391848155, 1391848157, 1391848151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21321129798889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 15:08:02.627902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_46_1822.jpg', '/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_52_6040.jpg', '/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_59_6077.jpg', '/home/pi/Desktop/images/30102025/12/37/image_30102025_12_38_00_1812.jpg', '/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_02_1642.jpg', '/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_12_10010.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_46_1822.jpg
/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_52_6040.jpg
/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_59_6077.jpg
/home/pi/Desktop/images/30102025/12/37/image_30102025_12_38_00_1812.jpg
/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_02_1642.jpg
/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_12_10010.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.9450325965881348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:08:23.924857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_46_1822.jpg', '/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_52_6040.jpg', '/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_59_6077.jpg', '/home/pi/Desktop/images/30102025/12/37/image_30102025_12_38_00_1812.jpg', '/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_02_1642.jpg', '/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_12_10010.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_46_1822.jpg
/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_52_6040.jpg
/home/pi/Desktop/images/30102025/12/37/image_30102025_12_37_59_6077.jpg
/home/pi/Desktop/images/30102025/12/37/image_30102025_12_38_00_1812.jpg
/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_02_1642.jpg
/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_12_10010.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848183","1391848185","1391848179","1391848188","1391848181","1391848190"],"photo_ids_order":["1391848179","1391848181","1391848183","1391848185","1391848188","1391848190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/250f41b5bb9003cef22052baf2ee8cbb.jpg","text":"TemporaryFile(/tmp/multipartBody7420232790807631495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092566070,"filename":"image_30102025_12_37_59_6077.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1b2db480b3ec22638110fb5813b825c3.jpg","text":"TemporaryFile(/tmp/multipartBody2361054881471298794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092566070,"filename":"image_30102025_12_38_00_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/2/e3697ed9b5c1b26ca71a38a7678fda10.jpg","text":"TemporaryFile(/tmp/multipartBody4582319884905147785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092566070,"filename":"image_30102025_12_37_46_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/2/8faa7135d41e0fd31dab9c10ad0d2188.jpg","text":"TemporaryFile(/tmp/multipartBody7984742392307236812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092566070,"filename":"image_30102025_12_38_02_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/2/8277bdb86c4a805ccf31fd1154868314.jpg","text":"TemporaryFile(/tmp/multipartBody8538725748773983401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092566070,"filename":"image_30102025_12_37_52_6040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/427eb36c099dcabf1f2fb908a4212134.jpg","text":"TemporaryFile(/tmp/multipartBody5351776598087730644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092566070,"filename":"image_30102025_12_38_12_10010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848183","file1":"1391848181","file0":"1391848179","file4":"1391848188","file5":"1391848190","file3":"1391848185"},"map_files_photo_id_array":[{"photo_id":"1391848190","filename":"file5"},{"photo_id":"1391848183","filename":"file2"},{"photo_id":"1391848188","filename":"file4"},{"photo_id":"1391848181","filename":"file1"},{"photo_id":"1391848179","filename":"file0"},{"photo_id":"1391848185","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848183":["hashtag1","hashtag2"]},{"1391848185":["hashtag1","hashtag2"]},{"1391848179":["hashtag1","hashtag2"]},{"1391848188":["hashtag1","hashtag2"]},{"1391848181":["hashtag1","hashtag2"]},{"1391848190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848183, 1391848185, 1391848179, 1391848188, 1391848181, 1391848190)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 68.64220833778381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:09:35.746854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_14_1636.jpg', '/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_15_1540.jpg', '/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_17_1767.jpg', '/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_21_4042.jpg', '/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_23_1787.jpg', '/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_27_4178.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_14_1636.jpg
/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_15_1540.jpg
/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_17_1767.jpg
/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_21_4042.jpg
/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_23_1787.jpg
/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_27_4178.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848220","1391848214","1391848223","1391848225","1391848218","1391848212"],"photo_ids_order":["1391848212","1391848214","1391848218","1391848220","1391848223","1391848225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5e46b967edf06bb5c565c1ccc1483e6e.jpg","text":"TemporaryFile(/tmp/multipartBody5760383888297552976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092638436,"filename":"image_30102025_12_38_21_4042.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1c12a4b3dc39b47fc7afe8040b5fde8e.jpg","text":"TemporaryFile(/tmp/multipartBody5705350061378248415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092638436,"filename":"image_30102025_12_38_15_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/2/80a8b1042d438e2fc237b960eba2b25b.jpg","text":"TemporaryFile(/tmp/multipartBody6610768476675305399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092638436,"filename":"image_30102025_12_38_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/2/2319303f29aba8f2134020f7d648afd1.jpg","text":"TemporaryFile(/tmp/multipartBody2915475328662774500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092638436,"filename":"image_30102025_12_38_27_4178.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/27f478bbb5a1b8488c8fceac063b6c40.jpg","text":"TemporaryFile(/tmp/multipartBody9058109240233233951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092638436,"filename":"image_30102025_12_38_17_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/2/7b71a9396ad1b385d365f93a8abcbeb1.jpg","text":"TemporaryFile(/tmp/multipartBody3488149415034341217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092638436,"filename":"image_30102025_12_38_14_1636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848218","file1":"1391848214","file0":"1391848212","file4":"1391848223","file5":"1391848225","file3":"1391848220"},"map_files_photo_id_array":[{"photo_id":"1391848225","filename":"file5"},{"photo_id":"1391848218","filename":"file2"},{"photo_id":"1391848223","filename":"file4"},{"photo_id":"1391848214","filename":"file1"},{"photo_id":"1391848212","filename":"file0"},{"photo_id":"1391848220","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848220":["hashtag1","hashtag2"]},{"1391848214":["hashtag1","hashtag2"]},{"1391848223":["hashtag1","hashtag2"]},{"1391848225":["hashtag1","hashtag2"]},{"1391848218":["hashtag1","hashtag2"]},{"1391848212":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848220, 1391848214, 1391848223, 1391848225, 1391848218, 1391848212)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 61.03135085105896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:10:41.793586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_29_1671.jpg', '/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_30_1706.jpg', '/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_34_1674.jpg', '/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_38_4007.jpg', '/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_39_1622.jpg', '/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_41_1617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_29_1671.jpg
/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_30_1706.jpg
/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_34_1674.jpg
/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_38_4007.jpg
/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_39_1622.jpg
/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_41_1617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848246","1391848254","1391848248","1391848257","1391848250","1391848244"],"photo_ids_order":["1391848244","1391848246","1391848248","1391848250","1391848254","1391848257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1c5cc1c09c7787828e9df4c092f0ae2a.jpg","text":"TemporaryFile(/tmp/multipartBody2793944115849380319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092722620,"filename":"image_30102025_12_38_30_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a33027f6591bdf86df36cb9af45e959a.jpg","text":"TemporaryFile(/tmp/multipartBody3949198139854120433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092722620,"filename":"image_30102025_12_38_39_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/2/4a5638d4e622e909ac58f51f2cd1ed90.jpg","text":"TemporaryFile(/tmp/multipartBody8440057881139899511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092722620,"filename":"image_30102025_12_38_34_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/2/f9502d99eef1cd46554652d97f44980d.jpg","text":"TemporaryFile(/tmp/multipartBody2486505199157740298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092722620,"filename":"image_30102025_12_38_41_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/2/5dbe177d9e658ca32d0e33e82f05c201.jpg","text":"TemporaryFile(/tmp/multipartBody8994945883125516846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092722620,"filename":"image_30102025_12_38_38_4007.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2e4e8f72e87a14fc283cb708602fb6f6.jpg","text":"TemporaryFile(/tmp/multipartBody6870864080540883918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092722620,"filename":"image_30102025_12_38_29_1671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848248","file1":"1391848246","file0":"1391848244","file4":"1391848254","file5":"1391848257","file3":"1391848250"},"map_files_photo_id_array":[{"photo_id":"1391848257","filename":"file5"},{"photo_id":"1391848248","filename":"file2"},{"photo_id":"1391848254","filename":"file4"},{"photo_id":"1391848246","filename":"file1"},{"photo_id":"1391848244","filename":"file0"},{"photo_id":"1391848250","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848246":["hashtag1","hashtag2"]},{"1391848254":["hashtag1","hashtag2"]},{"1391848248":["hashtag1","hashtag2"]},{"1391848257":["hashtag1","hashtag2"]},{"1391848250":["hashtag1","hashtag2"]},{"1391848244":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848246, 1391848254, 1391848248, 1391848257, 1391848250, 1391848244)","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 = 1391848248 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_34_1674.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 104.45004081726074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:12:44.779694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_44_2757.jpg', '/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_46_2585.jpg', '/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_49_2881.jpg', '/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_53_3597.jpg', '/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_56_2841.jpg', '/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_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/12/38/image_30102025_12_38_44_2757.jpg
/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_46_2585.jpg
/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_49_2881.jpg
/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_53_3597.jpg
/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_56_2841.jpg
/home/pi/Desktop/images/30102025/12/38/image_30102025_12_38_58_2749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848331","1391848321","1391848324","1391848318","1391848327","1391848315"],"photo_ids_order":["1391848315","1391848318","1391848321","1391848324","1391848327","1391848331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6b622dc87943acbaa1dfb9a49f3874bb.jpg","text":"TemporaryFile(/tmp/multipartBody5824304149152942164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092825865,"filename":"image_30102025_12_38_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/2/8145a73d1ca4748914bfebd551cc63f1.jpg","text":"TemporaryFile(/tmp/multipartBody4599991767823579247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092825865,"filename":"image_30102025_12_38_49_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/2/3509d78562f3ff7438f151f04935f656.jpg","text":"TemporaryFile(/tmp/multipartBody8175447010179852250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092825865,"filename":"image_30102025_12_38_53_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/2/6df13cc6d2b96f0a77f80fc3ee1918ac.jpg","text":"TemporaryFile(/tmp/multipartBody7527015990810758334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092825865,"filename":"image_30102025_12_38_46_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/2/dfff2db72824969772aad3ec50ae2fa9.jpg","text":"TemporaryFile(/tmp/multipartBody7124823550530798024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092825865,"filename":"image_30102025_12_38_56_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/2/0ae2100c5709287b0eab4fc39dc24b17.jpg","text":"TemporaryFile(/tmp/multipartBody4770620709855650354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092825865,"filename":"image_30102025_12_38_44_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848321","file1":"1391848318","file0":"1391848315","file4":"1391848327","file5":"1391848331","file3":"1391848324"},"map_files_photo_id_array":[{"photo_id":"1391848331","filename":"file5"},{"photo_id":"1391848321","filename":"file2"},{"photo_id":"1391848327","filename":"file4"},{"photo_id":"1391848318","filename":"file1"},{"photo_id":"1391848315","filename":"file0"},{"photo_id":"1391848324","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848331":["hashtag1","hashtag2"]},{"1391848321":["hashtag1","hashtag2"]},{"1391848324":["hashtag1","hashtag2"]},{"1391848318":["hashtag1","hashtag2"]},{"1391848327":["hashtag1","hashtag2"]},{"1391848315":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848331, 1391848321, 1391848324, 1391848318, 1391848327, 1391848315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.235230922698975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:13:22.075998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_01_2800.jpg', '/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_05_3766.jpg', '/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_08_2637.jpg', '/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_10_2716.jpg', '/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_14_3712.jpg', '/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_17_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/12/39/image_30102025_12_39_01_2800.jpg
/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_05_3766.jpg
/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_08_2637.jpg
/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_10_2716.jpg
/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_14_3712.jpg
/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_17_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.506718873977661 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:13:42.153146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_01_2800.jpg', '/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_05_3766.jpg', '/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_08_2637.jpg', '/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_10_2716.jpg', '/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_14_3712.jpg', '/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_17_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/12/39/image_30102025_12_39_01_2800.jpg
/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_05_3766.jpg
/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_08_2637.jpg
/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_10_2716.jpg
/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_14_3712.jpg
/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_17_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":["1391848360","1391848353","1391848356","1391848355","1391848364","1391848358"],"photo_ids_order":["1391848353","1391848355","1391848356","1391848358","1391848360","1391848364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/06eda2d82db22fcedd902e7188823be4.jpg","text":"TemporaryFile(/tmp/multipartBody5678535436160397353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092887054,"filename":"image_30102025_12_39_14_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/2/18b7d386924044567189741d655b6dbc.jpg","text":"TemporaryFile(/tmp/multipartBody3472597188403721482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092887054,"filename":"image_30102025_12_39_01_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/2/5896e9f11c120c6fa08558a41445eb1a.jpg","text":"TemporaryFile(/tmp/multipartBody8725794013182571117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092887054,"filename":"image_30102025_12_39_08_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/2/2394fde43456fa8b0a6fe818e71186e8.jpg","text":"TemporaryFile(/tmp/multipartBody9062080339726124658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092887054,"filename":"image_30102025_12_39_05_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/2/70f2a5855c1baf351d6b16f1a87aa84a.jpg","text":"TemporaryFile(/tmp/multipartBody8610519597529993322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092887054,"filename":"image_30102025_12_39_17_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/2/1f6815e5c650a66c7e2a0cb4d10082b6.jpg","text":"TemporaryFile(/tmp/multipartBody8970416195440667168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092887054,"filename":"image_30102025_12_39_10_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848356","file1":"1391848355","file0":"1391848353","file4":"1391848360","file5":"1391848364","file3":"1391848358"},"map_files_photo_id_array":[{"photo_id":"1391848364","filename":"file5"},{"photo_id":"1391848356","filename":"file2"},{"photo_id":"1391848360","filename":"file4"},{"photo_id":"1391848355","filename":"file1"},{"photo_id":"1391848353","filename":"file0"},{"photo_id":"1391848358","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848360":["hashtag1","hashtag2"]},{"1391848353":["hashtag1","hashtag2"]},{"1391848356":["hashtag1","hashtag2"]},{"1391848355":["hashtag1","hashtag2"]},{"1391848364":["hashtag1","hashtag2"]},{"1391848358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848360, 1391848353, 1391848356, 1391848355, 1391848364, 1391848358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.878546476364136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:14:42.422022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_22_2845.jpg', '/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_25_2724.jpg', '/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_29_3682.jpg', '/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_32_2826.jpg', '/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_34_2778.jpg', '/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_37_2927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_22_2845.jpg
/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_25_2724.jpg
/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_29_3682.jpg
/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_32_2826.jpg
/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_34_2778.jpg
/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_37_2927.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848396","1391848399","1391848403","1391848387","1391848377","1391848392"],"photo_ids_order":["1391848377","1391848387","1391848392","1391848396","1391848399","1391848403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9200e493788467b0c5f9c50a65d5eee0.jpg","text":"TemporaryFile(/tmp/multipartBody6723143229532714231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092943915,"filename":"image_30102025_12_39_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/2/d2220266101f0b31e1d1f2e5e8f5c50b.jpg","text":"TemporaryFile(/tmp/multipartBody2540700917846372863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092943915,"filename":"image_30102025_12_39_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/2/ef4323c1fab5c3ff4cfe9fd9dbe24955.jpg","text":"TemporaryFile(/tmp/multipartBody3758906886478801043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092943915,"filename":"image_30102025_12_39_37_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/2/665ba14a0f02185b5fb382d30c49d0c1.jpg","text":"TemporaryFile(/tmp/multipartBody5094635226061897098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092943915,"filename":"image_30102025_12_39_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/2/ed5cce930b2faddddea111971fdf492d.jpg","text":"TemporaryFile(/tmp/multipartBody5624500321672398456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092943915,"filename":"image_30102025_12_39_22_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/2/f642558b4a8a812a36d26fbb4a59bf8c.jpg","text":"TemporaryFile(/tmp/multipartBody8885995180217979372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092943915,"filename":"image_30102025_12_39_29_3682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848392","file1":"1391848387","file0":"1391848377","file4":"1391848399","file5":"1391848403","file3":"1391848396"},"map_files_photo_id_array":[{"photo_id":"1391848403","filename":"file5"},{"photo_id":"1391848392","filename":"file2"},{"photo_id":"1391848399","filename":"file4"},{"photo_id":"1391848387","filename":"file1"},{"photo_id":"1391848377","filename":"file0"},{"photo_id":"1391848396","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848396":["hashtag1","hashtag2"]},{"1391848399":["hashtag1","hashtag2"]},{"1391848403":["hashtag1","hashtag2"]},{"1391848387":["hashtag1","hashtag2"]},{"1391848377":["hashtag1","hashtag2"]},{"1391848392":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848396, 1391848399, 1391848403, 1391848387, 1391848377, 1391848392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7296416759491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:15:22.047687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_41_3548.jpg', '/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_43_2647.jpg', '/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_46_2589.jpg', '/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_49_2874.jpg', '/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_53_3692.jpg', '/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_55_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/12/39/image_30102025_12_39_41_3548.jpg
/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_43_2647.jpg
/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_46_2589.jpg
/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_49_2874.jpg
/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_53_3692.jpg
/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_55_2633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848424","1391848421","1391848413","1391848416","1391848419","1391848410"],"photo_ids_order":["1391848410","1391848413","1391848416","1391848419","1391848421","1391848424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2353af4e8633e222a053f328aa9f568e.jpg","text":"TemporaryFile(/tmp/multipartBody5296458296932918771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092984687,"filename":"image_30102025_12_39_55_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/2/5cb9824e8c6eaa732cf1bc1074dc55cf.jpg","text":"TemporaryFile(/tmp/multipartBody5712710997360575557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092984687,"filename":"image_30102025_12_39_53_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/2/aeb73d5efd1d733207a77067d960bce8.jpg","text":"TemporaryFile(/tmp/multipartBody5709071641113238718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092984687,"filename":"image_30102025_12_39_43_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/2/60dde63c969d51a810b3d9154efaacce.jpg","text":"TemporaryFile(/tmp/multipartBody8615949398023813180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092984687,"filename":"image_30102025_12_39_46_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/2/0bca21c1372b83553725157bea57e7ef.jpg","text":"TemporaryFile(/tmp/multipartBody4423351651757874321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092984687,"filename":"image_30102025_12_39_49_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/2/20747c287b900db3cdb87c38af6be25f.jpg","text":"TemporaryFile(/tmp/multipartBody4561871252381810635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762092984687,"filename":"image_30102025_12_39_41_3548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848416","file1":"1391848413","file0":"1391848410","file4":"1391848421","file5":"1391848424","file3":"1391848419"},"map_files_photo_id_array":[{"photo_id":"1391848424","filename":"file5"},{"photo_id":"1391848416","filename":"file2"},{"photo_id":"1391848421","filename":"file4"},{"photo_id":"1391848413","filename":"file1"},{"photo_id":"1391848410","filename":"file0"},{"photo_id":"1391848419","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848424":["hashtag1","hashtag2"]},{"1391848421":["hashtag1","hashtag2"]},{"1391848413":["hashtag1","hashtag2"]},{"1391848416":["hashtag1","hashtag2"]},{"1391848419":["hashtag1","hashtag2"]},{"1391848410":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848424, 1391848421, 1391848413, 1391848416, 1391848419, 1391848410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.350595474243164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 15:16:02.668569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/39/image_30102025_12_39_58_2714.jpg', '/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_02_3595.jpg', '/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_05_3178.jpg', '/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_07_2561.jpg', '/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_11_3582.jpg', '/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_14_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/12/39/image_30102025_12_39_58_2714.jpg
/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_02_3595.jpg
/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_05_3178.jpg
/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_07_2561.jpg
/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_11_3582.jpg
/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_14_2710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848439","1391848448","1391848432","1391848435","1391848429","1391848444"],"photo_ids_order":["1391848429","1391848432","1391848435","1391848439","1391848444","1391848448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f73fe16aa33c970020e3ec2cd62ebba0.jpg","text":"TemporaryFile(/tmp/multipartBody9112172793222918459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093024693,"filename":"image_30102025_12_40_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/2/7db6f8b4db3bb4c10c831239d5da227d.jpg","text":"TemporaryFile(/tmp/multipartBody798016176887597299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093024693,"filename":"image_30102025_12_40_14_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/2/7115fde6532337e17e9c4daf2e3c0885.jpg","text":"TemporaryFile(/tmp/multipartBody8572851680686153148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093024693,"filename":"image_30102025_12_40_02_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/2/b1ea48fd6ce3154c0ceaf2ecc6d08b87.jpg","text":"TemporaryFile(/tmp/multipartBody7330061512940063975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093024693,"filename":"image_30102025_12_40_05_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/2/24caaf9fd043ba4bd3321cf5146f2dae.jpg","text":"TemporaryFile(/tmp/multipartBody3252793305745810311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093024693,"filename":"image_30102025_12_39_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/2/c6d5c9f67aabc0e6729b4fef50bc98f5.jpg","text":"TemporaryFile(/tmp/multipartBody1821962852998389792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093024693,"filename":"image_30102025_12_40_11_3582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848435","file1":"1391848432","file0":"1391848429","file4":"1391848444","file5":"1391848448","file3":"1391848439"},"map_files_photo_id_array":[{"photo_id":"1391848448","filename":"file5"},{"photo_id":"1391848435","filename":"file2"},{"photo_id":"1391848444","filename":"file4"},{"photo_id":"1391848432","filename":"file1"},{"photo_id":"1391848429","filename":"file0"},{"photo_id":"1391848439","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848439":["hashtag1","hashtag2"]},{"1391848448":["hashtag1","hashtag2"]},{"1391848432":["hashtag1","hashtag2"]},{"1391848435":["hashtag1","hashtag2"]},{"1391848429":["hashtag1","hashtag2"]},{"1391848444":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848439, 1391848448, 1391848432, 1391848435, 1391848429, 1391848444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49818539619446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:16:42.161109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_19_2747.jpg', '/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_23_3598.jpg', '/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_25_2561.jpg', '/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_28_2704.jpg', '/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_32_3561.jpg', '/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_34_2260.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_19_2747.jpg
/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_23_3598.jpg
/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_25_2561.jpg
/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_28_2704.jpg
/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_32_3561.jpg
/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_34_2260.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848462","1391848461","1391848464","1391848458","1391848460","1391848463"],"photo_ids_order":["1391848458","1391848460","1391848461","1391848462","1391848463","1391848464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bc3f337ce8df9d8c83ac341e782fb128.jpg","text":"TemporaryFile(/tmp/multipartBody7787116616032166238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093063249,"filename":"image_30102025_12_40_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/2/36d57eeaeb18b1be17ec91cfc7e318b2.jpg","text":"TemporaryFile(/tmp/multipartBody2817584199154045317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093063249,"filename":"image_30102025_12_40_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/2/ff8ad19d01faaa3877210b65cee4963c.jpg","text":"TemporaryFile(/tmp/multipartBody7731129456603024084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093063249,"filename":"image_30102025_12_40_34_2260.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6c5ded07d850bc229426950dcc6e38dc.jpg","text":"TemporaryFile(/tmp/multipartBody2916214889081539388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093063249,"filename":"image_30102025_12_40_19_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/2/846c443b19be29d786c07101dd89e412.jpg","text":"TemporaryFile(/tmp/multipartBody3875712145854207271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093063249,"filename":"image_30102025_12_40_23_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/2/d2930e40253e0bc33dbc91c75f453ed6.jpg","text":"TemporaryFile(/tmp/multipartBody7847571188324985311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093063249,"filename":"image_30102025_12_40_32_3561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848461","file1":"1391848460","file0":"1391848458","file4":"1391848463","file5":"1391848464","file3":"1391848462"},"map_files_photo_id_array":[{"photo_id":"1391848464","filename":"file5"},{"photo_id":"1391848461","filename":"file2"},{"photo_id":"1391848463","filename":"file4"},{"photo_id":"1391848460","filename":"file1"},{"photo_id":"1391848458","filename":"file0"},{"photo_id":"1391848462","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848462":["hashtag1","hashtag2"]},{"1391848461":["hashtag1","hashtag2"]},{"1391848464":["hashtag1","hashtag2"]},{"1391848458":["hashtag1","hashtag2"]},{"1391848460":["hashtag1","hashtag2"]},{"1391848463":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848462, 1391848461, 1391848464, 1391848458, 1391848460, 1391848463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77695846557617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:17:22.284428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_37_3642.jpg', '/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_40_2719.jpg', '/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_43_2629.jpg', '/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_46_3627.jpg', '/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_49_2644.jpg', '/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_52_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/12/40/image_30102025_12_40_37_3642.jpg
/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_40_2719.jpg
/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_43_2629.jpg
/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_46_3627.jpg
/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_49_2644.jpg
/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_52_2740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848495","1391848483","1391848485","1391848479","1391848490","1391848487"],"photo_ids_order":["1391848479","1391848483","1391848485","1391848487","1391848490","1391848495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/350e1a9c8b0ae7e3eef2c2f4f48b5d16.jpg","text":"TemporaryFile(/tmp/multipartBody6341187032855629258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093104889,"filename":"image_30102025_12_40_52_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/2/9534c0fa9dd93d59d163bc0aaa40af11.jpg","text":"TemporaryFile(/tmp/multipartBody4718710609202047303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093104889,"filename":"image_30102025_12_40_40_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/2/9eaa8d2d88263635d378789e9122cdcf.jpg","text":"TemporaryFile(/tmp/multipartBody7283909659189702095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093104889,"filename":"image_30102025_12_40_43_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/2/b0082921f3ba954d2bb60fd8b5ee158d.jpg","text":"TemporaryFile(/tmp/multipartBody1447620342437707480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093104889,"filename":"image_30102025_12_40_37_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/2/4b25019053361c2d8e4be8152cb308cb.jpg","text":"TemporaryFile(/tmp/multipartBody388490132214336029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093104889,"filename":"image_30102025_12_40_49_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/2/6e690696e95b4de29372d61d30c304a6.jpg","text":"TemporaryFile(/tmp/multipartBody5594653528974084781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093104889,"filename":"image_30102025_12_40_46_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848485","file1":"1391848483","file0":"1391848479","file4":"1391848490","file5":"1391848495","file3":"1391848487"},"map_files_photo_id_array":[{"photo_id":"1391848495","filename":"file5"},{"photo_id":"1391848485","filename":"file2"},{"photo_id":"1391848490","filename":"file4"},{"photo_id":"1391848483","filename":"file1"},{"photo_id":"1391848479","filename":"file0"},{"photo_id":"1391848487","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848495":["hashtag1","hashtag2"]},{"1391848483":["hashtag1","hashtag2"]},{"1391848485":["hashtag1","hashtag2"]},{"1391848479":["hashtag1","hashtag2"]},{"1391848490":["hashtag1","hashtag2"]},{"1391848487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848495, 1391848483, 1391848485, 1391848479, 1391848490, 1391848487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92472267150879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 15:18:03.064566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_56_3663.jpg', '/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_58_2843.jpg', '/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_01_2637.jpg', '/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_05_3689.jpg', '/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_07_2618.jpg', '/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_10_2809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_56_3663.jpg
/home/pi/Desktop/images/30102025/12/40/image_30102025_12_40_58_2843.jpg
/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_01_2637.jpg
/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_05_3689.jpg
/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_07_2618.jpg
/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_10_2809.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848511","1391848505","1391848508","1391848501","1391848515","1391848518"],"photo_ids_order":["1391848501","1391848505","1391848508","1391848511","1391848515","1391848518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0b69507d1c4b29951fa943efef1c5c12.jpg","text":"TemporaryFile(/tmp/multipartBody4342711348731162678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093145098,"filename":"image_30102025_12_41_05_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/2/164de594ffb2b9c2df0032719826aba5.jpg","text":"TemporaryFile(/tmp/multipartBody9154261389547942187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093145098,"filename":"image_30102025_12_40_58_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/2/615e3c557e84f5766249bfc6ccbd7091.jpg","text":"TemporaryFile(/tmp/multipartBody6068289511068268226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093145098,"filename":"image_30102025_12_41_01_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/2/ad6d168e2ecf29019ed0b872d762c37c.jpg","text":"TemporaryFile(/tmp/multipartBody3165724521047212658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093145098,"filename":"image_30102025_12_40_56_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/2/03eb7e59e95244a198b26818934a44c8.jpg","text":"TemporaryFile(/tmp/multipartBody3465097950150065664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093145098,"filename":"image_30102025_12_41_07_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/2/58bfeed55edb6989983acbda0bbed409.jpg","text":"TemporaryFile(/tmp/multipartBody6409387681974045836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093145098,"filename":"image_30102025_12_41_10_2809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848508","file1":"1391848505","file0":"1391848501","file4":"1391848515","file5":"1391848518","file3":"1391848511"},"map_files_photo_id_array":[{"photo_id":"1391848518","filename":"file5"},{"photo_id":"1391848508","filename":"file2"},{"photo_id":"1391848515","filename":"file4"},{"photo_id":"1391848505","filename":"file1"},{"photo_id":"1391848501","filename":"file0"},{"photo_id":"1391848511","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848511":["hashtag1","hashtag2"]},{"1391848505":["hashtag1","hashtag2"]},{"1391848508":["hashtag1","hashtag2"]},{"1391848501":["hashtag1","hashtag2"]},{"1391848515":["hashtag1","hashtag2"]},{"1391848518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848511, 1391848505, 1391848508, 1391848501, 1391848515, 1391848518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4948034286499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:18:42.655293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_13_2635.jpg', '/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_17_3852.jpg', '/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_19_2630.jpg', '/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_22_2599.jpg', '/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_26_3789.jpg', '/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_28_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/12/41/image_30102025_12_41_13_2635.jpg
/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_17_3852.jpg
/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_19_2630.jpg
/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_22_2599.jpg
/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_26_3789.jpg
/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_28_2564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848526","1391848531","1391848528","1391848537","1391848524","1391848533"],"photo_ids_order":["1391848524","1391848526","1391848528","1391848531","1391848533","1391848537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d9fa50c0304d1734d7534d0e435b21ff.jpg","text":"TemporaryFile(/tmp/multipartBody8903636345073090772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093183761,"filename":"image_30102025_12_41_17_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/2/fa531b0bf92b53f6be2bcd43966f6726.jpg","text":"TemporaryFile(/tmp/multipartBody3783716926746845936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093183761,"filename":"image_30102025_12_41_22_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/2/9934e5fe74f1719ed1f1ee6a5c0b54fe.jpg","text":"TemporaryFile(/tmp/multipartBody2640952818296911370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093183761,"filename":"image_30102025_12_41_19_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/2/66da3fbcc6a613d27e18359429457188.jpg","text":"TemporaryFile(/tmp/multipartBody9039797084611686876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093183761,"filename":"image_30102025_12_41_28_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/2/9a799e98afc78a51c57944e68d86eddb.jpg","text":"TemporaryFile(/tmp/multipartBody1193622228282643225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093183761,"filename":"image_30102025_12_41_13_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/2/e9f7644e325dcda29a11f61c46812c9e.jpg","text":"TemporaryFile(/tmp/multipartBody3239359210894503984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093183761,"filename":"image_30102025_12_41_26_3789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848528","file1":"1391848526","file0":"1391848524","file4":"1391848533","file5":"1391848537","file3":"1391848531"},"map_files_photo_id_array":[{"photo_id":"1391848537","filename":"file5"},{"photo_id":"1391848528","filename":"file2"},{"photo_id":"1391848533","filename":"file4"},{"photo_id":"1391848526","filename":"file1"},{"photo_id":"1391848524","filename":"file0"},{"photo_id":"1391848531","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848526":["hashtag1","hashtag2"]},{"1391848531":["hashtag1","hashtag2"]},{"1391848528":["hashtag1","hashtag2"]},{"1391848537":["hashtag1","hashtag2"]},{"1391848524":["hashtag1","hashtag2"]},{"1391848533":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848526, 1391848531, 1391848528, 1391848537, 1391848524, 1391848533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.096752405166626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:19:21.953849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_31_2742.jpg', '/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_35_3600.jpg', '/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_37_2811.jpg', '/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_40_2566.jpg', '/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_43_2854.jpg', '/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_46_3719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_31_2742.jpg
/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_35_3600.jpg
/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_37_2811.jpg
/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_40_2566.jpg
/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_43_2854.jpg
/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_46_3719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848550","1391848555","1391848557","1391848554","1391848553","1391848547"],"photo_ids_order":["1391848547","1391848550","1391848553","1391848554","1391848555","1391848557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8d1e454ab77877adc21847428270e836.jpg","text":"TemporaryFile(/tmp/multipartBody3695359001526370597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093224606,"filename":"image_30102025_12_41_35_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/2/cb9226e1a23f1b1ad0f72ab850866a00.jpg","text":"TemporaryFile(/tmp/multipartBody5099300710565791023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093224606,"filename":"image_30102025_12_41_43_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/2/1df286b732bb0c6410f52d0d41b6e9dd.jpg","text":"TemporaryFile(/tmp/multipartBody5873821744321035123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093224606,"filename":"image_30102025_12_41_46_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/2/facfea7fad50118e10adbc989b435b4d.jpg","text":"TemporaryFile(/tmp/multipartBody5053212880782927267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093224606,"filename":"image_30102025_12_41_40_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/2/80c4e1b2792fea0a4492e300b266087b.jpg","text":"TemporaryFile(/tmp/multipartBody1224699459199281899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093224606,"filename":"image_30102025_12_41_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/2/a86f3eab13964e61650d48657d17505b.jpg","text":"TemporaryFile(/tmp/multipartBody7868057713262262077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093224606,"filename":"image_30102025_12_41_31_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848553","file1":"1391848550","file0":"1391848547","file4":"1391848555","file5":"1391848557","file3":"1391848554"},"map_files_photo_id_array":[{"photo_id":"1391848557","filename":"file5"},{"photo_id":"1391848553","filename":"file2"},{"photo_id":"1391848555","filename":"file4"},{"photo_id":"1391848550","filename":"file1"},{"photo_id":"1391848547","filename":"file0"},{"photo_id":"1391848554","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848550":["hashtag1","hashtag2"]},{"1391848555":["hashtag1","hashtag2"]},{"1391848557":["hashtag1","hashtag2"]},{"1391848554":["hashtag1","hashtag2"]},{"1391848553":["hashtag1","hashtag2"]},{"1391848547":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848550, 1391848555, 1391848557, 1391848554, 1391848553, 1391848547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80308723449707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 15:20:02.373164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_49_2610.jpg', '/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_52_2659.jpg', '/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_55_3608.jpg', '/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_01_2683.jpg', '/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_04_3608.jpg', '/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_07_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/12/41/image_30102025_12_41_49_2610.jpg
/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_52_2659.jpg
/home/pi/Desktop/images/30102025/12/41/image_30102025_12_41_55_3608.jpg
/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_01_2683.jpg
/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_04_3608.jpg
/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_07_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848570","1391848573","1391848572","1391848566","1391848571","1391848568"],"photo_ids_order":["1391848566","1391848568","1391848570","1391848571","1391848572","1391848573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/de93122bbf1f5887d8729e483bbbf3e3.jpg","text":"TemporaryFile(/tmp/multipartBody4440609899589694202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093264418,"filename":"image_30102025_12_41_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/2/45a9c3158045824afd5908f3ddbe4e2c.jpg","text":"TemporaryFile(/tmp/multipartBody8560870719316648349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093264418,"filename":"image_30102025_12_42_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/2/7554f22dafb0013915dc62e0b069659c.jpg","text":"TemporaryFile(/tmp/multipartBody8565883950370688988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093264418,"filename":"image_30102025_12_42_04_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/2/0e5d62b4922f071e46c8c46c8244ae27.jpg","text":"TemporaryFile(/tmp/multipartBody7196430157679775184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093264418,"filename":"image_30102025_12_41_49_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/2/a76d7fc5236340391da6abec446b6430.jpg","text":"TemporaryFile(/tmp/multipartBody5144784933470753877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093264418,"filename":"image_30102025_12_42_01_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/2/4af26ac472d6683b08f5e36ec427367d.jpg","text":"TemporaryFile(/tmp/multipartBody493374892610760205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093264418,"filename":"image_30102025_12_41_52_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848570","file1":"1391848568","file0":"1391848566","file4":"1391848572","file5":"1391848573","file3":"1391848571"},"map_files_photo_id_array":[{"photo_id":"1391848573","filename":"file5"},{"photo_id":"1391848570","filename":"file2"},{"photo_id":"1391848572","filename":"file4"},{"photo_id":"1391848568","filename":"file1"},{"photo_id":"1391848566","filename":"file0"},{"photo_id":"1391848571","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848570":["hashtag1","hashtag2"]},{"1391848573":["hashtag1","hashtag2"]},{"1391848572":["hashtag1","hashtag2"]},{"1391848566":["hashtag1","hashtag2"]},{"1391848571":["hashtag1","hashtag2"]},{"1391848568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848570, 1391848573, 1391848572, 1391848566, 1391848571, 1391848568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.966922998428345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:20:41.993618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_10_2718.jpg', '/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_14_4081.jpg', '/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_16_2537.jpg', '/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_19_2610.jpg', '/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_22_2619.jpg', '/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_25_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/12/42/image_30102025_12_42_10_2718.jpg
/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_14_4081.jpg
/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_16_2537.jpg
/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_19_2610.jpg
/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_22_2619.jpg
/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_25_3616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848601","1391848603","1391848593","1391848596","1391848599","1391848583"],"photo_ids_order":["1391848583","1391848593","1391848596","1391848599","1391848601","1391848603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0c8a720e5c8da6d5d5787bf599c7d1f7.jpg","text":"TemporaryFile(/tmp/multipartBody1402837296534943381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093303090,"filename":"image_30102025_12_42_22_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/2/380ad860c95834653f0ce4b20475f07d.jpg","text":"TemporaryFile(/tmp/multipartBody2681266172605352896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093303090,"filename":"image_30102025_12_42_25_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/2/b867da9a0e5ca1c5dd513cd781568254.jpg","text":"TemporaryFile(/tmp/multipartBody8837964587623388295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093303090,"filename":"image_30102025_12_42_14_4081.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/193d2c73480e62481d0d389e94c33f35.jpg","text":"TemporaryFile(/tmp/multipartBody5600150068919853725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093303090,"filename":"image_30102025_12_42_16_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/2/8d628fa771577d97d2048eeb4bbcd4b5.jpg","text":"TemporaryFile(/tmp/multipartBody8031868587437773587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093303090,"filename":"image_30102025_12_42_19_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/2/a9e68c4453a09d643cb7a1f4d5dd6eda.jpg","text":"TemporaryFile(/tmp/multipartBody4490710435238279560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093303090,"filename":"image_30102025_12_42_10_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848596","file1":"1391848593","file0":"1391848583","file4":"1391848601","file5":"1391848603","file3":"1391848599"},"map_files_photo_id_array":[{"photo_id":"1391848603","filename":"file5"},{"photo_id":"1391848596","filename":"file2"},{"photo_id":"1391848601","filename":"file4"},{"photo_id":"1391848593","filename":"file1"},{"photo_id":"1391848583","filename":"file0"},{"photo_id":"1391848599","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848601":["hashtag1","hashtag2"]},{"1391848603":["hashtag1","hashtag2"]},{"1391848593":["hashtag1","hashtag2"]},{"1391848596":["hashtag1","hashtag2"]},{"1391848599":["hashtag1","hashtag2"]},{"1391848583":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848601, 1391848603, 1391848593, 1391848596, 1391848599, 1391848583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.490270376205444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:21:22.156135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_28_2685.jpg', '/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_31_2801.jpg', '/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_34_3722.jpg', '/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_37_2704.jpg', '/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_40_2557.jpg', '/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_43_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/12/42/image_30102025_12_42_28_2685.jpg
/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_31_2801.jpg
/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_34_3722.jpg
/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_37_2704.jpg
/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_40_2557.jpg
/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_43_3730.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.4982047080993652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:21:42.182885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_28_2685.jpg', '/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_31_2801.jpg', '/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_34_3722.jpg', '/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_37_2704.jpg', '/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_40_2557.jpg', '/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_43_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/12/42/image_30102025_12_42_28_2685.jpg
/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_31_2801.jpg
/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_34_3722.jpg
/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_37_2704.jpg
/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_40_2557.jpg
/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_43_3730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848631","1391848621","1391848618","1391848623","1391848626","1391848628"],"photo_ids_order":["1391848618","1391848621","1391848623","1391848626","1391848628","1391848631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/de8237c9622d59c8289b6008ced5c074.jpg","text":"TemporaryFile(/tmp/multipartBody5859687986630989271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093363141,"filename":"image_30102025_12_42_43_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/2/f4b0fb2def3d9253b807542cbf8acce1.jpg","text":"TemporaryFile(/tmp/multipartBody2605348583324979456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093363141,"filename":"image_30102025_12_42_31_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/2/7b6fd2bfa38360ec107fead754ac3ef7.jpg","text":"TemporaryFile(/tmp/multipartBody4447955846911459791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093363141,"filename":"image_30102025_12_42_28_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/2/1130ebb6604a389e9b21bdf625d52828.jpg","text":"TemporaryFile(/tmp/multipartBody4100495866310209295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093363141,"filename":"image_30102025_12_42_34_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/2/c690f04da9dcf33289f6edc22575ffaf.jpg","text":"TemporaryFile(/tmp/multipartBody5744704281689489266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093363141,"filename":"image_30102025_12_42_37_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/2/8eff056211c060a779011b077e970505.jpg","text":"TemporaryFile(/tmp/multipartBody8226289275912963712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093363141,"filename":"image_30102025_12_42_40_2557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848623","file1":"1391848621","file0":"1391848618","file4":"1391848628","file5":"1391848631","file3":"1391848626"},"map_files_photo_id_array":[{"photo_id":"1391848631","filename":"file5"},{"photo_id":"1391848623","filename":"file2"},{"photo_id":"1391848628","filename":"file4"},{"photo_id":"1391848621","filename":"file1"},{"photo_id":"1391848618","filename":"file0"},{"photo_id":"1391848626","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848631":["hashtag1","hashtag2"]},{"1391848621":["hashtag1","hashtag2"]},{"1391848618":["hashtag1","hashtag2"]},{"1391848623":["hashtag1","hashtag2"]},{"1391848626":["hashtag1","hashtag2"]},{"1391848628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848631, 1391848621, 1391848618, 1391848623, 1391848626, 1391848628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.150511503219604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:22:22.285846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_46_2636.jpg', '/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_49_2644.jpg', '/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_52_3625.jpg', '/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_55_2898.jpg', '/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_58_2702.jpg', '/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_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/12/42/image_30102025_12_42_46_2636.jpg
/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_49_2644.jpg
/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_52_3625.jpg
/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_55_2898.jpg
/home/pi/Desktop/images/30102025/12/42/image_30102025_12_42_58_2702.jpg
/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_01_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848643","1391848641","1391848644","1391848638","1391848647","1391848640"],"photo_ids_order":["1391848638","1391848640","1391848641","1391848643","1391848644","1391848647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3c7d6ef9ed3d981ce4f71880444bcd14.jpg","text":"TemporaryFile(/tmp/multipartBody1607839549334076026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093404839,"filename":"image_30102025_12_42_55_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/2/59972b7a08771b8e10e61538e92c0741.jpg","text":"TemporaryFile(/tmp/multipartBody6153419649007155617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093404839,"filename":"image_30102025_12_42_52_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/2/7667c1a092bbcae96eec7b43bb6bed66.jpg","text":"TemporaryFile(/tmp/multipartBody5354247795203521925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093404839,"filename":"image_30102025_12_42_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/2/21cb3d5b820b3b312b61cd10e6dc4f94.jpg","text":"TemporaryFile(/tmp/multipartBody1255858985359476534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093404839,"filename":"image_30102025_12_42_46_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/2/a9b1f82f5014f33decbcec6f1a7284e1.jpg","text":"TemporaryFile(/tmp/multipartBody5718503731281348131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093404839,"filename":"image_30102025_12_43_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/2/4f9aa1024c8152aaa8448e66e2f501ac.jpg","text":"TemporaryFile(/tmp/multipartBody1283470482395877139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093404839,"filename":"image_30102025_12_42_49_2644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848641","file1":"1391848640","file0":"1391848638","file4":"1391848644","file5":"1391848647","file3":"1391848643"},"map_files_photo_id_array":[{"photo_id":"1391848647","filename":"file5"},{"photo_id":"1391848641","filename":"file2"},{"photo_id":"1391848644","filename":"file4"},{"photo_id":"1391848640","filename":"file1"},{"photo_id":"1391848638","filename":"file0"},{"photo_id":"1391848643","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848643":["hashtag1","hashtag2"]},{"1391848641":["hashtag1","hashtag2"]},{"1391848644":["hashtag1","hashtag2"]},{"1391848638":["hashtag1","hashtag2"]},{"1391848647":["hashtag1","hashtag2"]},{"1391848640":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848643, 1391848641, 1391848644, 1391848638, 1391848647, 1391848640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.143492698669434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 15:23:03.205944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_04_3625.jpg', '/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_07_2867.jpg', '/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_10_2671.jpg', '/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_13_3620.jpg', '/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_16_2844.jpg', '/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_19_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/12/43/image_30102025_12_43_04_3625.jpg
/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_07_2867.jpg
/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_10_2671.jpg
/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_13_3620.jpg
/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_16_2844.jpg
/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_19_2578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848663","1391848657","1391848660","1391848654","1391848653","1391848655"],"photo_ids_order":["1391848653","1391848654","1391848655","1391848657","1391848660","1391848663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9685a7fba13d3a68317b6330ae705a46.jpg","text":"TemporaryFile(/tmp/multipartBody1913518822776681950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093445394,"filename":"image_30102025_12_43_19_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/2/d0f3a777670237c1e1c377764dc4d052.jpg","text":"TemporaryFile(/tmp/multipartBody2056652129879267480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093445394,"filename":"image_30102025_12_43_13_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/2/a403a05448d2cfec872b01eb62b8e03f.jpg","text":"TemporaryFile(/tmp/multipartBody1220091689424316221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093445394,"filename":"image_30102025_12_43_16_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/2/ad9933edd09e41f356ef39273c38073f.jpg","text":"TemporaryFile(/tmp/multipartBody2371954281955075510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093445394,"filename":"image_30102025_12_43_07_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/2/5f379008c63d38a92cce7e121ae628e9.jpg","text":"TemporaryFile(/tmp/multipartBody5101319796680994064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093445394,"filename":"image_30102025_12_43_04_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/2/3f768338662e16cdf4e6ca4bae7fe6cb.jpg","text":"TemporaryFile(/tmp/multipartBody3369313242057292865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093445394,"filename":"image_30102025_12_43_10_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848655","file1":"1391848654","file0":"1391848653","file4":"1391848660","file5":"1391848663","file3":"1391848657"},"map_files_photo_id_array":[{"photo_id":"1391848663","filename":"file5"},{"photo_id":"1391848655","filename":"file2"},{"photo_id":"1391848660","filename":"file4"},{"photo_id":"1391848654","filename":"file1"},{"photo_id":"1391848653","filename":"file0"},{"photo_id":"1391848657","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848663":["hashtag1","hashtag2"]},{"1391848657":["hashtag1","hashtag2"]},{"1391848660":["hashtag1","hashtag2"]},{"1391848654":["hashtag1","hashtag2"]},{"1391848653":["hashtag1","hashtag2"]},{"1391848655":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848663, 1391848657, 1391848660, 1391848654, 1391848653, 1391848655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39599013328552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:23:42.513594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_22_3620.jpg', '/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_25_2726.jpg', '/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_28_2533.jpg', '/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_34_2807.jpg', '/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_37_2679.jpg', '/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_40_3599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_22_3620.jpg
/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_25_2726.jpg
/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_28_2533.jpg
/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_34_2807.jpg
/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_37_2679.jpg
/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_40_3599.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.0003092288970947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 15:24:03.361763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_22_3620.jpg', '/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_25_2726.jpg', '/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_28_2533.jpg', '/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_34_2807.jpg', '/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_37_2679.jpg', '/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_40_3599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_22_3620.jpg
/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_25_2726.jpg
/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_28_2533.jpg
/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_34_2807.jpg
/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_37_2679.jpg
/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_40_3599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848700","1391848703","1391848687","1391848697","1391848691","1391848694"],"photo_ids_order":["1391848687","1391848691","1391848694","1391848697","1391848700","1391848703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8e9021642043d9058b5ee8122e16df61.jpg","text":"TemporaryFile(/tmp/multipartBody7933200426940582211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093505350,"filename":"image_30102025_12_43_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/2/5b284e3621727f6edc54e0870f6e9ea0.jpg","text":"TemporaryFile(/tmp/multipartBody1170002660848164796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093505350,"filename":"image_30102025_12_43_40_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/2/2b66c17fdbb06bb3e2d4020620c2ffc3.jpg","text":"TemporaryFile(/tmp/multipartBody2536924979023098310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093505350,"filename":"image_30102025_12_43_22_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/2/40222dec7d4a01daa1338331de6e7de4.jpg","text":"TemporaryFile(/tmp/multipartBody4015694366571253390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093505350,"filename":"image_30102025_12_43_34_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/2/4d8b935c3539b299fa072e065c722c11.jpg","text":"TemporaryFile(/tmp/multipartBody1073784716358615464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093505350,"filename":"image_30102025_12_43_25_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/2/76036df031a9e0f553dfc5f5781836d6.jpg","text":"TemporaryFile(/tmp/multipartBody6713332292853233777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093505350,"filename":"image_30102025_12_43_28_2533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848694","file1":"1391848691","file0":"1391848687","file4":"1391848700","file5":"1391848703","file3":"1391848697"},"map_files_photo_id_array":[{"photo_id":"1391848703","filename":"file5"},{"photo_id":"1391848694","filename":"file2"},{"photo_id":"1391848700","filename":"file4"},{"photo_id":"1391848691","filename":"file1"},{"photo_id":"1391848687","filename":"file0"},{"photo_id":"1391848697","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848700":["hashtag1","hashtag2"]},{"1391848703":["hashtag1","hashtag2"]},{"1391848687":["hashtag1","hashtag2"]},{"1391848697":["hashtag1","hashtag2"]},{"1391848691":["hashtag1","hashtag2"]},{"1391848694":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848700, 1391848703, 1391848687, 1391848697, 1391848691, 1391848694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.138391971588135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:24:42.827576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_43_2779.jpg', '/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_46_2561.jpg', '/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_49_3645.jpg', '/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_07_17669.jpg', '/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_09_1607.jpg', '/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_10_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/12/43/image_30102025_12_43_43_2779.jpg
/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_46_2561.jpg
/home/pi/Desktop/images/30102025/12/43/image_30102025_12_43_49_3645.jpg
/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_07_17669.jpg
/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_09_1607.jpg
/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_10_1618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848706","1391848711","1391848714","1391848708","1391848713","1391848716"],"photo_ids_order":["1391848706","1391848708","1391848711","1391848713","1391848714","1391848716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ccfa83900ab2d57ee5cfc2da824ba779.jpg","text":"TemporaryFile(/tmp/multipartBody7375301097601596779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093543924,"filename":"image_30102025_12_43_43_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/2/09540476c56a73cc0629877a75a9018e.jpg","text":"TemporaryFile(/tmp/multipartBody1586628580628082871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093543924,"filename":"image_30102025_12_43_49_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/2/228dbb70d19974455a5238bd7610a4ef.jpg","text":"TemporaryFile(/tmp/multipartBody1062850855705970125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093543924,"filename":"image_30102025_12_44_09_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/2/ccac1fdc4a0caca165b8a471f179cdc4.jpg","text":"TemporaryFile(/tmp/multipartBody1858964416108875036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093543924,"filename":"image_30102025_12_43_46_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/2/fc67103931d0bbc1830131f42366acfb.jpg","text":"TemporaryFile(/tmp/multipartBody1565087301553076677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093543924,"filename":"image_30102025_12_44_07_17669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cc34c9d46ffc26e54dfa6b2f1b7be0e0.jpg","text":"TemporaryFile(/tmp/multipartBody6263154467577462561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093543924,"filename":"image_30102025_12_44_10_1618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848711","file1":"1391848708","file0":"1391848706","file4":"1391848714","file5":"1391848716","file3":"1391848713"},"map_files_photo_id_array":[{"photo_id":"1391848716","filename":"file5"},{"photo_id":"1391848711","filename":"file2"},{"photo_id":"1391848714","filename":"file4"},{"photo_id":"1391848708","filename":"file1"},{"photo_id":"1391848706","filename":"file0"},{"photo_id":"1391848713","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848706":["hashtag1","hashtag2"]},{"1391848711":["hashtag1","hashtag2"]},{"1391848714":["hashtag1","hashtag2"]},{"1391848708":["hashtag1","hashtag2"]},{"1391848713":["hashtag1","hashtag2"]},{"1391848716":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848706, 1391848711, 1391848714, 1391848708, 1391848713, 1391848716)","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: 67.45039319992065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 15:26:02.613022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_12_1661.jpg', '/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_14_1590.jpg', '/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_15_1513.jpg', '/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_17_1604.jpg', '/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_20_3500.jpg', '/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_22_1617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_12_1661.jpg
/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_14_1590.jpg
/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_15_1513.jpg
/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_17_1604.jpg
/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_20_3500.jpg
/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_22_1617.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":["1391848744","1391848735","1391848740","1391848746","1391848731","1391848728"],"photo_ids_order":["1391848728","1391848731","1391848735","1391848740","1391848744","1391848746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/da54f47f184dcc730fb5c8dcbd63cec9.jpg","text":"TemporaryFile(/tmp/multipartBody3498971095193658301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093624566,"filename":"image_30102025_12_44_20_3500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5a1dd840f6366e3a12a7096282e987ce.jpg","text":"TemporaryFile(/tmp/multipartBody582461387337209146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093624566,"filename":"image_30102025_12_44_15_1513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b30b9e71ac85cc08acecf18ed21073db.jpg","text":"TemporaryFile(/tmp/multipartBody4871838359058643928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093624566,"filename":"image_30102025_12_44_17_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/2/0834586443add992f2b0f86cec5e563e.jpg","text":"TemporaryFile(/tmp/multipartBody838697588375444047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093624566,"filename":"image_30102025_12_44_22_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/2/7b215af1820db35dd911765599f5958d.jpg","text":"TemporaryFile(/tmp/multipartBody3731966394128457519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093624566,"filename":"image_30102025_12_44_14_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b6dc9448f4b07c41ec71575af2d3da28.jpg","text":"TemporaryFile(/tmp/multipartBody3647236308317605603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093624566,"filename":"image_30102025_12_44_12_1661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848735","file1":"1391848731","file0":"1391848728","file4":"1391848744","file5":"1391848746","file3":"1391848740"},"map_files_photo_id_array":[{"photo_id":"1391848746","filename":"file5"},{"photo_id":"1391848735","filename":"file2"},{"photo_id":"1391848744","filename":"file4"},{"photo_id":"1391848731","filename":"file1"},{"photo_id":"1391848728","filename":"file0"},{"photo_id":"1391848740","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848744":["hashtag1","hashtag2"]},{"1391848735":["hashtag1","hashtag2"]},{"1391848740":["hashtag1","hashtag2"]},{"1391848746":["hashtag1","hashtag2"]},{"1391848731":["hashtag1","hashtag2"]},{"1391848728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848744, 1391848735, 1391848740, 1391848746, 1391848731, 1391848728)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 84.72857689857483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:27:30.668659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_26_4507.jpg', '/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_28_1782.jpg', '/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_30_1709.jpg', '/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_32_1722.jpg', '/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_33_1847.jpg', '/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_35_1660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_26_4507.jpg
/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_28_1782.jpg
/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_30_1709.jpg
/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_32_1722.jpg
/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_33_1847.jpg
/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_35_1660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848811","1391848810","1391848807","1391848804","1391848812","1391848784"],"photo_ids_order":["1391848784","1391848804","1391848807","1391848810","1391848811","1391848812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c435d34e35db630c884edab517ebee7a.jpg","text":"TemporaryFile(/tmp/multipartBody3858062353478610398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093713345,"filename":"image_30102025_12_44_33_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/2/2fd80cc3b327b26023bb9e94e1fe6527.jpg","text":"TemporaryFile(/tmp/multipartBody943269941799826126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093713345,"filename":"image_30102025_12_44_32_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/2/27e6b8d3cab913d6f568a62253ec1121.jpg","text":"TemporaryFile(/tmp/multipartBody1308774666219418475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093713345,"filename":"image_30102025_12_44_30_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/2/d860a7f5212dea9cb48eb6279d3f45fa.jpg","text":"TemporaryFile(/tmp/multipartBody4475867607780128153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093713345,"filename":"image_30102025_12_44_28_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/2/ad75012c498e7b965be391007c11dc8a.jpg","text":"TemporaryFile(/tmp/multipartBody6682044525975845920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093713345,"filename":"image_30102025_12_44_35_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/2/9a50984bbbe5b757a869463037738d48.jpg","text":"TemporaryFile(/tmp/multipartBody6924621949717928947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093713345,"filename":"image_30102025_12_44_26_4507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848807","file1":"1391848804","file0":"1391848784","file4":"1391848811","file5":"1391848812","file3":"1391848810"},"map_files_photo_id_array":[{"photo_id":"1391848812","filename":"file5"},{"photo_id":"1391848807","filename":"file2"},{"photo_id":"1391848811","filename":"file4"},{"photo_id":"1391848804","filename":"file1"},{"photo_id":"1391848784","filename":"file0"},{"photo_id":"1391848810","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848811":["hashtag1","hashtag2"]},{"1391848810":["hashtag1","hashtag2"]},{"1391848807":["hashtag1","hashtag2"]},{"1391848804":["hashtag1","hashtag2"]},{"1391848812":["hashtag1","hashtag2"]},{"1391848784":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848811, 1391848810, 1391848807, 1391848804, 1391848812, 1391848784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.20221662521362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:28:24.337616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_37_1771.jpg', '/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_43_2808.jpg', '/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_46_3792.jpg', '/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_51_4997.jpg', '/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_57_5952.jpg', '/home/pi/Desktop/images/30102025/12/44/image_30102025_12_45_00_2918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_37_1771.jpg
/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_43_2808.jpg
/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_46_3792.jpg
/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_51_4997.jpg
/home/pi/Desktop/images/30102025/12/44/image_30102025_12_44_57_5952.jpg
/home/pi/Desktop/images/30102025/12/44/image_30102025_12_45_00_2918.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848831","1391848834","1391848828","1391848824","1391848827","1391848826"],"photo_ids_order":["1391848824","1391848826","1391848827","1391848828","1391848831","1391848834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a3cea480f7565ed920426d4a4c18b832.jpg","text":"TemporaryFile(/tmp/multipartBody3343245372065023261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093767129,"filename":"image_30102025_12_44_57_5952.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2765092413093823892dee9b549a7766.jpg","text":"TemporaryFile(/tmp/multipartBody1983474242909893238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093767129,"filename":"image_30102025_12_45_00_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/2/5723121a72ca442318633757cdbb4811.jpg","text":"TemporaryFile(/tmp/multipartBody4017457702070824041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093767129,"filename":"image_30102025_12_44_51_4997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/54de26b2f230dbf742bba36977f73a09.jpg","text":"TemporaryFile(/tmp/multipartBody5818998397281988531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093767129,"filename":"image_30102025_12_44_37_1771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a6d16f70eea772abf6bfb9c7f5a29147.jpg","text":"TemporaryFile(/tmp/multipartBody65753143147687964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093767129,"filename":"image_30102025_12_44_46_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/2/d378f13a4b1146b6ce4d8621bfed31f9.jpg","text":"TemporaryFile(/tmp/multipartBody5543845646782793813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093767129,"filename":"image_30102025_12_44_43_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848827","file1":"1391848826","file0":"1391848824","file4":"1391848831","file5":"1391848834","file3":"1391848828"},"map_files_photo_id_array":[{"photo_id":"1391848834","filename":"file5"},{"photo_id":"1391848827","filename":"file2"},{"photo_id":"1391848831","filename":"file4"},{"photo_id":"1391848826","filename":"file1"},{"photo_id":"1391848824","filename":"file0"},{"photo_id":"1391848828","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848831":["hashtag1","hashtag2"]},{"1391848834":["hashtag1","hashtag2"]},{"1391848828":["hashtag1","hashtag2"]},{"1391848824":["hashtag1","hashtag2"]},{"1391848827":["hashtag1","hashtag2"]},{"1391848826":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848831, 1391848834, 1391848828, 1391848824, 1391848827, 1391848826)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 57.865599393844604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:29:25.279682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT 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=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:29:45.121112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_02_1691.jpg', '/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_04_1857.jpg', '/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_11_7270.jpg', '/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_13_1800.jpg', '/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_14_1701.jpg', '/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_16_1549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_02_1691.jpg
/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_04_1857.jpg
/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_11_7270.jpg
/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_13_1800.jpg
/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_14_1701.jpg
/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_16_1549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848873","1391848867","1391848876","1391848870","1391848866","1391848865"],"photo_ids_order":["1391848865","1391848866","1391848867","1391848870","1391848873","1391848876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/aae4f6b8346c46ef88b3e14a58f0407b.jpg","text":"TemporaryFile(/tmp/multipartBody8167756801913832908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093853463,"filename":"image_30102025_12_45_14_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2b3989fdf894257fe389c821620b54d7.jpg","text":"TemporaryFile(/tmp/multipartBody6850384775775546059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093853463,"filename":"image_30102025_12_45_11_7270.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fc7a2f68f854b2c95ef6ae6f229b556d.jpg","text":"TemporaryFile(/tmp/multipartBody948622894532760406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093853463,"filename":"image_30102025_12_45_16_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/2/bbbe6aab88a0a717cb42ef40fbc833bc.jpg","text":"TemporaryFile(/tmp/multipartBody3331547872138116080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093853463,"filename":"image_30102025_12_45_13_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/2/e0ad823a51809c4ce7fbb4be0526a3d6.jpg","text":"TemporaryFile(/tmp/multipartBody2290581203511309320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093853463,"filename":"image_30102025_12_45_04_1857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4beb2dbef5f0eaf5208a7f78c9ad4322.jpg","text":"TemporaryFile(/tmp/multipartBody5283598177825235074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093853463,"filename":"image_30102025_12_45_02_1691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848867","file1":"1391848866","file0":"1391848865","file4":"1391848873","file5":"1391848876","file3":"1391848870"},"map_files_photo_id_array":[{"photo_id":"1391848876","filename":"file5"},{"photo_id":"1391848867","filename":"file2"},{"photo_id":"1391848873","filename":"file4"},{"photo_id":"1391848866","filename":"file1"},{"photo_id":"1391848865","filename":"file0"},{"photo_id":"1391848870","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848873":["hashtag1","hashtag2"]},{"1391848867":["hashtag1","hashtag2"]},{"1391848876":["hashtag1","hashtag2"]},{"1391848870":["hashtag1","hashtag2"]},{"1391848866":["hashtag1","hashtag2"]},{"1391848865":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848873, 1391848867, 1391848876, 1391848870, 1391848866, 1391848865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.32830190658569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:30:43.886873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_18_1697.jpg', '/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_19_1578.jpg', '/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_22_3012.jpg', '/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_25_2559.jpg', '/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_29_4329.jpg', '/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_36_7177.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_18_1697.jpg
/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_19_1578.jpg
/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_22_3012.jpg
/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_25_2559.jpg
/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_29_4329.jpg
/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_36_7177.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848901","1391848891","1391848904","1391848903","1391848895","1391848898"],"photo_ids_order":["1391848891","1391848895","1391848898","1391848901","1391848903","1391848904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7bdd380e82b8bd807f981f14646b3f90.jpg","text":"TemporaryFile(/tmp/multipartBody1487772068707874148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093911347,"filename":"image_30102025_12_45_25_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/2/0795ddafd9390ca2290d210dbff342ff.jpg","text":"TemporaryFile(/tmp/multipartBody4676134521669958884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093911347,"filename":"image_30102025_12_45_18_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/2/f29b219dc10b8218be2df11d020582ad.jpg","text":"TemporaryFile(/tmp/multipartBody2216809191065727664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093911347,"filename":"image_30102025_12_45_36_7177.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/04b47ea764377808c79a501dec18855b.jpg","text":"TemporaryFile(/tmp/multipartBody956900603074490077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093911347,"filename":"image_30102025_12_45_29_4329.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/196b0891fc20df30f5becac48ccf4f38.jpg","text":"TemporaryFile(/tmp/multipartBody6902630590406610544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093911347,"filename":"image_30102025_12_45_19_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/add9ed4541c1ef84f327ca9e53160313.jpg","text":"TemporaryFile(/tmp/multipartBody3558819924137961724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093911347,"filename":"image_30102025_12_45_22_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848898","file1":"1391848895","file0":"1391848891","file4":"1391848903","file5":"1391848904","file3":"1391848901"},"map_files_photo_id_array":[{"photo_id":"1391848904","filename":"file5"},{"photo_id":"1391848898","filename":"file2"},{"photo_id":"1391848903","filename":"file4"},{"photo_id":"1391848895","filename":"file1"},{"photo_id":"1391848891","filename":"file0"},{"photo_id":"1391848901","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848901":["hashtag1","hashtag2"]},{"1391848891":["hashtag1","hashtag2"]},{"1391848904":["hashtag1","hashtag2"]},{"1391848903":["hashtag1","hashtag2"]},{"1391848895":["hashtag1","hashtag2"]},{"1391848898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848901, 1391848891, 1391848904, 1391848903, 1391848895, 1391848898)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 59.75604820251465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 15:32:02.709685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_40_3144.jpg', '/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_41_1667.jpg', '/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_44_3270.jpg', '/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_46_1741.jpg', '/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_49_3278.jpg', '/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_51_1827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_40_3144.jpg
/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_41_1667.jpg
/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_44_3270.jpg
/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_46_1741.jpg
/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_49_3278.jpg
/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_51_1827.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848940","1391848934","1391848928","1391848937","1391848924","1391848931"],"photo_ids_order":["1391848924","1391848928","1391848931","1391848934","1391848937","1391848940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/75b4d225ac3ece452c2a8b1614ef9557.jpg","text":"TemporaryFile(/tmp/multipartBody606136450790438290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093984683,"filename":"image_30102025_12_45_51_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/2/658002d85cf296718786b41e07de1523.jpg","text":"TemporaryFile(/tmp/multipartBody2523063794786832001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093984683,"filename":"image_30102025_12_45_46_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/2/118583730b4bc9a843e16a6ee7f88912.jpg","text":"TemporaryFile(/tmp/multipartBody6035366206270254050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093984683,"filename":"image_30102025_12_45_41_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/2/986bca31959cea535968ad2c23aaeb9d.jpg","text":"TemporaryFile(/tmp/multipartBody7948104051927563341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093984683,"filename":"image_30102025_12_45_49_3278.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b97dee363995fcaa6254b03a59ee4d37.jpg","text":"TemporaryFile(/tmp/multipartBody1015678033009489316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093984683,"filename":"image_30102025_12_45_40_3144.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/10085c390471c8eefb091fbb2a98374a.jpg","text":"TemporaryFile(/tmp/multipartBody1115457850113257391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762093984683,"filename":"image_30102025_12_45_44_3270.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848931","file1":"1391848928","file0":"1391848924","file4":"1391848937","file5":"1391848940","file3":"1391848934"},"map_files_photo_id_array":[{"photo_id":"1391848940","filename":"file5"},{"photo_id":"1391848931","filename":"file2"},{"photo_id":"1391848937","filename":"file4"},{"photo_id":"1391848928","filename":"file1"},{"photo_id":"1391848924","filename":"file0"},{"photo_id":"1391848934","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848940":["hashtag1","hashtag2"]},{"1391848934":["hashtag1","hashtag2"]},{"1391848928":["hashtag1","hashtag2"]},{"1391848937":["hashtag1","hashtag2"]},{"1391848924":["hashtag1","hashtag2"]},{"1391848931":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848940, 1391848934, 1391848928, 1391848937, 1391848924, 1391848931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67099332809448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:32:42.408358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_53_1617.jpg', '/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_55_1670.jpg', '/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_58_3542.jpg', '/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_01_2719.jpg', '/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_04_2643.jpg', '/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_06_2906.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_53_1617.jpg
/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_55_1670.jpg
/home/pi/Desktop/images/30102025/12/45/image_30102025_12_45_58_3542.jpg
/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_01_2719.jpg
/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_04_2643.jpg
/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_06_2906.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391848954","1391848957","1391848950","1391848961","1391848964","1391848943"],"photo_ids_order":["1391848943","1391848950","1391848954","1391848957","1391848961","1391848964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/43bbff8b440b11ade5bb1fb11621ffd3.jpg","text":"TemporaryFile(/tmp/multipartBody2096002684281578963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094023472,"filename":"image_30102025_12_45_58_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/2/aa7ef5d1e75af285d5335926e2cc568c.jpg","text":"TemporaryFile(/tmp/multipartBody6111836710716243806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094023472,"filename":"image_30102025_12_46_01_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/2/227eb28b018b65cee9709fd25870e4c5.jpg","text":"TemporaryFile(/tmp/multipartBody6850790055947654136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094023472,"filename":"image_30102025_12_45_55_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/2/928c002781673a5024b3c223b3888f03.jpg","text":"TemporaryFile(/tmp/multipartBody3391124839235314872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094023472,"filename":"image_30102025_12_46_04_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/2/2f00de07bbfb95031055017f295e6533.jpg","text":"TemporaryFile(/tmp/multipartBody5416753648140151027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094023472,"filename":"image_30102025_12_46_06_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/2/5bac5cc2507c7d1e1934befb23110304.jpg","text":"TemporaryFile(/tmp/multipartBody990960537853227153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094023472,"filename":"image_30102025_12_45_53_1617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848954","file1":"1391848950","file0":"1391848943","file4":"1391848961","file5":"1391848964","file3":"1391848957"},"map_files_photo_id_array":[{"photo_id":"1391848964","filename":"file5"},{"photo_id":"1391848954","filename":"file2"},{"photo_id":"1391848961","filename":"file4"},{"photo_id":"1391848950","filename":"file1"},{"photo_id":"1391848943","filename":"file0"},{"photo_id":"1391848957","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848954":["hashtag1","hashtag2"]},{"1391848957":["hashtag1","hashtag2"]},{"1391848950":["hashtag1","hashtag2"]},{"1391848961":["hashtag1","hashtag2"]},{"1391848964":["hashtag1","hashtag2"]},{"1391848943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848954, 1391848957, 1391848950, 1391848961, 1391848964, 1391848943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28115391731262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:33:22.703804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_10_3648.jpg', '/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_13_2730.jpg', '/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_15_2629.jpg', '/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_19_3777.jpg', '/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_22_2622.jpg', '/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_24_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/12/46/image_30102025_12_46_10_3648.jpg
/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_13_2730.jpg
/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_15_2629.jpg
/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_19_3777.jpg
/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_22_2622.jpg
/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_24_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":["1391848971","1391848982","1391848976","1391848985","1391848979","1391848973"],"photo_ids_order":["1391848971","1391848973","1391848976","1391848979","1391848982","1391848985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/74d8999a9f96db35b594e1cba2c4eeda.jpg","text":"TemporaryFile(/tmp/multipartBody329992970055267569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094065299,"filename":"image_30102025_12_46_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/2/79da541fc3a08e3a46dc55e2a26300f3.jpg","text":"TemporaryFile(/tmp/multipartBody9196581862978173372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094065299,"filename":"image_30102025_12_46_22_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/2/aaea5d46512b32b8651b91e240f6d3da.jpg","text":"TemporaryFile(/tmp/multipartBody6076186731471723640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094065299,"filename":"image_30102025_12_46_15_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/2/3be4f85ebda04ac9459887b34673123c.jpg","text":"TemporaryFile(/tmp/multipartBody4569641291701657548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094065299,"filename":"image_30102025_12_46_24_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/2/ee9e95e6120b09e4b28abf79ddcd8257.jpg","text":"TemporaryFile(/tmp/multipartBody6057613612657172230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094065299,"filename":"image_30102025_12_46_19_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/2/93da0d29bef6b3cbadee5df735d90d82.jpg","text":"TemporaryFile(/tmp/multipartBody7098952405935934791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094065299,"filename":"image_30102025_12_46_13_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391848976","file1":"1391848973","file0":"1391848971","file4":"1391848982","file5":"1391848985","file3":"1391848979"},"map_files_photo_id_array":[{"photo_id":"1391848985","filename":"file5"},{"photo_id":"1391848976","filename":"file2"},{"photo_id":"1391848982","filename":"file4"},{"photo_id":"1391848973","filename":"file1"},{"photo_id":"1391848971","filename":"file0"},{"photo_id":"1391848979","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391848971":["hashtag1","hashtag2"]},{"1391848982":["hashtag1","hashtag2"]},{"1391848976":["hashtag1","hashtag2"]},{"1391848985":["hashtag1","hashtag2"]},{"1391848979":["hashtag1","hashtag2"]},{"1391848973":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391848971, 1391848982, 1391848976, 1391848985, 1391848979, 1391848973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82400560379028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:34:21.947137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_28_3657.jpg', '/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_31_2666.jpg', '/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_33_2632.jpg', '/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_36_2821.jpg', '/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_40_3593.jpg', '/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_42_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/12/46/image_30102025_12_46_28_3657.jpg
/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_31_2666.jpg
/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_33_2632.jpg
/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_36_2821.jpg
/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_40_3593.jpg
/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_42_2653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391849003","1391849005","1391849007","1391849012","1391849006","1391849009"],"photo_ids_order":["1391849003","1391849005","1391849006","1391849007","1391849009","1391849012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f13e347c7de12a82f8a4c43331ad05fe.jpg","text":"TemporaryFile(/tmp/multipartBody947614084712699357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094124554,"filename":"image_30102025_12_46_28_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/2/4f6a7661f5e2a47390dcd4ce223be5a3.jpg","text":"TemporaryFile(/tmp/multipartBody1312667683615169585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094124554,"filename":"image_30102025_12_46_31_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/2/acdda24ab1b7b36b48287344e5a1bbd1.jpg","text":"TemporaryFile(/tmp/multipartBody4021868033643450961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094124554,"filename":"image_30102025_12_46_36_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/2/48aba46ae55c76f9dd58af62ae7921c9.jpg","text":"TemporaryFile(/tmp/multipartBody7196341888326484862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094124554,"filename":"image_30102025_12_46_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/2/b75da3156813a269f4ad564bde1f8f6e.jpg","text":"TemporaryFile(/tmp/multipartBody2099307781006823699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094124554,"filename":"image_30102025_12_46_33_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/2/ecacc78004b6bbad90340ea96f6a2072.jpg","text":"TemporaryFile(/tmp/multipartBody1320740202403576952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094124554,"filename":"image_30102025_12_46_40_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849006","file1":"1391849005","file0":"1391849003","file4":"1391849009","file5":"1391849012","file3":"1391849007"},"map_files_photo_id_array":[{"photo_id":"1391849012","filename":"file5"},{"photo_id":"1391849006","filename":"file2"},{"photo_id":"1391849009","filename":"file4"},{"photo_id":"1391849005","filename":"file1"},{"photo_id":"1391849003","filename":"file0"},{"photo_id":"1391849007","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849003":["hashtag1","hashtag2"]},{"1391849005":["hashtag1","hashtag2"]},{"1391849007":["hashtag1","hashtag2"]},{"1391849012":["hashtag1","hashtag2"]},{"1391849006":["hashtag1","hashtag2"]},{"1391849009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849003, 1391849005, 1391849007, 1391849012, 1391849006, 1391849009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27065420150757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 15:35:02.700501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_46_3710.jpg', '/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_49_2708.jpg', '/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_52_2679.jpg', '/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_54_2657.jpg', '/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_58_3845.jpg', '/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_01_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/12/46/image_30102025_12_46_46_3710.jpg
/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_49_2708.jpg
/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_52_2679.jpg
/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_54_2657.jpg
/home/pi/Desktop/images/30102025/12/46/image_30102025_12_46_58_3845.jpg
/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_01_2693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391849029","1391849031","1391849040","1391849034","1391849037","1391849027"],"photo_ids_order":["1391849027","1391849029","1391849031","1391849034","1391849037","1391849040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2d2fe9b67264caa862d4b62b09e10cf2.jpg","text":"TemporaryFile(/tmp/multipartBody4474097331644922585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094180664,"filename":"image_30102025_12_46_49_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/2/b978ed1ff579d4014531c6ddd71f317a.jpg","text":"TemporaryFile(/tmp/multipartBody3303566457725496359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094180664,"filename":"image_30102025_12_46_52_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/2/731ea2db2f9fcb6aada39845689114f5.jpg","text":"TemporaryFile(/tmp/multipartBody1315148367336622156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094180664,"filename":"image_30102025_12_47_01_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/2/af43e848c4d81377ae8ea7bb1cad78c6.jpg","text":"TemporaryFile(/tmp/multipartBody2800664706539908956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094180664,"filename":"image_30102025_12_46_54_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/2/935662d347870a05b54acac81f73beb6.jpg","text":"TemporaryFile(/tmp/multipartBody1897429556844963130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094180664,"filename":"image_30102025_12_46_58_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/2/0cb478f38bdf11acf3ad66e98a3c4889.jpg","text":"TemporaryFile(/tmp/multipartBody3780458932685021216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094180664,"filename":"image_30102025_12_46_46_3710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849031","file1":"1391849029","file0":"1391849027","file4":"1391849037","file5":"1391849040","file3":"1391849034"},"map_files_photo_id_array":[{"photo_id":"1391849040","filename":"file5"},{"photo_id":"1391849031","filename":"file2"},{"photo_id":"1391849037","filename":"file4"},{"photo_id":"1391849029","filename":"file1"},{"photo_id":"1391849027","filename":"file0"},{"photo_id":"1391849034","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849029":["hashtag1","hashtag2"]},{"1391849031":["hashtag1","hashtag2"]},{"1391849040":["hashtag1","hashtag2"]},{"1391849034":["hashtag1","hashtag2"]},{"1391849037":["hashtag1","hashtag2"]},{"1391849027":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849029, 1391849031, 1391849040, 1391849034, 1391849037, 1391849027)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 66.9148690700531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:36:24.591207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_03_2586.jpg', '/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_06_2824.jpg', '/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_10_3722.jpg', '/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_12_2551.jpg', '/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_16_3568.jpg', '/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_19_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/12/47/image_30102025_12_47_03_2586.jpg
/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_06_2824.jpg
/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_10_3722.jpg
/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_12_2551.jpg
/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_16_3568.jpg
/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_19_2747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391849077","1391849070","1391849064","1391849073","1391849067","1391849063"],"photo_ids_order":["1391849063","1391849064","1391849067","1391849070","1391849073","1391849077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b65ba06e7630597170a9a0883b775a86.jpg","text":"TemporaryFile(/tmp/multipartBody4125868658307664913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094254436,"filename":"image_30102025_12_47_19_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/2/588f9a8a85826435175850b1b0d784d5.jpg","text":"TemporaryFile(/tmp/multipartBody7346390801490554264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094254436,"filename":"image_30102025_12_47_12_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/2/08760ae2bb3f2227b6773eb84b8d4907.jpg","text":"TemporaryFile(/tmp/multipartBody4604239615205413763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094254436,"filename":"image_30102025_12_47_06_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/2/c0153f4c800d3b65f5c9d2e49e1b34c7.jpg","text":"TemporaryFile(/tmp/multipartBody1399333845653859521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094254436,"filename":"image_30102025_12_47_16_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/2/ce6d89c55d3833dc8091045ae7cf56ba.jpg","text":"TemporaryFile(/tmp/multipartBody7011914670155905055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094254436,"filename":"image_30102025_12_47_10_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/2/1243d707e3611f7fc4ee97a929dcd15d.jpg","text":"TemporaryFile(/tmp/multipartBody135069436723736542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094254436,"filename":"image_30102025_12_47_03_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849067","file1":"1391849064","file0":"1391849063","file4":"1391849073","file5":"1391849077","file3":"1391849070"},"map_files_photo_id_array":[{"photo_id":"1391849077","filename":"file5"},{"photo_id":"1391849067","filename":"file2"},{"photo_id":"1391849073","filename":"file4"},{"photo_id":"1391849064","filename":"file1"},{"photo_id":"1391849063","filename":"file0"},{"photo_id":"1391849070","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849077":["hashtag1","hashtag2"]},{"1391849070":["hashtag1","hashtag2"]},{"1391849064":["hashtag1","hashtag2"]},{"1391849073":["hashtag1","hashtag2"]},{"1391849067":["hashtag1","hashtag2"]},{"1391849063":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849077, 1391849070, 1391849064, 1391849073, 1391849067, 1391849063)","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 = 1391849067 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_10_3722.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 67.6795015335083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:37:42.273400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_21_2666.jpg', '/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_25_3608.jpg', '/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_28_2644.jpg', '/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_30_2838.jpg', '/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_33_2740.jpg', '/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_37_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/12/47/image_30102025_12_47_21_2666.jpg
/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_25_3608.jpg
/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_28_2644.jpg
/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_30_2838.jpg
/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_33_2740.jpg
/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_37_3604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391849113","1391849101","1391849103","1391849105","1391849108","1391849098"],"photo_ids_order":["1391849098","1391849101","1391849103","1391849105","1391849108","1391849113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4ef568bb56ceaf6d965ad9cac81ce022.jpg","text":"TemporaryFile(/tmp/multipartBody1829858648910809069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094323347,"filename":"image_30102025_12_47_37_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/2/cbfe632232e9d861409c4ffcc655a0ae.jpg","text":"TemporaryFile(/tmp/multipartBody5218109005475062925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094323347,"filename":"image_30102025_12_47_25_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/2/e94312cbebd1531663025e8d43b0bdf7.jpg","text":"TemporaryFile(/tmp/multipartBody8298191832560468345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094323347,"filename":"image_30102025_12_47_28_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/2/bff1d2d19471fa0c7ca49843ab284d23.jpg","text":"TemporaryFile(/tmp/multipartBody1187815076003855417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094323347,"filename":"image_30102025_12_47_30_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/2/5220584b1b625dc0c8919dce9f4051bd.jpg","text":"TemporaryFile(/tmp/multipartBody613598971072934702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094323347,"filename":"image_30102025_12_47_33_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/2/330cc6920136a017342548f07795721f.jpg","text":"TemporaryFile(/tmp/multipartBody2188181062714707790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094323347,"filename":"image_30102025_12_47_21_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849103","file1":"1391849101","file0":"1391849098","file4":"1391849108","file5":"1391849113","file3":"1391849105"},"map_files_photo_id_array":[{"photo_id":"1391849113","filename":"file5"},{"photo_id":"1391849103","filename":"file2"},{"photo_id":"1391849108","filename":"file4"},{"photo_id":"1391849101","filename":"file1"},{"photo_id":"1391849098","filename":"file0"},{"photo_id":"1391849105","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849113":["hashtag1","hashtag2"]},{"1391849101":["hashtag1","hashtag2"]},{"1391849103":["hashtag1","hashtag2"]},{"1391849105":["hashtag1","hashtag2"]},{"1391849108":["hashtag1","hashtag2"]},{"1391849098":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849113, 1391849101, 1391849103, 1391849105, 1391849108, 1391849098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.217631101608276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:38:22.575462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_40_2674.jpg', '/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_42_2619.jpg', '/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_46_3836.jpg', '/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_49_2794.jpg', '/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_51_2618.jpg', '/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_55_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/12/47/image_30102025_12_47_40_2674.jpg
/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_42_2619.jpg
/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_46_3836.jpg
/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_49_2794.jpg
/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_51_2618.jpg
/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_55_3674.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5447144508361816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:38:42.539018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_40_2674.jpg', '/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_42_2619.jpg', '/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_46_3836.jpg', '/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_49_2794.jpg', '/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_51_2618.jpg', '/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_55_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/12/47/image_30102025_12_47_40_2674.jpg
/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_42_2619.jpg
/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_46_3836.jpg
/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_49_2794.jpg
/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_51_2618.jpg
/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_55_3674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391849152","1391849146","1391849154","1391849156","1391849159","1391849138"],"photo_ids_order":["1391849138","1391849146","1391849152","1391849154","1391849156","1391849159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1bddc647c9817b54d1990f0603254323.jpg","text":"TemporaryFile(/tmp/multipartBody7338561468353950550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094383501,"filename":"image_30102025_12_47_46_3836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5868ee719ee3638cd46a37a4831fa075.jpg","text":"TemporaryFile(/tmp/multipartBody5241258211130588684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094383501,"filename":"image_30102025_12_47_42_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/2/02b8d76e71fd82dac9f99274bf530716.jpg","text":"TemporaryFile(/tmp/multipartBody3203678752155157490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094383501,"filename":"image_30102025_12_47_49_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/2/b788b2f7672ae7683d3a6418c82316ff.jpg","text":"TemporaryFile(/tmp/multipartBody7514216786479414894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094383501,"filename":"image_30102025_12_47_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/2/087ca97705c1748d328958546a8d5e0b.jpg","text":"TemporaryFile(/tmp/multipartBody9096742654724560049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094383501,"filename":"image_30102025_12_47_55_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/2/81f5042810009218e15e758e91b6a940.jpg","text":"TemporaryFile(/tmp/multipartBody5627479833439885754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094383501,"filename":"image_30102025_12_47_40_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849152","file1":"1391849146","file0":"1391849138","file4":"1391849156","file5":"1391849159","file3":"1391849154"},"map_files_photo_id_array":[{"photo_id":"1391849159","filename":"file5"},{"photo_id":"1391849152","filename":"file2"},{"photo_id":"1391849156","filename":"file4"},{"photo_id":"1391849146","filename":"file1"},{"photo_id":"1391849138","filename":"file0"},{"photo_id":"1391849154","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849152":["hashtag1","hashtag2"]},{"1391849146":["hashtag1","hashtag2"]},{"1391849154":["hashtag1","hashtag2"]},{"1391849156":["hashtag1","hashtag2"]},{"1391849159":["hashtag1","hashtag2"]},{"1391849138":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849152, 1391849146, 1391849154, 1391849156, 1391849159, 1391849138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.714292764663696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:39:22.653889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/47/image_30102025_12_47_58_2816.jpg', '/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_01_2697.jpg', '/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_03_2637.jpg', '/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_07_3796.jpg', '/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_10_2803.jpg', '/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_13_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/12/47/image_30102025_12_47_58_2816.jpg
/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_01_2697.jpg
/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_03_2637.jpg
/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_07_3796.jpg
/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_10_2803.jpg
/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_13_2715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391849179","1391849164","1391849175","1391849168","1391849171","1391849182"],"photo_ids_order":["1391849164","1391849168","1391849171","1391849175","1391849179","1391849182"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/718271aa85a95aae9431d9b9cd66490b.jpg","text":"TemporaryFile(/tmp/multipartBody6944052269196869959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094425330,"filename":"image_30102025_12_48_10_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/2/35c8a1433ff6a7ad6bf246241d08edc4.jpg","text":"TemporaryFile(/tmp/multipartBody5084222034327812311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094425330,"filename":"image_30102025_12_47_58_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/2/eabfb032774ad9cb9629af156fa9b5b5.jpg","text":"TemporaryFile(/tmp/multipartBody4016667538352940718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094425330,"filename":"image_30102025_12_48_07_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/2/b6ab9c9fa9341df26c736f2860b47a7a.jpg","text":"TemporaryFile(/tmp/multipartBody660051799531984054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094425330,"filename":"image_30102025_12_48_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/2/ad2c2fb021f66e02d65ed9e9f2ed305b.jpg","text":"TemporaryFile(/tmp/multipartBody423795019052958943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094425330,"filename":"image_30102025_12_48_03_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/2/86a491e18554b65a24ac8a81db11e394.jpg","text":"TemporaryFile(/tmp/multipartBody1501718934086342217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094425330,"filename":"image_30102025_12_48_13_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849171","file1":"1391849168","file0":"1391849164","file4":"1391849179","file5":"1391849182","file3":"1391849175"},"map_files_photo_id_array":[{"photo_id":"1391849182","filename":"file5"},{"photo_id":"1391849171","filename":"file2"},{"photo_id":"1391849179","filename":"file4"},{"photo_id":"1391849168","filename":"file1"},{"photo_id":"1391849164","filename":"file0"},{"photo_id":"1391849175","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849179":["hashtag1","hashtag2"]},{"1391849164":["hashtag1","hashtag2"]},{"1391849175":["hashtag1","hashtag2"]},{"1391849168":["hashtag1","hashtag2"]},{"1391849171":["hashtag1","hashtag2"]},{"1391849182":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849179, 1391849164, 1391849175, 1391849168, 1391849171, 1391849182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.298585414886475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 15:40:02.263855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_15_2583.jpg', '/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_19_3689.jpg', '/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_21_2635.jpg', '/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_24_2823.jpg', '/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_28_3737.jpg', '/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_31_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/12/48/image_30102025_12_48_15_2583.jpg
/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_19_3689.jpg
/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_21_2635.jpg
/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_24_2823.jpg
/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_28_3737.jpg
/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_31_2814.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391849194","1391849188","1391849209","1391849199","1391849204","1391849213"],"photo_ids_order":["1391849188","1391849194","1391849199","1391849204","1391849209","1391849213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bcf045eb689edcac8a98185fd0340d92.jpg","text":"TemporaryFile(/tmp/multipartBody4026928116355464879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094464326,"filename":"image_30102025_12_48_19_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/2/008158d7c3db7b8ab37b00a34079b060.jpg","text":"TemporaryFile(/tmp/multipartBody4694306324582406688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094464326,"filename":"image_30102025_12_48_15_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/2/c4e9b18ab8af0e4c583f7aced3a511c5.jpg","text":"TemporaryFile(/tmp/multipartBody9199655491099980563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094464326,"filename":"image_30102025_12_48_28_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/2/a21b87501baf3ab108fb082ffe61fae3.jpg","text":"TemporaryFile(/tmp/multipartBody9211410083183231687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094464326,"filename":"image_30102025_12_48_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/2/b75d9659c6db9afdb0e7287be2de9cb0.jpg","text":"TemporaryFile(/tmp/multipartBody7478553559859591192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094464326,"filename":"image_30102025_12_48_24_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/2/66b9bbf5a512ee5749fe676b4306e5b1.jpg","text":"TemporaryFile(/tmp/multipartBody7309133922722050019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094464326,"filename":"image_30102025_12_48_31_2814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849199","file1":"1391849194","file0":"1391849188","file4":"1391849209","file5":"1391849213","file3":"1391849204"},"map_files_photo_id_array":[{"photo_id":"1391849213","filename":"file5"},{"photo_id":"1391849199","filename":"file2"},{"photo_id":"1391849209","filename":"file4"},{"photo_id":"1391849194","filename":"file1"},{"photo_id":"1391849188","filename":"file0"},{"photo_id":"1391849204","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849194":["hashtag1","hashtag2"]},{"1391849188":["hashtag1","hashtag2"]},{"1391849209":["hashtag1","hashtag2"]},{"1391849199":["hashtag1","hashtag2"]},{"1391849204":["hashtag1","hashtag2"]},{"1391849213":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849194, 1391849188, 1391849209, 1391849199, 1391849204, 1391849213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32311797142029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:40:41.788897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_36_2631.jpg', '/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_40_3594.jpg', '/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_42_2570.jpg', '/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_46_3740.jpg', '/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_49_2627.jpg', '/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_51_2760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_36_2631.jpg
/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_40_3594.jpg
/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_42_2570.jpg
/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_46_3740.jpg
/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_49_2627.jpg
/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_51_2760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391849220","1391849223","1391849217","1391849231","1391849225","1391849228"],"photo_ids_order":["1391849217","1391849220","1391849223","1391849225","1391849228","1391849231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3f40eac681866afe890ec8b2d3b78085.jpg","text":"TemporaryFile(/tmp/multipartBody2677159938369855129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094502949,"filename":"image_30102025_12_48_40_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/2/a6f5539fb7549b9b9eef645340cdb0e6.jpg","text":"TemporaryFile(/tmp/multipartBody4972250033958878595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094502949,"filename":"image_30102025_12_48_42_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/2/c14a33d71f6e8c912d5148013b6b9e36.jpg","text":"TemporaryFile(/tmp/multipartBody7716421659256045132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094502949,"filename":"image_30102025_12_48_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/2/e35df4eaa99e2b17a5fc2d62aa3abc6e.jpg","text":"TemporaryFile(/tmp/multipartBody3326402843738718049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094502949,"filename":"image_30102025_12_48_51_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/2/272731b27940356ad75b32bc05178557.jpg","text":"TemporaryFile(/tmp/multipartBody1486164365776387379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094502949,"filename":"image_30102025_12_48_46_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/2/709c28791967deaa24adc72878bfba1e.jpg","text":"TemporaryFile(/tmp/multipartBody4724269411689629062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094502949,"filename":"image_30102025_12_48_49_2627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849223","file1":"1391849220","file0":"1391849217","file4":"1391849228","file5":"1391849231","file3":"1391849225"},"map_files_photo_id_array":[{"photo_id":"1391849231","filename":"file5"},{"photo_id":"1391849223","filename":"file2"},{"photo_id":"1391849228","filename":"file4"},{"photo_id":"1391849220","filename":"file1"},{"photo_id":"1391849217","filename":"file0"},{"photo_id":"1391849225","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849220":["hashtag1","hashtag2"]},{"1391849223":["hashtag1","hashtag2"]},{"1391849217":["hashtag1","hashtag2"]},{"1391849231":["hashtag1","hashtag2"]},{"1391849225":["hashtag1","hashtag2"]},{"1391849228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849220, 1391849223, 1391849217, 1391849231, 1391849225, 1391849228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.513062715530396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:41:21.966241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_54_2656.jpg', '/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_58_3600.jpg', '/home/pi/Desktop/images/30102025/12/48/image_30102025_12_49_00_2693.jpg', '/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_03_2823.jpg', '/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_07_3596.jpg', '/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_09_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/12/48/image_30102025_12_48_54_2656.jpg
/home/pi/Desktop/images/30102025/12/48/image_30102025_12_48_58_3600.jpg
/home/pi/Desktop/images/30102025/12/48/image_30102025_12_49_00_2693.jpg
/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_03_2823.jpg
/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_07_3596.jpg
/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_09_2723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391849251","1391849239","1391849247","1391849264","1391849243","1391849237"],"photo_ids_order":["1391849237","1391849239","1391849243","1391849247","1391849251","1391849264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cfc6b7d5a6ddbbf26ac88e5ae9a01350.jpg","text":"TemporaryFile(/tmp/multipartBody5451940220218133295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094544545,"filename":"image_30102025_12_49_07_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/2/cd9742e1b4eecbbddb348c74baf9eb87.jpg","text":"TemporaryFile(/tmp/multipartBody4160040245922481880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094544545,"filename":"image_30102025_12_48_58_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/2/4988e1e742bed13470bdd1ea784be7ce.jpg","text":"TemporaryFile(/tmp/multipartBody3391335028855854792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094544545,"filename":"image_30102025_12_49_03_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/2/62fe78493c1ce9f20da7f45e4d6c8b6c.jpg","text":"TemporaryFile(/tmp/multipartBody8911156201996164433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094544545,"filename":"image_30102025_12_49_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/2/bbb95696d999c68f16b7e4b0b9338bb6.jpg","text":"TemporaryFile(/tmp/multipartBody7039981097959845997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094544545,"filename":"image_30102025_12_49_00_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/2/a96830f70bf8da563a786ffe46034bd1.jpg","text":"TemporaryFile(/tmp/multipartBody2871841821134256056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094544545,"filename":"image_30102025_12_48_54_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849243","file1":"1391849239","file0":"1391849237","file4":"1391849251","file5":"1391849264","file3":"1391849247"},"map_files_photo_id_array":[{"photo_id":"1391849264","filename":"file5"},{"photo_id":"1391849243","filename":"file2"},{"photo_id":"1391849251","filename":"file4"},{"photo_id":"1391849239","filename":"file1"},{"photo_id":"1391849237","filename":"file0"},{"photo_id":"1391849247","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849251":["hashtag1","hashtag2"]},{"1391849239":["hashtag1","hashtag2"]},{"1391849247":["hashtag1","hashtag2"]},{"1391849264":["hashtag1","hashtag2"]},{"1391849243":["hashtag1","hashtag2"]},{"1391849237":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849251, 1391849239, 1391849247, 1391849264, 1391849243, 1391849237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23274493217468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 15:42:02.628573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_12_2705.jpg', '/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_16_3631.jpg', '/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_18_2737.jpg', '/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_21_2664.jpg', '/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_25_3724.jpg', '/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_28_2788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_12_2705.jpg
/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_16_3631.jpg
/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_18_2737.jpg
/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_21_2664.jpg
/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_25_3724.jpg
/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_28_2788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391849278","1391849274","1391849271","1391849288","1391849267","1391849282"],"photo_ids_order":["1391849267","1391849271","1391849274","1391849278","1391849282","1391849288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ad0faf4d73517c2801ca929350dc822a.jpg","text":"TemporaryFile(/tmp/multipartBody4767554391255029425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094584673,"filename":"image_30102025_12_49_21_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/2/839992846d41bcbbf8cf31076137bb22.jpg","text":"TemporaryFile(/tmp/multipartBody6153931273253166965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094584673,"filename":"image_30102025_12_49_18_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/2/3e000dcfdf1b08797a229afc0954fb95.jpg","text":"TemporaryFile(/tmp/multipartBody7280846908848339054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094584673,"filename":"image_30102025_12_49_16_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/2/a06fed8f86ce6deff1d720bd5fd6ec18.jpg","text":"TemporaryFile(/tmp/multipartBody4129809869565146583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094584673,"filename":"image_30102025_12_49_28_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/2/879b9c48969ae122504f6796a22c4409.jpg","text":"TemporaryFile(/tmp/multipartBody2126033078348645938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094584673,"filename":"image_30102025_12_49_12_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/2/874f49f82b09fffa3ee128117613d909.jpg","text":"TemporaryFile(/tmp/multipartBody8489582102249607939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094584673,"filename":"image_30102025_12_49_25_3724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849274","file1":"1391849271","file0":"1391849267","file4":"1391849282","file5":"1391849288","file3":"1391849278"},"map_files_photo_id_array":[{"photo_id":"1391849288","filename":"file5"},{"photo_id":"1391849274","filename":"file2"},{"photo_id":"1391849282","filename":"file4"},{"photo_id":"1391849271","filename":"file1"},{"photo_id":"1391849267","filename":"file0"},{"photo_id":"1391849278","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849278":["hashtag1","hashtag2"]},{"1391849274":["hashtag1","hashtag2"]},{"1391849271":["hashtag1","hashtag2"]},{"1391849288":["hashtag1","hashtag2"]},{"1391849267":["hashtag1","hashtag2"]},{"1391849282":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849278, 1391849274, 1391849271, 1391849288, 1391849267, 1391849282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4972357749939 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:42:42.195529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_30_2772.jpg', '/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_33_2707.jpg', '/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_37_3660.jpg', '/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_40_2759.jpg', '/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_42_2781.jpg', '/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_45_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_30_2772.jpg
/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_33_2707.jpg
/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_37_3660.jpg
/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_40_2759.jpg
/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_42_2781.jpg
/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_45_2614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391849299","1391849302","1391849295","1391849297","1391849304","1391849306"],"photo_ids_order":["1391849295","1391849297","1391849299","1391849302","1391849304","1391849306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cbcfb03f387ce9c199458a2514fca167.jpg","text":"TemporaryFile(/tmp/multipartBody2289767857116029287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094623302,"filename":"image_30102025_12_49_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/2/eaedb76bf6b83a61e12b5f27083a8f4e.jpg","text":"TemporaryFile(/tmp/multipartBody5465925150937380208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094623302,"filename":"image_30102025_12_49_40_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/2/e4d2b8c5db8e4890e0c51ecc8087bf8a.jpg","text":"TemporaryFile(/tmp/multipartBody3558447475194870180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094623302,"filename":"image_30102025_12_49_30_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/2/ebe7458f9a998e63cd25f50f0b81cca7.jpg","text":"TemporaryFile(/tmp/multipartBody4124434452340120093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094623302,"filename":"image_30102025_12_49_33_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/2/55fe890a8856ed3f04dbe4c263b28e0c.jpg","text":"TemporaryFile(/tmp/multipartBody4171757518618687522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094623302,"filename":"image_30102025_12_49_42_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/2/1ebd5eeeca4d6421216b58ba5b0759fe.jpg","text":"TemporaryFile(/tmp/multipartBody7848024950453100167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094623302,"filename":"image_30102025_12_49_45_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849299","file1":"1391849297","file0":"1391849295","file4":"1391849304","file5":"1391849306","file3":"1391849302"},"map_files_photo_id_array":[{"photo_id":"1391849306","filename":"file5"},{"photo_id":"1391849299","filename":"file2"},{"photo_id":"1391849304","filename":"file4"},{"photo_id":"1391849297","filename":"file1"},{"photo_id":"1391849295","filename":"file0"},{"photo_id":"1391849302","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849299":["hashtag1","hashtag2"]},{"1391849302":["hashtag1","hashtag2"]},{"1391849295":["hashtag1","hashtag2"]},{"1391849297":["hashtag1","hashtag2"]},{"1391849304":["hashtag1","hashtag2"]},{"1391849306":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849299, 1391849302, 1391849295, 1391849297, 1391849304, 1391849306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58191227912903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:43:22.349269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_49_3710.jpg', '/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_51_2779.jpg', '/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_54_2524.jpg', '/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_58_3605.jpg', '/home/pi/Desktop/images/30102025/12/49/image_30102025_12_50_00_2563.jpg', '/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_04_3602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_49_3710.jpg
/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_51_2779.jpg
/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_54_2524.jpg
/home/pi/Desktop/images/30102025/12/49/image_30102025_12_49_58_3605.jpg
/home/pi/Desktop/images/30102025/12/49/image_30102025_12_50_00_2563.jpg
/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_04_3602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391849323","1391849317","1391849319","1391849313","1391849316","1391849315"],"photo_ids_order":["1391849313","1391849315","1391849316","1391849317","1391849319","1391849323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0d926cc2de07336a13125477f5aff6d9.jpg","text":"TemporaryFile(/tmp/multipartBody7511374608837315483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094664946,"filename":"image_30102025_12_50_04_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/2/88b861e85b225696f210816bcff06fa3.jpg","text":"TemporaryFile(/tmp/multipartBody5721458872509237722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094664946,"filename":"image_30102025_12_49_58_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/2/b81806a5ac05f69f2b8870675b0d860a.jpg","text":"TemporaryFile(/tmp/multipartBody9106587798935714128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094664946,"filename":"image_30102025_12_50_00_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/2/800dd4903bd6d7079c821e903917f9d0.jpg","text":"TemporaryFile(/tmp/multipartBody709036899879292688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094664946,"filename":"image_30102025_12_49_49_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/2/3d02b2e3d75722bc79e91c9512961c9d.jpg","text":"TemporaryFile(/tmp/multipartBody1209499534504343608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094664946,"filename":"image_30102025_12_49_54_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4b14d5cdd237d248b50ab8d5504f0189.jpg","text":"TemporaryFile(/tmp/multipartBody1366576733869257426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094664946,"filename":"image_30102025_12_49_51_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849316","file1":"1391849315","file0":"1391849313","file4":"1391849319","file5":"1391849323","file3":"1391849317"},"map_files_photo_id_array":[{"photo_id":"1391849323","filename":"file5"},{"photo_id":"1391849316","filename":"file2"},{"photo_id":"1391849319","filename":"file4"},{"photo_id":"1391849315","filename":"file1"},{"photo_id":"1391849313","filename":"file0"},{"photo_id":"1391849317","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849323":["hashtag1","hashtag2"]},{"1391849317":["hashtag1","hashtag2"]},{"1391849319":["hashtag1","hashtag2"]},{"1391849313":["hashtag1","hashtag2"]},{"1391849316":["hashtag1","hashtag2"]},{"1391849315":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849323, 1391849317, 1391849319, 1391849313, 1391849316, 1391849315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.799668312072754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 15:44:02.700249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_07_2848.jpg', '/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_09_2595.jpg', '/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_12_2855.jpg', '/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_16_3782.jpg', '/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_19_2712.jpg', '/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_21_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/12/50/image_30102025_12_50_07_2848.jpg
/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_09_2595.jpg
/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_12_2855.jpg
/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_16_3782.jpg
/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_19_2712.jpg
/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_21_2727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391849335","1391849338","1391849343","1391849337","1391849340","1391849333"],"photo_ids_order":["1391849333","1391849335","1391849337","1391849338","1391849340","1391849343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/228ad42755aeab1ec51d68382c75e180.jpg","text":"TemporaryFile(/tmp/multipartBody1973538078776460767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094704826,"filename":"image_30102025_12_50_09_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/2/09c8db74bb73dba09e3669222e3b4a65.jpg","text":"TemporaryFile(/tmp/multipartBody8432739687431499305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094704826,"filename":"image_30102025_12_50_16_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/2/c51ed1b8397a5ce9ecab4adfaf8552ac.jpg","text":"TemporaryFile(/tmp/multipartBody5810944654822759076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094704826,"filename":"image_30102025_12_50_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/2/95a3dbe7f5c007d6ec3efca0299bc757.jpg","text":"TemporaryFile(/tmp/multipartBody2642566611134751214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094704826,"filename":"image_30102025_12_50_12_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/2/b577875263980fe127a4b511d519719a.jpg","text":"TemporaryFile(/tmp/multipartBody8168994075345077676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094704826,"filename":"image_30102025_12_50_19_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/2/1edf902be1ff214b39c0f28fd8a7da23.jpg","text":"TemporaryFile(/tmp/multipartBody6639417094061716288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094704826,"filename":"image_30102025_12_50_07_2848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849337","file1":"1391849335","file0":"1391849333","file4":"1391849340","file5":"1391849343","file3":"1391849338"},"map_files_photo_id_array":[{"photo_id":"1391849343","filename":"file5"},{"photo_id":"1391849337","filename":"file2"},{"photo_id":"1391849340","filename":"file4"},{"photo_id":"1391849335","filename":"file1"},{"photo_id":"1391849333","filename":"file0"},{"photo_id":"1391849338","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849335":["hashtag1","hashtag2"]},{"1391849338":["hashtag1","hashtag2"]},{"1391849343":["hashtag1","hashtag2"]},{"1391849337":["hashtag1","hashtag2"]},{"1391849340":["hashtag1","hashtag2"]},{"1391849333":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849335, 1391849338, 1391849343, 1391849337, 1391849340, 1391849333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80295252799988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:44:42.042287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_24_2619.jpg', '/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_28_3682.jpg', '/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_30_2793.jpg', '/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_33_2712.jpg', '/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_42_2602.jpg', '/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_45_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/12/50/image_30102025_12_50_24_2619.jpg
/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_28_3682.jpg
/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_30_2793.jpg
/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_33_2712.jpg
/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_42_2602.jpg
/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_45_2689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391849371","1391849374","1391849355","1391849370","1391849369","1391849363"],"photo_ids_order":["1391849355","1391849363","1391849369","1391849370","1391849371","1391849374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a31edd1a12cf4f8ebf0e33f4fd1929d3.jpg","text":"TemporaryFile(/tmp/multipartBody2796959863621369617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094743193,"filename":"image_30102025_12_50_42_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/2/d64c94511d04aa1732b9725e90e608a1.jpg","text":"TemporaryFile(/tmp/multipartBody5280409638302889533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094743193,"filename":"image_30102025_12_50_45_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/2/a8993f4dc26393a5ca07068dd03041a2.jpg","text":"TemporaryFile(/tmp/multipartBody9114715773801806672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094743193,"filename":"image_30102025_12_50_24_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/2/26052edb559a1145894abb892868b4fb.jpg","text":"TemporaryFile(/tmp/multipartBody9179154204044760471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094743193,"filename":"image_30102025_12_50_33_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/2/a2b0f2772c6c6514cef36559bcbdc4ba.jpg","text":"TemporaryFile(/tmp/multipartBody228953346138269193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094743193,"filename":"image_30102025_12_50_30_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/2/53a66ff82a2403eaa56f2ef1c92b3b00.jpg","text":"TemporaryFile(/tmp/multipartBody3623726659326859040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094743193,"filename":"image_30102025_12_50_28_3682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849369","file1":"1391849363","file0":"1391849355","file4":"1391849371","file5":"1391849374","file3":"1391849370"},"map_files_photo_id_array":[{"photo_id":"1391849374","filename":"file5"},{"photo_id":"1391849369","filename":"file2"},{"photo_id":"1391849371","filename":"file4"},{"photo_id":"1391849363","filename":"file1"},{"photo_id":"1391849355","filename":"file0"},{"photo_id":"1391849370","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849371":["hashtag1","hashtag2"]},{"1391849374":["hashtag1","hashtag2"]},{"1391849355":["hashtag1","hashtag2"]},{"1391849370":["hashtag1","hashtag2"]},{"1391849369":["hashtag1","hashtag2"]},{"1391849363":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849371, 1391849374, 1391849355, 1391849370, 1391849369, 1391849363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37927985191345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:45:22.271771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_49_3844.jpg', '/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_52_2850.jpg', '/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_54_2704.jpg', '/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_57_2571.jpg', '/home/pi/Desktop/images/30102025/12/50/image_30102025_12_51_00_2995.jpg', '/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_04_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/12/50/image_30102025_12_50_49_3844.jpg
/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_52_2850.jpg
/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_54_2704.jpg
/home/pi/Desktop/images/30102025/12/50/image_30102025_12_50_57_2571.jpg
/home/pi/Desktop/images/30102025/12/50/image_30102025_12_51_00_2995.jpg
/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_04_3726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391849383","1391849392","1391849386","1391849388","1391849397","1391849384"],"photo_ids_order":["1391849383","1391849384","1391849386","1391849388","1391849392","1391849397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7b85cd3ecf2fd26ce6f6437f3b413149.jpg","text":"TemporaryFile(/tmp/multipartBody8725649557084729979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094786960,"filename":"image_30102025_12_50_49_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/2/c308b64905d35d7419c7f77b3b911854.jpg","text":"TemporaryFile(/tmp/multipartBody2857642658139607899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094786960,"filename":"image_30102025_12_51_00_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/2/5f7b44ade6ebd63eca06b2e58f5b8006.jpg","text":"TemporaryFile(/tmp/multipartBody7103208032395856839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094786960,"filename":"image_30102025_12_50_54_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/2/3991db3377764e58fabae609e6b50d36.jpg","text":"TemporaryFile(/tmp/multipartBody7983981006889041256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094786960,"filename":"image_30102025_12_50_57_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/2/2a8c373d73b1f59420288baea9388ddd.jpg","text":"TemporaryFile(/tmp/multipartBody7282494512800815880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094786960,"filename":"image_30102025_12_51_04_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/2/4d1be5cbaad3f29f5b6edd405cb5a39c.jpg","text":"TemporaryFile(/tmp/multipartBody5536258165264957971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094786960,"filename":"image_30102025_12_50_52_2850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849386","file1":"1391849384","file0":"1391849383","file4":"1391849392","file5":"1391849397","file3":"1391849388"},"map_files_photo_id_array":[{"photo_id":"1391849397","filename":"file5"},{"photo_id":"1391849386","filename":"file2"},{"photo_id":"1391849392","filename":"file4"},{"photo_id":"1391849384","filename":"file1"},{"photo_id":"1391849383","filename":"file0"},{"photo_id":"1391849388","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849383":["hashtag1","hashtag2"]},{"1391849392":["hashtag1","hashtag2"]},{"1391849386":["hashtag1","hashtag2"]},{"1391849388":["hashtag1","hashtag2"]},{"1391849397":["hashtag1","hashtag2"]},{"1391849384":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849383, 1391849392, 1391849386, 1391849388, 1391849397, 1391849384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32477402687073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:46:22.438853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_06_2721.jpg', '/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_09_2688.jpg', '/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_13_3562.jpg', '/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_15_2775.jpg', '/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_18_2730.jpg', '/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_25_3713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_06_2721.jpg
/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_09_2688.jpg
/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_13_3562.jpg
/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_15_2775.jpg
/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_18_2730.jpg
/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_25_3713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391849443","1391849440","1391849448","1391849445","1391849427","1391849415"],"photo_ids_order":["1391849415","1391849427","1391849440","1391849443","1391849445","1391849448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0b1665fbb19f2750078554a803fbe887.jpg","text":"TemporaryFile(/tmp/multipartBody6737112480375549083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094845070,"filename":"image_30102025_12_51_15_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/2/4d6c1f363c363c238372869c27a20e17.jpg","text":"TemporaryFile(/tmp/multipartBody7892892069274659634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094845070,"filename":"image_30102025_12_51_13_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/2/71f7710f28d035a1705934934390e7d5.jpg","text":"TemporaryFile(/tmp/multipartBody8724541657236894301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094845070,"filename":"image_30102025_12_51_25_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/2/e49410cbb0d68e6e44eaa395f525567e.jpg","text":"TemporaryFile(/tmp/multipartBody7106707419830576178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094845070,"filename":"image_30102025_12_51_18_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/2/4dac16ddf3000fa578eba004db75eaa8.jpg","text":"TemporaryFile(/tmp/multipartBody6169560867738844655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094845070,"filename":"image_30102025_12_51_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/2/ae6a95c1cfa9e071f1241a5af9609e1e.jpg","text":"TemporaryFile(/tmp/multipartBody1246940899315561317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094845070,"filename":"image_30102025_12_51_06_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849440","file1":"1391849427","file0":"1391849415","file4":"1391849445","file5":"1391849448","file3":"1391849443"},"map_files_photo_id_array":[{"photo_id":"1391849448","filename":"file5"},{"photo_id":"1391849440","filename":"file2"},{"photo_id":"1391849445","filename":"file4"},{"photo_id":"1391849427","filename":"file1"},{"photo_id":"1391849415","filename":"file0"},{"photo_id":"1391849443","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849443":["hashtag1","hashtag2"]},{"1391849440":["hashtag1","hashtag2"]},{"1391849448":["hashtag1","hashtag2"]},{"1391849445":["hashtag1","hashtag2"]},{"1391849427":["hashtag1","hashtag2"]},{"1391849415":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849443, 1391849440, 1391849448, 1391849445, 1391849427, 1391849415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.704938888549805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 15:47:03.277003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_28_3015.jpg', '/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_30_2579.jpg', '/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_36_3617.jpg', '/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_39_2603.jpg', '/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_42_2943.jpg', '/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_45_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/12/51/image_30102025_12_51_28_3015.jpg
/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_30_2579.jpg
/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_36_3617.jpg
/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_39_2603.jpg
/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_42_2943.jpg
/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_45_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":["1391849461","1391849470","1391849464","1391849467","1391849457","1391849474"],"photo_ids_order":["1391849457","1391849461","1391849464","1391849467","1391849470","1391849474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/281087b06a8d769ce8fac78757ee6881.jpg","text":"TemporaryFile(/tmp/multipartBody5612138729624608385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094885492,"filename":"image_30102025_12_51_30_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/2/5bb5f7fdc858b0d0436115cd43a6867c.jpg","text":"TemporaryFile(/tmp/multipartBody4327276014790259936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094885492,"filename":"image_30102025_12_51_42_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/2/893af17d7773fbd191ad5ccd97a9c1be.jpg","text":"TemporaryFile(/tmp/multipartBody8488191337300495028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094885492,"filename":"image_30102025_12_51_36_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/2/65dbf215c715e624fa0689b5b1769e5d.jpg","text":"TemporaryFile(/tmp/multipartBody5965196915983601178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094885492,"filename":"image_30102025_12_51_39_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/2/aba313b2be0e64483a3f5febe6568c69.jpg","text":"TemporaryFile(/tmp/multipartBody8552994202214497224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094885492,"filename":"image_30102025_12_51_28_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/2/8d4d8c8e5029455f3960cc2f3865844c.jpg","text":"TemporaryFile(/tmp/multipartBody3935254296817372591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094885492,"filename":"image_30102025_12_51_45_2743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849464","file1":"1391849461","file0":"1391849457","file4":"1391849470","file5":"1391849474","file3":"1391849467"},"map_files_photo_id_array":[{"photo_id":"1391849474","filename":"file5"},{"photo_id":"1391849464","filename":"file2"},{"photo_id":"1391849470","filename":"file4"},{"photo_id":"1391849461","filename":"file1"},{"photo_id":"1391849457","filename":"file0"},{"photo_id":"1391849467","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849461":["hashtag1","hashtag2"]},{"1391849470":["hashtag1","hashtag2"]},{"1391849464":["hashtag1","hashtag2"]},{"1391849467":["hashtag1","hashtag2"]},{"1391849457":["hashtag1","hashtag2"]},{"1391849474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849461, 1391849470, 1391849464, 1391849467, 1391849457, 1391849474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.720717906951904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 15:48:03.282602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_48_3682.jpg', '/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_51_2641.jpg', '/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_54_2800.jpg', '/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_57_3647.jpg', '/home/pi/Desktop/images/30102025/12/51/image_30102025_12_52_00_2823.jpg', '/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_03_2904.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_48_3682.jpg
/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_51_2641.jpg
/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_54_2800.jpg
/home/pi/Desktop/images/30102025/12/51/image_30102025_12_51_57_3647.jpg
/home/pi/Desktop/images/30102025/12/51/image_30102025_12_52_00_2823.jpg
/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_03_2904.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391849557","1391849551","1391849554","1391849548","1391849544","1391849546"],"photo_ids_order":["1391849544","1391849546","1391849548","1391849551","1391849554","1391849557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ca89eb9a268ecbac3301f1341e9b6255.jpg","text":"TemporaryFile(/tmp/multipartBody220316174485376517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094945386,"filename":"image_30102025_12_52_03_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/2/7111fdb4599167aa2fa3db3944f8a371.jpg","text":"TemporaryFile(/tmp/multipartBody2378867178839981725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094945386,"filename":"image_30102025_12_51_57_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/2/3f451b906c5365329774869f13b7c00d.jpg","text":"TemporaryFile(/tmp/multipartBody1183601116506435553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094945386,"filename":"image_30102025_12_52_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/2/a90dc12c19df336ffa2fd55f4653c651.jpg","text":"TemporaryFile(/tmp/multipartBody6519685267742874423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094945386,"filename":"image_30102025_12_51_54_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/2/67be91eade80056c81fad3d234118786.jpg","text":"TemporaryFile(/tmp/multipartBody1200600992541779281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094945386,"filename":"image_30102025_12_51_48_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/2/efe85b42ac920f56e97d7f248d59bf55.jpg","text":"TemporaryFile(/tmp/multipartBody7897106490875365361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094945386,"filename":"image_30102025_12_51_51_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849548","file1":"1391849546","file0":"1391849544","file4":"1391849554","file5":"1391849557","file3":"1391849551"},"map_files_photo_id_array":[{"photo_id":"1391849557","filename":"file5"},{"photo_id":"1391849548","filename":"file2"},{"photo_id":"1391849554","filename":"file4"},{"photo_id":"1391849546","filename":"file1"},{"photo_id":"1391849544","filename":"file0"},{"photo_id":"1391849551","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849557":["hashtag1","hashtag2"]},{"1391849551":["hashtag1","hashtag2"]},{"1391849554":["hashtag1","hashtag2"]},{"1391849548":["hashtag1","hashtag2"]},{"1391849544":["hashtag1","hashtag2"]},{"1391849546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849557, 1391849551, 1391849554, 1391849548, 1391849544, 1391849546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51827311515808 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:48:42.780787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_06_2542.jpg', '/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_12_2755.jpg', '/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_15_2673.jpg', '/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_21_2726.jpg', '/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_24_2666.jpg', '/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_27_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/12/52/image_30102025_12_52_06_2542.jpg
/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_12_2755.jpg
/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_15_2673.jpg
/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_21_2726.jpg
/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_24_2666.jpg
/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_27_3571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391849575","1391849560","1391849572","1391849565","1391849568","1391849562"],"photo_ids_order":["1391849560","1391849562","1391849565","1391849568","1391849572","1391849575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ffea76d0a517f8cd4e438b0eee05f831.jpg","text":"TemporaryFile(/tmp/multipartBody4884788626035835401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094983886,"filename":"image_30102025_12_52_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/2/e34aa00743864f57e187f3991da56758.jpg","text":"TemporaryFile(/tmp/multipartBody1623518753081842900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094983886,"filename":"image_30102025_12_52_06_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/2/629eb6ca7e952b87bb5b162b3febe1fe.jpg","text":"TemporaryFile(/tmp/multipartBody12596138713411071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094983886,"filename":"image_30102025_12_52_24_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/2/3150ec882c12b2a8b9707efd80372b14.jpg","text":"TemporaryFile(/tmp/multipartBody1038242751837154245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094983886,"filename":"image_30102025_12_52_15_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/2/2c629e6c64c85317a6aca785b6191e52.jpg","text":"TemporaryFile(/tmp/multipartBody4708833352326177528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094983886,"filename":"image_30102025_12_52_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/2/3768f19e326976d449e355c1f59a7b7c.jpg","text":"TemporaryFile(/tmp/multipartBody4677216774489297852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762094983886,"filename":"image_30102025_12_52_12_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849565","file1":"1391849562","file0":"1391849560","file4":"1391849572","file5":"1391849575","file3":"1391849568"},"map_files_photo_id_array":[{"photo_id":"1391849575","filename":"file5"},{"photo_id":"1391849565","filename":"file2"},{"photo_id":"1391849572","filename":"file4"},{"photo_id":"1391849562","filename":"file1"},{"photo_id":"1391849560","filename":"file0"},{"photo_id":"1391849568","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849575":["hashtag1","hashtag2"]},{"1391849560":["hashtag1","hashtag2"]},{"1391849572":["hashtag1","hashtag2"]},{"1391849565":["hashtag1","hashtag2"]},{"1391849568":["hashtag1","hashtag2"]},{"1391849562":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849575, 1391849560, 1391849572, 1391849565, 1391849568, 1391849562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58979511260986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:49:21.906597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_30_2675.jpg', '/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_33_2677.jpg', '/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_36_2890.jpg', '/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_39_3726.jpg', '/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_42_2661.jpg', '/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_45_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/12/52/image_30102025_12_52_30_2675.jpg
/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_33_2677.jpg
/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_36_2890.jpg
/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_39_3726.jpg
/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_42_2661.jpg
/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_45_2666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391849581","1391849592","1391849597","1391849585","1391849588","1391849600"],"photo_ids_order":["1391849581","1391849585","1391849588","1391849592","1391849597","1391849600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5765c138b20c72b8e1a0a3a317eddf8a.jpg","text":"TemporaryFile(/tmp/multipartBody7154987870526700779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095024538,"filename":"image_30102025_12_52_30_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/2/7b6a8967ec16fadefe050adaea47b4ec.jpg","text":"TemporaryFile(/tmp/multipartBody1455084060107971697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095024538,"filename":"image_30102025_12_52_39_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/2/4a5fdfeba2ac90fe8b6d7a4d4c10e02b.jpg","text":"TemporaryFile(/tmp/multipartBody7700626348685155996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095024538,"filename":"image_30102025_12_52_42_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/2/835d242bf3ed79326473a738dd690d0d.jpg","text":"TemporaryFile(/tmp/multipartBody2521415261265019759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095024538,"filename":"image_30102025_12_52_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/2/670c7b33b611be820a07ae586abf5488.jpg","text":"TemporaryFile(/tmp/multipartBody5813309596721798929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095024538,"filename":"image_30102025_12_52_36_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/2/f60910888067c2e7b987e49130f28a35.jpg","text":"TemporaryFile(/tmp/multipartBody7816235424230819976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095024538,"filename":"image_30102025_12_52_45_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849588","file1":"1391849585","file0":"1391849581","file4":"1391849597","file5":"1391849600","file3":"1391849592"},"map_files_photo_id_array":[{"photo_id":"1391849600","filename":"file5"},{"photo_id":"1391849588","filename":"file2"},{"photo_id":"1391849597","filename":"file4"},{"photo_id":"1391849585","filename":"file1"},{"photo_id":"1391849581","filename":"file0"},{"photo_id":"1391849592","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849581":["hashtag1","hashtag2"]},{"1391849592":["hashtag1","hashtag2"]},{"1391849597":["hashtag1","hashtag2"]},{"1391849585":["hashtag1","hashtag2"]},{"1391849588":["hashtag1","hashtag2"]},{"1391849600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849581, 1391849592, 1391849597, 1391849585, 1391849588, 1391849600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71654725074768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 15:50:02.691091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_48_3609.jpg', '/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_51_2738.jpg', '/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_54_2710.jpg', '/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_57_2746.jpg', '/home/pi/Desktop/images/30102025/12/52/image_30102025_12_53_00_3680.jpg', '/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_03_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/12/52/image_30102025_12_52_48_3609.jpg
/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_51_2738.jpg
/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_54_2710.jpg
/home/pi/Desktop/images/30102025/12/52/image_30102025_12_52_57_2746.jpg
/home/pi/Desktop/images/30102025/12/52/image_30102025_12_53_00_3680.jpg
/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_03_2826.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391849606","1391849614","1391849602","1391849625","1391849610","1391849621"],"photo_ids_order":["1391849602","1391849606","1391849610","1391849614","1391849621","1391849625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1ff4672e461460368c81ceca723e33e7.jpg","text":"TemporaryFile(/tmp/multipartBody3994983180023999916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095064765,"filename":"image_30102025_12_52_51_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/2/3802f11e822de7a0bdba2776db83eaf5.jpg","text":"TemporaryFile(/tmp/multipartBody6577548638696936035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095064765,"filename":"image_30102025_12_52_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/2/29cfd17b78956a3f2f874a0e9d49f794.jpg","text":"TemporaryFile(/tmp/multipartBody1848107700299585515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095064765,"filename":"image_30102025_12_52_48_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/2/18a95161e71798c809604c3d9e863395.jpg","text":"TemporaryFile(/tmp/multipartBody854142038392433947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095064765,"filename":"image_30102025_12_53_03_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/2/495ec9ae8ff60d1fa7b776faf17b67ff.jpg","text":"TemporaryFile(/tmp/multipartBody2395541834701750307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095064765,"filename":"image_30102025_12_52_54_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/2/9328c1840fc1383d92e7415ad846df3e.jpg","text":"TemporaryFile(/tmp/multipartBody8939493806491140217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095064765,"filename":"image_30102025_12_53_00_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849610","file1":"1391849606","file0":"1391849602","file4":"1391849621","file5":"1391849625","file3":"1391849614"},"map_files_photo_id_array":[{"photo_id":"1391849625","filename":"file5"},{"photo_id":"1391849610","filename":"file2"},{"photo_id":"1391849621","filename":"file4"},{"photo_id":"1391849606","filename":"file1"},{"photo_id":"1391849602","filename":"file0"},{"photo_id":"1391849614","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849606":["hashtag1","hashtag2"]},{"1391849614":["hashtag1","hashtag2"]},{"1391849602":["hashtag1","hashtag2"]},{"1391849625":["hashtag1","hashtag2"]},{"1391849610":["hashtag1","hashtag2"]},{"1391849621":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849606, 1391849614, 1391849602, 1391849625, 1391849610, 1391849621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.066688537597656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:50:42.125311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_06_2857.jpg', '/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_10_3594.jpg', '/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_12_2643.jpg', '/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_15_3026.jpg', '/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_18_2755.jpg', '/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_22_3568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_06_2857.jpg
/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_10_3594.jpg
/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_12_2643.jpg
/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_15_3026.jpg
/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_18_2755.jpg
/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_22_3568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391849635","1391849647","1391849643","1391849657","1391849651","1391849654"],"photo_ids_order":["1391849635","1391849643","1391849647","1391849651","1391849654","1391849657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1780a35b8a1e4e0f11c6aa892cb5820b.jpg","text":"TemporaryFile(/tmp/multipartBody2267669083804119123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095103241,"filename":"image_30102025_12_53_06_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/2/fe539d26d272c47c75b7003882d6f151.jpg","text":"TemporaryFile(/tmp/multipartBody4512271170985462621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095103241,"filename":"image_30102025_12_53_12_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/2/321ffdeef1862900a9dffede4a9923cb.jpg","text":"TemporaryFile(/tmp/multipartBody4119477394464237712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095103241,"filename":"image_30102025_12_53_10_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/2/11dd51ecddbf0078709d10a42293d62c.jpg","text":"TemporaryFile(/tmp/multipartBody2585323277074636181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095103241,"filename":"image_30102025_12_53_22_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/2/ea20714b2b952d1b8cdf41ff100ec0fb.jpg","text":"TemporaryFile(/tmp/multipartBody6822045605934765570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095103241,"filename":"image_30102025_12_53_15_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/2/ca4e85ca307a83d98cb201fdbc7f0ff0.jpg","text":"TemporaryFile(/tmp/multipartBody2611792563768754030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095103241,"filename":"image_30102025_12_53_18_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849647","file1":"1391849643","file0":"1391849635","file4":"1391849654","file5":"1391849657","file3":"1391849651"},"map_files_photo_id_array":[{"photo_id":"1391849657","filename":"file5"},{"photo_id":"1391849647","filename":"file2"},{"photo_id":"1391849654","filename":"file4"},{"photo_id":"1391849643","filename":"file1"},{"photo_id":"1391849635","filename":"file0"},{"photo_id":"1391849651","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849635":["hashtag1","hashtag2"]},{"1391849647":["hashtag1","hashtag2"]},{"1391849643":["hashtag1","hashtag2"]},{"1391849657":["hashtag1","hashtag2"]},{"1391849651":["hashtag1","hashtag2"]},{"1391849654":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849635, 1391849647, 1391849643, 1391849657, 1391849651, 1391849654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.933255195617676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:51:22.254660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_24_2554.jpg', '/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_30_3359.jpg', '/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_33_2693.jpg', '/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_36_2841.jpg', '/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_39_3668.jpg', '/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_42_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/12/53/image_30102025_12_53_24_2554.jpg
/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_30_3359.jpg
/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_33_2693.jpg
/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_36_2841.jpg
/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_39_3668.jpg
/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_42_2590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391849662","1391849670","1391849664","1391849673","1391849667","1391849676"],"photo_ids_order":["1391849662","1391849664","1391849667","1391849670","1391849673","1391849676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5080b8b4e29b921fbca351803c16a513.jpg","text":"TemporaryFile(/tmp/multipartBody8872259136973088190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095144909,"filename":"image_30102025_12_53_24_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/2/c69a0ae97b04cd691dd79a3afbf6c268.jpg","text":"TemporaryFile(/tmp/multipartBody3064339485500533640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095144909,"filename":"image_30102025_12_53_36_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/2/21d506083f1cece20c23f369c24e2b5c.jpg","text":"TemporaryFile(/tmp/multipartBody5825712295866508547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095144909,"filename":"image_30102025_12_53_30_3359.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e17728a61c472dbbfd32bb18f588adf8.jpg","text":"TemporaryFile(/tmp/multipartBody7609139678337191407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095144909,"filename":"image_30102025_12_53_39_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/2/283a018eb3273ffab511b8755d65ecdd.jpg","text":"TemporaryFile(/tmp/multipartBody1803242451978459453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095144909,"filename":"image_30102025_12_53_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/2/285b765a6d19d15619cbfd0edde59813.jpg","text":"TemporaryFile(/tmp/multipartBody8301038013260749510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095144909,"filename":"image_30102025_12_53_42_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849667","file1":"1391849664","file0":"1391849662","file4":"1391849673","file5":"1391849676","file3":"1391849670"},"map_files_photo_id_array":[{"photo_id":"1391849676","filename":"file5"},{"photo_id":"1391849667","filename":"file2"},{"photo_id":"1391849673","filename":"file4"},{"photo_id":"1391849664","filename":"file1"},{"photo_id":"1391849662","filename":"file0"},{"photo_id":"1391849670","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849662":["hashtag1","hashtag2"]},{"1391849670":["hashtag1","hashtag2"]},{"1391849664":["hashtag1","hashtag2"]},{"1391849673":["hashtag1","hashtag2"]},{"1391849667":["hashtag1","hashtag2"]},{"1391849676":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849662, 1391849670, 1391849664, 1391849673, 1391849667, 1391849676)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 61.17887544631958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:52:29.974919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_45_2665.jpg', '/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_48_3627.jpg', '/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_51_2666.jpg', '/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_54_2834.jpg', '/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_57_3738.jpg', '/home/pi/Desktop/images/30102025/12/53/image_30102025_12_54_00_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_45_2665.jpg
/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_48_3627.jpg
/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_51_2666.jpg
/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_54_2834.jpg
/home/pi/Desktop/images/30102025/12/53/image_30102025_12_53_57_3738.jpg
/home/pi/Desktop/images/30102025/12/53/image_30102025_12_54_00_2593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391849734","1391849731","1391849725","1391849728","1391849724","1391849723"],"photo_ids_order":["1391849723","1391849724","1391849725","1391849728","1391849731","1391849734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7e23bdb182c9d06d135b766672774bd6.jpg","text":"TemporaryFile(/tmp/multipartBody4609458295683915480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095212582,"filename":"image_30102025_12_54_00_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/2/43f0658b81b4d234ba4b5c0a69294431.jpg","text":"TemporaryFile(/tmp/multipartBody705093493722770492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095212582,"filename":"image_30102025_12_53_57_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/2/34419be28b80236db2ddb8b280d5b16f.jpg","text":"TemporaryFile(/tmp/multipartBody4343116137227390817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095212582,"filename":"image_30102025_12_53_51_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/2/94c426bdaa1f97bb61e26ef486a1026d.jpg","text":"TemporaryFile(/tmp/multipartBody1164973229860118500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095212582,"filename":"image_30102025_12_53_54_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/2/46219b866f43bf133a0a9ae5d1069b37.jpg","text":"TemporaryFile(/tmp/multipartBody4671289829741143730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095212582,"filename":"image_30102025_12_53_48_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/2/f54c85839efaae87439352a7f95a0170.jpg","text":"TemporaryFile(/tmp/multipartBody2821048130917065258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095212582,"filename":"image_30102025_12_53_45_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849725","file1":"1391849724","file0":"1391849723","file4":"1391849731","file5":"1391849734","file3":"1391849728"},"map_files_photo_id_array":[{"photo_id":"1391849734","filename":"file5"},{"photo_id":"1391849725","filename":"file2"},{"photo_id":"1391849731","filename":"file4"},{"photo_id":"1391849724","filename":"file1"},{"photo_id":"1391849723","filename":"file0"},{"photo_id":"1391849728","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849734":["hashtag1","hashtag2"]},{"1391849731":["hashtag1","hashtag2"]},{"1391849725":["hashtag1","hashtag2"]},{"1391849728":["hashtag1","hashtag2"]},{"1391849724":["hashtag1","hashtag2"]},{"1391849723":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849734, 1391849731, 1391849725, 1391849728, 1391849724, 1391849723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.589826822280884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:53:22.714977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_03_2580.jpg', '/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_06_3669.jpg', '/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_09_2956.jpg', '/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_12_2547.jpg', '/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_14_2653.jpg', '/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_18_3857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_03_2580.jpg
/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_06_3669.jpg
/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_09_2956.jpg
/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_12_2547.jpg
/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_14_2653.jpg
/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_18_3857.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391849941","1391849935","1391849938","1391849908","1391849861","1391849951"],"photo_ids_order":["1391849861","1391849908","1391849935","1391849938","1391849941","1391849951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ac80a95efb601148f562aa71d43528db.jpg","text":"TemporaryFile(/tmp/multipartBody4563023563232962633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095265327,"filename":"image_30102025_12_54_14_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/2/a8263190ba781a454195983beddbeda6.jpg","text":"TemporaryFile(/tmp/multipartBody6504940611334632419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095265327,"filename":"image_30102025_12_54_09_2956.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7b3d82d2a9e47cbf3f4d9c701bafbf8b.jpg","text":"TemporaryFile(/tmp/multipartBody7989912445479244285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095265327,"filename":"image_30102025_12_54_12_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/2/670e10c4358902f0b2e182701e546ac5.jpg","text":"TemporaryFile(/tmp/multipartBody903043537440965955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095265327,"filename":"image_30102025_12_54_06_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/2/d2ddbcfa1b30dfafe6a84a03370c308e.jpg","text":"TemporaryFile(/tmp/multipartBody145755183294510448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095265327,"filename":"image_30102025_12_54_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/2/73e8b4846b74ac2c3607a8d1a35c41ca.jpg","text":"TemporaryFile(/tmp/multipartBody8680052460571651207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095265327,"filename":"image_30102025_12_54_18_3857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391849935","file1":"1391849908","file0":"1391849861","file4":"1391849941","file5":"1391849951","file3":"1391849938"},"map_files_photo_id_array":[{"photo_id":"1391849951","filename":"file5"},{"photo_id":"1391849935","filename":"file2"},{"photo_id":"1391849941","filename":"file4"},{"photo_id":"1391849908","filename":"file1"},{"photo_id":"1391849861","filename":"file0"},{"photo_id":"1391849938","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391849941":["hashtag1","hashtag2"]},{"1391849935":["hashtag1","hashtag2"]},{"1391849938":["hashtag1","hashtag2"]},{"1391849908":["hashtag1","hashtag2"]},{"1391849861":["hashtag1","hashtag2"]},{"1391849951":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391849941, 1391849935, 1391849938, 1391849908, 1391849861, 1391849951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38942360877991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 15:54:02.606731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 15:54:22.692416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_21_2907.jpg', '/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_24_2647.jpg', '/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_30_3590.jpg', '/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_33_2755.jpg', '/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_36_2730.jpg', '/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_39_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/12/54/image_30102025_12_54_21_2907.jpg
/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_24_2647.jpg
/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_30_3590.jpg
/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_33_2755.jpg
/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_36_2730.jpg
/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_39_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":["1391850121","1391850115","1391850124","1391850118","1391850112","1391850123"],"photo_ids_order":["1391850112","1391850115","1391850118","1391850121","1391850123","1391850124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7330ac9491ac7483b42d303ae5ffd9f3.jpg","text":"TemporaryFile(/tmp/multipartBody6115396544560271854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095345474,"filename":"image_30102025_12_54_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/2/8088a64c6fe758aa2a97b6f0430b9dff.jpg","text":"TemporaryFile(/tmp/multipartBody4635734565531815451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095345474,"filename":"image_30102025_12_54_24_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/2/48c360f25529d4a5c3340f049c85fabf.jpg","text":"TemporaryFile(/tmp/multipartBody1630627677905681019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095345474,"filename":"image_30102025_12_54_39_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/2/f8cc3dfebdc2d2c2b14a9d61e03ac646.jpg","text":"TemporaryFile(/tmp/multipartBody6320781141523874427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095345474,"filename":"image_30102025_12_54_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/2/0785b83e1c5e4c66a6ab58991f1c58f7.jpg","text":"TemporaryFile(/tmp/multipartBody3721405806558728503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095345474,"filename":"image_30102025_12_54_21_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/2/f2a21f3a64cd60e4b7f71bbe19252b94.jpg","text":"TemporaryFile(/tmp/multipartBody8805978049723375006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095345474,"filename":"image_30102025_12_54_36_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391850118","file1":"1391850115","file0":"1391850112","file4":"1391850123","file5":"1391850124","file3":"1391850121"},"map_files_photo_id_array":[{"photo_id":"1391850124","filename":"file5"},{"photo_id":"1391850118","filename":"file2"},{"photo_id":"1391850123","filename":"file4"},{"photo_id":"1391850115","filename":"file1"},{"photo_id":"1391850112","filename":"file0"},{"photo_id":"1391850121","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391850121":["hashtag1","hashtag2"]},{"1391850115":["hashtag1","hashtag2"]},{"1391850124":["hashtag1","hashtag2"]},{"1391850118":["hashtag1","hashtag2"]},{"1391850112":["hashtag1","hashtag2"]},{"1391850123":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391850121, 1391850115, 1391850124, 1391850118, 1391850112, 1391850123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.34408736228943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:55:22.671682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_44_2584.jpg', '/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_48_3644.jpg', '/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_51_2710.jpg', '/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_53_2617.jpg', '/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_57_3781.jpg', '/home/pi/Desktop/images/30102025/12/54/image_30102025_12_55_00_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/12/54/image_30102025_12_54_44_2584.jpg
/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_48_3644.jpg
/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_51_2710.jpg
/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_53_2617.jpg
/home/pi/Desktop/images/30102025/12/54/image_30102025_12_54_57_3781.jpg
/home/pi/Desktop/images/30102025/12/54/image_30102025_12_55_00_2750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391850131","1391850128","1391850141","1391850144","1391850138","1391850134"],"photo_ids_order":["1391850128","1391850131","1391850134","1391850138","1391850141","1391850144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/50cee0d80773c2c99ff6d1f8afea4e70.jpg","text":"TemporaryFile(/tmp/multipartBody3350922400518614451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095385441,"filename":"image_30102025_12_54_48_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/2/801a99ee449ffe2c0e37078e086b2e0a.jpg","text":"TemporaryFile(/tmp/multipartBody6774218555670351346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095385441,"filename":"image_30102025_12_54_44_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/2/dceed09f7436b3c1e09dcd3ed501ecf1.jpg","text":"TemporaryFile(/tmp/multipartBody1984665687027154910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095385441,"filename":"image_30102025_12_54_57_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/2/0c832a35509379bc3501339dbae6da3e.jpg","text":"TemporaryFile(/tmp/multipartBody6738745617938445050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095385441,"filename":"image_30102025_12_55_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/2/77c9f35d0e4e150355e4caabc84897ac.jpg","text":"TemporaryFile(/tmp/multipartBody7534794571018450723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095385441,"filename":"image_30102025_12_54_53_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/2/957e378b8d8f20964cd317227a82fd78.jpg","text":"TemporaryFile(/tmp/multipartBody5211824365189338019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095385441,"filename":"image_30102025_12_54_51_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391850134","file1":"1391850131","file0":"1391850128","file4":"1391850141","file5":"1391850144","file3":"1391850138"},"map_files_photo_id_array":[{"photo_id":"1391850144","filename":"file5"},{"photo_id":"1391850134","filename":"file2"},{"photo_id":"1391850141","filename":"file4"},{"photo_id":"1391850131","filename":"file1"},{"photo_id":"1391850128","filename":"file0"},{"photo_id":"1391850138","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391850131":["hashtag1","hashtag2"]},{"1391850128":["hashtag1","hashtag2"]},{"1391850141":["hashtag1","hashtag2"]},{"1391850144":["hashtag1","hashtag2"]},{"1391850138":["hashtag1","hashtag2"]},{"1391850134":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391850131, 1391850128, 1391850141, 1391850144, 1391850138, 1391850134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19579792022705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 15:56:02.455824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_03_2752.jpg', '/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_06_3011.jpg', '/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_08_2705.jpg', '/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_12_3787.jpg', '/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_15_2621.jpg', '/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_17_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/12/55/image_30102025_12_55_03_2752.jpg
/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_06_3011.jpg
/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_08_2705.jpg
/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_12_3787.jpg
/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_15_2621.jpg
/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_17_2659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391850164","1391850145","1391850160","1391850148","1391850156","1391850153"],"photo_ids_order":["1391850145","1391850148","1391850153","1391850156","1391850160","1391850164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d05fed2004e587476cd209c215133c1d.jpg","text":"TemporaryFile(/tmp/multipartBody3231304060379427343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095424492,"filename":"image_30102025_12_55_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/2/2ad7b1cdd9205c06c4d820011a988a87.jpg","text":"TemporaryFile(/tmp/multipartBody5650000574941879225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095424492,"filename":"image_30102025_12_55_03_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/2/1a76e0c1d52077bdb0ad3128e6e5db3c.jpg","text":"TemporaryFile(/tmp/multipartBody577689881693706993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095424492,"filename":"image_30102025_12_55_15_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/2/e2f38f3c3c6a490de8b1d3d3b96a6ba9.jpg","text":"TemporaryFile(/tmp/multipartBody822208264476942637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095424492,"filename":"image_30102025_12_55_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/2/b4a366287e3e26346dcb55c3fcbc1436.jpg","text":"TemporaryFile(/tmp/multipartBody1592971213620828766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095424492,"filename":"image_30102025_12_55_12_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7cf8783bec49fbf8fb4df34a233ffdf2.jpg","text":"TemporaryFile(/tmp/multipartBody1402328261767962975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095424492,"filename":"image_30102025_12_55_08_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391850153","file1":"1391850148","file0":"1391850145","file4":"1391850160","file5":"1391850164","file3":"1391850156"},"map_files_photo_id_array":[{"photo_id":"1391850164","filename":"file5"},{"photo_id":"1391850153","filename":"file2"},{"photo_id":"1391850160","filename":"file4"},{"photo_id":"1391850148","filename":"file1"},{"photo_id":"1391850145","filename":"file0"},{"photo_id":"1391850156","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391850164":["hashtag1","hashtag2"]},{"1391850145":["hashtag1","hashtag2"]},{"1391850160":["hashtag1","hashtag2"]},{"1391850148":["hashtag1","hashtag2"]},{"1391850156":["hashtag1","hashtag2"]},{"1391850153":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391850164, 1391850145, 1391850160, 1391850148, 1391850156, 1391850153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.265641927719116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 15:56:41.917642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_21_3787.jpg', '/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_24_2707.jpg', '/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_27_2619.jpg', '/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_30_2934.jpg', '/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_33_3719.jpg', '/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_36_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_21_3787.jpg
/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_24_2707.jpg
/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_27_2619.jpg
/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_30_2934.jpg
/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_33_3719.jpg
/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_36_2766.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391850181","1391850178","1391850183","1391850185","1391850167","1391850182"],"photo_ids_order":["1391850167","1391850178","1391850181","1391850182","1391850183","1391850185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8abcc27f1a3addf38d0987d1c4dd10ef.jpg","text":"TemporaryFile(/tmp/multipartBody7319615609286425139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095463046,"filename":"image_30102025_12_55_27_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/2/61ae0454052f82cefdc375b9868def94.jpg","text":"TemporaryFile(/tmp/multipartBody3942337128874625449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095463046,"filename":"image_30102025_12_55_24_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/2/56ecb6071cda267845dc76211c42a125.jpg","text":"TemporaryFile(/tmp/multipartBody6095979644442069180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095463046,"filename":"image_30102025_12_55_33_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/2/fdaaa14563732274592a68ac92ad5ced.jpg","text":"TemporaryFile(/tmp/multipartBody7169601935247950552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095463046,"filename":"image_30102025_12_55_36_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/2/b29084937dded2b4b0ca5de5d7153ab9.jpg","text":"TemporaryFile(/tmp/multipartBody7940542451744866246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095463046,"filename":"image_30102025_12_55_21_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b46ff5b43bddb7ae871256d2278cde64.jpg","text":"TemporaryFile(/tmp/multipartBody5641825847731484541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095463046,"filename":"image_30102025_12_55_30_2934.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391850181","file1":"1391850178","file0":"1391850167","file4":"1391850183","file5":"1391850185","file3":"1391850182"},"map_files_photo_id_array":[{"photo_id":"1391850185","filename":"file5"},{"photo_id":"1391850181","filename":"file2"},{"photo_id":"1391850183","filename":"file4"},{"photo_id":"1391850178","filename":"file1"},{"photo_id":"1391850167","filename":"file0"},{"photo_id":"1391850182","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391850181":["hashtag1","hashtag2"]},{"1391850178":["hashtag1","hashtag2"]},{"1391850183":["hashtag1","hashtag2"]},{"1391850185":["hashtag1","hashtag2"]},{"1391850167":["hashtag1","hashtag2"]},{"1391850182":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391850181, 1391850178, 1391850183, 1391850185, 1391850167, 1391850182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46863293647766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 15:57:22.007691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_39_2680.jpg', '/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_45_3592.jpg', '/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_48_2649.jpg', '/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_50_2669.jpg', '/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_54_3675.jpg', '/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_57_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/12/55/image_30102025_12_55_39_2680.jpg
/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_45_3592.jpg
/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_48_2649.jpg
/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_50_2669.jpg
/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_54_3675.jpg
/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_57_2681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391850193","1391850199","1391850202","1391850205","1391850197","1391850201"],"photo_ids_order":["1391850193","1391850197","1391850199","1391850201","1391850202","1391850205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/11703e7b0ab7da54032c7261b5f6dd6e.jpg","text":"TemporaryFile(/tmp/multipartBody9157180720343070442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095504311,"filename":"image_30102025_12_55_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/2/9653cb04196fa6f16d53089fc096cfae.jpg","text":"TemporaryFile(/tmp/multipartBody577465071569906103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095504311,"filename":"image_30102025_12_55_48_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/2/3a839b00192d43e2fa5177da2ffa8b53.jpg","text":"TemporaryFile(/tmp/multipartBody7236484498982613689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095504311,"filename":"image_30102025_12_55_54_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/2/f2b8a5235d112de151bb0eabffec1712.jpg","text":"TemporaryFile(/tmp/multipartBody912899155828462082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095504311,"filename":"image_30102025_12_55_57_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/2/1cc855fc8dc176edda7592940c66c75d.jpg","text":"TemporaryFile(/tmp/multipartBody3682197591375254636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095504311,"filename":"image_30102025_12_55_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/2/34b3c9c48a427c645c950e01a8667bda.jpg","text":"TemporaryFile(/tmp/multipartBody7595048932789148102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095504311,"filename":"image_30102025_12_55_50_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391850199","file1":"1391850197","file0":"1391850193","file4":"1391850202","file5":"1391850205","file3":"1391850201"},"map_files_photo_id_array":[{"photo_id":"1391850205","filename":"file5"},{"photo_id":"1391850199","filename":"file2"},{"photo_id":"1391850202","filename":"file4"},{"photo_id":"1391850197","filename":"file1"},{"photo_id":"1391850193","filename":"file0"},{"photo_id":"1391850201","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391850193":["hashtag1","hashtag2"]},{"1391850199":["hashtag1","hashtag2"]},{"1391850202":["hashtag1","hashtag2"]},{"1391850205":["hashtag1","hashtag2"]},{"1391850197":["hashtag1","hashtag2"]},{"1391850201":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391850193, 1391850199, 1391850202, 1391850205, 1391850197, 1391850201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08712291717529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 15:59:07.670349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 15:59:22.630219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/55/image_30102025_12_55_59_2706.jpg', '/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_03_3637.jpg', '/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_06_2659.jpg', '/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_08_2684.jpg', '/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_12_3684.jpg', '/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_15_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/12/55/image_30102025_12_55_59_2706.jpg
/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_03_3637.jpg
/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_06_2659.jpg
/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_08_2684.jpg
/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_12_3684.jpg
/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_15_2812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391850263","1391850265","1391850259","1391850250","1391850247","1391850261"],"photo_ids_order":["1391850247","1391850250","1391850259","1391850261","1391850263","1391850265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7ce9042f00fe43c171a8261dfe1be1f7.jpg","text":"TemporaryFile(/tmp/multipartBody5891240431078717564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095641804,"filename":"image_30102025_12_56_12_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/2/102a74d8e294973ab420ba2e6ac15703.jpg","text":"TemporaryFile(/tmp/multipartBody5769931596646933928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095641804,"filename":"image_30102025_12_56_15_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/2/f8e51151174c56174cd28d5217f7aa0a.jpg","text":"TemporaryFile(/tmp/multipartBody4432594846257559340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095641804,"filename":"image_30102025_12_56_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/2/2dcf55d859ac72e689ecfa86b684f921.jpg","text":"TemporaryFile(/tmp/multipartBody8285664635073516277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095641804,"filename":"image_30102025_12_56_03_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/2/b5996ad95669cb9541665bf0a005e9c0.jpg","text":"TemporaryFile(/tmp/multipartBody6842566743869700012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095641804,"filename":"image_30102025_12_55_59_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/2/0f45ea0458d717289ab717519b769516.jpg","text":"TemporaryFile(/tmp/multipartBody691963052330774812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095641804,"filename":"image_30102025_12_56_08_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391850259","file1":"1391850250","file0":"1391850247","file4":"1391850263","file5":"1391850265","file3":"1391850261"},"map_files_photo_id_array":[{"photo_id":"1391850265","filename":"file5"},{"photo_id":"1391850259","filename":"file2"},{"photo_id":"1391850263","filename":"file4"},{"photo_id":"1391850250","filename":"file1"},{"photo_id":"1391850247","filename":"file0"},{"photo_id":"1391850261","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391850263":["hashtag1","hashtag2"]},{"1391850265":["hashtag1","hashtag2"]},{"1391850259":["hashtag1","hashtag2"]},{"1391850250":["hashtag1","hashtag2"]},{"1391850247":["hashtag1","hashtag2"]},{"1391850261":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391850263, 1391850265, 1391850259, 1391850250, 1391850247, 1391850261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.654163122177124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 16:00:21.954116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_18_2753.jpg', '/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_21_2956.jpg', '/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_23_2674.jpg', '/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_27_3759.jpg', '/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_30_2742.jpg', '/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_33_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/12/56/image_30102025_12_56_18_2753.jpg
/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_21_2956.jpg
/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_23_2674.jpg
/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_27_3759.jpg
/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_30_2742.jpg
/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_33_2711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391850288","1391850273","1391850276","1391850284","1391850278","1391850281"],"photo_ids_order":["1391850273","1391850276","1391850278","1391850281","1391850284","1391850288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cfe40f821e8e6e42b005c493ff16ea2e.jpg","text":"TemporaryFile(/tmp/multipartBody8019247305688999394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095684599,"filename":"image_30102025_12_56_33_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/2/af45df8f90509b5ffb4fdb8ad8a31c40.jpg","text":"TemporaryFile(/tmp/multipartBody2915961323694449227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095684599,"filename":"image_30102025_12_56_18_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/2/3bf4006abe462c741223eff46c677657.jpg","text":"TemporaryFile(/tmp/multipartBody7701949620743922225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095684599,"filename":"image_30102025_12_56_21_2956.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e70edd563e2f7f62428ef2ba6c8256aa.jpg","text":"TemporaryFile(/tmp/multipartBody580744137504305901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095684599,"filename":"image_30102025_12_56_30_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/2/88aa10a7fde7cc1c02f6e22574bcc8a1.jpg","text":"TemporaryFile(/tmp/multipartBody3605535973338322529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095684599,"filename":"image_30102025_12_56_23_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/2/9ea8198b8f20108624b7c924fdf33bc1.jpg","text":"TemporaryFile(/tmp/multipartBody6531211500068789910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095684599,"filename":"image_30102025_12_56_27_3759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391850278","file1":"1391850276","file0":"1391850273","file4":"1391850284","file5":"1391850288","file3":"1391850281"},"map_files_photo_id_array":[{"photo_id":"1391850288","filename":"file5"},{"photo_id":"1391850278","filename":"file2"},{"photo_id":"1391850284","filename":"file4"},{"photo_id":"1391850276","filename":"file1"},{"photo_id":"1391850273","filename":"file0"},{"photo_id":"1391850281","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391850288":["hashtag1","hashtag2"]},{"1391850273":["hashtag1","hashtag2"]},{"1391850276":["hashtag1","hashtag2"]},{"1391850284":["hashtag1","hashtag2"]},{"1391850278":["hashtag1","hashtag2"]},{"1391850281":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391850288, 1391850273, 1391850276, 1391850284, 1391850278, 1391850281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33452653884888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 16:01:03.074547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_35_2839.jpg', '/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_39_3548.jpg', '/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_42_2664.jpg', '/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_44_2725.jpg', '/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_51_2655.jpg', '/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_57_3768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_35_2839.jpg
/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_39_3548.jpg
/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_42_2664.jpg
/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_44_2725.jpg
/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_51_2655.jpg
/home/pi/Desktop/images/30102025/12/56/image_30102025_12_56_57_3768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391850356","1391850716","1391850517","1391850396","1391850441","1391850600"],"photo_ids_order":["1391850356","1391850396","1391850441","1391850517","1391850600","1391850716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c822288af7c439df2077af579021c10e.jpg","text":"TemporaryFile(/tmp/multipartBody5190426363846948462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095725359,"filename":"image_30102025_12_56_35_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/2/6a023673ecad17da825cf959056310ed.jpg","text":"TemporaryFile(/tmp/multipartBody743419848749604730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095725359,"filename":"image_30102025_12_56_57_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/2/7b3d92e1b1612270071ed0e584ce800e.jpg","text":"TemporaryFile(/tmp/multipartBody1374934746320546577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095725359,"filename":"image_30102025_12_56_44_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/2/ab61ac085a4a9932d0b6b50d23e4c8ad.jpg","text":"TemporaryFile(/tmp/multipartBody1369536694972912517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095725359,"filename":"image_30102025_12_56_39_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/2/631265772562bad3e72227fd6bd4c77a.jpg","text":"TemporaryFile(/tmp/multipartBody3982243073509115321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095725359,"filename":"image_30102025_12_56_42_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/2/65eccc94260aaccd0b43f3daeabb4e4d.jpg","text":"TemporaryFile(/tmp/multipartBody6720181400097244956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095725359,"filename":"image_30102025_12_56_51_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391850441","file1":"1391850396","file0":"1391850356","file4":"1391850600","file5":"1391850716","file3":"1391850517"},"map_files_photo_id_array":[{"photo_id":"1391850716","filename":"file5"},{"photo_id":"1391850441","filename":"file2"},{"photo_id":"1391850600","filename":"file4"},{"photo_id":"1391850396","filename":"file1"},{"photo_id":"1391850356","filename":"file0"},{"photo_id":"1391850517","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391850356":["hashtag1","hashtag2"]},{"1391850716":["hashtag1","hashtag2"]},{"1391850517":["hashtag1","hashtag2"]},{"1391850396":["hashtag1","hashtag2"]},{"1391850441":["hashtag1","hashtag2"]},{"1391850600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391850356, 1391850716, 1391850517, 1391850396, 1391850441, 1391850600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.500330686569214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 16:02:06.509523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 16:02:24.431063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/56/image_30102025_12_57_00_2751.jpg', '/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_03_3052.jpg', '/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_06_2725.jpg', '/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_08_2605.jpg', '/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_12_3594.jpg', '/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_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/12/56/image_30102025_12_57_00_2751.jpg
/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_03_3052.jpg
/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_06_2725.jpg
/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_08_2605.jpg
/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_12_3594.jpg
/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_15_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":["1391852038","1391851963","1391851878","1391851794","1391852126","1391851712"],"photo_ids_order":["1391851712","1391851794","1391851878","1391851963","1391852038","1391852126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/23be673e5adda42af6d20999cd03c4a7.jpg","text":"TemporaryFile(/tmp/multipartBody2034991185430410179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095807071,"filename":"image_30102025_12_57_12_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/2/5b868c94ee4e7968491f64a7ba6fe159.jpg","text":"TemporaryFile(/tmp/multipartBody7647077037609096459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095807071,"filename":"image_30102025_12_57_08_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/2/85157a45a551c0be97acb8bef1bfd1bf.jpg","text":"TemporaryFile(/tmp/multipartBody1559036428117828071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095807071,"filename":"image_30102025_12_57_06_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/2/ac1e6f6fdea48a8d24477c8027f191bd.jpg","text":"TemporaryFile(/tmp/multipartBody4405267098255954957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095807071,"filename":"image_30102025_12_57_03_3052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/21342a84a6935e97c24f21880b8e1f39.jpg","text":"TemporaryFile(/tmp/multipartBody8911337620967120734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095807071,"filename":"image_30102025_12_57_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/2/45cb70d395e82cbf32a322353de3b4b4.jpg","text":"TemporaryFile(/tmp/multipartBody1411542414218338888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095807071,"filename":"image_30102025_12_57_00_2751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391851878","file1":"1391851794","file0":"1391851712","file4":"1391852038","file5":"1391852126","file3":"1391851963"},"map_files_photo_id_array":[{"photo_id":"1391852126","filename":"file5"},{"photo_id":"1391851878","filename":"file2"},{"photo_id":"1391852038","filename":"file4"},{"photo_id":"1391851794","filename":"file1"},{"photo_id":"1391851712","filename":"file0"},{"photo_id":"1391851963","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391852038":["hashtag1","hashtag2"]},{"1391851963":["hashtag1","hashtag2"]},{"1391851878":["hashtag1","hashtag2"]},{"1391851794":["hashtag1","hashtag2"]},{"1391852126":["hashtag1","hashtag2"]},{"1391851712":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391852038, 1391851963, 1391851878, 1391851794, 1391852126, 1391851712)","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 = 1391851878 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_06_2725.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 64.44849681854248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 16:03:42.560171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_21_3670.jpg', '/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_24_2553.jpg', '/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_26_2804.jpg', '/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_30_3621.jpg', '/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_35_2715.jpg', '/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_38_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/12/57/image_30102025_12_57_21_3670.jpg
/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_24_2553.jpg
/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_26_2804.jpg
/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_30_3621.jpg
/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_35_2715.jpg
/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_38_2836.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391852653","1391852673","1391852750","1391852711","1391852660","1391852656"],"photo_ids_order":["1391852653","1391852656","1391852660","1391852673","1391852711","1391852750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ec9a214fe46692f48840351cf88a9799.jpg","text":"TemporaryFile(/tmp/multipartBody460106823778474883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095883634,"filename":"image_30102025_12_57_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/2/55825b7e35e80740de9bba64cc044350.jpg","text":"TemporaryFile(/tmp/multipartBody6735768496460782800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095883634,"filename":"image_30102025_12_57_30_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/2/e3086a265d6a4e4372ca1d3dcc49d03d.jpg","text":"TemporaryFile(/tmp/multipartBody4272033113787093441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095883634,"filename":"image_30102025_12_57_38_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/2/28acd69f0d2e2b82d455e4b02c70b526.jpg","text":"TemporaryFile(/tmp/multipartBody1200071794927213292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095883634,"filename":"image_30102025_12_57_35_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/2/3ce378145f1670025231288561fb4549.jpg","text":"TemporaryFile(/tmp/multipartBody3676123473235150349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095883634,"filename":"image_30102025_12_57_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/2/bc4f1442b19f92d3f35dee58ce87f32c.jpg","text":"TemporaryFile(/tmp/multipartBody3072916431943173716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095883634,"filename":"image_30102025_12_57_24_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391852660","file1":"1391852656","file0":"1391852653","file4":"1391852711","file5":"1391852750","file3":"1391852673"},"map_files_photo_id_array":[{"photo_id":"1391852750","filename":"file5"},{"photo_id":"1391852660","filename":"file2"},{"photo_id":"1391852711","filename":"file4"},{"photo_id":"1391852656","filename":"file1"},{"photo_id":"1391852653","filename":"file0"},{"photo_id":"1391852673","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391852653":["hashtag1","hashtag2"]},{"1391852673":["hashtag1","hashtag2"]},{"1391852750":["hashtag1","hashtag2"]},{"1391852711":["hashtag1","hashtag2"]},{"1391852660":["hashtag1","hashtag2"]},{"1391852656":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391852653, 1391852673, 1391852750, 1391852711, 1391852660, 1391852656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11932873725891 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 16:04:22.777043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_42_3687.jpg', '/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_45_2644.jpg', '/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_47_2552.jpg', '/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_51_3640.jpg', '/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_53_2729.jpg', '/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_56_2799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_42_3687.jpg
/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_45_2644.jpg
/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_47_2552.jpg
/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_51_3640.jpg
/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_53_2729.jpg
/home/pi/Desktop/images/30102025/12/57/image_30102025_12_57_56_2799.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391852859","1391852820","1391853038","1391852936","1391853002","1391852881"],"photo_ids_order":["1391852820","1391852859","1391852881","1391852936","1391853002","1391853038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9dedbe20f58f3dbd5bfa1ce6794451b2.jpg","text":"TemporaryFile(/tmp/multipartBody3095583381742772066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095925156,"filename":"image_30102025_12_57_45_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/2/bcdfef499a808ff4773441f17b8981e3.jpg","text":"TemporaryFile(/tmp/multipartBody8626452197549209618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095925156,"filename":"image_30102025_12_57_42_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/2/236400e26a96ed7c5ec6ff9a4a33708f.jpg","text":"TemporaryFile(/tmp/multipartBody6418135894451173911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095925156,"filename":"image_30102025_12_57_56_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/2/23be2594f19eceb9a38b8c65ba9bd58d.jpg","text":"TemporaryFile(/tmp/multipartBody2567196212823039569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095925156,"filename":"image_30102025_12_57_51_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/2/587cf0b1b9ccddc68edad1914484eda5.jpg","text":"TemporaryFile(/tmp/multipartBody683937608505405761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095925156,"filename":"image_30102025_12_57_53_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/2/0a792ce5b927c579382062267d1004dc.jpg","text":"TemporaryFile(/tmp/multipartBody2942438509836022483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095925156,"filename":"image_30102025_12_57_47_2552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391852881","file1":"1391852859","file0":"1391852820","file4":"1391853002","file5":"1391853038","file3":"1391852936"},"map_files_photo_id_array":[{"photo_id":"1391853038","filename":"file5"},{"photo_id":"1391852881","filename":"file2"},{"photo_id":"1391853002","filename":"file4"},{"photo_id":"1391852859","filename":"file1"},{"photo_id":"1391852820","filename":"file0"},{"photo_id":"1391852936","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391852859":["hashtag1","hashtag2"]},{"1391852820":["hashtag1","hashtag2"]},{"1391853038":["hashtag1","hashtag2"]},{"1391852936":["hashtag1","hashtag2"]},{"1391853002":["hashtag1","hashtag2"]},{"1391852881":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391852859, 1391852820, 1391853038, 1391852936, 1391853002, 1391852881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.492802143096924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 16:05:02.763461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_03_2807.jpg', '/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_05_2749.jpg', '/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_08_2660.jpg', '/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_12_3727.jpg', '/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_17_2877.jpg', '/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_20_2854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_03_2807.jpg
/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_05_2749.jpg
/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_08_2660.jpg
/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_12_3727.jpg
/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_17_2877.jpg
/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_20_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":["1391853351","1391853348","1391853335","1391853388","1391853349","1391853319"],"photo_ids_order":["1391853319","1391853335","1391853348","1391853349","1391853351","1391853388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7717e42f1c1df4bc8e691607b55060b8.jpg","text":"TemporaryFile(/tmp/multipartBody3384948044063644772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095978695,"filename":"image_30102025_12_58_17_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/2/eb830df9d888f682fc3d280071865f41.jpg","text":"TemporaryFile(/tmp/multipartBody3276376652628547344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095978695,"filename":"image_30102025_12_58_08_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/2/a0b56da0f031f969e6e48eb176dbb4ae.jpg","text":"TemporaryFile(/tmp/multipartBody2242253872620357233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095978695,"filename":"image_30102025_12_58_05_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/2/ec1802a87d4bac587d1777b4fcdbf1e4.jpg","text":"TemporaryFile(/tmp/multipartBody201306645931366649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095978695,"filename":"image_30102025_12_58_20_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/2/c9b35252ca9495aecce0dc3fde4cfe80.jpg","text":"TemporaryFile(/tmp/multipartBody5788658372157017949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095978695,"filename":"image_30102025_12_58_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/2/0cb0c0a357530d950a35b2b83958df8e.jpg","text":"TemporaryFile(/tmp/multipartBody8036144641657608022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762095978695,"filename":"image_30102025_12_58_03_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391853348","file1":"1391853335","file0":"1391853319","file4":"1391853351","file5":"1391853388","file3":"1391853349"},"map_files_photo_id_array":[{"photo_id":"1391853388","filename":"file5"},{"photo_id":"1391853348","filename":"file2"},{"photo_id":"1391853351","filename":"file4"},{"photo_id":"1391853335","filename":"file1"},{"photo_id":"1391853319","filename":"file0"},{"photo_id":"1391853349","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391853351":["hashtag1","hashtag2"]},{"1391853348":["hashtag1","hashtag2"]},{"1391853335":["hashtag1","hashtag2"]},{"1391853388":["hashtag1","hashtag2"]},{"1391853349":["hashtag1","hashtag2"]},{"1391853319":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391853351, 1391853348, 1391853335, 1391853388, 1391853349, 1391853319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.97973275184631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 16:06:02.857118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_24_3649.jpg', '/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_27_2701.jpg', '/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_29_2570.jpg', '/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_32_2824.jpg', '/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_36_3627.jpg', '/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_38_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/12/58/image_30102025_12_58_24_3649.jpg
/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_27_2701.jpg
/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_29_2570.jpg
/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_32_2824.jpg
/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_36_3627.jpg
/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_38_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":["1391853747","1391853720","1391853698","1391853692","1391853743","1391853697"],"photo_ids_order":["1391853692","1391853697","1391853698","1391853720","1391853743","1391853747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/564ded9b4e7da21dc677bff77691d157.jpg","text":"TemporaryFile(/tmp/multipartBody8515115168697740971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096027317,"filename":"image_30102025_12_58_38_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/2/b3e702de8a00e4ce4790329f00b959b9.jpg","text":"TemporaryFile(/tmp/multipartBody1149532780533481124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096027317,"filename":"image_30102025_12_58_32_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/2/6625f7fa9718f1bbbec42e34d28b4a14.jpg","text":"TemporaryFile(/tmp/multipartBody2010640759079050491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096027317,"filename":"image_30102025_12_58_29_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/2/8aae114ef87385de736c9767ab61306a.jpg","text":"TemporaryFile(/tmp/multipartBody1274071932625357162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096027317,"filename":"image_30102025_12_58_24_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/2/44656bf040bfbca54e15d209d19e183f.jpg","text":"TemporaryFile(/tmp/multipartBody429883417818526719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096027317,"filename":"image_30102025_12_58_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/2/8d6d5a98129136c1c01103eebdc5fb00.jpg","text":"TemporaryFile(/tmp/multipartBody8300580598113077190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096027317,"filename":"image_30102025_12_58_27_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391853698","file1":"1391853697","file0":"1391853692","file4":"1391853743","file5":"1391853747","file3":"1391853720"},"map_files_photo_id_array":[{"photo_id":"1391853747","filename":"file5"},{"photo_id":"1391853698","filename":"file2"},{"photo_id":"1391853743","filename":"file4"},{"photo_id":"1391853697","filename":"file1"},{"photo_id":"1391853692","filename":"file0"},{"photo_id":"1391853720","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391853747":["hashtag1","hashtag2"]},{"1391853720":["hashtag1","hashtag2"]},{"1391853698":["hashtag1","hashtag2"]},{"1391853692":["hashtag1","hashtag2"]},{"1391853743":["hashtag1","hashtag2"]},{"1391853697":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391853747, 1391853720, 1391853698, 1391853692, 1391853743, 1391853697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.63242435455322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 16:07:03.200331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_41_2649.jpg', '/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_45_3868.jpg', '/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_48_2722.jpg', '/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_50_2723.jpg', '/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_53_2890.jpg', '/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_56_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/12/58/image_30102025_12_58_41_2649.jpg
/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_45_3868.jpg
/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_48_2722.jpg
/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_50_2723.jpg
/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_53_2890.jpg
/home/pi/Desktop/images/30102025/12/58/image_30102025_12_58_56_2787.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391853890","1391853833","1391853806","1391853892","1391853874","1391853888"],"photo_ids_order":["1391853806","1391853833","1391853874","1391853888","1391853890","1391853892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6e15b79f172f9e6be8f702ee55b35840.jpg","text":"TemporaryFile(/tmp/multipartBody3950504370615937000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096085335,"filename":"image_30102025_12_58_53_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/2/e932a2a29417821a8ba642c4e8c125fe.jpg","text":"TemporaryFile(/tmp/multipartBody7204477168955095842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096085335,"filename":"image_30102025_12_58_45_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/2/9106be95294085f7a466d7931b791f08.jpg","text":"TemporaryFile(/tmp/multipartBody5155723510450006681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096085335,"filename":"image_30102025_12_58_41_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/2/7a1ddea4f0b5b53b43517d42c11fb1e1.jpg","text":"TemporaryFile(/tmp/multipartBody647439072926829121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096085335,"filename":"image_30102025_12_58_56_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/2/4ab97d35f13a43c1d41151e31ad40e9c.jpg","text":"TemporaryFile(/tmp/multipartBody785876234031889760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096085335,"filename":"image_30102025_12_58_48_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/2/536fb55ae37c0a4c7e17086fd925c689.jpg","text":"TemporaryFile(/tmp/multipartBody5468767640002279334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096085335,"filename":"image_30102025_12_58_50_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391853874","file1":"1391853833","file0":"1391853806","file4":"1391853890","file5":"1391853892","file3":"1391853888"},"map_files_photo_id_array":[{"photo_id":"1391853892","filename":"file5"},{"photo_id":"1391853874","filename":"file2"},{"photo_id":"1391853890","filename":"file4"},{"photo_id":"1391853833","filename":"file1"},{"photo_id":"1391853806","filename":"file0"},{"photo_id":"1391853888","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391853890":["hashtag1","hashtag2"]},{"1391853833":["hashtag1","hashtag2"]},{"1391853806":["hashtag1","hashtag2"]},{"1391853892":["hashtag1","hashtag2"]},{"1391853874":["hashtag1","hashtag2"]},{"1391853888":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391853890, 1391853833, 1391853806, 1391853892, 1391853874, 1391853888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32984685897827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 16:07:42.634621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/58/image_30102025_12_59_00_3627.jpg', '/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_02_2690.jpg', '/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_05_2620.jpg', '/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_09_3594.jpg', '/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_11_2665.jpg', '/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_14_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/12/58/image_30102025_12_59_00_3627.jpg
/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_02_2690.jpg
/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_05_2620.jpg
/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_09_3594.jpg
/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_11_2665.jpg
/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_14_2784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391853906","1391853911","1391853905","1391853908","1391853907","1391853910"],"photo_ids_order":["1391853905","1391853906","1391853907","1391853908","1391853910","1391853911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1b2b3cdc45643f8ffe107cbea259d16a.jpg","text":"TemporaryFile(/tmp/multipartBody5195731093657593838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096140634,"filename":"image_30102025_12_59_02_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/2/f66e68b8a5f987247d106fe72011d006.jpg","text":"TemporaryFile(/tmp/multipartBody1644707635234584696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096140634,"filename":"image_30102025_12_59_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/2/cd4dc4393b0b2ed1aa3b5f7350220fd3.jpg","text":"TemporaryFile(/tmp/multipartBody2555611394066039140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096140634,"filename":"image_30102025_12_59_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/2/d0f46875ac21bb0f250f04305ac78701.jpg","text":"TemporaryFile(/tmp/multipartBody903831986368472590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096140634,"filename":"image_30102025_12_59_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/2/eca6105186653e7407177f57ba592f5e.jpg","text":"TemporaryFile(/tmp/multipartBody7906760211601698352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096140634,"filename":"image_30102025_12_59_05_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/2/1e51f0b2dbb0ed55676c45db28e55ba6.jpg","text":"TemporaryFile(/tmp/multipartBody2833192237181954982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096140634,"filename":"image_30102025_12_59_11_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391853907","file1":"1391853906","file0":"1391853905","file4":"1391853910","file5":"1391853911","file3":"1391853908"},"map_files_photo_id_array":[{"photo_id":"1391853911","filename":"file5"},{"photo_id":"1391853907","filename":"file2"},{"photo_id":"1391853910","filename":"file4"},{"photo_id":"1391853906","filename":"file1"},{"photo_id":"1391853905","filename":"file0"},{"photo_id":"1391853908","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391853906":["hashtag1","hashtag2"]},{"1391853911":["hashtag1","hashtag2"]},{"1391853905":["hashtag1","hashtag2"]},{"1391853908":["hashtag1","hashtag2"]},{"1391853907":["hashtag1","hashtag2"]},{"1391853910":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391853906, 1391853911, 1391853905, 1391853908, 1391853907, 1391853910)","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 = 1391853907 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_05_2620.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 88.51290345191956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 16:09:26.196710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_18_3665.jpg', '/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_23_2710.jpg', '/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_27_3575.jpg', '/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_29_2565.jpg', '/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_32_2729.jpg', '/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_36_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/12/59/image_30102025_12_59_18_3665.jpg
/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_23_2710.jpg
/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_27_3575.jpg
/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_29_2565.jpg
/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_32_2729.jpg
/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_36_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":["1391853948","1391853942","1391853941","1391853944","1391853937","1391853946"],"photo_ids_order":["1391853937","1391853941","1391853942","1391853944","1391853946","1391853948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/aff745ce7f32bf8aa1d74d14facfe754.jpg","text":"TemporaryFile(/tmp/multipartBody4135637590514174326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096228992,"filename":"image_30102025_12_59_36_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/2/b5047c66e77add4bdc10e80264ae04fe.jpg","text":"TemporaryFile(/tmp/multipartBody278306951238800746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096228992,"filename":"image_30102025_12_59_27_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/2/249c63c89df422c5169a7f5a433cfa7b.jpg","text":"TemporaryFile(/tmp/multipartBody3044431439025596084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096228992,"filename":"image_30102025_12_59_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/2/490a5f04def49587d93c172fcb96fc61.jpg","text":"TemporaryFile(/tmp/multipartBody5260709176782931091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096228992,"filename":"image_30102025_12_59_29_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/2/baa1f859800b025025561dc0e4342fd1.jpg","text":"TemporaryFile(/tmp/multipartBody597377270802664763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096228992,"filename":"image_30102025_12_59_18_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/2/2eb9569a792b18e41752dec704544c4a.jpg","text":"TemporaryFile(/tmp/multipartBody950194990297807564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096228992,"filename":"image_30102025_12_59_32_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391853942","file1":"1391853941","file0":"1391853937","file4":"1391853946","file5":"1391853948","file3":"1391853944"},"map_files_photo_id_array":[{"photo_id":"1391853948","filename":"file5"},{"photo_id":"1391853942","filename":"file2"},{"photo_id":"1391853946","filename":"file4"},{"photo_id":"1391853941","filename":"file1"},{"photo_id":"1391853937","filename":"file0"},{"photo_id":"1391853944","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391853948":["hashtag1","hashtag2"]},{"1391853942":["hashtag1","hashtag2"]},{"1391853941":["hashtag1","hashtag2"]},{"1391853944":["hashtag1","hashtag2"]},{"1391853937":["hashtag1","hashtag2"]},{"1391853946":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391853948, 1391853942, 1391853941, 1391853944, 1391853937, 1391853946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.26447129249573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 16:10:22.228336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_41_2823.jpg', '/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_45_3582.jpg', '/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_48_2730.jpg', '/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_50_2669.jpg', '/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_53_2677.jpg', '/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_57_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_41_2823.jpg
/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_45_3582.jpg
/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_48_2730.jpg
/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_50_2669.jpg
/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_53_2677.jpg
/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_57_3692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391853960","1391853963","1391853965","1391853973","1391853961","1391853970"],"photo_ids_order":["1391853960","1391853961","1391853963","1391853965","1391853970","1391853973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d4ee7a75c9377c1d15ec1bf172be4a62.jpg","text":"TemporaryFile(/tmp/multipartBody2264096601314247734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096285806,"filename":"image_30102025_12_59_41_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/2/0b4a3ebe2713ca0c1894051abd6aeaee.jpg","text":"TemporaryFile(/tmp/multipartBody3039635514790579377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096285806,"filename":"image_30102025_12_59_48_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/2/a796068d1f314c7244e25bf8df2a9907.jpg","text":"TemporaryFile(/tmp/multipartBody2727986006035986265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096285806,"filename":"image_30102025_12_59_50_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/2/5ad6f5922184b24e83e2810273663910.jpg","text":"TemporaryFile(/tmp/multipartBody8009999658046598670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096285806,"filename":"image_30102025_12_59_57_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/2/edc05faa26023cb91da770ffd4e35a5f.jpg","text":"TemporaryFile(/tmp/multipartBody7703442547458144063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096285806,"filename":"image_30102025_12_59_45_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/2/d3fd10cdda548b660fb08225d69af930.jpg","text":"TemporaryFile(/tmp/multipartBody3270605257929974435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096285806,"filename":"image_30102025_12_59_53_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391853963","file1":"1391853961","file0":"1391853960","file4":"1391853970","file5":"1391853973","file3":"1391853965"},"map_files_photo_id_array":[{"photo_id":"1391853973","filename":"file5"},{"photo_id":"1391853963","filename":"file2"},{"photo_id":"1391853970","filename":"file4"},{"photo_id":"1391853961","filename":"file1"},{"photo_id":"1391853960","filename":"file0"},{"photo_id":"1391853965","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391853960":["hashtag1","hashtag2"]},{"1391853963":["hashtag1","hashtag2"]},{"1391853965":["hashtag1","hashtag2"]},{"1391853973":["hashtag1","hashtag2"]},{"1391853961":["hashtag1","hashtag2"]},{"1391853970":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391853960, 1391853963, 1391853965, 1391853973, 1391853961, 1391853970)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.12618041038513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 16:11:22.588708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/12/59/image_30102025_12_59_59_2773.jpg', '/home/pi/Desktop/images/30102025/13/01/image_30102025_13_01_07_3017.jpg', '/home/pi/Desktop/images/30102025/13/01/image_30102025_13_01_13_2663.jpg', '/home/pi/Desktop/images/30102025/13/01/image_30102025_13_01_17_3581.jpg', '/home/pi/Desktop/images/30102025/13/01/image_30102025_13_01_22_2717.jpg', '/home/pi/Desktop/images/30102025/13/01/image_30102025_13_01_28_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/12/59/image_30102025_12_59_59_2773.jpg
/home/pi/Desktop/images/30102025/13/01/image_30102025_13_01_07_3017.jpg
/home/pi/Desktop/images/30102025/13/01/image_30102025_13_01_13_2663.jpg
/home/pi/Desktop/images/30102025/13/01/image_30102025_13_01_17_3581.jpg
/home/pi/Desktop/images/30102025/13/01/image_30102025_13_01_22_2717.jpg
/home/pi/Desktop/images/30102025/13/01/image_30102025_13_01_28_2734.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391853995","1391853989","1391853992","1391853997","1391854000","1391854003"],"photo_ids_order":["1391853989","1391853992","1391853995","1391853997","1391854000","1391854003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7f079f174e5fe8a0e6a78aa30029697b.jpg","text":"TemporaryFile(/tmp/multipartBody8296321853296543577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096345431,"filename":"image_30102025_13_01_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/2/e468a019a8330c1795e6027b47c2c560.jpg","text":"TemporaryFile(/tmp/multipartBody7191634022812579058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096345431,"filename":"image_30102025_12_59_59_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/2/f1b0fe7584788c87f74f76220e0e9e30.jpg","text":"TemporaryFile(/tmp/multipartBody7173107948813270149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096345431,"filename":"image_30102025_13_01_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/30c37604a52ed7eba062b6c165502874.jpg","text":"TemporaryFile(/tmp/multipartBody6914277573539205897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096345431,"filename":"image_30102025_13_01_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/2/d47b81643703f16cfadfda77a46746d4.jpg","text":"TemporaryFile(/tmp/multipartBody1116049535294017788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096345431,"filename":"image_30102025_13_01_22_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/2/29585305b98ac13f59c6d0cd09095a88.jpg","text":"TemporaryFile(/tmp/multipartBody3914688879057911852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096345431,"filename":"image_30102025_13_01_28_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391853995","file1":"1391853992","file0":"1391853989","file4":"1391854000","file5":"1391854003","file3":"1391853997"},"map_files_photo_id_array":[{"photo_id":"1391854003","filename":"file5"},{"photo_id":"1391853995","filename":"file2"},{"photo_id":"1391854000","filename":"file4"},{"photo_id":"1391853992","filename":"file1"},{"photo_id":"1391853989","filename":"file0"},{"photo_id":"1391853997","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391853995":["hashtag1","hashtag2"]},{"1391853989":["hashtag1","hashtag2"]},{"1391853992":["hashtag1","hashtag2"]},{"1391853997":["hashtag1","hashtag2"]},{"1391854000":["hashtag1","hashtag2"]},{"1391854003":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391853995, 1391853989, 1391853992, 1391853997, 1391854000, 1391854003)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.996915102005005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 16:12:21.813721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/01/image_30102025_13_01_34_2687.jpg', '/home/pi/Desktop/images/30102025/13/01/image_30102025_13_01_43_2586.jpg', '/home/pi/Desktop/images/30102025/13/01/image_30102025_13_01_47_3793.jpg', '/home/pi/Desktop/images/30102025/13/01/image_30102025_13_01_49_2721.jpg', '/home/pi/Desktop/images/30102025/13/01/image_30102025_13_01_52_2779.jpg', '/home/pi/Desktop/images/30102025/13/01/image_30102025_13_01_55_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/13/01/image_30102025_13_01_34_2687.jpg
/home/pi/Desktop/images/30102025/13/01/image_30102025_13_01_43_2586.jpg
/home/pi/Desktop/images/30102025/13/01/image_30102025_13_01_47_3793.jpg
/home/pi/Desktop/images/30102025/13/01/image_30102025_13_01_49_2721.jpg
/home/pi/Desktop/images/30102025/13/01/image_30102025_13_01_52_2779.jpg
/home/pi/Desktop/images/30102025/13/01/image_30102025_13_01_55_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391854025","1391854019","1391854024","1391854021","1391854015","1391854020"],"photo_ids_order":["1391854015","1391854019","1391854020","1391854021","1391854024","1391854025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3181b8404e3fd18bae284c167ec56a8a.jpg","text":"TemporaryFile(/tmp/multipartBody8629537167102656306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096405684,"filename":"image_30102025_13_01_55_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/2/86f56d9b876f23ce2c6960800e4874cb.jpg","text":"TemporaryFile(/tmp/multipartBody1689412796097306685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096405684,"filename":"image_30102025_13_01_43_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/2/a7d02a35db9042eecbe1c64600f8cd10.jpg","text":"TemporaryFile(/tmp/multipartBody5516986275925989971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096405684,"filename":"image_30102025_13_01_52_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/2/5c3431fba42b84b4a060e023900f8e1f.jpg","text":"TemporaryFile(/tmp/multipartBody1515940316917188141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096405684,"filename":"image_30102025_13_01_49_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/2/a00d280019644359f0ae0b9b7e5f9594.jpg","text":"TemporaryFile(/tmp/multipartBody6592701243367873368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096405684,"filename":"image_30102025_13_01_34_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/2/02a551f982f90acc4ca97ecb8fefa78c.jpg","text":"TemporaryFile(/tmp/multipartBody538479468891166155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096405684,"filename":"image_30102025_13_01_47_3793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391854020","file1":"1391854019","file0":"1391854015","file4":"1391854024","file5":"1391854025","file3":"1391854021"},"map_files_photo_id_array":[{"photo_id":"1391854025","filename":"file5"},{"photo_id":"1391854020","filename":"file2"},{"photo_id":"1391854024","filename":"file4"},{"photo_id":"1391854019","filename":"file1"},{"photo_id":"1391854015","filename":"file0"},{"photo_id":"1391854021","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391854025":["hashtag1","hashtag2"]},{"1391854019":["hashtag1","hashtag2"]},{"1391854024":["hashtag1","hashtag2"]},{"1391854021":["hashtag1","hashtag2"]},{"1391854015":["hashtag1","hashtag2"]},{"1391854020":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391854025, 1391854019, 1391854024, 1391854021, 1391854015, 1391854020)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.077648878097534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 16:13:24.751838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/01/image_30102025_13_01_58_3594.jpg', '/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_01_2767.jpg', '/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_04_2749.jpg', '/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_07_2755.jpg', '/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_10_3569.jpg', '/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_17_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/13/01/image_30102025_13_01_58_3594.jpg
/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_01_2767.jpg
/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_04_2749.jpg
/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_07_2755.jpg
/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_10_3569.jpg
/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_17_3676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391854038","1391854052","1391854046","1391854055","1391854040","1391854043"],"photo_ids_order":["1391854038","1391854040","1391854043","1391854046","1391854052","1391854055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e3d590f16b1751885af0e695978d1281.jpg","text":"TemporaryFile(/tmp/multipartBody4767512618015851307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096467422,"filename":"image_30102025_13_01_58_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/2/e2bc920bef3ffea4cdba910d51d80e7b.jpg","text":"TemporaryFile(/tmp/multipartBody7536423937016941632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096467422,"filename":"image_30102025_13_02_10_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/2/bfbd4217a01f125501fe06660046b42d.jpg","text":"TemporaryFile(/tmp/multipartBody8610172603762454626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096467422,"filename":"image_30102025_13_02_07_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/2/aceb5c0d5659c0a123d9b70321287db3.jpg","text":"TemporaryFile(/tmp/multipartBody3580218821582758433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096467422,"filename":"image_30102025_13_02_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/2/9354e18fcfa914b5df155c0f6f71c069.jpg","text":"TemporaryFile(/tmp/multipartBody5675172279571059992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096467422,"filename":"image_30102025_13_02_01_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/2/d36ecff05ae523e7ed47d31bdb83abb0.jpg","text":"TemporaryFile(/tmp/multipartBody7045409629833638413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096467422,"filename":"image_30102025_13_02_04_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391854043","file1":"1391854040","file0":"1391854038","file4":"1391854052","file5":"1391854055","file3":"1391854046"},"map_files_photo_id_array":[{"photo_id":"1391854055","filename":"file5"},{"photo_id":"1391854043","filename":"file2"},{"photo_id":"1391854052","filename":"file4"},{"photo_id":"1391854040","filename":"file1"},{"photo_id":"1391854038","filename":"file0"},{"photo_id":"1391854046","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391854038":["hashtag1","hashtag2"]},{"1391854052":["hashtag1","hashtag2"]},{"1391854046":["hashtag1","hashtag2"]},{"1391854055":["hashtag1","hashtag2"]},{"1391854040":["hashtag1","hashtag2"]},{"1391854043":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391854038, 1391854052, 1391854046, 1391854055, 1391854040, 1391854043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.755619525909424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 16:14:21.979488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_19_2672.jpg', '/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_22_2607.jpg', '/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_26_3633.jpg', '/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_28_2621.jpg', '/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_31_2573.jpg', '/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_35_3826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_19_2672.jpg
/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_22_2607.jpg
/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_26_3633.jpg
/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_28_2621.jpg
/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_31_2573.jpg
/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_35_3826.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391854094","1391854091","1391854079","1391854088","1391854096","1391854069"],"photo_ids_order":["1391854069","1391854079","1391854088","1391854091","1391854094","1391854096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2644433770c9f337bb7de2b72d01b5c1.jpg","text":"TemporaryFile(/tmp/multipartBody5020071864534295426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096524683,"filename":"image_30102025_13_02_31_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/2/35b735440d739fe7f76d69b08044db75.jpg","text":"TemporaryFile(/tmp/multipartBody3357272390452355027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096524683,"filename":"image_30102025_13_02_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/2/11d1c5e71cf472c817e506953fa58a15.jpg","text":"TemporaryFile(/tmp/multipartBody643979203344611273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096524683,"filename":"image_30102025_13_02_22_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/2/969c248ae33e519b49d28214ea518b16.jpg","text":"TemporaryFile(/tmp/multipartBody3637691499556719718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096524683,"filename":"image_30102025_13_02_26_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/2/d9fb0c4fcf68566c3cc6adf59e2a75bc.jpg","text":"TemporaryFile(/tmp/multipartBody8773608700274922773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096524683,"filename":"image_30102025_13_02_35_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/2/d1620e4900f03e85b54c8da8faaf1d36.jpg","text":"TemporaryFile(/tmp/multipartBody5917999112945067390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096524683,"filename":"image_30102025_13_02_19_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391854088","file1":"1391854079","file0":"1391854069","file4":"1391854094","file5":"1391854096","file3":"1391854091"},"map_files_photo_id_array":[{"photo_id":"1391854096","filename":"file5"},{"photo_id":"1391854088","filename":"file2"},{"photo_id":"1391854094","filename":"file4"},{"photo_id":"1391854079","filename":"file1"},{"photo_id":"1391854069","filename":"file0"},{"photo_id":"1391854091","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391854094":["hashtag1","hashtag2"]},{"1391854091":["hashtag1","hashtag2"]},{"1391854079":["hashtag1","hashtag2"]},{"1391854088":["hashtag1","hashtag2"]},{"1391854096":["hashtag1","hashtag2"]},{"1391854069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391854094, 1391854091, 1391854079, 1391854088, 1391854096, 1391854069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97342491149902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 16:15:02.711815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_49_3732.jpg', '/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_58_3635.jpg', '/home/pi/Desktop/images/30102025/13/03/image_30102025_13_03_01_2795.jpg', '/home/pi/Desktop/images/30102025/13/03/image_30102025_13_03_07_2727.jpg', '/home/pi/Desktop/images/30102025/13/03/image_30102025_13_03_13_2555.jpg', '/home/pi/Desktop/images/30102025/13/03/image_30102025_13_03_19_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/13/02/image_30102025_13_02_49_3732.jpg
/home/pi/Desktop/images/30102025/13/02/image_30102025_13_02_58_3635.jpg
/home/pi/Desktop/images/30102025/13/03/image_30102025_13_03_01_2795.jpg
/home/pi/Desktop/images/30102025/13/03/image_30102025_13_03_07_2727.jpg
/home/pi/Desktop/images/30102025/13/03/image_30102025_13_03_13_2555.jpg
/home/pi/Desktop/images/30102025/13/03/image_30102025_13_03_19_3620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391854107","1391854109","1391854106","1391854105","1391854114","1391854155"],"photo_ids_order":["1391854105","1391854106","1391854107","1391854109","1391854114","1391854155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/52304a2be52018f35b585084fa8e8ca2.jpg","text":"TemporaryFile(/tmp/multipartBody3343856935717245943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096564856,"filename":"image_30102025_13_03_01_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/2/1f578aa55caaabfcaa04f8ad9c1c796b.jpg","text":"TemporaryFile(/tmp/multipartBody7142199314013113877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096564856,"filename":"image_30102025_13_03_07_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/2/9938d931681a69646632bd9ebf619333.jpg","text":"TemporaryFile(/tmp/multipartBody5508221361487310383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096564856,"filename":"image_30102025_13_02_58_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/2/911e21bdc9f2eea9fb74bd4e98938db1.jpg","text":"TemporaryFile(/tmp/multipartBody853748243250363583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096564856,"filename":"image_30102025_13_02_49_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/2/41c627cbf8fbecff059f6d3e8ca143be.jpg","text":"TemporaryFile(/tmp/multipartBody9033068330455062084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096564856,"filename":"image_30102025_13_03_13_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/2/9828be5b9b0ff35959aa4d288b5bdfd1.jpg","text":"TemporaryFile(/tmp/multipartBody6815788300816737533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096564856,"filename":"image_30102025_13_03_19_3620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391854107","file1":"1391854106","file0":"1391854105","file4":"1391854114","file5":"1391854155","file3":"1391854109"},"map_files_photo_id_array":[{"photo_id":"1391854155","filename":"file5"},{"photo_id":"1391854107","filename":"file2"},{"photo_id":"1391854114","filename":"file4"},{"photo_id":"1391854106","filename":"file1"},{"photo_id":"1391854105","filename":"file0"},{"photo_id":"1391854109","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391854107":["hashtag1","hashtag2"]},{"1391854109":["hashtag1","hashtag2"]},{"1391854106":["hashtag1","hashtag2"]},{"1391854105":["hashtag1","hashtag2"]},{"1391854114":["hashtag1","hashtag2"]},{"1391854155":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391854107, 1391854109, 1391854106, 1391854105, 1391854114, 1391854155)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.95370817184448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 16:16:02.648440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/03/image_30102025_13_03_22_2832.jpg', '/home/pi/Desktop/images/30102025/13/03/image_30102025_13_03_25_2571.jpg', '/home/pi/Desktop/images/30102025/13/03/image_30102025_13_03_28_3800.jpg', '/home/pi/Desktop/images/30102025/13/03/image_30102025_13_03_31_2739.jpg', '/home/pi/Desktop/images/30102025/13/03/image_30102025_13_03_34_2693.jpg', '/home/pi/Desktop/images/30102025/13/03/image_30102025_13_03_37_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/13/03/image_30102025_13_03_22_2832.jpg
/home/pi/Desktop/images/30102025/13/03/image_30102025_13_03_25_2571.jpg
/home/pi/Desktop/images/30102025/13/03/image_30102025_13_03_28_3800.jpg
/home/pi/Desktop/images/30102025/13/03/image_30102025_13_03_31_2739.jpg
/home/pi/Desktop/images/30102025/13/03/image_30102025_13_03_34_2693.jpg
/home/pi/Desktop/images/30102025/13/03/image_30102025_13_03_37_2728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391854289","1391854310","1391854285","1391854282","1391854386","1391854350"],"photo_ids_order":["1391854282","1391854285","1391854289","1391854310","1391854350","1391854386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/37d42a941fa56c3bf197898b795e1f49.jpg","text":"TemporaryFile(/tmp/multipartBody3822630595992172463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096624752,"filename":"image_30102025_13_03_28_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/2/d6281db7d82f1f3060e67858ba25c6f4.jpg","text":"TemporaryFile(/tmp/multipartBody5146953890742503253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096624752,"filename":"image_30102025_13_03_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/2/900a9e1245172e1c9c737d49865c802c.jpg","text":"TemporaryFile(/tmp/multipartBody3776992348668503929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096624752,"filename":"image_30102025_13_03_25_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/2/ba83d44149746c654017557b4faf6765.jpg","text":"TemporaryFile(/tmp/multipartBody8611844696134282536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096624752,"filename":"image_30102025_13_03_22_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/2/e1815463bc346c30eff93ed12b4caf47.jpg","text":"TemporaryFile(/tmp/multipartBody5852214071630660522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096624752,"filename":"image_30102025_13_03_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/2/7a4afaa8c7e9d5beb0714f9351664643.jpg","text":"TemporaryFile(/tmp/multipartBody8727182786290576920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096624752,"filename":"image_30102025_13_03_34_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391854289","file1":"1391854285","file0":"1391854282","file4":"1391854350","file5":"1391854386","file3":"1391854310"},"map_files_photo_id_array":[{"photo_id":"1391854386","filename":"file5"},{"photo_id":"1391854289","filename":"file2"},{"photo_id":"1391854350","filename":"file4"},{"photo_id":"1391854285","filename":"file1"},{"photo_id":"1391854282","filename":"file0"},{"photo_id":"1391854310","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391854289":["hashtag1","hashtag2"]},{"1391854310":["hashtag1","hashtag2"]},{"1391854285":["hashtag1","hashtag2"]},{"1391854282":["hashtag1","hashtag2"]},{"1391854386":["hashtag1","hashtag2"]},{"1391854350":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391854289, 1391854310, 1391854285, 1391854282, 1391854386, 1391854350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04110598564148 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 16:16:42.230312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/03/image_30102025_13_03_43_2633.jpg', '/home/pi/Desktop/images/30102025/13/03/image_30102025_13_03_46_2724.jpg', '/home/pi/Desktop/images/30102025/13/03/image_30102025_13_03_55_2587.jpg', '/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_01_2714.jpg', '/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_04_2809.jpg', '/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_07_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/13/03/image_30102025_13_03_43_2633.jpg
/home/pi/Desktop/images/30102025/13/03/image_30102025_13_03_46_2724.jpg
/home/pi/Desktop/images/30102025/13/03/image_30102025_13_03_55_2587.jpg
/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_01_2714.jpg
/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_04_2809.jpg
/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_07_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":["1391854459","1391854468","1391854461","1391854455","1391854464","1391854452"],"photo_ids_order":["1391854452","1391854455","1391854459","1391854461","1391854464","1391854468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cca1b04981f4c966ae58719b52b026d1.jpg","text":"TemporaryFile(/tmp/multipartBody1300891053737056119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096673400,"filename":"image_30102025_13_03_55_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/2/bd66d03690e5d37d6c25b8c40adf7cf9.jpg","text":"TemporaryFile(/tmp/multipartBody4266679820399337242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096673400,"filename":"image_30102025_13_04_07_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/2/f2aa22ff0f843436490f30970d3199f8.jpg","text":"TemporaryFile(/tmp/multipartBody8312809204080070871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096673400,"filename":"image_30102025_13_04_01_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/2/959b965f8832067e96fac5d85301b72b.jpg","text":"TemporaryFile(/tmp/multipartBody8343688524327634996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096673400,"filename":"image_30102025_13_03_46_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/2/cdc18769f92c57666eb1c832d95988fd.jpg","text":"TemporaryFile(/tmp/multipartBody2593254887412730330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096673400,"filename":"image_30102025_13_04_04_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/2/f21967c1e277a45e5d87ef93dc9891ce.jpg","text":"TemporaryFile(/tmp/multipartBody8535367273235481406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096673400,"filename":"image_30102025_13_03_43_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391854459","file1":"1391854455","file0":"1391854452","file4":"1391854464","file5":"1391854468","file3":"1391854461"},"map_files_photo_id_array":[{"photo_id":"1391854468","filename":"file5"},{"photo_id":"1391854459","filename":"file2"},{"photo_id":"1391854464","filename":"file4"},{"photo_id":"1391854455","filename":"file1"},{"photo_id":"1391854452","filename":"file0"},{"photo_id":"1391854461","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391854459":["hashtag1","hashtag2"]},{"1391854468":["hashtag1","hashtag2"]},{"1391854461":["hashtag1","hashtag2"]},{"1391854455":["hashtag1","hashtag2"]},{"1391854464":["hashtag1","hashtag2"]},{"1391854452":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391854459, 1391854468, 1391854461, 1391854455, 1391854464, 1391854452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.47900056838989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 16:17:42.457175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_10_3689.jpg', '/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_19_3644.jpg', '/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_22_2753.jpg', '/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_28_2791.jpg', '/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_31_3636.jpg', '/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_40_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/13/04/image_30102025_13_04_10_3689.jpg
/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_19_3644.jpg
/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_22_2753.jpg
/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_28_2791.jpg
/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_31_3636.jpg
/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_40_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: 1.077146053314209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 16:18:03.129660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_10_3689.jpg', '/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_19_3644.jpg', '/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_22_2753.jpg', '/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_28_2791.jpg', '/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_31_3636.jpg', '/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_40_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/13/04/image_30102025_13_04_10_3689.jpg
/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_19_3644.jpg
/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_22_2753.jpg
/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_28_2791.jpg
/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_31_3636.jpg
/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_40_2624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391854500","1391854496","1391854489","1391854498","1391854492","1391854494"],"photo_ids_order":["1391854489","1391854492","1391854494","1391854496","1391854498","1391854500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8e91cae1f4588b2de0e82c9fa0c15c6f.jpg","text":"TemporaryFile(/tmp/multipartBody5867885199519741281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096744973,"filename":"image_30102025_13_04_40_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/2/95475f79ff50e8a0e211b5fd9d7d9379.jpg","text":"TemporaryFile(/tmp/multipartBody9137668411777536049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096744973,"filename":"image_30102025_13_04_28_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/2/e441e186b77717206cc322dee23ee867.jpg","text":"TemporaryFile(/tmp/multipartBody5601400187858365442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096744973,"filename":"image_30102025_13_04_10_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/2/f9d0b62dba346e34aacdfd96e6f8a6bd.jpg","text":"TemporaryFile(/tmp/multipartBody8242242735777474085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096744973,"filename":"image_30102025_13_04_31_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/2/6c79b12811e037db24978dea30b640f0.jpg","text":"TemporaryFile(/tmp/multipartBody4619521942063914911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096744973,"filename":"image_30102025_13_04_19_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/2/4dc8f5654d9599c374a3f96652b7c5ac.jpg","text":"TemporaryFile(/tmp/multipartBody7273564266460394443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096744973,"filename":"image_30102025_13_04_22_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391854494","file1":"1391854492","file0":"1391854489","file4":"1391854498","file5":"1391854500","file3":"1391854496"},"map_files_photo_id_array":[{"photo_id":"1391854500","filename":"file5"},{"photo_id":"1391854494","filename":"file2"},{"photo_id":"1391854498","filename":"file4"},{"photo_id":"1391854492","filename":"file1"},{"photo_id":"1391854489","filename":"file0"},{"photo_id":"1391854496","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391854500":["hashtag1","hashtag2"]},{"1391854496":["hashtag1","hashtag2"]},{"1391854489":["hashtag1","hashtag2"]},{"1391854498":["hashtag1","hashtag2"]},{"1391854492":["hashtag1","hashtag2"]},{"1391854494":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391854500, 1391854496, 1391854489, 1391854498, 1391854492, 1391854494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89667224884033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 16:18:42.746901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/04/image_30102025_13_04_52_3650.jpg', '/home/pi/Desktop/images/30102025/13/05/image_30102025_13_05_01_2669.jpg', '/home/pi/Desktop/images/30102025/13/05/image_30102025_13_05_10_2784.jpg', '/home/pi/Desktop/images/30102025/13/05/image_30102025_13_05_13_3642.jpg', '/home/pi/Desktop/images/30102025/13/05/image_30102025_13_05_28_2640.jpg', '/home/pi/Desktop/images/30102025/13/05/image_30102025_13_05_46_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/13/04/image_30102025_13_04_52_3650.jpg
/home/pi/Desktop/images/30102025/13/05/image_30102025_13_05_01_2669.jpg
/home/pi/Desktop/images/30102025/13/05/image_30102025_13_05_10_2784.jpg
/home/pi/Desktop/images/30102025/13/05/image_30102025_13_05_13_3642.jpg
/home/pi/Desktop/images/30102025/13/05/image_30102025_13_05_28_2640.jpg
/home/pi/Desktop/images/30102025/13/05/image_30102025_13_05_46_2697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391854506","1391854517","1391854514","1391854522","1391854519","1391854510"],"photo_ids_order":["1391854506","1391854510","1391854514","1391854517","1391854519","1391854522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/35e308621bb8fab7e9191f581d1c0d67.jpg","text":"TemporaryFile(/tmp/multipartBody242953669029631352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096783900,"filename":"image_30102025_13_04_52_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/2/59053c6b62893a4df68d3a3c789c885d.jpg","text":"TemporaryFile(/tmp/multipartBody1531089650904225836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096783900,"filename":"image_30102025_13_05_13_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/2/cb33f0842c7bd8e3dbd123bfc18610f6.jpg","text":"TemporaryFile(/tmp/multipartBody2759717934087520981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096783900,"filename":"image_30102025_13_05_10_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/2/8eabd9587507142449402b8403b852a0.jpg","text":"TemporaryFile(/tmp/multipartBody3307423722978556910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096783900,"filename":"image_30102025_13_05_46_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/2/d99ff1e604ed2a8767560fb23492873a.jpg","text":"TemporaryFile(/tmp/multipartBody1249945702289150136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096783900,"filename":"image_30102025_13_05_28_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/2/658590d49e2db8c2b0c4ec9b007f703c.jpg","text":"TemporaryFile(/tmp/multipartBody3074020343458111296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096783900,"filename":"image_30102025_13_05_01_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391854514","file1":"1391854510","file0":"1391854506","file4":"1391854519","file5":"1391854522","file3":"1391854517"},"map_files_photo_id_array":[{"photo_id":"1391854522","filename":"file5"},{"photo_id":"1391854514","filename":"file2"},{"photo_id":"1391854519","filename":"file4"},{"photo_id":"1391854510","filename":"file1"},{"photo_id":"1391854506","filename":"file0"},{"photo_id":"1391854517","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391854506":["hashtag1","hashtag2"]},{"1391854517":["hashtag1","hashtag2"]},{"1391854514":["hashtag1","hashtag2"]},{"1391854522":["hashtag1","hashtag2"]},{"1391854519":["hashtag1","hashtag2"]},{"1391854510":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391854506, 1391854517, 1391854514, 1391854522, 1391854519, 1391854510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15674543380737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 16:19:21.923326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/06/image_30102025_13_06_13_2681.jpg', '/home/pi/Desktop/images/30102025/13/06/image_30102025_13_06_19_3705.jpg', '/home/pi/Desktop/images/30102025/13/06/image_30102025_13_06_25_2584.jpg', '/home/pi/Desktop/images/30102025/13/06/image_30102025_13_06_37_2831.jpg', '/home/pi/Desktop/images/30102025/13/06/image_30102025_13_06_46_2597.jpg', '/home/pi/Desktop/images/30102025/13/06/image_30102025_13_06_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/13/06/image_30102025_13_06_13_2681.jpg
/home/pi/Desktop/images/30102025/13/06/image_30102025_13_06_19_3705.jpg
/home/pi/Desktop/images/30102025/13/06/image_30102025_13_06_25_2584.jpg
/home/pi/Desktop/images/30102025/13/06/image_30102025_13_06_37_2831.jpg
/home/pi/Desktop/images/30102025/13/06/image_30102025_13_06_46_2597.jpg
/home/pi/Desktop/images/30102025/13/06/image_30102025_13_06_48_2604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391854532","1391854534","1391854542","1391854536","1391854539","1391854530"],"photo_ids_order":["1391854530","1391854532","1391854534","1391854536","1391854539","1391854542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/49ae24f098737acadef3ea09f6255209.jpg","text":"TemporaryFile(/tmp/multipartBody2420887500093892668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096824645,"filename":"image_30102025_13_06_19_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/2/1ae58665f54610c8d86063915fc580fc.jpg","text":"TemporaryFile(/tmp/multipartBody138393286018188766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096824645,"filename":"image_30102025_13_06_25_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/2/f554d8a12ebd1305985189ece98a2fc0.jpg","text":"TemporaryFile(/tmp/multipartBody6675049454288533485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096824645,"filename":"image_30102025_13_06_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/2/cd522412cf79d8bfee9d66b7c97fcb83.jpg","text":"TemporaryFile(/tmp/multipartBody7230280302830373100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096824645,"filename":"image_30102025_13_06_37_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/2/27f4275e1c64de1d0728289e02def2e4.jpg","text":"TemporaryFile(/tmp/multipartBody3100854392514631900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096824645,"filename":"image_30102025_13_06_46_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/2/2f37d333081aeb90f98d7f2d333a4ef6.jpg","text":"TemporaryFile(/tmp/multipartBody5186491040529527768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096824645,"filename":"image_30102025_13_06_13_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391854534","file1":"1391854532","file0":"1391854530","file4":"1391854539","file5":"1391854542","file3":"1391854536"},"map_files_photo_id_array":[{"photo_id":"1391854542","filename":"file5"},{"photo_id":"1391854534","filename":"file2"},{"photo_id":"1391854539","filename":"file4"},{"photo_id":"1391854532","filename":"file1"},{"photo_id":"1391854530","filename":"file0"},{"photo_id":"1391854536","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391854532":["hashtag1","hashtag2"]},{"1391854534":["hashtag1","hashtag2"]},{"1391854542":["hashtag1","hashtag2"]},{"1391854536":["hashtag1","hashtag2"]},{"1391854539":["hashtag1","hashtag2"]},{"1391854530":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391854532, 1391854534, 1391854542, 1391854536, 1391854539, 1391854530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.96694302558899 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 16:20:02.419012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/06/image_30102025_13_06_57_2740.jpg', '/home/pi/Desktop/images/30102025/13/06/image_30102025_13_07_01_3702.jpg', '/home/pi/Desktop/images/30102025/13/07/image_30102025_13_07_04_2688.jpg', '/home/pi/Desktop/images/30102025/13/07/image_30102025_13_07_06_2651.jpg', '/home/pi/Desktop/images/30102025/13/07/image_30102025_13_07_09_2768.jpg', '/home/pi/Desktop/images/30102025/13/07/image_30102025_13_07_15_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/13/06/image_30102025_13_06_57_2740.jpg
/home/pi/Desktop/images/30102025/13/06/image_30102025_13_07_01_3702.jpg
/home/pi/Desktop/images/30102025/13/07/image_30102025_13_07_04_2688.jpg
/home/pi/Desktop/images/30102025/13/07/image_30102025_13_07_06_2651.jpg
/home/pi/Desktop/images/30102025/13/07/image_30102025_13_07_09_2768.jpg
/home/pi/Desktop/images/30102025/13/07/image_30102025_13_07_15_2703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391854553","1391854547","1391854556","1391854561","1391854549","1391854551"],"photo_ids_order":["1391854547","1391854549","1391854551","1391854553","1391854556","1391854561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/270a9e89d5d233753280bfde367d2f98.jpg","text":"TemporaryFile(/tmp/multipartBody1033671973767849810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096864482,"filename":"image_30102025_13_07_06_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/2/f72015e8f03e20be88b8b56e2bc8d466.jpg","text":"TemporaryFile(/tmp/multipartBody925114721371703235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096864482,"filename":"image_30102025_13_06_57_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/2/41a493f5ae8181e771b51a346ebd4797.jpg","text":"TemporaryFile(/tmp/multipartBody5268664796390376595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096864482,"filename":"image_30102025_13_07_09_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/2/f50ebca72dced402cdc4886d923c2fc1.jpg","text":"TemporaryFile(/tmp/multipartBody5601519734268375016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096864482,"filename":"image_30102025_13_07_15_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/2/e280fea1118d78b2e2f4c7be90e8df18.jpg","text":"TemporaryFile(/tmp/multipartBody4592362697091261087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096864482,"filename":"image_30102025_13_07_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/2/c5e248bae295a2b4bef75ecd65d2777c.jpg","text":"TemporaryFile(/tmp/multipartBody3530357243177356215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762096864482,"filename":"image_30102025_13_07_04_2688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391854551","file1":"1391854549","file0":"1391854547","file4":"1391854556","file5":"1391854561","file3":"1391854553"},"map_files_photo_id_array":[{"photo_id":"1391854561","filename":"file5"},{"photo_id":"1391854551","filename":"file2"},{"photo_id":"1391854556","filename":"file4"},{"photo_id":"1391854549","filename":"file1"},{"photo_id":"1391854547","filename":"file0"},{"photo_id":"1391854553","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391854553":["hashtag1","hashtag2"]},{"1391854547":["hashtag1","hashtag2"]},{"1391854556":["hashtag1","hashtag2"]},{"1391854561":["hashtag1","hashtag2"]},{"1391854549":["hashtag1","hashtag2"]},{"1391854551":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391854553, 1391854547, 1391854556, 1391854561, 1391854549, 1391854551)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.38898777961731 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 16:21:04.702639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 16:21:30.578512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 16:21:48.046583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 16:22:02.696332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 16:22:22.163719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/07/image_30102025_13_07_25_2678.jpg', '/home/pi/Desktop/images/30102025/13/07/image_30102025_13_07_27_2651.jpg', '/home/pi/Desktop/images/30102025/13/07/image_30102025_13_07_36_2817.jpg', '/home/pi/Desktop/images/30102025/13/07/image_30102025_13_07_39_2799.jpg', '/home/pi/Desktop/images/30102025/13/07/image_30102025_13_07_43_3827.jpg', '/home/pi/Desktop/images/30102025/13/07/image_30102025_13_07_48_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/13/07/image_30102025_13_07_25_2678.jpg
/home/pi/Desktop/images/30102025/13/07/image_30102025_13_07_27_2651.jpg
/home/pi/Desktop/images/30102025/13/07/image_30102025_13_07_36_2817.jpg
/home/pi/Desktop/images/30102025/13/07/image_30102025_13_07_39_2799.jpg
/home/pi/Desktop/images/30102025/13/07/image_30102025_13_07_43_3827.jpg
/home/pi/Desktop/images/30102025/13/07/image_30102025_13_07_48_2570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391854619","1391854627","1391854621","1391854615","1391854624","1391854617"],"photo_ids_order":["1391854615","1391854617","1391854619","1391854621","1391854624","1391854627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3210eb67aa31d098f95fdfc6e08423e6.jpg","text":"TemporaryFile(/tmp/multipartBody5323156226875747009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097043160,"filename":"image_30102025_13_07_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/2/b292c62221eb764f423c9091e7c1add9.jpg","text":"TemporaryFile(/tmp/multipartBody6299457668470352817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097043160,"filename":"image_30102025_13_07_48_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/2/438ef2c9df2ef639a1efb171d0791faf.jpg","text":"TemporaryFile(/tmp/multipartBody8831500324504306946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097043160,"filename":"image_30102025_13_07_39_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/2/d9eb86c86bfa7fab2ea126e6e8709246.jpg","text":"TemporaryFile(/tmp/multipartBody596780546292283235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097043160,"filename":"image_30102025_13_07_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/2/16cf3ed3d9b14be225115e4929db3a55.jpg","text":"TemporaryFile(/tmp/multipartBody5819323355579124851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097043160,"filename":"image_30102025_13_07_43_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/2/f46bd942ebb38a9e5cef3ee09d776cb4.jpg","text":"TemporaryFile(/tmp/multipartBody5959877008956063655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097043160,"filename":"image_30102025_13_07_27_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391854619","file1":"1391854617","file0":"1391854615","file4":"1391854624","file5":"1391854627","file3":"1391854621"},"map_files_photo_id_array":[{"photo_id":"1391854627","filename":"file5"},{"photo_id":"1391854619","filename":"file2"},{"photo_id":"1391854624","filename":"file4"},{"photo_id":"1391854617","filename":"file1"},{"photo_id":"1391854615","filename":"file0"},{"photo_id":"1391854621","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391854619":["hashtag1","hashtag2"]},{"1391854627":["hashtag1","hashtag2"]},{"1391854621":["hashtag1","hashtag2"]},{"1391854615":["hashtag1","hashtag2"]},{"1391854624":["hashtag1","hashtag2"]},{"1391854617":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391854619, 1391854627, 1391854621, 1391854615, 1391854624, 1391854617)","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 = 1391854619 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/13/07/image_30102025_13_07_36_2817.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 98.60582041740417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 16:24:03.261333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/07/image_30102025_13_07_52_3560.jpg', '/home/pi/Desktop/images/30102025/13/08/image_30102025_13_08_12_2579.jpg', '/home/pi/Desktop/images/30102025/13/08/image_30102025_13_08_19_2686.jpg', '/home/pi/Desktop/images/30102025/13/08/image_30102025_13_08_25_3719.jpg', '/home/pi/Desktop/images/30102025/13/08/image_30102025_13_08_33_2822.jpg', '/home/pi/Desktop/images/30102025/13/08/image_30102025_13_08_45_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/13/07/image_30102025_13_07_52_3560.jpg
/home/pi/Desktop/images/30102025/13/08/image_30102025_13_08_12_2579.jpg
/home/pi/Desktop/images/30102025/13/08/image_30102025_13_08_19_2686.jpg
/home/pi/Desktop/images/30102025/13/08/image_30102025_13_08_25_3719.jpg
/home/pi/Desktop/images/30102025/13/08/image_30102025_13_08_33_2822.jpg
/home/pi/Desktop/images/30102025/13/08/image_30102025_13_08_45_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: 4.441389322280884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 16:24:23.099065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/07/image_30102025_13_07_52_3560.jpg', '/home/pi/Desktop/images/30102025/13/08/image_30102025_13_08_12_2579.jpg', '/home/pi/Desktop/images/30102025/13/08/image_30102025_13_08_19_2686.jpg', '/home/pi/Desktop/images/30102025/13/08/image_30102025_13_08_25_3719.jpg', '/home/pi/Desktop/images/30102025/13/08/image_30102025_13_08_33_2822.jpg', '/home/pi/Desktop/images/30102025/13/08/image_30102025_13_08_45_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/13/07/image_30102025_13_07_52_3560.jpg
/home/pi/Desktop/images/30102025/13/08/image_30102025_13_08_12_2579.jpg
/home/pi/Desktop/images/30102025/13/08/image_30102025_13_08_19_2686.jpg
/home/pi/Desktop/images/30102025/13/08/image_30102025_13_08_25_3719.jpg
/home/pi/Desktop/images/30102025/13/08/image_30102025_13_08_33_2822.jpg
/home/pi/Desktop/images/30102025/13/08/image_30102025_13_08_45_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":["1391854658","1391854660","1391854663","1391854653","1391854662","1391854650"],"photo_ids_order":["1391854650","1391854653","1391854658","1391854660","1391854662","1391854663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/de8b85bf2682e7746df19bf66e4d036e.jpg","text":"TemporaryFile(/tmp/multipartBody8952322106425864338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097128153,"filename":"image_30102025_13_08_19_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/2/a6cee589dae138d4156f65d5837f4c5c.jpg","text":"TemporaryFile(/tmp/multipartBody146499925430051382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097128153,"filename":"image_30102025_13_08_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/2/8b7b1993e94916520232dce784e5d3a6.jpg","text":"TemporaryFile(/tmp/multipartBody3714181043983375457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097128153,"filename":"image_30102025_13_08_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/2/f8d21f9c63a4dc05833c625130dcaee0.jpg","text":"TemporaryFile(/tmp/multipartBody6703171604421249052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097128153,"filename":"image_30102025_13_08_12_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/2/5bfa8cf5cbe566a09fc1c813bf03ce85.jpg","text":"TemporaryFile(/tmp/multipartBody7882142892545464427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097128153,"filename":"image_30102025_13_08_33_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/2/ef999c9c246d4933def78cfd874392b8.jpg","text":"TemporaryFile(/tmp/multipartBody1370199760600268447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097128153,"filename":"image_30102025_13_07_52_3560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391854658","file1":"1391854653","file0":"1391854650","file4":"1391854662","file5":"1391854663","file3":"1391854660"},"map_files_photo_id_array":[{"photo_id":"1391854663","filename":"file5"},{"photo_id":"1391854658","filename":"file2"},{"photo_id":"1391854662","filename":"file4"},{"photo_id":"1391854653","filename":"file1"},{"photo_id":"1391854650","filename":"file0"},{"photo_id":"1391854660","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391854658":["hashtag1","hashtag2"]},{"1391854660":["hashtag1","hashtag2"]},{"1391854663":["hashtag1","hashtag2"]},{"1391854653":["hashtag1","hashtag2"]},{"1391854662":["hashtag1","hashtag2"]},{"1391854650":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391854658, 1391854660, 1391854663, 1391854653, 1391854662, 1391854650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.285913705825806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 16:25:21.812743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/08/image_30102025_13_08_51_2667.jpg', '/home/pi/Desktop/images/30102025/13/08/image_30102025_13_09_00_2619.jpg', '/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_03_2777.jpg', '/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_09_2634.jpg', '/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_16_2649.jpg', '/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_25_3752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/13/08/image_30102025_13_08_51_2667.jpg
/home/pi/Desktop/images/30102025/13/08/image_30102025_13_09_00_2619.jpg
/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_03_2777.jpg
/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_09_2634.jpg
/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_16_2649.jpg
/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_25_3752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391854682","1391854679","1391854688","1391854681","1391854692","1391854683"],"photo_ids_order":["1391854679","1391854681","1391854682","1391854683","1391854688","1391854692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/90353e19cf8a8a57b4116758ac12386c.jpg","text":"TemporaryFile(/tmp/multipartBody3257676566009350299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097189410,"filename":"image_30102025_13_09_03_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/2/4e528f314b303419ad390f5a068c4507.jpg","text":"TemporaryFile(/tmp/multipartBody7455065213962741362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097189410,"filename":"image_30102025_13_08_51_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/2/996caab7f30ff72e0f558aa5398e9a3a.jpg","text":"TemporaryFile(/tmp/multipartBody5647726148312852671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097189410,"filename":"image_30102025_13_09_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/2/016818e9b094e68b2ffd31a0a5aad6ec.jpg","text":"TemporaryFile(/tmp/multipartBody6969152296959133153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097189410,"filename":"image_30102025_13_09_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/2/a84ef290c117899b5e38db1c7ee3a7ac.jpg","text":"TemporaryFile(/tmp/multipartBody9210400912351947324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097189410,"filename":"image_30102025_13_09_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/2/812908793d011e6fd848eb4719ec1785.jpg","text":"TemporaryFile(/tmp/multipartBody4384856147617908512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097189410,"filename":"image_30102025_13_09_09_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391854682","file1":"1391854681","file0":"1391854679","file4":"1391854688","file5":"1391854692","file3":"1391854683"},"map_files_photo_id_array":[{"photo_id":"1391854692","filename":"file5"},{"photo_id":"1391854682","filename":"file2"},{"photo_id":"1391854688","filename":"file4"},{"photo_id":"1391854681","filename":"file1"},{"photo_id":"1391854679","filename":"file0"},{"photo_id":"1391854683","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391854682":["hashtag1","hashtag2"]},{"1391854679":["hashtag1","hashtag2"]},{"1391854688":["hashtag1","hashtag2"]},{"1391854681":["hashtag1","hashtag2"]},{"1391854692":["hashtag1","hashtag2"]},{"1391854683":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391854682, 1391854679, 1391854688, 1391854681, 1391854692, 1391854683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.493839263916016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 16:26:22.081866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_28_2829.jpg', '/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_39_2560.jpg', '/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_42_2719.jpg', '/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_51_2705.jpg', '/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_54_2699.jpg', '/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_58_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/13/09/image_30102025_13_09_28_2829.jpg
/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_39_2560.jpg
/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_42_2719.jpg
/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_51_2705.jpg
/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_54_2699.jpg
/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_58_3735.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5091543197631836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 16:26:42.087605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_28_2829.jpg', '/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_39_2560.jpg', '/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_42_2719.jpg', '/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_51_2705.jpg', '/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_54_2699.jpg', '/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_58_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/13/09/image_30102025_13_09_28_2829.jpg
/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_39_2560.jpg
/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_42_2719.jpg
/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_51_2705.jpg
/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_54_2699.jpg
/home/pi/Desktop/images/30102025/13/09/image_30102025_13_09_58_3735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391854713","1391854724","1391854718","1391854720","1391854717","1391854716"],"photo_ids_order":["1391854713","1391854716","1391854717","1391854718","1391854720","1391854724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5c09ca35b81ed4a1ca5ace4e244d3a27.jpg","text":"TemporaryFile(/tmp/multipartBody5591446898924977199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097263063,"filename":"image_30102025_13_09_28_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/2/d582a7cf88774f4a4d7e7cc445e8d4e9.jpg","text":"TemporaryFile(/tmp/multipartBody8621464587373203555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097263063,"filename":"image_30102025_13_09_58_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/2/4ef624cfda7f0890e491f230ec866c1a.jpg","text":"TemporaryFile(/tmp/multipartBody4206680451297977051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097263063,"filename":"image_30102025_13_09_51_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/2/7a88d549d9cc5f57ab85a98244a80af6.jpg","text":"TemporaryFile(/tmp/multipartBody2872774405939768120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097263063,"filename":"image_30102025_13_09_54_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/2/98c37954c78df77a55a1aeabd992c76f.jpg","text":"TemporaryFile(/tmp/multipartBody2045637132756200813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097263063,"filename":"image_30102025_13_09_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/2/51515967c48c71a5772117f1006884f2.jpg","text":"TemporaryFile(/tmp/multipartBody6300578087404287010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097263063,"filename":"image_30102025_13_09_39_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391854717","file1":"1391854716","file0":"1391854713","file4":"1391854720","file5":"1391854724","file3":"1391854718"},"map_files_photo_id_array":[{"photo_id":"1391854724","filename":"file5"},{"photo_id":"1391854717","filename":"file2"},{"photo_id":"1391854720","filename":"file4"},{"photo_id":"1391854716","filename":"file1"},{"photo_id":"1391854713","filename":"file0"},{"photo_id":"1391854718","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391854713":["hashtag1","hashtag2"]},{"1391854724":["hashtag1","hashtag2"]},{"1391854718":["hashtag1","hashtag2"]},{"1391854720":["hashtag1","hashtag2"]},{"1391854717":["hashtag1","hashtag2"]},{"1391854716":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391854713, 1391854724, 1391854718, 1391854720, 1391854717, 1391854716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.915971517562866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 16:27:32.710862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/09/image_30102025_13_10_00_2740.jpg', '/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_03_2683.jpg', '/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_10_3718.jpg', '/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_15_2709.jpg', '/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_19_3597.jpg', '/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_27_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/13/09/image_30102025_13_10_00_2740.jpg
/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_03_2683.jpg
/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_10_3718.jpg
/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_15_2709.jpg
/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_19_3597.jpg
/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_27_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":["1391854746","1391854739","1391854742","1391854752","1391854749","1391854740"],"photo_ids_order":["1391854739","1391854740","1391854742","1391854746","1391854749","1391854752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/61a228706a6f6025a7ec556d1d9a0396.jpg","text":"TemporaryFile(/tmp/multipartBody651907838774965888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097315170,"filename":"image_30102025_13_10_15_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/2/4d48058aaf0a4bd5713cfa57b5c563cc.jpg","text":"TemporaryFile(/tmp/multipartBody6618040542017845600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097315170,"filename":"image_30102025_13_10_00_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/2/f8368c10fc52baaedd529df695a50a18.jpg","text":"TemporaryFile(/tmp/multipartBody5739590149790101870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097315170,"filename":"image_30102025_13_10_10_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/2/2fd2a11715d8dbcc11b605e2e11c00f8.jpg","text":"TemporaryFile(/tmp/multipartBody5371746084209927723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097315170,"filename":"image_30102025_13_10_27_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/2/e4be6643fe924e29c4484947fd85ab36.jpg","text":"TemporaryFile(/tmp/multipartBody9003402630103653844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097315170,"filename":"image_30102025_13_10_19_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/2/20fa87265bf6aa9bf331bebc30e59376.jpg","text":"TemporaryFile(/tmp/multipartBody897469374658562090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097315170,"filename":"image_30102025_13_10_03_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391854742","file1":"1391854740","file0":"1391854739","file4":"1391854749","file5":"1391854752","file3":"1391854746"},"map_files_photo_id_array":[{"photo_id":"1391854752","filename":"file5"},{"photo_id":"1391854742","filename":"file2"},{"photo_id":"1391854749","filename":"file4"},{"photo_id":"1391854740","filename":"file1"},{"photo_id":"1391854739","filename":"file0"},{"photo_id":"1391854746","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391854746":["hashtag1","hashtag2"]},{"1391854739":["hashtag1","hashtag2"]},{"1391854742":["hashtag1","hashtag2"]},{"1391854752":["hashtag1","hashtag2"]},{"1391854749":["hashtag1","hashtag2"]},{"1391854740":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391854746, 1391854739, 1391854742, 1391854752, 1391854749, 1391854740)","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 = 1391854742 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_10_3718.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 57.19704556465149 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 16:28:47.603387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_31_3691.jpg', '/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_33_2739.jpg', '/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_40_3618.jpg', '/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_45_2677.jpg', '/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_49_3674.jpg', '/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_51_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/13/10/image_30102025_13_10_31_3691.jpg
/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_33_2739.jpg
/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_40_3618.jpg
/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_45_2677.jpg
/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_49_3674.jpg
/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_51_2751.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.9725379943847656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 16:29:07.676580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_31_3691.jpg', '/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_33_2739.jpg', '/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_40_3618.jpg', '/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_45_2677.jpg', '/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_49_3674.jpg', '/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_51_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/13/10/image_30102025_13_10_31_3691.jpg
/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_33_2739.jpg
/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_40_3618.jpg
/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_45_2677.jpg
/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_49_3674.jpg
/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_51_2751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391854790","1391854784","1391854787","1391854792","1391854783","1391854785"],"photo_ids_order":["1391854783","1391854784","1391854785","1391854787","1391854790","1391854792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2131ae331a48e3ae332188473b7ae1d9.jpg","text":"TemporaryFile(/tmp/multipartBody2217795566728942348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097409625,"filename":"image_30102025_13_10_49_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/2/876f3f0e0a0dfa4be4d4073ef2a30064.jpg","text":"TemporaryFile(/tmp/multipartBody6854653611665837807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097409625,"filename":"image_30102025_13_10_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/2/608568385746ec7fe34216cbd70616c7.jpg","text":"TemporaryFile(/tmp/multipartBody4644559129810606447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097409625,"filename":"image_30102025_13_10_45_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/2/2b4a6a3f60ba2146575dd4f19928381a.jpg","text":"TemporaryFile(/tmp/multipartBody9107133582116190564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097409625,"filename":"image_30102025_13_10_51_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/2/b5770262133e1aaa1af73a60de40b3f5.jpg","text":"TemporaryFile(/tmp/multipartBody5188860894371556493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097409625,"filename":"image_30102025_13_10_31_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/2/9218c5e84deafcc8ba3fa7c1ca57e785.jpg","text":"TemporaryFile(/tmp/multipartBody8070663353483905442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097409625,"filename":"image_30102025_13_10_40_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391854785","file1":"1391854784","file0":"1391854783","file4":"1391854790","file5":"1391854792","file3":"1391854787"},"map_files_photo_id_array":[{"photo_id":"1391854792","filename":"file5"},{"photo_id":"1391854785","filename":"file2"},{"photo_id":"1391854790","filename":"file4"},{"photo_id":"1391854784","filename":"file1"},{"photo_id":"1391854783","filename":"file0"},{"photo_id":"1391854787","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391854790":["hashtag1","hashtag2"]},{"1391854784":["hashtag1","hashtag2"]},{"1391854787":["hashtag1","hashtag2"]},{"1391854792":["hashtag1","hashtag2"]},{"1391854783":["hashtag1","hashtag2"]},{"1391854785":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391854790, 1391854784, 1391854787, 1391854792, 1391854783, 1391854785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.20244097709656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 16:30:02.516638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_54_2611.jpg', '/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_58_3696.jpg', '/home/pi/Desktop/images/30102025/13/10/image_30102025_13_11_00_2645.jpg', '/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_03_2746.jpg', '/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_12_2745.jpg', '/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_15_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/13/10/image_30102025_13_10_54_2611.jpg
/home/pi/Desktop/images/30102025/13/10/image_30102025_13_10_58_3696.jpg
/home/pi/Desktop/images/30102025/13/10/image_30102025_13_11_00_2645.jpg
/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_03_2746.jpg
/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_12_2745.jpg
/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_15_2585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391854809","1391854814","1391854817","1391854822","1391854819","1391854807"],"photo_ids_order":["1391854807","1391854809","1391854814","1391854817","1391854819","1391854822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/47731484df88e69c4ccb2bf9bb7fcb3a.jpg","text":"TemporaryFile(/tmp/multipartBody2308210060449190846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097464399,"filename":"image_30102025_13_10_58_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/2/677794d56912514f68290e5a2feff948.jpg","text":"TemporaryFile(/tmp/multipartBody4723248389850201878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097464399,"filename":"image_30102025_13_11_00_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/2/bc116ae740f7fa8861fd32c125842cf8.jpg","text":"TemporaryFile(/tmp/multipartBody5854702444732675217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097464399,"filename":"image_30102025_13_11_03_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/2/bc0e06a0885b1d57bdd1fcfb186bf420.jpg","text":"TemporaryFile(/tmp/multipartBody23218550313913609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097464399,"filename":"image_30102025_13_11_15_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/2/d01d8bf8e6ab8bbd8b67fa64528bb8e5.jpg","text":"TemporaryFile(/tmp/multipartBody4883454657817931991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097464399,"filename":"image_30102025_13_11_12_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/2/b4b3253a1ba2b4ac447a0d24dd7dc4aa.jpg","text":"TemporaryFile(/tmp/multipartBody975836570688946181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097464399,"filename":"image_30102025_13_10_54_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391854814","file1":"1391854809","file0":"1391854807","file4":"1391854819","file5":"1391854822","file3":"1391854817"},"map_files_photo_id_array":[{"photo_id":"1391854822","filename":"file5"},{"photo_id":"1391854814","filename":"file2"},{"photo_id":"1391854819","filename":"file4"},{"photo_id":"1391854809","filename":"file1"},{"photo_id":"1391854807","filename":"file0"},{"photo_id":"1391854817","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391854809":["hashtag1","hashtag2"]},{"1391854814":["hashtag1","hashtag2"]},{"1391854817":["hashtag1","hashtag2"]},{"1391854822":["hashtag1","hashtag2"]},{"1391854819":["hashtag1","hashtag2"]},{"1391854807":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391854809, 1391854814, 1391854817, 1391854822, 1391854819, 1391854807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06679391860962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 16:30:42.168514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_21_2590.jpg', '/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_24_2714.jpg', '/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_27_3601.jpg', '/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_30_2649.jpg', '/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_36_3641.jpg', '/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_42_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3978222&datou=0
/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_21_2590.jpg
/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_24_2714.jpg
/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_27_3601.jpg
/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_30_2649.jpg
/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_36_3641.jpg
/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_42_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391854845","1391854839","1391854826","1391854829","1391854834","1391854842"],"photo_ids_order":["1391854826","1391854829","1391854834","1391854839","1391854842","1391854845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/687193c8f584e9701cc12f1ec0b19c4a.jpg","text":"TemporaryFile(/tmp/multipartBody8048870156374690969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097503219,"filename":"image_30102025_13_11_42_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/2/19365ef06572e4758593a1f729d78f88.jpg","text":"TemporaryFile(/tmp/multipartBody3141730550037517391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097503219,"filename":"image_30102025_13_11_30_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/2/aed20557dfa93724a6981529c732f688.jpg","text":"TemporaryFile(/tmp/multipartBody4631283386806813429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097503219,"filename":"image_30102025_13_11_21_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/2/ef79e1cfe06a8b3e411ebf726dfeb21e.jpg","text":"TemporaryFile(/tmp/multipartBody8213796158425580269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097503219,"filename":"image_30102025_13_11_24_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/2/c1f04405c4a37ef8b670ea7b350dcd4d.jpg","text":"TemporaryFile(/tmp/multipartBody287258807555804320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097503219,"filename":"image_30102025_13_11_27_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/2/71eac4d6b2c142aea9403357236f5881.jpg","text":"TemporaryFile(/tmp/multipartBody1202169811832766227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097503219,"filename":"image_30102025_13_11_36_3641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391854834","file1":"1391854829","file0":"1391854826","file4":"1391854842","file5":"1391854845","file3":"1391854839"},"map_files_photo_id_array":[{"photo_id":"1391854845","filename":"file5"},{"photo_id":"1391854834","filename":"file2"},{"photo_id":"1391854842","filename":"file4"},{"photo_id":"1391854829","filename":"file1"},{"photo_id":"1391854826","filename":"file0"},{"photo_id":"1391854839","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391854845":["hashtag1","hashtag2"]},{"1391854839":["hashtag1","hashtag2"]},{"1391854826":["hashtag1","hashtag2"]},{"1391854829":["hashtag1","hashtag2"]},{"1391854834":["hashtag1","hashtag2"]},{"1391854842":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391854845, 1391854839, 1391854826, 1391854829, 1391854834, 1391854842)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.41347622871399 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 16:31:42.390018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_45_3628.jpg', '/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_48_2606.jpg', '/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_51_2678.jpg', '/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_54_3772.jpg', '/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_57_2638.jpg', '/home/pi/Desktop/images/30102025/13/11/image_30102025_13_12_00_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/13/11/image_30102025_13_11_45_3628.jpg
/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_48_2606.jpg
/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_51_2678.jpg
/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_54_3772.jpg
/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_57_2638.jpg
/home/pi/Desktop/images/30102025/13/11/image_30102025_13_12_00_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391854871","1391854873","1391854870","1391854878","1391854872","1391854869"],"photo_ids_order":["1391854869","1391854870","1391854871","1391854872","1391854873","1391854878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9a314b35675081b6b21490036a0db265.jpg","text":"TemporaryFile(/tmp/multipartBody2035943852082982611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097566303,"filename":"image_30102025_13_11_51_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/2/5d4a142e3313196c78eabdba825ca15b.jpg","text":"TemporaryFile(/tmp/multipartBody7541131396322851714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097566303,"filename":"image_30102025_13_11_57_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/2/ce5cd05e7f785393753b59d809d205b8.jpg","text":"TemporaryFile(/tmp/multipartBody6404038000031566039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097566303,"filename":"image_30102025_13_11_48_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/2/843ad99b438db6b4d31c3d2e64d14bca.jpg","text":"TemporaryFile(/tmp/multipartBody595136392270695016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097566303,"filename":"image_30102025_13_12_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/2/31393b5d4289ed021cec2a79ff0c01ff.jpg","text":"TemporaryFile(/tmp/multipartBody7532607342976097059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097566303,"filename":"image_30102025_13_11_54_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/2/0e8757722815f48e2e6fe782f7415f11.jpg","text":"TemporaryFile(/tmp/multipartBody6124577010480506146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097566303,"filename":"image_30102025_13_11_45_3628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391854871","file1":"1391854870","file0":"1391854869","file4":"1391854873","file5":"1391854878","file3":"1391854872"},"map_files_photo_id_array":[{"photo_id":"1391854878","filename":"file5"},{"photo_id":"1391854871","filename":"file2"},{"photo_id":"1391854873","filename":"file4"},{"photo_id":"1391854870","filename":"file1"},{"photo_id":"1391854869","filename":"file0"},{"photo_id":"1391854872","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391854871":["hashtag1","hashtag2"]},{"1391854873":["hashtag1","hashtag2"]},{"1391854870":["hashtag1","hashtag2"]},{"1391854878":["hashtag1","hashtag2"]},{"1391854872":["hashtag1","hashtag2"]},{"1391854869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391854871, 1391854873, 1391854870, 1391854878, 1391854872, 1391854869)","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 = 1391854871 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/30102025/13/11/image_30102025_13_11_51_2678.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 59.64800190925598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 16:32:48.299034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/12/image_30102025_13_12_06_2615.jpg', '/home/pi/Desktop/images/30102025/13/12/image_30102025_13_12_09_2805.jpg', '/home/pi/Desktop/images/30102025/13/12/image_30102025_13_12_13_3796.jpg', '/home/pi/Desktop/images/30102025/13/12/image_30102025_13_12_18_2628.jpg', '/home/pi/Desktop/images/30102025/13/12/image_30102025_13_12_27_2762.jpg', '/home/pi/Desktop/images/30102025/13/12/image_30102025_13_12_30_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/13/12/image_30102025_13_12_06_2615.jpg
/home/pi/Desktop/images/30102025/13/12/image_30102025_13_12_09_2805.jpg
/home/pi/Desktop/images/30102025/13/12/image_30102025_13_12_13_3796.jpg
/home/pi/Desktop/images/30102025/13/12/image_30102025_13_12_18_2628.jpg
/home/pi/Desktop/images/30102025/13/12/image_30102025_13_12_27_2762.jpg
/home/pi/Desktop/images/30102025/13/12/image_30102025_13_12_30_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":["1391854905","1391854901","1391854891","1391854894","1391854897","1391854903"],"photo_ids_order":["1391854891","1391854894","1391854897","1391854901","1391854903","1391854905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4f5db131c52e2c208fa62c420d6449fd.jpg","text":"TemporaryFile(/tmp/multipartBody2662663771465876963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097629368,"filename":"image_30102025_13_12_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/2/4876df09902c0c39540dc7c41bcbc407.jpg","text":"TemporaryFile(/tmp/multipartBody5346899576751365577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097629368,"filename":"image_30102025_13_12_18_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/2/55b1f5747d1eca681ce333fb5720af16.jpg","text":"TemporaryFile(/tmp/multipartBody5573397108873130689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097629368,"filename":"image_30102025_13_12_06_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/2/273309169bbf9052d0894a716ac72e39.jpg","text":"TemporaryFile(/tmp/multipartBody991113308710488519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097629368,"filename":"image_30102025_13_12_09_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/2/0468f420ef982c112c07150c28bbb631.jpg","text":"TemporaryFile(/tmp/multipartBody4834655295096110288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097629368,"filename":"image_30102025_13_12_13_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/2/546f7003870cd827125d9b304dd57dc4.jpg","text":"TemporaryFile(/tmp/multipartBody1467763430590725698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097629368,"filename":"image_30102025_13_12_27_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391854897","file1":"1391854894","file0":"1391854891","file4":"1391854903","file5":"1391854905","file3":"1391854901"},"map_files_photo_id_array":[{"photo_id":"1391854905","filename":"file5"},{"photo_id":"1391854897","filename":"file2"},{"photo_id":"1391854903","filename":"file4"},{"photo_id":"1391854894","filename":"file1"},{"photo_id":"1391854891","filename":"file0"},{"photo_id":"1391854901","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391854905":["hashtag1","hashtag2"]},{"1391854901":["hashtag1","hashtag2"]},{"1391854891":["hashtag1","hashtag2"]},{"1391854894":["hashtag1","hashtag2"]},{"1391854897":["hashtag1","hashtag2"]},{"1391854903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391854905, 1391854901, 1391854891, 1391854894, 1391854897, 1391854903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84025430679321 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 16:33:42.671388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
  port_id : 28055624
  datou_current_id : 3978222
in upload_from_sqlite, uploading in 28055624
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/30102025/13/12/image_30102025_13_12_33_3557.jpg', '/home/pi/Desktop/images/30102025/13/12/image_30102025_13_12_36_2787.jpg', '/home/pi/Desktop/images/30102025/13/12/image_30102025_13_12_45_2710.jpg', '/home/pi/Desktop/images/30102025/13/12/image_30102025_13_12_48_2693.jpg', '/home/pi/Desktop/images/30102025/13/12/image_30102025_13_12_54_2664.jpg', '/home/pi/Desktop/images/30102025/13/12/image_30102025_13_12_57_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/13/12/image_30102025_13_12_33_3557.jpg
/home/pi/Desktop/images/30102025/13/12/image_30102025_13_12_36_2787.jpg
/home/pi/Desktop/images/30102025/13/12/image_30102025_13_12_45_2710.jpg
/home/pi/Desktop/images/30102025/13/12/image_30102025_13_12_48_2693.jpg
/home/pi/Desktop/images/30102025/13/12/image_30102025_13_12_54_2664.jpg
/home/pi/Desktop/images/30102025/13/12/image_30102025_13_12_57_2664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391854923","1391854917","1391854926","1391854922","1391854921","1391854929"],"photo_ids_order":["1391854917","1391854921","1391854922","1391854923","1391854926","1391854929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/53aac894196e5ad4ddd590db018375e4.jpg","text":"TemporaryFile(/tmp/multipartBody2980210123565032775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097683784,"filename":"image_30102025_13_12_48_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/2/760921abac7ee0fc28d82e38ff1f4c75.jpg","text":"TemporaryFile(/tmp/multipartBody5252515636152074743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097683784,"filename":"image_30102025_13_12_33_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/2/c77db4941055134b7237b5f98b6d6208.jpg","text":"TemporaryFile(/tmp/multipartBody8074201320640010865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097683784,"filename":"image_30102025_13_12_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/2/32ffc2420463ad815ef9c3cc9ecd594c.jpg","text":"TemporaryFile(/tmp/multipartBody7808703014259591557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097683784,"filename":"image_30102025_13_12_45_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/2/28881391948d27ca5ef8874a2972e858.jpg","text":"TemporaryFile(/tmp/multipartBody4619530462632494710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097683784,"filename":"image_30102025_13_12_36_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/2/4c5a2cf194a9a0e4cd7beba930e16574.jpg","text":"TemporaryFile(/tmp/multipartBody495708823818610590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097683784,"filename":"image_30102025_13_12_57_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391854922","file1":"1391854921","file0":"1391854917","file4":"1391854926","file5":"1391854929","file3":"1391854923"},"map_files_photo_id_array":[{"photo_id":"1391854929","filename":"file5"},{"photo_id":"1391854922","filename":"file2"},{"photo_id":"1391854926","filename":"file4"},{"photo_id":"1391854921","filename":"file1"},{"photo_id":"1391854917","filename":"file0"},{"photo_id":"1391854923","filename":"file3"}],"portfolio_id":28055624,"hashtag_by_photo_ids":[{"1391854923":["hashtag1","hashtag2"]},{"1391854917":["hashtag1","hashtag2"]},{"1391854926":["hashtag1","hashtag2"]},{"1391854922":["hashtag1","hashtag2"]},{"1391854921":["hashtag1","hashtag2"]},{"1391854929":["hashtag1","hashtag2"]}],"comms":"Portfolio 28055624 used, photo_id : ArrayBuffer(1391854923, 1391854917, 1391854926, 1391854922, 1391854921, 1391854929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.438193559646606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 16:34:21.856054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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_02112025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 28074484, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1762097722000}
4219
3980581
4219
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_30_6465.jpg', '/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_32_1653.jpg', '/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_34_1673.jpg', '/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_37_2840.jpg', '/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_38_1679.jpg', '/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_40_1639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_30_6465.jpg
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_32_1653.jpg
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_34_1673.jpg
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_37_2840.jpg
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_38_1679.jpg
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_40_1639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391854961","1391854958","1391854946","1391854950","1391854953","1391854956"],"photo_ids_order":["1391854946","1391854950","1391854953","1391854956","1391854958","1391854961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4b5779efa80729e4bd3c42e81c9b33ec.jpg","text":"TemporaryFile(/tmp/multipartBody6168015043521704157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097723541,"filename":"image_02112025_00_00_40_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/2/f641a3ffafd0defe52bc4ea633a2975b.jpg","text":"TemporaryFile(/tmp/multipartBody6413975434821720662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097723541,"filename":"image_02112025_00_00_38_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/2/3cf9655446cefac3a29d3f741b73da55.jpg","text":"TemporaryFile(/tmp/multipartBody789311053840662813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097723541,"filename":"image_02112025_00_00_30_6465.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/01374146d12a9499ce53c5f24f7fda96.jpg","text":"TemporaryFile(/tmp/multipartBody6305560387659559310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097723541,"filename":"image_02112025_00_00_32_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/2/3903946476bda2f9b6d44e6a4d2fefdf.jpg","text":"TemporaryFile(/tmp/multipartBody3619815235153480902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097723541,"filename":"image_02112025_00_00_34_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/2/914ec064dc3777e90ea05d59fd838037.jpg","text":"TemporaryFile(/tmp/multipartBody5887549917614526610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097723541,"filename":"image_02112025_00_00_37_2840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391854953","file1":"1391854950","file0":"1391854946","file4":"1391854958","file5":"1391854961","file3":"1391854956"},"map_files_photo_id_array":[{"photo_id":"1391854961","filename":"file5"},{"photo_id":"1391854953","filename":"file2"},{"photo_id":"1391854958","filename":"file4"},{"photo_id":"1391854950","filename":"file1"},{"photo_id":"1391854946","filename":"file0"},{"photo_id":"1391854956","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391854961":["hashtag1","hashtag2"]},{"1391854958":["hashtag1","hashtag2"]},{"1391854946":["hashtag1","hashtag2"]},{"1391854950":["hashtag1","hashtag2"]},{"1391854953":["hashtag1","hashtag2"]},{"1391854956":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391854961, 1391854958, 1391854946, 1391854950, 1391854953, 1391854956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1861834526062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 16:35:02.893999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_41_1489.jpg', '/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_44_2970.jpg', '/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_46_1592.jpg', '/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_48_1666.jpg', '/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_49_1683.jpg', '/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_51_1732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_41_1489.jpg
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_44_2970.jpg
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_46_1592.jpg
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_48_1666.jpg
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_49_1683.jpg
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_51_1732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391854966","1391854981","1391854969","1391854977","1391854971","1391854974"],"photo_ids_order":["1391854966","1391854969","1391854971","1391854974","1391854977","1391854981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b9a0be96aa5f5a824321daf17e2e7849.jpg","text":"TemporaryFile(/tmp/multipartBody7252376255100482234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097763701,"filename":"image_02112025_00_00_41_1489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ecae138791459ee2bd7a656ae9fbf4b2.jpg","text":"TemporaryFile(/tmp/multipartBody7153994465801499572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097763701,"filename":"image_02112025_00_00_51_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/2/286eb53c27052f1c73cae2fda43750fd.jpg","text":"TemporaryFile(/tmp/multipartBody4829673423038724923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097763701,"filename":"image_02112025_00_00_44_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/2/bcad63e3b3051a1fbce932e6937db3e8.jpg","text":"TemporaryFile(/tmp/multipartBody4740311924213862582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097763701,"filename":"image_02112025_00_00_49_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b933971fef04f28733ce5a3db0d58538.jpg","text":"TemporaryFile(/tmp/multipartBody488777754352952111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097763701,"filename":"image_02112025_00_00_46_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/2/fa99b73ba161b75d8e8522f5d7041eaa.jpg","text":"TemporaryFile(/tmp/multipartBody1538290915978162395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097763701,"filename":"image_02112025_00_00_48_1666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391854971","file1":"1391854969","file0":"1391854966","file4":"1391854977","file5":"1391854981","file3":"1391854974"},"map_files_photo_id_array":[{"photo_id":"1391854981","filename":"file5"},{"photo_id":"1391854971","filename":"file2"},{"photo_id":"1391854977","filename":"file4"},{"photo_id":"1391854969","filename":"file1"},{"photo_id":"1391854966","filename":"file0"},{"photo_id":"1391854974","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391854966":["hashtag1","hashtag2"]},{"1391854981":["hashtag1","hashtag2"]},{"1391854969":["hashtag1","hashtag2"]},{"1391854977":["hashtag1","hashtag2"]},{"1391854971":["hashtag1","hashtag2"]},{"1391854974":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391854966, 1391854981, 1391854969, 1391854977, 1391854971, 1391854974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1605703830719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 16:35:42.135439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_53_1813.jpg', '/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_54_1605.jpg', '/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_56_1537.jpg', '/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_58_1627.jpg', '/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_59_1670.jpg', '/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_01_1812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_53_1813.jpg
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_54_1605.jpg
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_56_1537.jpg
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_58_1627.jpg
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_59_1670.jpg
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_01_1812.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391854991","1391854993","1391855002","1391854995","1391854998","1391854986"],"photo_ids_order":["1391854986","1391854991","1391854993","1391854995","1391854998","1391855002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/392eb133ae49c6211e3855f4a7ea8607.jpg","text":"TemporaryFile(/tmp/multipartBody6042154506147776655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097802849,"filename":"image_02112025_00_00_54_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/2/3ba5af932acabddea5dfab6525180938.jpg","text":"TemporaryFile(/tmp/multipartBody4822346397533010000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097802849,"filename":"image_02112025_00_00_56_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/2/4a7e45f848759c64e4e43c0a5109f865.jpg","text":"TemporaryFile(/tmp/multipartBody653589638555858722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097802849,"filename":"image_02112025_00_01_01_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/2/754312922de20b87d6cead4b6027fe1f.jpg","text":"TemporaryFile(/tmp/multipartBody1892548788732802545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097802849,"filename":"image_02112025_00_00_58_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/2/3fecd9a78acf033e42c86630f397eff8.jpg","text":"TemporaryFile(/tmp/multipartBody5981751516598599771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097802849,"filename":"image_02112025_00_00_59_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/2/82ea73c923b3e0681eebe29bb8ec0863.jpg","text":"TemporaryFile(/tmp/multipartBody7145485056859807578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762097802849,"filename":"image_02112025_00_00_53_1813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391854993","file1":"1391854991","file0":"1391854986","file4":"1391854998","file5":"1391855002","file3":"1391854995"},"map_files_photo_id_array":[{"photo_id":"1391855002","filename":"file5"},{"photo_id":"1391854993","filename":"file2"},{"photo_id":"1391854998","filename":"file4"},{"photo_id":"1391854991","filename":"file1"},{"photo_id":"1391854986","filename":"file0"},{"photo_id":"1391854995","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391854991":["hashtag1","hashtag2"]},{"1391854993":["hashtag1","hashtag2"]},{"1391855002":["hashtag1","hashtag2"]},{"1391854995":["hashtag1","hashtag2"]},{"1391854998":["hashtag1","hashtag2"]},{"1391854986":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391854991, 1391854993, 1391855002, 1391854995, 1391854998, 1391854986)","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 = 1391854993 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_56_1537.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391854993 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_56_1537.jpg";
uploaded 6 photos
time to upload: 63.634801387786865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 16:37:03.006894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 16:37:22.801249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 16:37:42.792427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 16:38:10.288524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 16:38:36.005732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 16:38:50.251637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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 --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-02 16:39:44.080126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 16:39:44.094216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 16:39:44.111077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 16:40:38.231703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_53_1813.jpg', '/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_54_1605.jpg', '/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_56_1537.jpg', '/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_58_1627.jpg', '/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_59_1670.jpg', '/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_01_1812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_53_1813.jpg
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_54_1605.jpg
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_56_1537.jpg
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_58_1627.jpg
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_59_1670.jpg
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_01_1812.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7110748291015625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 16:40:57.331314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_53_1813.jpg', '/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_54_1605.jpg', '/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_56_1537.jpg', '/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_58_1627.jpg', '/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_59_1670.jpg', '/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_01_1812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_53_1813.jpg
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_54_1605.jpg
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_56_1537.jpg
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_58_1627.jpg
/home/pi/Desktop/images/02112025/00/00/image_02112025_00_00_59_1670.jpg
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_01_1812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391855111","1391855114","1391855108","1391855104","1391855113","1391855115"],"photo_ids_order":["1391855104","1391855108","1391855111","1391855113","1391855114","1391855115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/319d15c8025b0f4d63fadc6e308dc5bb.jpg","text":"TemporaryFile(/tmp/multipartBody3033419775049652641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098118011,"filename":"image_02112025_00_00_56_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/2/cebb602a6b9a2257569b7d88732d4d3f.jpg","text":"TemporaryFile(/tmp/multipartBody376107229398421587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098118011,"filename":"image_02112025_00_00_59_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/2/5f512c3ad76ea1472f51eb15ac102e18.jpg","text":"TemporaryFile(/tmp/multipartBody8485930334115551515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098118011,"filename":"image_02112025_00_00_54_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/2/8600f45a6e6d1a744848283a2307f4c7.jpg","text":"TemporaryFile(/tmp/multipartBody533000156530554304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098118011,"filename":"image_02112025_00_00_53_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/2/e7aa2818de02187d554ed1c738cc688f.jpg","text":"TemporaryFile(/tmp/multipartBody7702816789491109744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098118011,"filename":"image_02112025_00_00_58_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/2/53fa4b34e85ff6f8bd14b7492b46b20f.jpg","text":"TemporaryFile(/tmp/multipartBody358364431919756648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098118011,"filename":"image_02112025_00_01_01_1812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391855111","file1":"1391855108","file0":"1391855104","file4":"1391855114","file5":"1391855115","file3":"1391855113"},"map_files_photo_id_array":[{"photo_id":"1391855115","filename":"file5"},{"photo_id":"1391855111","filename":"file2"},{"photo_id":"1391855114","filename":"file4"},{"photo_id":"1391855108","filename":"file1"},{"photo_id":"1391855104","filename":"file0"},{"photo_id":"1391855113","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391855111":["hashtag1","hashtag2"]},{"1391855114":["hashtag1","hashtag2"]},{"1391855108":["hashtag1","hashtag2"]},{"1391855104":["hashtag1","hashtag2"]},{"1391855113":["hashtag1","hashtag2"]},{"1391855115":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391855111, 1391855114, 1391855108, 1391855104, 1391855113, 1391855115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62405776977539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 16:41:42.513088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_03_1825.jpg', '/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_06_2567.jpg', '/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_08_2602.jpg', '/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_13_5123.jpg', '/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_16_3226.jpg', '/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_26_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_03_1825.jpg
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_06_2567.jpg
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_08_2602.jpg
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_13_5123.jpg
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_16_3226.jpg
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_26_2682.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5951032638549805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 16:42:03.227318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_03_1825.jpg', '/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_06_2567.jpg', '/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_08_2602.jpg', '/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_13_5123.jpg', '/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_16_3226.jpg', '/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_26_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_03_1825.jpg
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_06_2567.jpg
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_08_2602.jpg
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_13_5123.jpg
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_16_3226.jpg
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_26_2682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391855141","1391855134","1391855143","1391855145","1391855139","1391855136"],"photo_ids_order":["1391855134","1391855136","1391855139","1391855141","1391855143","1391855145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f835ddff5d796097f9f7cc4d299c86b9.jpg","text":"TemporaryFile(/tmp/multipartBody3390926463331034304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098184000,"filename":"image_02112025_00_01_13_5123.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/af9f56e8f55fba328373989f1d128fb7.jpg","text":"TemporaryFile(/tmp/multipartBody1882926887018478002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098184000,"filename":"image_02112025_00_01_03_1825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ca5020be270542fe9cc98461e6cd7c1d.jpg","text":"TemporaryFile(/tmp/multipartBody306129892958584848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098184000,"filename":"image_02112025_00_01_16_3226.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/522eeb73e8f3ddf6e055c132a1c15534.jpg","text":"TemporaryFile(/tmp/multipartBody8407366728116629213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098184000,"filename":"image_02112025_00_01_26_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/2/c88f7db8d96eaa3c905b531f20fa5ddc.jpg","text":"TemporaryFile(/tmp/multipartBody969206893958478659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098184000,"filename":"image_02112025_00_01_08_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/2/232a040fcb1d923849b88510935289e7.jpg","text":"TemporaryFile(/tmp/multipartBody5839848698766196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098184000,"filename":"image_02112025_00_01_06_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391855139","file1":"1391855136","file0":"1391855134","file4":"1391855143","file5":"1391855145","file3":"1391855141"},"map_files_photo_id_array":[{"photo_id":"1391855145","filename":"file5"},{"photo_id":"1391855139","filename":"file2"},{"photo_id":"1391855143","filename":"file4"},{"photo_id":"1391855136","filename":"file1"},{"photo_id":"1391855134","filename":"file0"},{"photo_id":"1391855141","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391855141":["hashtag1","hashtag2"]},{"1391855134":["hashtag1","hashtag2"]},{"1391855143":["hashtag1","hashtag2"]},{"1391855145":["hashtag1","hashtag2"]},{"1391855139":["hashtag1","hashtag2"]},{"1391855136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391855141, 1391855134, 1391855143, 1391855145, 1391855139, 1391855136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92734456062317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 16:42:42.818724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_30_3732.jpg', '/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_33_2611.jpg', '/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_35_2548.jpg', '/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_39_3603.jpg', '/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_41_2651.jpg', '/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_44_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_30_3732.jpg
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_33_2611.jpg
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_35_2548.jpg
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_39_3603.jpg
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_41_2651.jpg
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_44_2626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391855156","1391855150","1391855152","1391855161","1391855158","1391855154"],"photo_ids_order":["1391855150","1391855152","1391855154","1391855156","1391855158","1391855161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6930ac7b0005f1fdf1d99ed89895ab5c.jpg","text":"TemporaryFile(/tmp/multipartBody2487769254322720759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098223562,"filename":"image_02112025_00_01_39_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/2/df37a8d90bb9fbe66bf68a6f80effa4d.jpg","text":"TemporaryFile(/tmp/multipartBody7947745252885485220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098223562,"filename":"image_02112025_00_01_30_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/2/d3ae42c78c5cd3dcf1e25037a5ca4f9a.jpg","text":"TemporaryFile(/tmp/multipartBody5316370188845732385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098223562,"filename":"image_02112025_00_01_33_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/2/08b3f4d28d7ae9c7c8a62b33d00a04fc.jpg","text":"TemporaryFile(/tmp/multipartBody5314354565027900343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098223562,"filename":"image_02112025_00_01_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/2/111169fbfa30ac6d007154713bd2c96e.jpg","text":"TemporaryFile(/tmp/multipartBody562753764466234558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098223562,"filename":"image_02112025_00_01_41_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/2/d9ee4c00999ec4e06601fdd8e564b301.jpg","text":"TemporaryFile(/tmp/multipartBody2948369284849829762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098223562,"filename":"image_02112025_00_01_35_2548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391855154","file1":"1391855152","file0":"1391855150","file4":"1391855158","file5":"1391855161","file3":"1391855156"},"map_files_photo_id_array":[{"photo_id":"1391855161","filename":"file5"},{"photo_id":"1391855154","filename":"file2"},{"photo_id":"1391855158","filename":"file4"},{"photo_id":"1391855152","filename":"file1"},{"photo_id":"1391855150","filename":"file0"},{"photo_id":"1391855156","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391855156":["hashtag1","hashtag2"]},{"1391855150":["hashtag1","hashtag2"]},{"1391855152":["hashtag1","hashtag2"]},{"1391855161":["hashtag1","hashtag2"]},{"1391855158":["hashtag1","hashtag2"]},{"1391855154":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391855156, 1391855150, 1391855152, 1391855161, 1391855158, 1391855154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40556979179382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 16:43:21.890562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_47_3012.jpg', '/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_51_3614.jpg', '/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_53_2557.jpg', '/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_56_2738.jpg', '/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_59_2913.jpg', '/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_03_3701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_47_3012.jpg
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_51_3614.jpg
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_53_2557.jpg
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_56_2738.jpg
/home/pi/Desktop/images/02112025/00/01/image_02112025_00_01_59_2913.jpg
/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_03_3701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391855174","1391855168","1391855179","1391855170","1391855176","1391855172"],"photo_ids_order":["1391855168","1391855170","1391855172","1391855174","1391855176","1391855179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/81f9805496a7fac65c217bb6e1ad172f.jpg","text":"TemporaryFile(/tmp/multipartBody8920355673401755916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098262575,"filename":"image_02112025_00_01_56_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/2/67575aed9f6780703b3b28988410af7d.jpg","text":"TemporaryFile(/tmp/multipartBody5075501261603264175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098262575,"filename":"image_02112025_00_01_47_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/2/402a1e8286d0329322e15864b5f384dd.jpg","text":"TemporaryFile(/tmp/multipartBody3551586292574715902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098262575,"filename":"image_02112025_00_02_03_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/2/9a79826c8afaf44afb979b9ffeb40594.jpg","text":"TemporaryFile(/tmp/multipartBody7776074088053075689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098262575,"filename":"image_02112025_00_01_51_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/2/52c0545d0979ed557b0bfc0773b09006.jpg","text":"TemporaryFile(/tmp/multipartBody1433182036143874808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098262575,"filename":"image_02112025_00_01_59_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/2/1bba58d5ab017a7a9b059a7986bf5d47.jpg","text":"TemporaryFile(/tmp/multipartBody4691930544713860093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098262575,"filename":"image_02112025_00_01_53_2557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391855172","file1":"1391855170","file0":"1391855168","file4":"1391855176","file5":"1391855179","file3":"1391855174"},"map_files_photo_id_array":[{"photo_id":"1391855179","filename":"file5"},{"photo_id":"1391855172","filename":"file2"},{"photo_id":"1391855176","filename":"file4"},{"photo_id":"1391855170","filename":"file1"},{"photo_id":"1391855168","filename":"file0"},{"photo_id":"1391855174","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391855174":["hashtag1","hashtag2"]},{"1391855168":["hashtag1","hashtag2"]},{"1391855179":["hashtag1","hashtag2"]},{"1391855170":["hashtag1","hashtag2"]},{"1391855176":["hashtag1","hashtag2"]},{"1391855172":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391855174, 1391855168, 1391855179, 1391855170, 1391855176, 1391855172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.249746561050415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 16:44:02.864037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_05_2363.jpg', '/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_09_3600.jpg', '/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_14_2585.jpg', '/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_18_3742.jpg', '/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_20_2703.jpg', '/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_23_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_05_2363.jpg
/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_09_3600.jpg
/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_14_2585.jpg
/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_18_3742.jpg
/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_20_2703.jpg
/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_23_2790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391855191","1391855194","1391855188","1391855184","1391855198","1391855202"],"photo_ids_order":["1391855184","1391855188","1391855191","1391855194","1391855198","1391855202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e095a6a7f3d4d111c6eb177cf89f0d4e.jpg","text":"TemporaryFile(/tmp/multipartBody7743497958488957674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098303716,"filename":"image_02112025_00_02_14_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/2/adf3388fb6a0be6e49a0b0d40748d0f1.jpg","text":"TemporaryFile(/tmp/multipartBody1634736921265801548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098303716,"filename":"image_02112025_00_02_18_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/2/b97e15dd16c1be6c4ed9eba6c667ca3a.jpg","text":"TemporaryFile(/tmp/multipartBody3198329903179393913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098303716,"filename":"image_02112025_00_02_09_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/2/d5178cb6dba81d190b58995ba9f910bf.jpg","text":"TemporaryFile(/tmp/multipartBody5085312066304999200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098303716,"filename":"image_02112025_00_02_05_2363.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/13998d5d8cf2d68f0964c8aeca17194f.jpg","text":"TemporaryFile(/tmp/multipartBody4807066532190788566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098303716,"filename":"image_02112025_00_02_20_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/2/9c4fe327d05cbc39366df575277e94c4.jpg","text":"TemporaryFile(/tmp/multipartBody2408592028079820473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098303716,"filename":"image_02112025_00_02_23_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391855191","file1":"1391855188","file0":"1391855184","file4":"1391855198","file5":"1391855202","file3":"1391855194"},"map_files_photo_id_array":[{"photo_id":"1391855202","filename":"file5"},{"photo_id":"1391855191","filename":"file2"},{"photo_id":"1391855198","filename":"file4"},{"photo_id":"1391855188","filename":"file1"},{"photo_id":"1391855184","filename":"file0"},{"photo_id":"1391855194","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391855191":["hashtag1","hashtag2"]},{"1391855194":["hashtag1","hashtag2"]},{"1391855188":["hashtag1","hashtag2"]},{"1391855184":["hashtag1","hashtag2"]},{"1391855198":["hashtag1","hashtag2"]},{"1391855202":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391855191, 1391855194, 1391855188, 1391855184, 1391855198, 1391855202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.860644578933716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 16:44:42.062834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_27_3522.jpg', '/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_33_3568.jpg', '/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_35_2637.jpg', '/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_38_2633.jpg', '/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_42_3733.jpg', '/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_50_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_27_3522.jpg
/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_33_3568.jpg
/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_35_2637.jpg
/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_38_2633.jpg
/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_42_3733.jpg
/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_50_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391855222","1391855216","1391855219","1391855210","1391855213","1391855226"],"photo_ids_order":["1391855210","1391855213","1391855216","1391855219","1391855222","1391855226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f19dbcb8363a244d9b1b582afb53f0b7.jpg","text":"TemporaryFile(/tmp/multipartBody3062341473028256449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098342768,"filename":"image_02112025_00_02_42_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/2/abca1bf31bc58757efe6b5cf3de0c5ab.jpg","text":"TemporaryFile(/tmp/multipartBody5239452447783636960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098342768,"filename":"image_02112025_00_02_35_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/2/fef7d3f141e02c20cbc401406153cbdb.jpg","text":"TemporaryFile(/tmp/multipartBody854391396482955030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098342768,"filename":"image_02112025_00_02_38_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/2/7676c44a92aa84720327e4378666d380.jpg","text":"TemporaryFile(/tmp/multipartBody6389075659843559299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098342768,"filename":"image_02112025_00_02_27_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/2/6fb9c20254b79baf0d2fca6384997a53.jpg","text":"TemporaryFile(/tmp/multipartBody8751345621105010230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098342768,"filename":"image_02112025_00_02_33_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/2/7ced8f1506a3918e51f9dac7bdea0f40.jpg","text":"TemporaryFile(/tmp/multipartBody7197412326017241860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098342768,"filename":"image_02112025_00_02_50_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391855216","file1":"1391855213","file0":"1391855210","file4":"1391855222","file5":"1391855226","file3":"1391855219"},"map_files_photo_id_array":[{"photo_id":"1391855226","filename":"file5"},{"photo_id":"1391855216","filename":"file2"},{"photo_id":"1391855222","filename":"file4"},{"photo_id":"1391855213","filename":"file1"},{"photo_id":"1391855210","filename":"file0"},{"photo_id":"1391855219","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391855222":["hashtag1","hashtag2"]},{"1391855216":["hashtag1","hashtag2"]},{"1391855219":["hashtag1","hashtag2"]},{"1391855210":["hashtag1","hashtag2"]},{"1391855213":["hashtag1","hashtag2"]},{"1391855226":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391855222, 1391855216, 1391855219, 1391855210, 1391855213, 1391855226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82148861885071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 16:45:22.305503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_54_3660.jpg', '/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_56_2649.jpg', '/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_59_2673.jpg', '/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_02_2902.jpg', '/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_06_3718.jpg', '/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_09_2888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_54_3660.jpg
/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_56_2649.jpg
/home/pi/Desktop/images/02112025/00/02/image_02112025_00_02_59_2673.jpg
/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_02_2902.jpg
/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_06_3718.jpg
/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_09_2888.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391855231","1391855239","1391855241","1391855244","1391855238","1391855235"],"photo_ids_order":["1391855231","1391855235","1391855238","1391855239","1391855241","1391855244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3eadb79eb9d17d7c6e4309846d079ca4.jpg","text":"TemporaryFile(/tmp/multipartBody1852228349387749259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098382992,"filename":"image_02112025_00_02_54_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/2/1d5217549f4c333ae102e710ecc04787.jpg","text":"TemporaryFile(/tmp/multipartBody3870773126555431358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098382992,"filename":"image_02112025_00_03_02_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/2/a62143b6b6ca29b013cbaa1bfcb92a34.jpg","text":"TemporaryFile(/tmp/multipartBody7993904001577511257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098382992,"filename":"image_02112025_00_03_06_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/2/30a7fce52316cd82b0bb58a0577d5d93.jpg","text":"TemporaryFile(/tmp/multipartBody390229077034863994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098382992,"filename":"image_02112025_00_03_09_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/2/08ae25365f180f2a1a96cdc3b05cbc17.jpg","text":"TemporaryFile(/tmp/multipartBody9098075493390731221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098382992,"filename":"image_02112025_00_02_59_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/2/9d9c778dde67b1bb2a60ef5e3a49dd4c.jpg","text":"TemporaryFile(/tmp/multipartBody4270207627822896286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098382992,"filename":"image_02112025_00_02_56_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391855238","file1":"1391855235","file0":"1391855231","file4":"1391855241","file5":"1391855244","file3":"1391855239"},"map_files_photo_id_array":[{"photo_id":"1391855244","filename":"file5"},{"photo_id":"1391855238","filename":"file2"},{"photo_id":"1391855241","filename":"file4"},{"photo_id":"1391855235","filename":"file1"},{"photo_id":"1391855231","filename":"file0"},{"photo_id":"1391855239","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391855231":["hashtag1","hashtag2"]},{"1391855239":["hashtag1","hashtag2"]},{"1391855241":["hashtag1","hashtag2"]},{"1391855244":["hashtag1","hashtag2"]},{"1391855238":["hashtag1","hashtag2"]},{"1391855235":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391855231, 1391855239, 1391855241, 1391855244, 1391855238, 1391855235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75939702987671 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 16:46:02.950348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_11_2869.jpg', '/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_20_2710.jpg', '/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_23_2761.jpg', '/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_29_2561.jpg', '/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_32_2634.jpg', '/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_36_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_11_2869.jpg
/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_20_2710.jpg
/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_23_2761.jpg
/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_29_2561.jpg
/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_32_2634.jpg
/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_36_3630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391855252","1391855255","1391855257","1391855262","1391855259","1391855250"],"photo_ids_order":["1391855250","1391855252","1391855255","1391855257","1391855259","1391855262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b9be5526a3b621db5ddf1ce8c9f3e56c.jpg","text":"TemporaryFile(/tmp/multipartBody8113043545549482552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098423678,"filename":"image_02112025_00_03_20_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/2/5f9317cb498c9c81987b0a6435619b75.jpg","text":"TemporaryFile(/tmp/multipartBody8602974530994355413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098423678,"filename":"image_02112025_00_03_23_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/2/85ca419f5d742d29df62516e697492eb.jpg","text":"TemporaryFile(/tmp/multipartBody9060881583629757972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098423678,"filename":"image_02112025_00_03_29_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/2/378488704bd74801d95d57a197e5a1a1.jpg","text":"TemporaryFile(/tmp/multipartBody7663339802404556534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098423678,"filename":"image_02112025_00_03_36_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/2/4e53bfaa325d414be7aa32b226a13517.jpg","text":"TemporaryFile(/tmp/multipartBody1104330211952556574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098423678,"filename":"image_02112025_00_03_32_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/2/848d97a3afb5f093aff13303676f752b.jpg","text":"TemporaryFile(/tmp/multipartBody6603435251127798358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098423678,"filename":"image_02112025_00_03_11_2869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391855255","file1":"1391855252","file0":"1391855250","file4":"1391855259","file5":"1391855262","file3":"1391855257"},"map_files_photo_id_array":[{"photo_id":"1391855262","filename":"file5"},{"photo_id":"1391855255","filename":"file2"},{"photo_id":"1391855259","filename":"file4"},{"photo_id":"1391855252","filename":"file1"},{"photo_id":"1391855250","filename":"file0"},{"photo_id":"1391855257","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391855252":["hashtag1","hashtag2"]},{"1391855255":["hashtag1","hashtag2"]},{"1391855257":["hashtag1","hashtag2"]},{"1391855262":["hashtag1","hashtag2"]},{"1391855259":["hashtag1","hashtag2"]},{"1391855250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391855252, 1391855255, 1391855257, 1391855262, 1391855259, 1391855250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84692144393921 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 16:46:42.435209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_38_2859.jpg', '/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_41_2713.jpg', '/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_44_2571.jpg', '/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_51_3575.jpg', '/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_53_1831.jpg', '/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_56_3586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_38_2859.jpg
/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_41_2713.jpg
/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_44_2571.jpg
/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_51_3575.jpg
/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_53_1831.jpg
/home/pi/Desktop/images/02112025/00/03/image_02112025_00_03_56_3586.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391855281","1391855284","1391855287","1391855277","1391855271","1391855285"],"photo_ids_order":["1391855271","1391855277","1391855281","1391855284","1391855285","1391855287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/49416865dcfdc7210b6bb776d1321cc6.jpg","text":"TemporaryFile(/tmp/multipartBody702862821895440342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098463147,"filename":"image_02112025_00_03_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/2/124266b93acd780e078da1ffa91e409d.jpg","text":"TemporaryFile(/tmp/multipartBody7486805402352337020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098463147,"filename":"image_02112025_00_03_51_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/2/b5f4daebd286a1952b5d53046428737d.jpg","text":"TemporaryFile(/tmp/multipartBody7352401057766005455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098463147,"filename":"image_02112025_00_03_56_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/2/56874e9e9468ead5cf5513650b8ff58c.jpg","text":"TemporaryFile(/tmp/multipartBody8524501942337064343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098463147,"filename":"image_02112025_00_03_41_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/2/ad0a6abd3bef6f3248235cb106c252b8.jpg","text":"TemporaryFile(/tmp/multipartBody1111341520810211585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098463147,"filename":"image_02112025_00_03_38_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/2/484bf3f5cacacf41238db1576b8fafa9.jpg","text":"TemporaryFile(/tmp/multipartBody4766967367829345368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098463147,"filename":"image_02112025_00_03_53_1831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391855281","file1":"1391855277","file0":"1391855271","file4":"1391855285","file5":"1391855287","file3":"1391855284"},"map_files_photo_id_array":[{"photo_id":"1391855287","filename":"file5"},{"photo_id":"1391855281","filename":"file2"},{"photo_id":"1391855285","filename":"file4"},{"photo_id":"1391855277","filename":"file1"},{"photo_id":"1391855271","filename":"file0"},{"photo_id":"1391855284","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391855281":["hashtag1","hashtag2"]},{"1391855284":["hashtag1","hashtag2"]},{"1391855287":["hashtag1","hashtag2"]},{"1391855277":["hashtag1","hashtag2"]},{"1391855271":["hashtag1","hashtag2"]},{"1391855285":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391855281, 1391855284, 1391855287, 1391855277, 1391855271, 1391855285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56838321685791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 16:47:22.630840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_02_2641.jpg', '/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_05_3590.jpg', '/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_08_2781.jpg', '/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_11_2689.jpg', '/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_14_2745.jpg', '/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_17_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_02_2641.jpg
/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_05_3590.jpg
/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_08_2781.jpg
/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_11_2689.jpg
/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_14_2745.jpg
/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_17_3591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391855294","1391855300","1391855302","1391855305","1391855298","1391855297"],"photo_ids_order":["1391855294","1391855297","1391855298","1391855300","1391855302","1391855305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0b08238df90fb37595c651a379a3cd8a.jpg","text":"TemporaryFile(/tmp/multipartBody8661306265347764188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098503300,"filename":"image_02112025_00_04_02_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/2/c7005bce71d88e18fc04b4ffdf5fdb03.jpg","text":"TemporaryFile(/tmp/multipartBody368145915891834826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098503300,"filename":"image_02112025_00_04_11_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/2/3b94fe3d21ac34286e04b90e305bc30f.jpg","text":"TemporaryFile(/tmp/multipartBody631377892260089568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098503300,"filename":"image_02112025_00_04_14_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/2/abcba2c9be34db6210f7ba110de52c5d.jpg","text":"TemporaryFile(/tmp/multipartBody2457739851388259946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098503300,"filename":"image_02112025_00_04_17_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/2/e7a83759dda58f0f80577b1ef06333a6.jpg","text":"TemporaryFile(/tmp/multipartBody3600200204322697585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098503300,"filename":"image_02112025_00_04_08_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/2/b1082b5270104e3e53ddc0f7e5d8c30c.jpg","text":"TemporaryFile(/tmp/multipartBody557048958253910100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098503300,"filename":"image_02112025_00_04_05_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391855298","file1":"1391855297","file0":"1391855294","file4":"1391855302","file5":"1391855305","file3":"1391855300"},"map_files_photo_id_array":[{"photo_id":"1391855305","filename":"file5"},{"photo_id":"1391855298","filename":"file2"},{"photo_id":"1391855302","filename":"file4"},{"photo_id":"1391855297","filename":"file1"},{"photo_id":"1391855294","filename":"file0"},{"photo_id":"1391855300","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391855294":["hashtag1","hashtag2"]},{"1391855300":["hashtag1","hashtag2"]},{"1391855302":["hashtag1","hashtag2"]},{"1391855305":["hashtag1","hashtag2"]},{"1391855298":["hashtag1","hashtag2"]},{"1391855297":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391855294, 1391855300, 1391855302, 1391855305, 1391855298, 1391855297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.01821446418762 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-02 16:48:23.234907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_33_3601.jpg', '/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_35_2497.jpg', '/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_38_2639.jpg', '/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_41_3827.jpg', '/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_50_3609.jpg', '/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_53_2532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_33_3601.jpg
/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_35_2497.jpg
/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_38_2639.jpg
/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_41_3827.jpg
/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_50_3609.jpg
/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_53_2532.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391855327","1391855337","1391855322","1391855331","1391855325","1391855334"],"photo_ids_order":["1391855322","1391855325","1391855327","1391855331","1391855334","1391855337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f1d7778c6ad29175860f46c2693aab8a.jpg","text":"TemporaryFile(/tmp/multipartBody219381331213254271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098563878,"filename":"image_02112025_00_04_38_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/2/7d3a4312f5cd24cb41eb79352171fea8.jpg","text":"TemporaryFile(/tmp/multipartBody7669690857060382866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098563878,"filename":"image_02112025_00_04_53_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/2/d85e80bafb7a230aa24f6f353992f19c.jpg","text":"TemporaryFile(/tmp/multipartBody5774387133220926490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098563878,"filename":"image_02112025_00_04_33_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/2/5913c92b952358882877477f1dd1a5c0.jpg","text":"TemporaryFile(/tmp/multipartBody8897550262669398155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098563878,"filename":"image_02112025_00_04_41_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/2/96608d102e09fb485ed2b4201aa3ba44.jpg","text":"TemporaryFile(/tmp/multipartBody6115371677864522869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098563878,"filename":"image_02112025_00_04_35_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/2/7906b5c223e2e0a1883e044e183f6d33.jpg","text":"TemporaryFile(/tmp/multipartBody136035702187096548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098563878,"filename":"image_02112025_00_04_50_3609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391855327","file1":"1391855325","file0":"1391855322","file4":"1391855334","file5":"1391855337","file3":"1391855331"},"map_files_photo_id_array":[{"photo_id":"1391855337","filename":"file5"},{"photo_id":"1391855327","filename":"file2"},{"photo_id":"1391855334","filename":"file4"},{"photo_id":"1391855325","filename":"file1"},{"photo_id":"1391855322","filename":"file0"},{"photo_id":"1391855331","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391855327":["hashtag1","hashtag2"]},{"1391855337":["hashtag1","hashtag2"]},{"1391855322":["hashtag1","hashtag2"]},{"1391855331":["hashtag1","hashtag2"]},{"1391855325":["hashtag1","hashtag2"]},{"1391855334":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391855327, 1391855337, 1391855322, 1391855331, 1391855325, 1391855334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.157511472702026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 16:49:03.240383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_57_3655.jpg', '/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_59_2678.jpg', '/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_02_2664.jpg', '/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_05_3317.jpg', '/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_08_2903.jpg', '/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_11_2552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_57_3655.jpg
/home/pi/Desktop/images/02112025/00/04/image_02112025_00_04_59_2678.jpg
/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_02_2664.jpg
/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_05_3317.jpg
/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_08_2903.jpg
/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_11_2552.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391855342","1391855344","1391855338","1391855355","1391855349","1391855352"],"photo_ids_order":["1391855338","1391855342","1391855344","1391855349","1391855352","1391855355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fe80d93957bbf62810c9c543a6d524a6.jpg","text":"TemporaryFile(/tmp/multipartBody6389832219383916097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098604051,"filename":"image_02112025_00_04_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/2/9cc022bbe4878284e1a5383352518a9c.jpg","text":"TemporaryFile(/tmp/multipartBody3939711153508145837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098604051,"filename":"image_02112025_00_05_02_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/2/1739a1427a0d33d49b9fa6644e7aabc3.jpg","text":"TemporaryFile(/tmp/multipartBody2325869652449955522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098604051,"filename":"image_02112025_00_04_57_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/2/4f63a7537117c40b10cc2ad4bd23cc73.jpg","text":"TemporaryFile(/tmp/multipartBody4758565539547083875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098604051,"filename":"image_02112025_00_05_11_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/2/8e42057d3fc11dc37af717bf6f8728ba.jpg","text":"TemporaryFile(/tmp/multipartBody5294638124152654123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098604051,"filename":"image_02112025_00_05_05_3317.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fd76f1ae3089efcf4d4162173aef585b.jpg","text":"TemporaryFile(/tmp/multipartBody1538434481749360991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098604051,"filename":"image_02112025_00_05_08_2903.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391855344","file1":"1391855342","file0":"1391855338","file4":"1391855352","file5":"1391855355","file3":"1391855349"},"map_files_photo_id_array":[{"photo_id":"1391855355","filename":"file5"},{"photo_id":"1391855344","filename":"file2"},{"photo_id":"1391855352","filename":"file4"},{"photo_id":"1391855342","filename":"file1"},{"photo_id":"1391855338","filename":"file0"},{"photo_id":"1391855349","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391855342":["hashtag1","hashtag2"]},{"1391855344":["hashtag1","hashtag2"]},{"1391855338":["hashtag1","hashtag2"]},{"1391855355":["hashtag1","hashtag2"]},{"1391855349":["hashtag1","hashtag2"]},{"1391855352":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391855342, 1391855344, 1391855338, 1391855355, 1391855349, 1391855352)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.65081334114075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 16:50:02.333711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_17_2737.jpg', '/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_26_2645.jpg', '/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_29_2591.jpg', '/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_32_3627.jpg', '/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_35_2561.jpg', '/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_38_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_17_2737.jpg
/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_26_2645.jpg
/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_29_2591.jpg
/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_32_3627.jpg
/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_35_2561.jpg
/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_38_2599.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391855381","1391855375","1391855371","1391855368","1391855373","1391855378"],"photo_ids_order":["1391855368","1391855371","1391855373","1391855375","1391855378","1391855381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/778383c2b579edc923b507e4ed561853.jpg","text":"TemporaryFile(/tmp/multipartBody3485553137589293050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098663079,"filename":"image_02112025_00_05_38_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/2/b12e536ab6611f9d1bf300b6452966ca.jpg","text":"TemporaryFile(/tmp/multipartBody3744784349751381939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098663079,"filename":"image_02112025_00_05_32_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/2/acdeda440d19e381f640543519da25cd.jpg","text":"TemporaryFile(/tmp/multipartBody5594777803879132123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098663079,"filename":"image_02112025_00_05_26_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/2/b93a66fb5f5cce1b12db031f8e5b80a3.jpg","text":"TemporaryFile(/tmp/multipartBody5028405035459946009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098663079,"filename":"image_02112025_00_05_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/2/36a1b6d64ad040dd9f5883bdc85e3593.jpg","text":"TemporaryFile(/tmp/multipartBody1726173280606205324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098663079,"filename":"image_02112025_00_05_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/2/43d3511a3579a8c07ff4402f19358520.jpg","text":"TemporaryFile(/tmp/multipartBody1749081362892411629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098663079,"filename":"image_02112025_00_05_35_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391855373","file1":"1391855371","file0":"1391855368","file4":"1391855378","file5":"1391855381","file3":"1391855375"},"map_files_photo_id_array":[{"photo_id":"1391855381","filename":"file5"},{"photo_id":"1391855373","filename":"file2"},{"photo_id":"1391855378","filename":"file4"},{"photo_id":"1391855371","filename":"file1"},{"photo_id":"1391855368","filename":"file0"},{"photo_id":"1391855375","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391855381":["hashtag1","hashtag2"]},{"1391855375":["hashtag1","hashtag2"]},{"1391855371":["hashtag1","hashtag2"]},{"1391855368":["hashtag1","hashtag2"]},{"1391855373":["hashtag1","hashtag2"]},{"1391855378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391855381, 1391855375, 1391855371, 1391855368, 1391855373, 1391855378)","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.35494136810303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 16:51:22.457050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 16:51:42.434836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_41_3604.jpg', '/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_44_3203.jpg', '/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_47_2541.jpg', '/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_53_3660.jpg', '/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_56_2795.jpg', '/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_59_2836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_41_3604.jpg
/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_44_3203.jpg
/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_47_2541.jpg
/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_53_3660.jpg
/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_56_2795.jpg
/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_59_2836.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391855417","1391855419","1391855421","1391855412","1391855415","1391855409"],"photo_ids_order":["1391855409","1391855412","1391855415","1391855417","1391855419","1391855421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8cb962e99d24908efd2a4fb9ceaa725c.jpg","text":"TemporaryFile(/tmp/multipartBody2467595482522376583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098763117,"filename":"image_02112025_00_05_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/2/a826d614614b833d14217d15dda7a94f.jpg","text":"TemporaryFile(/tmp/multipartBody5799089884197899697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098763117,"filename":"image_02112025_00_05_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/2/651e5606749cd8bf8ff0cdf6ec5ce834.jpg","text":"TemporaryFile(/tmp/multipartBody4677912149946079590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098763117,"filename":"image_02112025_00_05_59_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/2/c46656683b9440d6c172586d396af3ff.jpg","text":"TemporaryFile(/tmp/multipartBody8552466198342964872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098763117,"filename":"image_02112025_00_05_44_3203.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3074613cf03aa3503a765345c205b57d.jpg","text":"TemporaryFile(/tmp/multipartBody3748253712311196134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098763117,"filename":"image_02112025_00_05_47_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/2/ddf4afe294a001dbefe3fc4aa469cb56.jpg","text":"TemporaryFile(/tmp/multipartBody6515752436583968317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098763117,"filename":"image_02112025_00_05_41_3604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391855415","file1":"1391855412","file0":"1391855409","file4":"1391855419","file5":"1391855421","file3":"1391855417"},"map_files_photo_id_array":[{"photo_id":"1391855421","filename":"file5"},{"photo_id":"1391855415","filename":"file2"},{"photo_id":"1391855419","filename":"file4"},{"photo_id":"1391855412","filename":"file1"},{"photo_id":"1391855409","filename":"file0"},{"photo_id":"1391855417","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391855417":["hashtag1","hashtag2"]},{"1391855419":["hashtag1","hashtag2"]},{"1391855421":["hashtag1","hashtag2"]},{"1391855412":["hashtag1","hashtag2"]},{"1391855415":["hashtag1","hashtag2"]},{"1391855409":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391855417, 1391855419, 1391855421, 1391855412, 1391855415, 1391855409)","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 = 1391855415 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02112025/00/05/image_02112025_00_05_47_2541.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 55.65566372871399 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 16:52:42.610169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_02_3572.jpg', '/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_08_2808.jpg', '/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_14_3599.jpg', '/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_17_2869.jpg', '/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_20_2649.jpg', '/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_26_2800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_02_3572.jpg
/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_08_2808.jpg
/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_14_3599.jpg
/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_17_2869.jpg
/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_20_2649.jpg
/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_26_2800.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391855456","1391855441","1391855452","1391855446","1391855449","1391855454"],"photo_ids_order":["1391855441","1391855446","1391855449","1391855452","1391855454","1391855456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4b1ad3e1eccc60b39935c22ee850fdd3.jpg","text":"TemporaryFile(/tmp/multipartBody813674616478766681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098823308,"filename":"image_02112025_00_06_26_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/2/1a77b7a72d13f567ada2847ebdc0a6ef.jpg","text":"TemporaryFile(/tmp/multipartBody5701421255999222451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098823308,"filename":"image_02112025_00_06_02_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/2/e37dacaeda641623784abf6f5e23355e.jpg","text":"TemporaryFile(/tmp/multipartBody4821198933379357612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098823308,"filename":"image_02112025_00_06_17_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/2/9d2e745792160ac46507d3bc39671754.jpg","text":"TemporaryFile(/tmp/multipartBody8271547673331508351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098823308,"filename":"image_02112025_00_06_08_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/2/7c5224d7c2fbca97b68325ba37349d17.jpg","text":"TemporaryFile(/tmp/multipartBody5559810003463630870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098823308,"filename":"image_02112025_00_06_14_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/2/15b1d19bb760fa6d72a9afc246834bff.jpg","text":"TemporaryFile(/tmp/multipartBody4737762344549746144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098823308,"filename":"image_02112025_00_06_20_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391855449","file1":"1391855446","file0":"1391855441","file4":"1391855454","file5":"1391855456","file3":"1391855452"},"map_files_photo_id_array":[{"photo_id":"1391855456","filename":"file5"},{"photo_id":"1391855449","filename":"file2"},{"photo_id":"1391855454","filename":"file4"},{"photo_id":"1391855446","filename":"file1"},{"photo_id":"1391855441","filename":"file0"},{"photo_id":"1391855452","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391855456":["hashtag1","hashtag2"]},{"1391855441":["hashtag1","hashtag2"]},{"1391855452":["hashtag1","hashtag2"]},{"1391855446":["hashtag1","hashtag2"]},{"1391855449":["hashtag1","hashtag2"]},{"1391855454":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391855456, 1391855441, 1391855452, 1391855446, 1391855449, 1391855454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.375712633132935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 16:53:21.783219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_29_2682.jpg', '/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_35_2535.jpg', '/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_38_3516.jpg', '/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_41_2777.jpg', '/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_44_2531.jpg', '/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_47_3528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_29_2682.jpg
/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_35_2535.jpg
/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_38_3516.jpg
/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_41_2777.jpg
/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_44_2531.jpg
/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_47_3528.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391855465","1391855459","1391855462","1391855473","1391855467","1391855469"],"photo_ids_order":["1391855459","1391855462","1391855465","1391855467","1391855469","1391855473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/608eb576aca21a2db411efab7e8bc087.jpg","text":"TemporaryFile(/tmp/multipartBody7064030574022531827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098862461,"filename":"image_02112025_00_06_38_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/2/b165320266c3867b8227b1c9361b3570.jpg","text":"TemporaryFile(/tmp/multipartBody4797526431359890210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098862461,"filename":"image_02112025_00_06_29_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/2/bca0c309f955480361959c4c3d7b467b.jpg","text":"TemporaryFile(/tmp/multipartBody7731839365400646583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098862461,"filename":"image_02112025_00_06_35_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/2/e33b8973f3d84553643d064d92c59c44.jpg","text":"TemporaryFile(/tmp/multipartBody7724522509751766851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098862461,"filename":"image_02112025_00_06_47_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/2/2f73ca4252157787b6d3a3043f85b4fe.jpg","text":"TemporaryFile(/tmp/multipartBody8633938568153465237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098862461,"filename":"image_02112025_00_06_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/2/e9883ea7eaf6a43786a612c83d29f11a.jpg","text":"TemporaryFile(/tmp/multipartBody8098274778092005107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098862461,"filename":"image_02112025_00_06_44_2531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391855465","file1":"1391855462","file0":"1391855459","file4":"1391855469","file5":"1391855473","file3":"1391855467"},"map_files_photo_id_array":[{"photo_id":"1391855473","filename":"file5"},{"photo_id":"1391855465","filename":"file2"},{"photo_id":"1391855469","filename":"file4"},{"photo_id":"1391855462","filename":"file1"},{"photo_id":"1391855459","filename":"file0"},{"photo_id":"1391855467","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391855465":["hashtag1","hashtag2"]},{"1391855459":["hashtag1","hashtag2"]},{"1391855462":["hashtag1","hashtag2"]},{"1391855473":["hashtag1","hashtag2"]},{"1391855467":["hashtag1","hashtag2"]},{"1391855469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391855465, 1391855459, 1391855462, 1391855473, 1391855467, 1391855469)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.542221546173096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 16:54:22.195336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_50_2605.jpg', '/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_53_3596.jpg', '/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_56_2694.jpg', '/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_59_2742.jpg', '/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_01_2700.jpg', '/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_05_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_50_2605.jpg
/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_53_3596.jpg
/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_56_2694.jpg
/home/pi/Desktop/images/02112025/00/06/image_02112025_00_06_59_2742.jpg
/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_01_2700.jpg
/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_05_3598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391855492","1391855488","1391855485","1391855490","1391855487","1391855496"],"photo_ids_order":["1391855485","1391855487","1391855488","1391855490","1391855492","1391855496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1946d944e72e9ff2b5aa8d6000bb59b5.jpg","text":"TemporaryFile(/tmp/multipartBody6510593657721832162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098922821,"filename":"image_02112025_00_07_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/2/e48eaf8b66ce50229c2fbbaafc7b2dc6.jpg","text":"TemporaryFile(/tmp/multipartBody2202496414632294524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098922821,"filename":"image_02112025_00_06_56_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/2/288dc35996a94df5475dde8c6e537470.jpg","text":"TemporaryFile(/tmp/multipartBody2185598171871729005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098922821,"filename":"image_02112025_00_06_50_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/2/bfda02f6355b1818ef7980d12e482637.jpg","text":"TemporaryFile(/tmp/multipartBody2670555448535629679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098922821,"filename":"image_02112025_00_06_59_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/2/87a6ccf39f71d1c746d9cf0c916a32b4.jpg","text":"TemporaryFile(/tmp/multipartBody1565263343399067165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098922821,"filename":"image_02112025_00_06_53_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/2/098be29419f33d7daab167cb526597e4.jpg","text":"TemporaryFile(/tmp/multipartBody2410404180600129186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098922821,"filename":"image_02112025_00_07_05_3598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391855488","file1":"1391855487","file0":"1391855485","file4":"1391855492","file5":"1391855496","file3":"1391855490"},"map_files_photo_id_array":[{"photo_id":"1391855496","filename":"file5"},{"photo_id":"1391855488","filename":"file2"},{"photo_id":"1391855492","filename":"file4"},{"photo_id":"1391855487","filename":"file1"},{"photo_id":"1391855485","filename":"file0"},{"photo_id":"1391855490","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391855492":["hashtag1","hashtag2"]},{"1391855488":["hashtag1","hashtag2"]},{"1391855485":["hashtag1","hashtag2"]},{"1391855490":["hashtag1","hashtag2"]},{"1391855487":["hashtag1","hashtag2"]},{"1391855496":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391855492, 1391855488, 1391855485, 1391855490, 1391855487, 1391855496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32013416290283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 16:55:08.291085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 16:55:33.988558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_08_2667.jpg', '/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_11_2859.jpg', '/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_14_3531.jpg', '/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_17_2674.jpg', '/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_19_2672.jpg', '/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_29_1628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_08_2667.jpg
/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_11_2859.jpg
/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_14_3531.jpg
/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_17_2674.jpg
/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_19_2672.jpg
/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_29_1628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391855530","1391855518","1391855527","1391855523","1391855532","1391855514"],"photo_ids_order":["1391855514","1391855518","1391855523","1391855527","1391855530","1391855532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9186cd163d6416118016c09bfb196cec.jpg","text":"TemporaryFile(/tmp/multipartBody8954019379521691189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098994685,"filename":"image_02112025_00_07_19_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/2/965d37b95b5594fc5bd29e9dbea9b085.jpg","text":"TemporaryFile(/tmp/multipartBody6440397383968376081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098994685,"filename":"image_02112025_00_07_11_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/2/9ae74fdfa92ce91e211f5eb415af6e9a.jpg","text":"TemporaryFile(/tmp/multipartBody3332039081046807451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098994685,"filename":"image_02112025_00_07_17_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/2/eb716f1509e833697de3dd613fb43c2b.jpg","text":"TemporaryFile(/tmp/multipartBody2929175198913159868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098994685,"filename":"image_02112025_00_07_14_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/2/838045e1db13e45cb96d20e5c72ab9ef.jpg","text":"TemporaryFile(/tmp/multipartBody4038109460130611684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098994685,"filename":"image_02112025_00_07_29_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/2/d6dd423829e3c07d36829ba0f5f661f9.jpg","text":"TemporaryFile(/tmp/multipartBody8526566844977002546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762098994685,"filename":"image_02112025_00_07_08_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391855523","file1":"1391855518","file0":"1391855514","file4":"1391855530","file5":"1391855532","file3":"1391855527"},"map_files_photo_id_array":[{"photo_id":"1391855532","filename":"file5"},{"photo_id":"1391855523","filename":"file2"},{"photo_id":"1391855530","filename":"file4"},{"photo_id":"1391855518","filename":"file1"},{"photo_id":"1391855514","filename":"file0"},{"photo_id":"1391855527","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391855530":["hashtag1","hashtag2"]},{"1391855518":["hashtag1","hashtag2"]},{"1391855527":["hashtag1","hashtag2"]},{"1391855523":["hashtag1","hashtag2"]},{"1391855532":["hashtag1","hashtag2"]},{"1391855514":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391855530, 1391855518, 1391855527, 1391855523, 1391855532, 1391855514)","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: 94.9189453125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 16:57:22.641168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_32_3556.jpg', '/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_35_2680.jpg', '/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_38_2622.jpg', '/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_44_2793.jpg', '/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_47_2575.jpg', '/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_50_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_32_3556.jpg
/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_35_2680.jpg
/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_38_2622.jpg
/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_44_2793.jpg
/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_47_2575.jpg
/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_50_3631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391855579","1391855581","1391855575","1391855578","1391855583","1391855580"],"photo_ids_order":["1391855575","1391855578","1391855579","1391855580","1391855581","1391855583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e3d49bbf676f4df0bbf1cdeebcf1f6df.jpg","text":"TemporaryFile(/tmp/multipartBody985096696834961324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099103325,"filename":"image_02112025_00_07_38_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/2/fced587c3a66be04a1163b377164f4e6.jpg","text":"TemporaryFile(/tmp/multipartBody3118626741960759085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099103325,"filename":"image_02112025_00_07_47_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/2/de3bdd1f5c7228370979847708e2cbf1.jpg","text":"TemporaryFile(/tmp/multipartBody7578178711176023083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099103325,"filename":"image_02112025_00_07_32_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/2/9142619e09030c4ef27f0c206aba7c06.jpg","text":"TemporaryFile(/tmp/multipartBody5364209349010058190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099103325,"filename":"image_02112025_00_07_35_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/2/c9eb0d0e7d4cbfb68edf4d838d276132.jpg","text":"TemporaryFile(/tmp/multipartBody2087951017406448900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099103325,"filename":"image_02112025_00_07_50_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/2/0e04a988103310ac500ecb04b3a8e78a.jpg","text":"TemporaryFile(/tmp/multipartBody932982861661851969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099103325,"filename":"image_02112025_00_07_44_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391855579","file1":"1391855578","file0":"1391855575","file4":"1391855581","file5":"1391855583","file3":"1391855580"},"map_files_photo_id_array":[{"photo_id":"1391855583","filename":"file5"},{"photo_id":"1391855579","filename":"file2"},{"photo_id":"1391855581","filename":"file4"},{"photo_id":"1391855578","filename":"file1"},{"photo_id":"1391855575","filename":"file0"},{"photo_id":"1391855580","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391855579":["hashtag1","hashtag2"]},{"1391855581":["hashtag1","hashtag2"]},{"1391855575":["hashtag1","hashtag2"]},{"1391855578":["hashtag1","hashtag2"]},{"1391855583":["hashtag1","hashtag2"]},{"1391855580":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391855579, 1391855581, 1391855575, 1391855578, 1391855583, 1391855580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.18969941139221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.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-02 16:59:17.943363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 16:59:49.900029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_53_2777.jpg', '/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_56_2588.jpg', '/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_02_2833.jpg', '/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_08_3571.jpg', '/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_11_2787.jpg', '/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_17_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_53_2777.jpg
/home/pi/Desktop/images/02112025/00/07/image_02112025_00_07_56_2588.jpg
/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_02_2833.jpg
/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_08_3571.jpg
/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_11_2787.jpg
/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_17_3623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391855980","1391855899","1391856057","1391855895","1391856021","1391855940"],"photo_ids_order":["1391855895","1391855899","1391855940","1391855980","1391856021","1391856057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a9f5be3d37f806d60c93f602662cf12d.jpg","text":"TemporaryFile(/tmp/multipartBody5656057252449749411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099253045,"filename":"image_02112025_00_08_08_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/2/01cb39b779b0d5861896cca991d36034.jpg","text":"TemporaryFile(/tmp/multipartBody6859189657863240882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099253045,"filename":"image_02112025_00_07_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/2/6aa52ab8417b7bee799d9536d0c0fd62.jpg","text":"TemporaryFile(/tmp/multipartBody3188158785103516990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099253045,"filename":"image_02112025_00_08_17_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/2/94f9b48c5c1ce7ec35d83be6a572c3ae.jpg","text":"TemporaryFile(/tmp/multipartBody8442009797941178906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099253045,"filename":"image_02112025_00_07_53_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/2/2e492ead2180d64286c984d75f943bfb.jpg","text":"TemporaryFile(/tmp/multipartBody8487369018368854616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099253045,"filename":"image_02112025_00_08_11_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/2/a04362fa4f34c9bf1d7e5c2bca6cf761.jpg","text":"TemporaryFile(/tmp/multipartBody4369668700774243517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099253045,"filename":"image_02112025_00_08_02_2833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391855940","file1":"1391855899","file0":"1391855895","file4":"1391856021","file5":"1391856057","file3":"1391855980"},"map_files_photo_id_array":[{"photo_id":"1391856057","filename":"file5"},{"photo_id":"1391855940","filename":"file2"},{"photo_id":"1391856021","filename":"file4"},{"photo_id":"1391855899","filename":"file1"},{"photo_id":"1391855895","filename":"file0"},{"photo_id":"1391855980","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391855980":["hashtag1","hashtag2"]},{"1391855899":["hashtag1","hashtag2"]},{"1391856057":["hashtag1","hashtag2"]},{"1391855895":["hashtag1","hashtag2"]},{"1391856021":["hashtag1","hashtag2"]},{"1391855940":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391855980, 1391855899, 1391856057, 1391855895, 1391856021, 1391855940)","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 = 1391855940 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_02_2833.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 67.36340260505676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 17:01:05.164819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 17:01:22.320292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_20_2625.jpg', '/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_22_2641.jpg', '/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_29_2573.jpg', '/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_31_2734.jpg', '/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_38_2624.jpg', '/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_41_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_20_2625.jpg
/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_22_2641.jpg
/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_29_2573.jpg
/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_31_2734.jpg
/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_38_2624.jpg
/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_41_3591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391857153","1391857231","1391857005","1391857082","1391857190","1391857270"],"photo_ids_order":["1391857005","1391857082","1391857153","1391857190","1391857231","1391857270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/30f3351a8193a1283e54c47a1271e246.jpg","text":"TemporaryFile(/tmp/multipartBody9086430360198643766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099342997,"filename":"image_02112025_00_08_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/2/f66c846c595e9967b939a73b6fffb87f.jpg","text":"TemporaryFile(/tmp/multipartBody6250482475815484555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099342997,"filename":"image_02112025_00_08_38_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/2/69dfb741267805e34fac2c2d83413935.jpg","text":"TemporaryFile(/tmp/multipartBody4109416753168395077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099342997,"filename":"image_02112025_00_08_20_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/2/4f999604282cd42f354d9aa3b1236084.jpg","text":"TemporaryFile(/tmp/multipartBody2980204843771205941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099342997,"filename":"image_02112025_00_08_22_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/2/f4368006258053617b957eaf4054f1de.jpg","text":"TemporaryFile(/tmp/multipartBody5985898579434045723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099342997,"filename":"image_02112025_00_08_31_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/2/d6c5c4f6e91e55526638ca1a776e6376.jpg","text":"TemporaryFile(/tmp/multipartBody4652678544864878467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099342997,"filename":"image_02112025_00_08_41_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391857153","file1":"1391857082","file0":"1391857005","file4":"1391857231","file5":"1391857270","file3":"1391857190"},"map_files_photo_id_array":[{"photo_id":"1391857270","filename":"file5"},{"photo_id":"1391857153","filename":"file2"},{"photo_id":"1391857231","filename":"file4"},{"photo_id":"1391857082","filename":"file1"},{"photo_id":"1391857005","filename":"file0"},{"photo_id":"1391857190","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391857153":["hashtag1","hashtag2"]},{"1391857231":["hashtag1","hashtag2"]},{"1391857005":["hashtag1","hashtag2"]},{"1391857082":["hashtag1","hashtag2"]},{"1391857190":["hashtag1","hashtag2"]},{"1391857270":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391857153, 1391857231, 1391857005, 1391857082, 1391857190, 1391857270)","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: 77.90796089172363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 17:02:57.740263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_49_2770.jpg', '/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_53_3699.jpg', '/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_02_3705.jpg', '/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_05_2770.jpg', '/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_08_2668.jpg', '/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_11_3581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_49_2770.jpg
/home/pi/Desktop/images/02112025/00/08/image_02112025_00_08_53_3699.jpg
/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_02_3705.jpg
/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_05_2770.jpg
/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_08_2668.jpg
/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_11_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":["1391858043","1391858031","1391858025","1391858040","1391858027","1391858035"],"photo_ids_order":["1391858025","1391858027","1391858031","1391858035","1391858040","1391858043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2e47d23a53abef1286fc1a170db68e6c.jpg","text":"TemporaryFile(/tmp/multipartBody1810604224139122561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099438417,"filename":"image_02112025_00_09_11_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/2/6c2ff3f35a0b3ccc6f96430fa4983e7a.jpg","text":"TemporaryFile(/tmp/multipartBody3858986576661618760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099438417,"filename":"image_02112025_00_09_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/2/a476b770c186ad0e7dc8fdbbd9493f2c.jpg","text":"TemporaryFile(/tmp/multipartBody4042954627266245692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099438417,"filename":"image_02112025_00_08_49_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/2/cc6d6d90f1564637c2900ada28948087.jpg","text":"TemporaryFile(/tmp/multipartBody1197259752290857609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099438417,"filename":"image_02112025_00_09_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/2/60c48115040b62e665a762724935063a.jpg","text":"TemporaryFile(/tmp/multipartBody3686707776332918109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099438417,"filename":"image_02112025_00_08_53_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/2/50cdffe72697bbbf6a615458c3eec401.jpg","text":"TemporaryFile(/tmp/multipartBody2016223887069226074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099438417,"filename":"image_02112025_00_09_05_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391858031","file1":"1391858027","file0":"1391858025","file4":"1391858040","file5":"1391858043","file3":"1391858035"},"map_files_photo_id_array":[{"photo_id":"1391858043","filename":"file5"},{"photo_id":"1391858031","filename":"file2"},{"photo_id":"1391858040","filename":"file4"},{"photo_id":"1391858027","filename":"file1"},{"photo_id":"1391858025","filename":"file0"},{"photo_id":"1391858035","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391858043":["hashtag1","hashtag2"]},{"1391858031":["hashtag1","hashtag2"]},{"1391858025":["hashtag1","hashtag2"]},{"1391858040":["hashtag1","hashtag2"]},{"1391858027":["hashtag1","hashtag2"]},{"1391858035":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391858043, 1391858031, 1391858025, 1391858040, 1391858027, 1391858035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.809452533721924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 17:03:54.065585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_14_2600.jpg', '/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_16_2670.jpg', '/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_20_3620.jpg', '/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_25_2548.jpg', '/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_29_3777.jpg', '/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_40_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_14_2600.jpg
/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_16_2670.jpg
/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_20_3620.jpg
/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_25_2548.jpg
/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_29_3777.jpg
/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_40_10663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391858064","1391858066","1391858060","1391858068","1391858053","1391858056"],"photo_ids_order":["1391858053","1391858056","1391858060","1391858064","1391858066","1391858068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/06258f5c374d9edd2d634829afdf8e86.jpg","text":"TemporaryFile(/tmp/multipartBody6890201451797778164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099494762,"filename":"image_02112025_00_09_25_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/2/60697fddfe3c36d12d08c70fdfc1a9f7.jpg","text":"TemporaryFile(/tmp/multipartBody4186869261825749951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099494762,"filename":"image_02112025_00_09_29_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/2/9243a34ea5accfbe630b3453f7a7ce45.jpg","text":"TemporaryFile(/tmp/multipartBody1206371088429812401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099494762,"filename":"image_02112025_00_09_20_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/2/5646666ce57e0626400d43d325b4440e.jpg","text":"TemporaryFile(/tmp/multipartBody3267392164544147007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099494762,"filename":"image_02112025_00_09_40_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c9296f8dda15145cd46aabbd6153415e.jpg","text":"TemporaryFile(/tmp/multipartBody289147145502096662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099494762,"filename":"image_02112025_00_09_14_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/2/8737f2e91928d3dedb2e7206dd93b410.jpg","text":"TemporaryFile(/tmp/multipartBody5823196537651294740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099494762,"filename":"image_02112025_00_09_16_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391858060","file1":"1391858056","file0":"1391858053","file4":"1391858066","file5":"1391858068","file3":"1391858064"},"map_files_photo_id_array":[{"photo_id":"1391858068","filename":"file5"},{"photo_id":"1391858060","filename":"file2"},{"photo_id":"1391858066","filename":"file4"},{"photo_id":"1391858056","filename":"file1"},{"photo_id":"1391858053","filename":"file0"},{"photo_id":"1391858064","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391858064":["hashtag1","hashtag2"]},{"1391858066":["hashtag1","hashtag2"]},{"1391858060":["hashtag1","hashtag2"]},{"1391858068":["hashtag1","hashtag2"]},{"1391858053":["hashtag1","hashtag2"]},{"1391858056":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391858064, 1391858066, 1391858060, 1391858068, 1391858053, 1391858056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.085294246673584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 17:04:42.321629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_43_3192.jpg', '/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_45_1704.jpg', '/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_47_1908.jpg', '/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_55_1571.jpg', '/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_57_1802.jpg', '/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_58_1555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_43_3192.jpg
/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_45_1704.jpg
/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_47_1908.jpg
/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_55_1571.jpg
/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_57_1802.jpg
/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_58_1555.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6281516551971436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 17:05:10.708527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_43_3192.jpg', '/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_45_1704.jpg', '/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_47_1908.jpg', '/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_55_1571.jpg', '/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_57_1802.jpg', '/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_58_1555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_43_3192.jpg
/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_45_1704.jpg
/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_47_1908.jpg
/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_55_1571.jpg
/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_57_1802.jpg
/home/pi/Desktop/images/02112025/00/09/image_02112025_00_09_58_1555.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391858533","1391858527","1391858529","1391858591","1391858519","1391858551"],"photo_ids_order":["1391858519","1391858527","1391858529","1391858533","1391858551","1391858591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/adf217054f93d5d10b6dda4bc2246d4b.jpg","text":"TemporaryFile(/tmp/multipartBody5423568233610618042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099573195,"filename":"image_02112025_00_09_55_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/2/0414eb499757b11c82e31b466580fc42.jpg","text":"TemporaryFile(/tmp/multipartBody4644406767350676610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099573195,"filename":"image_02112025_00_09_45_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/2/41bbeb23ae997341f0d4afd7387d58eb.jpg","text":"TemporaryFile(/tmp/multipartBody2648092572170984461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099573195,"filename":"image_02112025_00_09_47_1908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ac8a009556b4861ada092fb627ff3692.jpg","text":"TemporaryFile(/tmp/multipartBody5418584409636635743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099573195,"filename":"image_02112025_00_09_58_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/2/e45743374fda891edb68bd8152b9c170.jpg","text":"TemporaryFile(/tmp/multipartBody3884711148280672277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099573195,"filename":"image_02112025_00_09_43_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/2/c51a10626156411b08f3debb6a0ff341.jpg","text":"TemporaryFile(/tmp/multipartBody4622270711384309354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099573195,"filename":"image_02112025_00_09_57_1802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391858529","file1":"1391858527","file0":"1391858519","file4":"1391858551","file5":"1391858591","file3":"1391858533"},"map_files_photo_id_array":[{"photo_id":"1391858591","filename":"file5"},{"photo_id":"1391858529","filename":"file2"},{"photo_id":"1391858551","filename":"file4"},{"photo_id":"1391858527","filename":"file1"},{"photo_id":"1391858519","filename":"file0"},{"photo_id":"1391858533","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391858533":["hashtag1","hashtag2"]},{"1391858527":["hashtag1","hashtag2"]},{"1391858529":["hashtag1","hashtag2"]},{"1391858591":["hashtag1","hashtag2"]},{"1391858519":["hashtag1","hashtag2"]},{"1391858551":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391858533, 1391858527, 1391858529, 1391858591, 1391858519, 1391858551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.960163831710815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 17:05:50.188904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_01_2860.jpg', '/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_03_1724.jpg', '/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_05_1976.jpg', '/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_07_2574.jpg', '/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_14_2614.jpg', '/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_16_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_01_2860.jpg
/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_03_1724.jpg
/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_05_1976.jpg
/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_07_2574.jpg
/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_14_2614.jpg
/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_16_2646.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5966589450836182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 17:06:26.492744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 17:06:48.934818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_01_2860.jpg', '/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_03_1724.jpg', '/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_05_1976.jpg', '/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_07_2574.jpg', '/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_14_2614.jpg', '/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_16_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_01_2860.jpg
/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_03_1724.jpg
/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_05_1976.jpg
/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_07_2574.jpg
/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_14_2614.jpg
/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_16_2646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391858721","1391858724","1391858718","1391858726","1391858729","1391858728"],"photo_ids_order":["1391858718","1391858721","1391858724","1391858726","1391858728","1391858729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5dccf93d848cbab7c8543502e316147a.jpg","text":"TemporaryFile(/tmp/multipartBody5890889651758872212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099669618,"filename":"image_02112025_00_10_03_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/2/3a52dded1d6f66a86394f6b7d0c9316e.jpg","text":"TemporaryFile(/tmp/multipartBody8676588160860059603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099669618,"filename":"image_02112025_00_10_05_1976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b4664fb2eb0a5e5533b50708bb2d4050.jpg","text":"TemporaryFile(/tmp/multipartBody8401919079973517086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099669618,"filename":"image_02112025_00_10_01_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/2/123809ab28e04e563955fb87ae007ca8.jpg","text":"TemporaryFile(/tmp/multipartBody4806180379600087043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099669618,"filename":"image_02112025_00_10_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/2/01ac1923ea0399be59c1b3d94f204f6d.jpg","text":"TemporaryFile(/tmp/multipartBody7883458236167340920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099669618,"filename":"image_02112025_00_10_16_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/2/17dac904e3bfbdece8b33e94b0eebfcf.jpg","text":"TemporaryFile(/tmp/multipartBody7198858860272594425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099669618,"filename":"image_02112025_00_10_14_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391858724","file1":"1391858721","file0":"1391858718","file4":"1391858728","file5":"1391858729","file3":"1391858726"},"map_files_photo_id_array":[{"photo_id":"1391858729","filename":"file5"},{"photo_id":"1391858724","filename":"file2"},{"photo_id":"1391858728","filename":"file4"},{"photo_id":"1391858721","filename":"file1"},{"photo_id":"1391858718","filename":"file0"},{"photo_id":"1391858726","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391858721":["hashtag1","hashtag2"]},{"1391858724":["hashtag1","hashtag2"]},{"1391858718":["hashtag1","hashtag2"]},{"1391858726":["hashtag1","hashtag2"]},{"1391858729":["hashtag1","hashtag2"]},{"1391858728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391858721, 1391858724, 1391858718, 1391858726, 1391858729, 1391858728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6075644493103 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 17:07:42.314721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_20_3718.jpg', '/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_23_2560.jpg', '/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_25_2596.jpg', '/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_29_3572.jpg', '/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_31_2671.jpg', '/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_41_3869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_20_3718.jpg
/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_23_2560.jpg
/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_25_2596.jpg
/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_29_3572.jpg
/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_31_2671.jpg
/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_41_3869.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391858757","1391858751","1391858745","1391858753","1391858755","1391858749"],"photo_ids_order":["1391858745","1391858749","1391858751","1391858753","1391858755","1391858757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1d45885be288a3bc22020c8b8a7368ff.jpg","text":"TemporaryFile(/tmp/multipartBody1332685052534123461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099723114,"filename":"image_02112025_00_10_41_3869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/032a48b95c6d5d6c39ebdf2a51acefa8.jpg","text":"TemporaryFile(/tmp/multipartBody7937673174964982691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099723114,"filename":"image_02112025_00_10_25_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/2/19eaa4241203a2554fa91e086079d9f4.jpg","text":"TemporaryFile(/tmp/multipartBody3442994926998504927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099723114,"filename":"image_02112025_00_10_20_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/2/8469bab0910e1e03a1cc84d3e80261e4.jpg","text":"TemporaryFile(/tmp/multipartBody5748873027610592356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099723114,"filename":"image_02112025_00_10_29_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/2/d37842039ae73a8e4090e260d3587c17.jpg","text":"TemporaryFile(/tmp/multipartBody5005295296736984214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099723114,"filename":"image_02112025_00_10_31_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/2/31b8525d67368d4f54067a976eea3900.jpg","text":"TemporaryFile(/tmp/multipartBody6524865590371279006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099723114,"filename":"image_02112025_00_10_23_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391858751","file1":"1391858749","file0":"1391858745","file4":"1391858755","file5":"1391858757","file3":"1391858753"},"map_files_photo_id_array":[{"photo_id":"1391858757","filename":"file5"},{"photo_id":"1391858751","filename":"file2"},{"photo_id":"1391858755","filename":"file4"},{"photo_id":"1391858749","filename":"file1"},{"photo_id":"1391858745","filename":"file0"},{"photo_id":"1391858753","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391858757":["hashtag1","hashtag2"]},{"1391858751":["hashtag1","hashtag2"]},{"1391858745":["hashtag1","hashtag2"]},{"1391858753":["hashtag1","hashtag2"]},{"1391858755":["hashtag1","hashtag2"]},{"1391858749":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391858757, 1391858751, 1391858745, 1391858753, 1391858755, 1391858749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.95361638069153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 17:08:22.433691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_48_7197.jpg', '/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_50_1569.jpg', '/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_53_2964.jpg', '/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_54_1744.jpg', '/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_56_1656.jpg', '/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_59_2644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_48_7197.jpg
/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_50_1569.jpg
/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_53_2964.jpg
/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_54_1744.jpg
/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_56_1656.jpg
/home/pi/Desktop/images/02112025/00/10/image_02112025_00_10_59_2644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391858775","1391858772","1391858768","1391858783","1391858785","1391858779"],"photo_ids_order":["1391858768","1391858772","1391858775","1391858779","1391858783","1391858785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7b9f9eb7c9da2c724047ae23bb263490.jpg","text":"TemporaryFile(/tmp/multipartBody6538943718007013837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099763104,"filename":"image_02112025_00_10_53_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/2/5a48d8e3e24e46012823106cd30010fc.jpg","text":"TemporaryFile(/tmp/multipartBody4618018348543104967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099763104,"filename":"image_02112025_00_10_50_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6a298f4b8e8ffee9eac09b0d88b70108.jpg","text":"TemporaryFile(/tmp/multipartBody3468448055020220125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099763104,"filename":"image_02112025_00_10_48_7197.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4f70ab8e4269346c46a773e6155f01cf.jpg","text":"TemporaryFile(/tmp/multipartBody1247082757356601307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099763104,"filename":"image_02112025_00_10_56_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/2/7b5c8547a79a9fed896e39b0e73f5c89.jpg","text":"TemporaryFile(/tmp/multipartBody5728092256235494726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099763104,"filename":"image_02112025_00_10_59_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/2/8e6be7f9ec4c45dd8cb66336610ec81c.jpg","text":"TemporaryFile(/tmp/multipartBody6550990663432100908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099763104,"filename":"image_02112025_00_10_54_1744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391858775","file1":"1391858772","file0":"1391858768","file4":"1391858783","file5":"1391858785","file3":"1391858779"},"map_files_photo_id_array":[{"photo_id":"1391858785","filename":"file5"},{"photo_id":"1391858775","filename":"file2"},{"photo_id":"1391858783","filename":"file4"},{"photo_id":"1391858772","filename":"file1"},{"photo_id":"1391858768","filename":"file0"},{"photo_id":"1391858779","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391858775":["hashtag1","hashtag2"]},{"1391858772":["hashtag1","hashtag2"]},{"1391858768":["hashtag1","hashtag2"]},{"1391858783":["hashtag1","hashtag2"]},{"1391858785":["hashtag1","hashtag2"]},{"1391858779":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391858775, 1391858772, 1391858768, 1391858783, 1391858785, 1391858779)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 61.77283239364624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 17:09:30.019871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/11/image_02112025_00_11_01_2680.jpg', '/home/pi/Desktop/images/02112025/00/11/image_02112025_00_11_05_3551.jpg', '/home/pi/Desktop/images/02112025/00/11/image_02112025_00_11_07_2595.jpg', '/home/pi/Desktop/images/02112025/00/11/image_02112025_00_11_13_2652.jpg', '/home/pi/Desktop/images/02112025/00/11/image_02112025_00_11_17_3651.jpg', '/home/pi/Desktop/images/02112025/00/11/image_02112025_00_11_19_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/11/image_02112025_00_11_01_2680.jpg
/home/pi/Desktop/images/02112025/00/11/image_02112025_00_11_05_3551.jpg
/home/pi/Desktop/images/02112025/00/11/image_02112025_00_11_07_2595.jpg
/home/pi/Desktop/images/02112025/00/11/image_02112025_00_11_13_2652.jpg
/home/pi/Desktop/images/02112025/00/11/image_02112025_00_11_17_3651.jpg
/home/pi/Desktop/images/02112025/00/11/image_02112025_00_11_19_2683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391858799","1391858814","1391858798","1391858805","1391858810","1391858801"],"photo_ids_order":["1391858798","1391858799","1391858801","1391858805","1391858810","1391858814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4a06f5d31032c52a76c75f0886d15883.jpg","text":"TemporaryFile(/tmp/multipartBody3086039349247299663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099830716,"filename":"image_02112025_00_11_05_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/2/02b1a6d953bc4d7ac1a74ea96d9c1296.jpg","text":"TemporaryFile(/tmp/multipartBody3217228998179453350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099830716,"filename":"image_02112025_00_11_19_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/2/047c2d82011091382778218a14dde31a.jpg","text":"TemporaryFile(/tmp/multipartBody5495938498715263045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099830716,"filename":"image_02112025_00_11_01_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/2/d7177db6e613a555e006deaa416ae847.jpg","text":"TemporaryFile(/tmp/multipartBody4243500439417050565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099830716,"filename":"image_02112025_00_11_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/2/d869cd55f5ed8d0d76f64a6acb4863c1.jpg","text":"TemporaryFile(/tmp/multipartBody3484629495916226037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099830716,"filename":"image_02112025_00_11_17_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/2/faf9c140b038d358164d620d571710af.jpg","text":"TemporaryFile(/tmp/multipartBody570652378975326628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099830716,"filename":"image_02112025_00_11_07_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391858801","file1":"1391858799","file0":"1391858798","file4":"1391858810","file5":"1391858814","file3":"1391858805"},"map_files_photo_id_array":[{"photo_id":"1391858814","filename":"file5"},{"photo_id":"1391858801","filename":"file2"},{"photo_id":"1391858810","filename":"file4"},{"photo_id":"1391858799","filename":"file1"},{"photo_id":"1391858798","filename":"file0"},{"photo_id":"1391858805","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391858799":["hashtag1","hashtag2"]},{"1391858814":["hashtag1","hashtag2"]},{"1391858798":["hashtag1","hashtag2"]},{"1391858805":["hashtag1","hashtag2"]},{"1391858810":["hashtag1","hashtag2"]},{"1391858801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391858799, 1391858814, 1391858798, 1391858805, 1391858810, 1391858801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.35258960723877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 17:10:24.336716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/11/image_02112025_00_11_26_3542.jpg', '/home/pi/Desktop/images/02112025/00/11/image_02112025_00_11_28_2712.jpg', '/home/pi/Desktop/images/02112025/00/11/image_02112025_00_11_34_5673.jpg', '/home/pi/Desktop/images/02112025/00/11/image_02112025_00_11_40_5829.jpg', '/home/pi/Desktop/images/02112025/00/11/image_02112025_00_11_52_10098.jpg', '/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_03_11683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/11/image_02112025_00_11_26_3542.jpg
/home/pi/Desktop/images/02112025/00/11/image_02112025_00_11_28_2712.jpg
/home/pi/Desktop/images/02112025/00/11/image_02112025_00_11_34_5673.jpg
/home/pi/Desktop/images/02112025/00/11/image_02112025_00_11_40_5829.jpg
/home/pi/Desktop/images/02112025/00/11/image_02112025_00_11_52_10098.jpg
/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_03_11683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391858830","1391858838","1391858823","1391858834","1391858825","1391858827"],"photo_ids_order":["1391858823","1391858825","1391858827","1391858830","1391858834","1391858838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/123423671f75f1271384c2626c343134.jpg","text":"TemporaryFile(/tmp/multipartBody4764299605451781510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099885053,"filename":"image_02112025_00_11_40_5829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/eccf2593875f0d66a2b3eba9c13e3ba9.jpg","text":"TemporaryFile(/tmp/multipartBody744370702577767482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099885053,"filename":"image_02112025_00_12_03_11683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/eb92de237904a8d04743734c66c72777.jpg","text":"TemporaryFile(/tmp/multipartBody1588043600914308834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099885053,"filename":"image_02112025_00_11_26_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/2/5d6e372104dafaa930930e19dfd997e1.jpg","text":"TemporaryFile(/tmp/multipartBody3788196412303767682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099885053,"filename":"image_02112025_00_11_52_10098.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/502d6f0783e6d5181c2cdab77b9b4c7a.jpg","text":"TemporaryFile(/tmp/multipartBody3615543629089863050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099885053,"filename":"image_02112025_00_11_28_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/2/c99e5553f34a2138744b3c77f8dc94e5.jpg","text":"TemporaryFile(/tmp/multipartBody4799549458800981551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099885053,"filename":"image_02112025_00_11_34_5673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391858827","file1":"1391858825","file0":"1391858823","file4":"1391858834","file5":"1391858838","file3":"1391858830"},"map_files_photo_id_array":[{"photo_id":"1391858838","filename":"file5"},{"photo_id":"1391858827","filename":"file2"},{"photo_id":"1391858834","filename":"file4"},{"photo_id":"1391858825","filename":"file1"},{"photo_id":"1391858823","filename":"file0"},{"photo_id":"1391858830","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391858830":["hashtag1","hashtag2"]},{"1391858838":["hashtag1","hashtag2"]},{"1391858823":["hashtag1","hashtag2"]},{"1391858834":["hashtag1","hashtag2"]},{"1391858825":["hashtag1","hashtag2"]},{"1391858827":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391858830, 1391858838, 1391858823, 1391858834, 1391858825, 1391858827)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 52.50194549560547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 17:11:22.720357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_05_1619.jpg', '/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_07_1624.jpg', '/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_08_1642.jpg', '/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_10_1639.jpg', '/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_13_1764.jpg', '/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_15_1744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_05_1619.jpg
/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_07_1624.jpg
/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_08_1642.jpg
/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_10_1639.jpg
/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_13_1764.jpg
/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_15_1744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391858850","1391858861","1391858855","1391858858","1391858863","1391858866"],"photo_ids_order":["1391858850","1391858855","1391858858","1391858861","1391858863","1391858866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/583d53a3bb973f0eee6a09094838abb2.jpg","text":"TemporaryFile(/tmp/multipartBody1956324232468654687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099943396,"filename":"image_02112025_00_12_05_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/097082ec5279e2dfcb975b32e92a1c39.jpg","text":"TemporaryFile(/tmp/multipartBody800614163491220940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099943396,"filename":"image_02112025_00_12_10_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/2/fa7b323f915481bee1512ad1054a4b5c.jpg","text":"TemporaryFile(/tmp/multipartBody9005484630767541266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099943396,"filename":"image_02112025_00_12_07_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/2/25f16d73b94abfc84c50d13eacb33172.jpg","text":"TemporaryFile(/tmp/multipartBody6156034106239235369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099943396,"filename":"image_02112025_00_12_08_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/2/2bd4dd98ec4879c29bb9edd6ac8bdacc.jpg","text":"TemporaryFile(/tmp/multipartBody2601543526610120681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099943396,"filename":"image_02112025_00_12_13_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/2/0d9abe135554e64800c0ce35ba97d19f.jpg","text":"TemporaryFile(/tmp/multipartBody4939403626293476754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762099943396,"filename":"image_02112025_00_12_15_1744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391858858","file1":"1391858855","file0":"1391858850","file4":"1391858863","file5":"1391858866","file3":"1391858861"},"map_files_photo_id_array":[{"photo_id":"1391858866","filename":"file5"},{"photo_id":"1391858858","filename":"file2"},{"photo_id":"1391858863","filename":"file4"},{"photo_id":"1391858855","filename":"file1"},{"photo_id":"1391858850","filename":"file0"},{"photo_id":"1391858861","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391858850":["hashtag1","hashtag2"]},{"1391858861":["hashtag1","hashtag2"]},{"1391858855":["hashtag1","hashtag2"]},{"1391858858":["hashtag1","hashtag2"]},{"1391858863":["hashtag1","hashtag2"]},{"1391858866":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391858850, 1391858861, 1391858855, 1391858858, 1391858863, 1391858866)","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! 
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 114.82328271865845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 17:13:32.489469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 17:13:52.400369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_17_1659.jpg', '/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_20_1573.jpg', '/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_23_1519.jpg', '/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_25_1694.jpg', '/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_31_3507.jpg', '/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_34_2531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_17_1659.jpg
/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_20_1573.jpg
/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_23_1519.jpg
/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_25_1694.jpg
/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_31_3507.jpg
/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_34_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":["1391858911","1391858921","1391858924","1391858918","1391858914","1391858908"],"photo_ids_order":["1391858908","1391858911","1391858914","1391858918","1391858921","1391858924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f198caf881d6ff1b5709e723b6a2ec39.jpg","text":"TemporaryFile(/tmp/multipartBody3868535951607392971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100093081,"filename":"image_02112025_00_12_20_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/2/5b15f59802c694eecb0575e16985703b.jpg","text":"TemporaryFile(/tmp/multipartBody2929401334415484334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100093081,"filename":"image_02112025_00_12_31_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/2/66a204d6e10ab2fd4624028c7991fe1c.jpg","text":"TemporaryFile(/tmp/multipartBody2939603847719854833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100093081,"filename":"image_02112025_00_12_34_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/2/7c633a01c3f9c3c3e223d9dc38e03c5f.jpg","text":"TemporaryFile(/tmp/multipartBody838550389734006523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100093081,"filename":"image_02112025_00_12_25_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/2/dfeee2c3f409bdc0582508c7cdf01535.jpg","text":"TemporaryFile(/tmp/multipartBody6846158979399638331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100093081,"filename":"image_02112025_00_12_23_1519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0f269ddf4efc23153d76e9c14799cd04.jpg","text":"TemporaryFile(/tmp/multipartBody1225670408935714727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100093081,"filename":"image_02112025_00_12_17_1659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391858914","file1":"1391858911","file0":"1391858908","file4":"1391858921","file5":"1391858924","file3":"1391858918"},"map_files_photo_id_array":[{"photo_id":"1391858924","filename":"file5"},{"photo_id":"1391858914","filename":"file2"},{"photo_id":"1391858921","filename":"file4"},{"photo_id":"1391858911","filename":"file1"},{"photo_id":"1391858908","filename":"file0"},{"photo_id":"1391858918","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391858911":["hashtag1","hashtag2"]},{"1391858921":["hashtag1","hashtag2"]},{"1391858924":["hashtag1","hashtag2"]},{"1391858918":["hashtag1","hashtag2"]},{"1391858914":["hashtag1","hashtag2"]},{"1391858908":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391858911, 1391858921, 1391858924, 1391858918, 1391858914, 1391858908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00414180755615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 17:14:42.679120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_38_3630.jpg', '/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_42_4776.jpg', '/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_51_8891.jpg', '/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_53_1520.jpg', '/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_54_1601.jpg', '/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_56_1546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_38_3630.jpg
/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_42_4776.jpg
/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_51_8891.jpg
/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_53_1520.jpg
/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_54_1601.jpg
/home/pi/Desktop/images/02112025/00/12/image_02112025_00_12_56_1546.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391858940","1391858943","1391858937","1391858933","1391858945","1391858947"],"photo_ids_order":["1391858933","1391858937","1391858940","1391858943","1391858945","1391858947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a78fc0dcd778160763d85759866d92e9.jpg","text":"TemporaryFile(/tmp/multipartBody4325956864227845254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100143394,"filename":"image_02112025_00_12_51_8891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fc943f0127c71ee8ba9acbe2ff1b958e.jpg","text":"TemporaryFile(/tmp/multipartBody1010132343284056258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100143394,"filename":"image_02112025_00_12_53_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/2/4e5153d169b9bbd1dd1a00ffd44d098d.jpg","text":"TemporaryFile(/tmp/multipartBody9151211943926513647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100143394,"filename":"image_02112025_00_12_42_4776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cd2c46686e667bbca61e6efd6fdbb792.jpg","text":"TemporaryFile(/tmp/multipartBody2495702647295863686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100143394,"filename":"image_02112025_00_12_38_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/2/812d4bcd541715e7ecc0e5ecff4221dc.jpg","text":"TemporaryFile(/tmp/multipartBody2002599367177849584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100143394,"filename":"image_02112025_00_12_54_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/2/b02c4e33e535f4a6b2967b1ea361bfec.jpg","text":"TemporaryFile(/tmp/multipartBody4568064497771124376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100143394,"filename":"image_02112025_00_12_56_1546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391858940","file1":"1391858937","file0":"1391858933","file4":"1391858945","file5":"1391858947","file3":"1391858943"},"map_files_photo_id_array":[{"photo_id":"1391858947","filename":"file5"},{"photo_id":"1391858940","filename":"file2"},{"photo_id":"1391858945","filename":"file4"},{"photo_id":"1391858937","filename":"file1"},{"photo_id":"1391858933","filename":"file0"},{"photo_id":"1391858943","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391858940":["hashtag1","hashtag2"]},{"1391858943":["hashtag1","hashtag2"]},{"1391858937":["hashtag1","hashtag2"]},{"1391858933":["hashtag1","hashtag2"]},{"1391858945":["hashtag1","hashtag2"]},{"1391858947":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391858940, 1391858943, 1391858937, 1391858933, 1391858945, 1391858947)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.52706813812256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 17:15:41.808558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_06_10036.jpg', '/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_08_1599.jpg', '/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_09_1717.jpg', '/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_11_1651.jpg', '/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_13_1652.jpg', '/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_14_1720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_06_10036.jpg
/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_08_1599.jpg
/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_09_1717.jpg
/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_11_1651.jpg
/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_13_1652.jpg
/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_14_1720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391858964","1391858958","1391858966","1391858962","1391858971","1391858968"],"photo_ids_order":["1391858958","1391858962","1391858964","1391858966","1391858968","1391858971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9c023ed4e63ed17a9c57f150694536a0.jpg","text":"TemporaryFile(/tmp/multipartBody2105330436780620904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100202491,"filename":"image_02112025_00_13_09_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/2/5fc2110b7fa454f2d0edabf86be4bc51.jpg","text":"TemporaryFile(/tmp/multipartBody211599593475526148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100202491,"filename":"image_02112025_00_13_06_10036.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6512cbd071487aec9fe3341ec2572b49.jpg","text":"TemporaryFile(/tmp/multipartBody5522565502774809840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100202491,"filename":"image_02112025_00_13_11_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/2/56182a98500119055116d86308a4c3e6.jpg","text":"TemporaryFile(/tmp/multipartBody7660536519408472748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100202491,"filename":"image_02112025_00_13_08_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/2/397b0299a7d89ddde4e1635ab2a61554.jpg","text":"TemporaryFile(/tmp/multipartBody8294701222710351665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100202491,"filename":"image_02112025_00_13_14_1720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e32c1e446c034d9202320e18b19acd75.jpg","text":"TemporaryFile(/tmp/multipartBody3615335960358482030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100202491,"filename":"image_02112025_00_13_13_1652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391858964","file1":"1391858962","file0":"1391858958","file4":"1391858968","file5":"1391858971","file3":"1391858966"},"map_files_photo_id_array":[{"photo_id":"1391858971","filename":"file5"},{"photo_id":"1391858964","filename":"file2"},{"photo_id":"1391858968","filename":"file4"},{"photo_id":"1391858962","filename":"file1"},{"photo_id":"1391858958","filename":"file0"},{"photo_id":"1391858966","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391858964":["hashtag1","hashtag2"]},{"1391858958":["hashtag1","hashtag2"]},{"1391858966":["hashtag1","hashtag2"]},{"1391858962":["hashtag1","hashtag2"]},{"1391858971":["hashtag1","hashtag2"]},{"1391858968":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391858964, 1391858958, 1391858966, 1391858962, 1391858971, 1391858968)","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.34688997268677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 17:17:13.762666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 17:17:28.264472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_16_1651.jpg', '/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_18_1886.jpg', '/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_19_1623.jpg', '/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_22_2716.jpg', '/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_30_8084.jpg', '/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_36_4095.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_16_1651.jpg
/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_18_1886.jpg
/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_19_1623.jpg
/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_22_2716.jpg
/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_30_8084.jpg
/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_36_4095.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391859018","1391859012","1391859015","1391859005","1391859007","1391859001"],"photo_ids_order":["1391859001","1391859005","1391859007","1391859012","1391859015","1391859018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8887dcd74936b307a196732f6e5109ea.jpg","text":"TemporaryFile(/tmp/multipartBody1408991778653290394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100311524,"filename":"image_02112025_00_13_36_4095.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/92d706e252a1b0a25ca22a0bda0cc12b.jpg","text":"TemporaryFile(/tmp/multipartBody6290013761126500113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100311524,"filename":"image_02112025_00_13_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/2/f355375cf094771acb74065fa213c4c0.jpg","text":"TemporaryFile(/tmp/multipartBody8957810164823976461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100311524,"filename":"image_02112025_00_13_30_8084.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5955397e02c6277c6a9c28a0122ba3ab.jpg","text":"TemporaryFile(/tmp/multipartBody5210665655803551956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100311524,"filename":"image_02112025_00_13_18_1886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b54670f45407b82b2cf73db58c528eea.jpg","text":"TemporaryFile(/tmp/multipartBody2643786081824001293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100311524,"filename":"image_02112025_00_13_19_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/2/1886c54cd6442dd9e78ffd08007711ff.jpg","text":"TemporaryFile(/tmp/multipartBody7037047659959326418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100311524,"filename":"image_02112025_00_13_16_1651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859007","file1":"1391859005","file0":"1391859001","file4":"1391859015","file5":"1391859018","file3":"1391859012"},"map_files_photo_id_array":[{"photo_id":"1391859018","filename":"file5"},{"photo_id":"1391859007","filename":"file2"},{"photo_id":"1391859015","filename":"file4"},{"photo_id":"1391859005","filename":"file1"},{"photo_id":"1391859001","filename":"file0"},{"photo_id":"1391859012","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859018":["hashtag1","hashtag2"]},{"1391859012":["hashtag1","hashtag2"]},{"1391859015":["hashtag1","hashtag2"]},{"1391859005":["hashtag1","hashtag2"]},{"1391859007":["hashtag1","hashtag2"]},{"1391859001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859018, 1391859012, 1391859015, 1391859005, 1391859007, 1391859001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.784510374069214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 17:18:22.241986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 17:18:42.284685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 17:19:12.056659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 17:19:31.350364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_38_1662.jpg', '/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_44_2536.jpg', '/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_47_3371.jpg', '/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_53_3348.jpg', '/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_56_2719.jpg', '/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_58_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_38_1662.jpg
/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_44_2536.jpg
/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_47_3371.jpg
/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_53_3348.jpg
/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_56_2719.jpg
/home/pi/Desktop/images/02112025/00/13/image_02112025_00_13_58_2759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391859063","1391859051","1391859050","1391859053","1391859058","1391859066"],"photo_ids_order":["1391859050","1391859051","1391859053","1391859058","1391859063","1391859066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5aa4c03c0d96fa371f1c97e9a6f76967.jpg","text":"TemporaryFile(/tmp/multipartBody5961883679123328783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100432036,"filename":"image_02112025_00_13_56_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/2/5ed0daf377141b17d9d3ca0051da2b0d.jpg","text":"TemporaryFile(/tmp/multipartBody3941193663170431791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100432036,"filename":"image_02112025_00_13_44_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/2/f53423bca05c2d254c69f0e73b908279.jpg","text":"TemporaryFile(/tmp/multipartBody2225051692330270336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100432036,"filename":"image_02112025_00_13_38_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/2/81a0cd76c5c6c41f555405144667d845.jpg","text":"TemporaryFile(/tmp/multipartBody8239185007567717674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100432036,"filename":"image_02112025_00_13_47_3371.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/624fe6c525c34e75a42132cb84936806.jpg","text":"TemporaryFile(/tmp/multipartBody1637599426444692193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100432036,"filename":"image_02112025_00_13_53_3348.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/63025222ec1ef19909bf8b7bbff153f1.jpg","text":"TemporaryFile(/tmp/multipartBody629353483998888729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100432036,"filename":"image_02112025_00_13_58_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859053","file1":"1391859051","file0":"1391859050","file4":"1391859063","file5":"1391859066","file3":"1391859058"},"map_files_photo_id_array":[{"photo_id":"1391859066","filename":"file5"},{"photo_id":"1391859053","filename":"file2"},{"photo_id":"1391859063","filename":"file4"},{"photo_id":"1391859051","filename":"file1"},{"photo_id":"1391859050","filename":"file0"},{"photo_id":"1391859058","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859063":["hashtag1","hashtag2"]},{"1391859051":["hashtag1","hashtag2"]},{"1391859050":["hashtag1","hashtag2"]},{"1391859053":["hashtag1","hashtag2"]},{"1391859058":["hashtag1","hashtag2"]},{"1391859066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859063, 1391859051, 1391859050, 1391859053, 1391859058, 1391859066)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 67.75764751434326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 17:20:51.129478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_05_3695.jpg', '/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_07_2666.jpg', '/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_10_2692.jpg', '/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_16_3667.jpg', '/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_22_2708.jpg', '/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_26_3726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_05_3695.jpg
/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_07_2666.jpg
/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_10_2692.jpg
/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_16_3667.jpg
/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_22_2708.jpg
/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_26_3726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391859102","1391859105","1391859095","1391859092","1391859106","1391859099"],"photo_ids_order":["1391859092","1391859095","1391859099","1391859102","1391859105","1391859106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/eea6eef6df3b970283b39c5e6e88b7f5.jpg","text":"TemporaryFile(/tmp/multipartBody1126503998080940713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100511835,"filename":"image_02112025_00_14_16_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/2/b0404d48038f8c92b8d2c04d03df50f4.jpg","text":"TemporaryFile(/tmp/multipartBody5307014560479211033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100511835,"filename":"image_02112025_00_14_22_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/2/1cfbdd2bf5f7c06b78e4f58f78e3a9c8.jpg","text":"TemporaryFile(/tmp/multipartBody6195756784723746135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100511835,"filename":"image_02112025_00_14_07_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/2/448e9b195ce0cd4759ee44a30935fc26.jpg","text":"TemporaryFile(/tmp/multipartBody5901148938575637454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100511835,"filename":"image_02112025_00_14_05_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/2/bbe06a44d5055753aef55edc307472fe.jpg","text":"TemporaryFile(/tmp/multipartBody8257390515940193518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100511835,"filename":"image_02112025_00_14_26_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/2/2a3cb7cda0926ad765f2d622cc6ca673.jpg","text":"TemporaryFile(/tmp/multipartBody7681364214754611302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100511835,"filename":"image_02112025_00_14_10_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859099","file1":"1391859095","file0":"1391859092","file4":"1391859105","file5":"1391859106","file3":"1391859102"},"map_files_photo_id_array":[{"photo_id":"1391859106","filename":"file5"},{"photo_id":"1391859099","filename":"file2"},{"photo_id":"1391859105","filename":"file4"},{"photo_id":"1391859095","filename":"file1"},{"photo_id":"1391859092","filename":"file0"},{"photo_id":"1391859102","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859102":["hashtag1","hashtag2"]},{"1391859105":["hashtag1","hashtag2"]},{"1391859095":["hashtag1","hashtag2"]},{"1391859092":["hashtag1","hashtag2"]},{"1391859106":["hashtag1","hashtag2"]},{"1391859099":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859102, 1391859105, 1391859095, 1391859092, 1391859106, 1391859099)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 59.21043801307678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 17:22:02.821720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_28_2682.jpg', '/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_31_2638.jpg', '/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_34_2802.jpg', '/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_37_3632.jpg', '/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_40_2693.jpg', '/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_44_3543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_28_2682.jpg
/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_31_2638.jpg
/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_34_2802.jpg
/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_37_3632.jpg
/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_40_2693.jpg
/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_44_3543.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391859153","1391859144","1391859132","1391859149","1391859140","1391859136"],"photo_ids_order":["1391859132","1391859136","1391859140","1391859144","1391859149","1391859153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/77777e1409f3c0e24dc54613d199a0a3.jpg","text":"TemporaryFile(/tmp/multipartBody7281813981681887570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100583578,"filename":"image_02112025_00_14_44_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/2/581b7e66b876e5de71fd812669954f31.jpg","text":"TemporaryFile(/tmp/multipartBody8888757492899218953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100583578,"filename":"image_02112025_00_14_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/2/4ee2401a9f865e7f0a9f00458a22516a.jpg","text":"TemporaryFile(/tmp/multipartBody4642338582323456747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100583578,"filename":"image_02112025_00_14_28_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/2/8325929ce0aeb9f4fe534b87f6619e8e.jpg","text":"TemporaryFile(/tmp/multipartBody8179349758466462508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100583578,"filename":"image_02112025_00_14_40_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/2/a84970672db49fee37e51e77a27e915b.jpg","text":"TemporaryFile(/tmp/multipartBody6457637379533527626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100583578,"filename":"image_02112025_00_14_34_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/2/886a3ca8c433c570f37f260ba3e2434c.jpg","text":"TemporaryFile(/tmp/multipartBody6634916366991805631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100583578,"filename":"image_02112025_00_14_31_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859140","file1":"1391859136","file0":"1391859132","file4":"1391859149","file5":"1391859153","file3":"1391859144"},"map_files_photo_id_array":[{"photo_id":"1391859153","filename":"file5"},{"photo_id":"1391859140","filename":"file2"},{"photo_id":"1391859149","filename":"file4"},{"photo_id":"1391859136","filename":"file1"},{"photo_id":"1391859132","filename":"file0"},{"photo_id":"1391859144","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859153":["hashtag1","hashtag2"]},{"1391859144":["hashtag1","hashtag2"]},{"1391859132":["hashtag1","hashtag2"]},{"1391859149":["hashtag1","hashtag2"]},{"1391859140":["hashtag1","hashtag2"]},{"1391859136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859153, 1391859144, 1391859132, 1391859149, 1391859140, 1391859136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71472930908203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 17:22:42.306474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_46_2493.jpg', '/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_49_2549.jpg', '/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_52_3733.jpg', '/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_58_3550.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_01_2594.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_04_3646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_46_2493.jpg
/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_49_2549.jpg
/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_52_3733.jpg
/home/pi/Desktop/images/02112025/00/14/image_02112025_00_14_58_3550.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_01_2594.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_04_3646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391859201","1391859159","1391859204","1391859197","1391859190","1391859163"],"photo_ids_order":["1391859159","1391859163","1391859190","1391859197","1391859201","1391859204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c1a59d5f396ee0145d7e95a21e7cb647.jpg","text":"TemporaryFile(/tmp/multipartBody4549828958268611352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100623069,"filename":"image_02112025_00_15_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/2/02e5ff16e66ff00511462726fb1fa922.jpg","text":"TemporaryFile(/tmp/multipartBody369087868191721240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100623069,"filename":"image_02112025_00_14_46_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/2/957a696b8a22d75059b325c45de768ca.jpg","text":"TemporaryFile(/tmp/multipartBody712829583254403918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100623069,"filename":"image_02112025_00_15_04_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/2/1a8206d207941048f6b5ece23f42bf8e.jpg","text":"TemporaryFile(/tmp/multipartBody3522731500309142435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100623069,"filename":"image_02112025_00_14_58_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/2/ed5999395351e2bb80980d7d6570b5de.jpg","text":"TemporaryFile(/tmp/multipartBody4647718612194097531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100623069,"filename":"image_02112025_00_14_52_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/2/8524ff42392a28f1b12830fbbaa74292.jpg","text":"TemporaryFile(/tmp/multipartBody7543843806107606787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100623069,"filename":"image_02112025_00_14_49_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859190","file1":"1391859163","file0":"1391859159","file4":"1391859201","file5":"1391859204","file3":"1391859197"},"map_files_photo_id_array":[{"photo_id":"1391859204","filename":"file5"},{"photo_id":"1391859190","filename":"file2"},{"photo_id":"1391859201","filename":"file4"},{"photo_id":"1391859163","filename":"file1"},{"photo_id":"1391859159","filename":"file0"},{"photo_id":"1391859197","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859201":["hashtag1","hashtag2"]},{"1391859159":["hashtag1","hashtag2"]},{"1391859204":["hashtag1","hashtag2"]},{"1391859197":["hashtag1","hashtag2"]},{"1391859190":["hashtag1","hashtag2"]},{"1391859163":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859201, 1391859159, 1391859204, 1391859197, 1391859190, 1391859163)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 58.38098692893982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 17:23:42.526818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_10_2894.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_13_2648.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_16_2673.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_19_3613.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_32_12508.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_33_1592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_10_2894.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_13_2648.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_16_2673.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_19_3613.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_32_12508.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_33_1592.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.5022103786468506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 17:24:03.020351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 17:24:25.825632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 17:24:52.002798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 17:25:02.778418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_10_2894.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_13_2648.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_16_2673.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_19_3613.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_32_12508.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_33_1592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_10_2894.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_13_2648.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_16_2673.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_19_3613.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_32_12508.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_33_1592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391859258","1391859263","1391859257","1391859260","1391859256","1391859265"],"photo_ids_order":["1391859256","1391859257","1391859258","1391859260","1391859263","1391859265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3b95201450cb046c3a1e3b557ff89ebd.jpg","text":"TemporaryFile(/tmp/multipartBody1826064660926204273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100767551,"filename":"image_02112025_00_15_16_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/2/32b6b82a0cf054a90fde545b3aa6cb0c.jpg","text":"TemporaryFile(/tmp/multipartBody6351373965248535643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100767551,"filename":"image_02112025_00_15_32_12508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/70ebed8ea09ae65bd4c0515611b599d0.jpg","text":"TemporaryFile(/tmp/multipartBody679302038941357306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100767551,"filename":"image_02112025_00_15_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/2/2232bf198c912e35e6d3fd8c12b71900.jpg","text":"TemporaryFile(/tmp/multipartBody7130307075257761109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100767551,"filename":"image_02112025_00_15_19_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/2/2414d47d3fbfa690258754d3f87e30d3.jpg","text":"TemporaryFile(/tmp/multipartBody234169835873068039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100767551,"filename":"image_02112025_00_15_10_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/2/838fe0bb2314428bff21cfd91823c1a2.jpg","text":"TemporaryFile(/tmp/multipartBody5956593670167002752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100767551,"filename":"image_02112025_00_15_33_1592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859258","file1":"1391859257","file0":"1391859256","file4":"1391859263","file5":"1391859265","file3":"1391859260"},"map_files_photo_id_array":[{"photo_id":"1391859265","filename":"file5"},{"photo_id":"1391859258","filename":"file2"},{"photo_id":"1391859263","filename":"file4"},{"photo_id":"1391859257","filename":"file1"},{"photo_id":"1391859256","filename":"file0"},{"photo_id":"1391859260","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859258":["hashtag1","hashtag2"]},{"1391859263":["hashtag1","hashtag2"]},{"1391859257":["hashtag1","hashtag2"]},{"1391859260":["hashtag1","hashtag2"]},{"1391859256":["hashtag1","hashtag2"]},{"1391859265":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859258, 1391859263, 1391859257, 1391859260, 1391859256, 1391859265)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 68.80492877960205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 17:26:26.484487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_35_1608.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_36_1520.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_38_1616.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_41_1534.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_43_1771.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_46_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_35_1608.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_36_1520.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_38_1616.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_41_1534.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_43_1771.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_46_2617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391859290","1391859292","1391859295","1391859304","1391859297","1391859301"],"photo_ids_order":["1391859290","1391859292","1391859295","1391859297","1391859301","1391859304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1e8732102163df265cb83e03e15f4c55.jpg","text":"TemporaryFile(/tmp/multipartBody8497364520299105556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100847168,"filename":"image_02112025_00_15_35_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/2/3f3cab19b7fe5761a931b0d6d9d5b692.jpg","text":"TemporaryFile(/tmp/multipartBody3494640412762063330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100847168,"filename":"image_02112025_00_15_36_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/2/ba1323118d7bb3ec08597207af2ea655.jpg","text":"TemporaryFile(/tmp/multipartBody7606833915168755498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100847168,"filename":"image_02112025_00_15_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/2/9d007ffa73c6a5279825618b0266dbc8.jpg","text":"TemporaryFile(/tmp/multipartBody3404731401422147781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100847168,"filename":"image_02112025_00_15_46_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/2/4cbb473c05a5c1e8da3b69f80925fed8.jpg","text":"TemporaryFile(/tmp/multipartBody6297892991406991844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100847168,"filename":"image_02112025_00_15_41_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/2/f2b9413ddf45bbfc6498ba59a2581991.jpg","text":"TemporaryFile(/tmp/multipartBody335676033531491189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100847168,"filename":"image_02112025_00_15_43_1771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859295","file1":"1391859292","file0":"1391859290","file4":"1391859301","file5":"1391859304","file3":"1391859297"},"map_files_photo_id_array":[{"photo_id":"1391859304","filename":"file5"},{"photo_id":"1391859295","filename":"file2"},{"photo_id":"1391859301","filename":"file4"},{"photo_id":"1391859292","filename":"file1"},{"photo_id":"1391859290","filename":"file0"},{"photo_id":"1391859297","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859290":["hashtag1","hashtag2"]},{"1391859292":["hashtag1","hashtag2"]},{"1391859295":["hashtag1","hashtag2"]},{"1391859304":["hashtag1","hashtag2"]},{"1391859297":["hashtag1","hashtag2"]},{"1391859301":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859290, 1391859292, 1391859295, 1391859304, 1391859297, 1391859301)","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 = 1391859295 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_38_1616.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391859295 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_38_1616.jpg";
uploaded 6 photos
time to upload: 69.14825558662415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 17:27:51.460816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_35_1608.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_36_1520.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_38_1616.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_41_1534.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_43_1771.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_46_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_35_1608.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_36_1520.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_38_1616.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_41_1534.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_43_1771.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_46_2617.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":["1391859330","1391859338","1391859332","1391859341","1391859335","1391859343"],"photo_ids_order":["1391859330","1391859332","1391859335","1391859338","1391859341","1391859343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/623bb472eca8bea0bad1a0492d7f9abc.jpg","text":"TemporaryFile(/tmp/multipartBody7310871758308923153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100932174,"filename":"image_02112025_00_15_35_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/2/14d0c9aa9afa45f7f4b7b4b8f711e232.jpg","text":"TemporaryFile(/tmp/multipartBody932390712728746795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100932174,"filename":"image_02112025_00_15_41_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/2/43e8aca5933e9cf94bfc1f144296ac4f.jpg","text":"TemporaryFile(/tmp/multipartBody4802770504412033191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100932174,"filename":"image_02112025_00_15_36_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/2/ceccbefd1b6a1af93f0342dbe0292310.jpg","text":"TemporaryFile(/tmp/multipartBody821431160771666579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100932174,"filename":"image_02112025_00_15_43_1771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/236acf9d249e55fa8d2fdfa92da6f353.jpg","text":"TemporaryFile(/tmp/multipartBody7079817913981998877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100932174,"filename":"image_02112025_00_15_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/2/4b099844c03b8384b96381edada3df2c.jpg","text":"TemporaryFile(/tmp/multipartBody481710182240560373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762100932174,"filename":"image_02112025_00_15_46_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859335","file1":"1391859332","file0":"1391859330","file4":"1391859341","file5":"1391859343","file3":"1391859338"},"map_files_photo_id_array":[{"photo_id":"1391859343","filename":"file5"},{"photo_id":"1391859335","filename":"file2"},{"photo_id":"1391859341","filename":"file4"},{"photo_id":"1391859332","filename":"file1"},{"photo_id":"1391859330","filename":"file0"},{"photo_id":"1391859338","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859330":["hashtag1","hashtag2"]},{"1391859338":["hashtag1","hashtag2"]},{"1391859332":["hashtag1","hashtag2"]},{"1391859341":["hashtag1","hashtag2"]},{"1391859335":["hashtag1","hashtag2"]},{"1391859343":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859330, 1391859338, 1391859332, 1391859341, 1391859335, 1391859343)","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 = 1391859335 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_38_1616.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391859335 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_38_1616.jpg";
uploaded 6 photos
time to upload: 63.97703766822815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 17:29:03.079020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 17:29:22.078474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_35_1608.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_36_1520.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_38_1616.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_41_1534.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_43_1771.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_46_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_35_1608.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_36_1520.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_38_1616.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_41_1534.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_43_1771.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_46_2617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391859366","1391859369","1391859371","1391859365","1391859378","1391859363"],"photo_ids_order":["1391859363","1391859365","1391859366","1391859369","1391859371","1391859378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/17dfa37d66707f95461465ef2a917971.jpg","text":"TemporaryFile(/tmp/multipartBody5361621553950933777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101022771,"filename":"image_02112025_00_15_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/2/d60c71d2f12362c94493d2af66be6c6e.jpg","text":"TemporaryFile(/tmp/multipartBody2444368140529616361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101022771,"filename":"image_02112025_00_15_41_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/2/a371dcd60cd862cb587e2d2a1d424f23.jpg","text":"TemporaryFile(/tmp/multipartBody8078563909861491746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101022771,"filename":"image_02112025_00_15_43_1771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d54625fbcd004d5f360db17f9682e0a0.jpg","text":"TemporaryFile(/tmp/multipartBody2390166369409376906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101022771,"filename":"image_02112025_00_15_36_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/2/59f68606f034b9cfe90e196febd8a024.jpg","text":"TemporaryFile(/tmp/multipartBody4481827636991166245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101022771,"filename":"image_02112025_00_15_46_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/2/9b0e35a730d4b596ff1cb38649d1e117.jpg","text":"TemporaryFile(/tmp/multipartBody388389783786410356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101022771,"filename":"image_02112025_00_15_35_1608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859366","file1":"1391859365","file0":"1391859363","file4":"1391859371","file5":"1391859378","file3":"1391859369"},"map_files_photo_id_array":[{"photo_id":"1391859378","filename":"file5"},{"photo_id":"1391859366","filename":"file2"},{"photo_id":"1391859371","filename":"file4"},{"photo_id":"1391859365","filename":"file1"},{"photo_id":"1391859363","filename":"file0"},{"photo_id":"1391859369","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859366":["hashtag1","hashtag2"]},{"1391859369":["hashtag1","hashtag2"]},{"1391859371":["hashtag1","hashtag2"]},{"1391859365":["hashtag1","hashtag2"]},{"1391859378":["hashtag1","hashtag2"]},{"1391859363":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859366, 1391859369, 1391859371, 1391859365, 1391859378, 1391859363)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.66350793838501 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /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-02 17:30:37.592458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 17:31:13.459168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_49_3727.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_52_2605.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_55_2670.jpg', '/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_58_3659.jpg', '/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_01_2624.jpg', '/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_04_2625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_49_3727.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_52_2605.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_55_2670.jpg
/home/pi/Desktop/images/02112025/00/15/image_02112025_00_15_58_3659.jpg
/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_01_2624.jpg
/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_04_2625.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":["1391859450","1391859438","1391859446","1391859434","1391859448","1391859442"],"photo_ids_order":["1391859434","1391859438","1391859442","1391859446","1391859448","1391859450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/442feeaaf6c7bdeebddc603bbb329a60.jpg","text":"TemporaryFile(/tmp/multipartBody1815103415359476975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101136752,"filename":"image_02112025_00_16_04_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/2/c02516e01cc6ab522da30c9c23a28ef1.jpg","text":"TemporaryFile(/tmp/multipartBody6917500524361357577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101136752,"filename":"image_02112025_00_15_52_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/2/c973ec33fe3b02cda802c56483168cb1.jpg","text":"TemporaryFile(/tmp/multipartBody8134836642597087796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101136752,"filename":"image_02112025_00_15_58_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/2/44de2d00ff19ca602d8634672df4c5b9.jpg","text":"TemporaryFile(/tmp/multipartBody7777705759841823186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101136752,"filename":"image_02112025_00_15_49_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/2/112ef8a3fb0074f33d2f573e0e0098ba.jpg","text":"TemporaryFile(/tmp/multipartBody8954066861838171623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101136752,"filename":"image_02112025_00_16_01_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/2/263c8b949463a2403f702b1e99334a7f.jpg","text":"TemporaryFile(/tmp/multipartBody7204276212716521019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101136752,"filename":"image_02112025_00_15_55_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859442","file1":"1391859438","file0":"1391859434","file4":"1391859448","file5":"1391859450","file3":"1391859446"},"map_files_photo_id_array":[{"photo_id":"1391859450","filename":"file5"},{"photo_id":"1391859442","filename":"file2"},{"photo_id":"1391859448","filename":"file4"},{"photo_id":"1391859438","filename":"file1"},{"photo_id":"1391859434","filename":"file0"},{"photo_id":"1391859446","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859450":["hashtag1","hashtag2"]},{"1391859438":["hashtag1","hashtag2"]},{"1391859446":["hashtag1","hashtag2"]},{"1391859434":["hashtag1","hashtag2"]},{"1391859448":["hashtag1","hashtag2"]},{"1391859442":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859450, 1391859438, 1391859446, 1391859434, 1391859448, 1391859442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.41088104248047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 17:32:09.972696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_07_3653.jpg', '/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_10_2602.jpg', '/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_13_3598.jpg', '/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_16_2684.jpg', '/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_20_3497.jpg', '/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_22_2530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_07_3653.jpg
/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_10_2602.jpg
/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_13_3598.jpg
/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_16_2684.jpg
/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_20_3497.jpg
/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_22_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":["1391859471","1391859473","1391859467","1391859476","1391859466","1391859469"],"photo_ids_order":["1391859466","1391859467","1391859469","1391859471","1391859473","1391859476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9ef6cf777e227930c9d4e07ccca3947a.jpg","text":"TemporaryFile(/tmp/multipartBody3989733786184786341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101192996,"filename":"image_02112025_00_16_16_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/2/d331d9b49d609f0634b9dd06d7e8be73.jpg","text":"TemporaryFile(/tmp/multipartBody5662237412031381151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101192996,"filename":"image_02112025_00_16_20_3497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3e0d989fa1609ed13a2bd8215354951f.jpg","text":"TemporaryFile(/tmp/multipartBody4974097538314684431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101192996,"filename":"image_02112025_00_16_10_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/2/e2c2d722a96249de41ad9c648e66d06a.jpg","text":"TemporaryFile(/tmp/multipartBody8977881007541301196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101192996,"filename":"image_02112025_00_16_22_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/2/fca2ef6b610ced00e7b65cc439e5e723.jpg","text":"TemporaryFile(/tmp/multipartBody6968882650651084197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101192996,"filename":"image_02112025_00_16_07_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/2/5cf36c04017ee3b8e501230e75dd29dc.jpg","text":"TemporaryFile(/tmp/multipartBody2751874275430948080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101192996,"filename":"image_02112025_00_16_13_3598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859469","file1":"1391859467","file0":"1391859466","file4":"1391859473","file5":"1391859476","file3":"1391859471"},"map_files_photo_id_array":[{"photo_id":"1391859476","filename":"file5"},{"photo_id":"1391859469","filename":"file2"},{"photo_id":"1391859473","filename":"file4"},{"photo_id":"1391859467","filename":"file1"},{"photo_id":"1391859466","filename":"file0"},{"photo_id":"1391859471","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859471":["hashtag1","hashtag2"]},{"1391859473":["hashtag1","hashtag2"]},{"1391859467":["hashtag1","hashtag2"]},{"1391859476":["hashtag1","hashtag2"]},{"1391859466":["hashtag1","hashtag2"]},{"1391859469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859471, 1391859473, 1391859467, 1391859476, 1391859466, 1391859469)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 61.12367796897888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 17:33:29.001317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_25_2788.jpg', '/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_28_2564.jpg', '/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_31_3651.jpg', '/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_34_2654.jpg', '/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_43_2575.jpg', '/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_46_3583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_25_2788.jpg
/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_28_2564.jpg
/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_31_3651.jpg
/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_34_2654.jpg
/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_43_2575.jpg
/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_46_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":["1391859501","1391859509","1391859500","1391859499","1391859505","1391859498"],"photo_ids_order":["1391859498","1391859499","1391859500","1391859501","1391859505","1391859509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/51d4d2978d054847b1d417f3f97dca9d.jpg","text":"TemporaryFile(/tmp/multipartBody9173502261369293224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101269680,"filename":"image_02112025_00_16_34_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/2/43057cf214a25aec02593650d1d9b5b1.jpg","text":"TemporaryFile(/tmp/multipartBody3019139072140106601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101269680,"filename":"image_02112025_00_16_46_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/2/56a811edfc006bc479cd56a28fee6b58.jpg","text":"TemporaryFile(/tmp/multipartBody1953821237650973906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101269680,"filename":"image_02112025_00_16_31_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/2/30ada778b954354b4263bf86ede4dab8.jpg","text":"TemporaryFile(/tmp/multipartBody2592662244456005552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101269680,"filename":"image_02112025_00_16_28_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/2/073b949d406a275d8d930d213bc8ab9e.jpg","text":"TemporaryFile(/tmp/multipartBody5027177065968831156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101269680,"filename":"image_02112025_00_16_43_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/2/dead3f62825c1df07d2bd8a840bcc07b.jpg","text":"TemporaryFile(/tmp/multipartBody8843802738443651412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101269680,"filename":"image_02112025_00_16_25_2788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859500","file1":"1391859499","file0":"1391859498","file4":"1391859505","file5":"1391859509","file3":"1391859501"},"map_files_photo_id_array":[{"photo_id":"1391859509","filename":"file5"},{"photo_id":"1391859500","filename":"file2"},{"photo_id":"1391859505","filename":"file4"},{"photo_id":"1391859499","filename":"file1"},{"photo_id":"1391859498","filename":"file0"},{"photo_id":"1391859501","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859501":["hashtag1","hashtag2"]},{"1391859509":["hashtag1","hashtag2"]},{"1391859500":["hashtag1","hashtag2"]},{"1391859499":["hashtag1","hashtag2"]},{"1391859505":["hashtag1","hashtag2"]},{"1391859498":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859501, 1391859509, 1391859500, 1391859499, 1391859505, 1391859498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.507046699523926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 17:34:21.999568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_49_2705.jpg', '/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_03_5145.jpg', '/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_05_1806.jpg', '/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_07_1536.jpg', '/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_10_3011.jpg', '/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_13_2910.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/16/image_02112025_00_16_49_2705.jpg
/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_03_5145.jpg
/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_05_1806.jpg
/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_07_1536.jpg
/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_10_3011.jpg
/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_13_2910.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391859528","1391859536","1391859521","1391859524","1391859518","1391859532"],"photo_ids_order":["1391859518","1391859521","1391859524","1391859528","1391859532","1391859536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2a104dfd669ead0b1f512eb9999bc14b.jpg","text":"TemporaryFile(/tmp/multipartBody6410749483964429478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101322675,"filename":"image_02112025_00_17_07_1536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fa48a2c9cec008ed7829499041a8e785.jpg","text":"TemporaryFile(/tmp/multipartBody5013532042182419185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101322675,"filename":"image_02112025_00_17_13_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/2/b20021dbf172ea480cb36b481e4133fc.jpg","text":"TemporaryFile(/tmp/multipartBody1625558347670787314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101322675,"filename":"image_02112025_00_17_03_5145.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8530ba12fddbcdbace02ba8367fdb254.jpg","text":"TemporaryFile(/tmp/multipartBody6930225141513120829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101322675,"filename":"image_02112025_00_17_05_1806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/65b1c66d3e862b16d1b00ef4c17f2006.jpg","text":"TemporaryFile(/tmp/multipartBody6826961123749271173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101322675,"filename":"image_02112025_00_16_49_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/2/c12e184d56cada9e6fb9401fa31e02b4.jpg","text":"TemporaryFile(/tmp/multipartBody5043325393166695347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101322675,"filename":"image_02112025_00_17_10_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859524","file1":"1391859521","file0":"1391859518","file4":"1391859532","file5":"1391859536","file3":"1391859528"},"map_files_photo_id_array":[{"photo_id":"1391859536","filename":"file5"},{"photo_id":"1391859524","filename":"file2"},{"photo_id":"1391859532","filename":"file4"},{"photo_id":"1391859521","filename":"file1"},{"photo_id":"1391859518","filename":"file0"},{"photo_id":"1391859528","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859528":["hashtag1","hashtag2"]},{"1391859536":["hashtag1","hashtag2"]},{"1391859521":["hashtag1","hashtag2"]},{"1391859524":["hashtag1","hashtag2"]},{"1391859518":["hashtag1","hashtag2"]},{"1391859532":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859528, 1391859536, 1391859521, 1391859524, 1391859518, 1391859532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23007035255432 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 17:35:02.946453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_15_2872.jpg', '/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_19_3575.jpg', '/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_22_2756.jpg', '/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_24_2647.jpg', '/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_28_3590.jpg', '/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_32_4396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_15_2872.jpg
/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_19_3575.jpg
/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_22_2756.jpg
/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_24_2647.jpg
/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_28_3590.jpg
/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_32_4396.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":["1391859554","1391859548","1391859557","1391859551","1391859541","1391859544"],"photo_ids_order":["1391859541","1391859544","1391859548","1391859551","1391859554","1391859557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/aeabeb56a76afec6dd8c4cf12079f4f5.jpg","text":"TemporaryFile(/tmp/multipartBody1235460416454179513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101363744,"filename":"image_02112025_00_17_28_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/2/55b39ae52995067c7f76202e57d4f81b.jpg","text":"TemporaryFile(/tmp/multipartBody641778979451743115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101363744,"filename":"image_02112025_00_17_22_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/2/a8fc54952194a2e9c17884fca9a06b0b.jpg","text":"TemporaryFile(/tmp/multipartBody6949382429633468399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101363744,"filename":"image_02112025_00_17_32_4396.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/00764766642698c928fab0194989dcff.jpg","text":"TemporaryFile(/tmp/multipartBody962821489400610286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101363744,"filename":"image_02112025_00_17_24_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/2/48ebaa92505ceb9fa235b09d398382c6.jpg","text":"TemporaryFile(/tmp/multipartBody1770393254927327809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101363744,"filename":"image_02112025_00_17_15_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/2/9dab633f428bf1135be8c0c0bcb66ae2.jpg","text":"TemporaryFile(/tmp/multipartBody204699512363571149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101363744,"filename":"image_02112025_00_17_19_3575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859548","file1":"1391859544","file0":"1391859541","file4":"1391859554","file5":"1391859557","file3":"1391859551"},"map_files_photo_id_array":[{"photo_id":"1391859557","filename":"file5"},{"photo_id":"1391859548","filename":"file2"},{"photo_id":"1391859554","filename":"file4"},{"photo_id":"1391859544","filename":"file1"},{"photo_id":"1391859541","filename":"file0"},{"photo_id":"1391859551","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859554":["hashtag1","hashtag2"]},{"1391859548":["hashtag1","hashtag2"]},{"1391859557":["hashtag1","hashtag2"]},{"1391859551":["hashtag1","hashtag2"]},{"1391859541":["hashtag1","hashtag2"]},{"1391859544":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859554, 1391859548, 1391859557, 1391859551, 1391859541, 1391859544)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 59.81758999824524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 17:36:22.053058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_34_1590.jpg', '/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_37_2873.jpg', '/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_40_2699.jpg', '/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_43_3665.jpg', '/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_46_2658.jpg', '/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_49_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_34_1590.jpg
/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_37_2873.jpg
/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_40_2699.jpg
/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_43_3665.jpg
/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_46_2658.jpg
/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_49_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":["1391859590","1391859587","1391859581","1391859583","1391859594","1391859597"],"photo_ids_order":["1391859581","1391859583","1391859587","1391859590","1391859594","1391859597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d8cf0440fe45e70386e15b07fd665bf2.jpg","text":"TemporaryFile(/tmp/multipartBody102304313149548025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101457986,"filename":"image_02112025_00_17_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/2/50edc429e8f8be82de1f7289b5ed1cf7.jpg","text":"TemporaryFile(/tmp/multipartBody7013891376489339996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101457986,"filename":"image_02112025_00_17_40_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/2/8a5608dfebfcdc9c99e165fbbd050e52.jpg","text":"TemporaryFile(/tmp/multipartBody8601251809407650685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101457986,"filename":"image_02112025_00_17_34_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e12d4a7acea9c2f2fd3087a29f80e565.jpg","text":"TemporaryFile(/tmp/multipartBody3666948521579216840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101457986,"filename":"image_02112025_00_17_37_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/2/730dc179ef0426384f8c05894f4e2a5b.jpg","text":"TemporaryFile(/tmp/multipartBody2702917726770790165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101457986,"filename":"image_02112025_00_17_46_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/2/7043990ae237dba5d74918fea76dab5d.jpg","text":"TemporaryFile(/tmp/multipartBody5055016382369186256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101457986,"filename":"image_02112025_00_17_49_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859587","file1":"1391859583","file0":"1391859581","file4":"1391859594","file5":"1391859597","file3":"1391859590"},"map_files_photo_id_array":[{"photo_id":"1391859597","filename":"file5"},{"photo_id":"1391859587","filename":"file2"},{"photo_id":"1391859594","filename":"file4"},{"photo_id":"1391859583","filename":"file1"},{"photo_id":"1391859581","filename":"file0"},{"photo_id":"1391859590","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859590":["hashtag1","hashtag2"]},{"1391859587":["hashtag1","hashtag2"]},{"1391859581":["hashtag1","hashtag2"]},{"1391859583":["hashtag1","hashtag2"]},{"1391859594":["hashtag1","hashtag2"]},{"1391859597":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859590, 1391859587, 1391859581, 1391859583, 1391859594, 1391859597)","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 = 1391859587 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_40_2699.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 79.37011408805847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 17:37:50.218244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_51_2785.jpg', '/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_56_4692.jpg', '/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_58_1633.jpg', '/home/pi/Desktop/images/02112025/00/17/image_02112025_00_18_01_3562.jpg', '/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_04_2807.jpg', '/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_07_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_51_2785.jpg
/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_56_4692.jpg
/home/pi/Desktop/images/02112025/00/17/image_02112025_00_17_58_1633.jpg
/home/pi/Desktop/images/02112025/00/17/image_02112025_00_18_01_3562.jpg
/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_04_2807.jpg
/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_07_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":["1391859618","1391859621","1391859623","1391859626","1391859628","1391859616"],"photo_ids_order":["1391859616","1391859618","1391859621","1391859623","1391859626","1391859628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5ee3e10edf642e2c4c26fbbeb8ab2d1a.jpg","text":"TemporaryFile(/tmp/multipartBody6232952759058354993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101530931,"filename":"image_02112025_00_17_56_4692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8c105eba05597277574d9cc358bae13a.jpg","text":"TemporaryFile(/tmp/multipartBody5485801625205786884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101530931,"filename":"image_02112025_00_17_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/2/0b26cf2b681ca5a1cd47ccbf5b0acee3.jpg","text":"TemporaryFile(/tmp/multipartBody6444096338709802806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101530931,"filename":"image_02112025_00_18_01_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/2/5777434504885b1fa7f3b25e805f760b.jpg","text":"TemporaryFile(/tmp/multipartBody4363481201042068082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101530931,"filename":"image_02112025_00_18_04_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/2/250e7fbd67794821dd025ad7b3d71565.jpg","text":"TemporaryFile(/tmp/multipartBody8804286070618348169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101530931,"filename":"image_02112025_00_18_07_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/2/e36096b5c6cb8884dcfbc5c188942aa1.jpg","text":"TemporaryFile(/tmp/multipartBody7343430628970222976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101530931,"filename":"image_02112025_00_17_51_2785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859621","file1":"1391859618","file0":"1391859616","file4":"1391859626","file5":"1391859628","file3":"1391859623"},"map_files_photo_id_array":[{"photo_id":"1391859628","filename":"file5"},{"photo_id":"1391859621","filename":"file2"},{"photo_id":"1391859626","filename":"file4"},{"photo_id":"1391859618","filename":"file1"},{"photo_id":"1391859616","filename":"file0"},{"photo_id":"1391859623","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859618":["hashtag1","hashtag2"]},{"1391859621":["hashtag1","hashtag2"]},{"1391859623":["hashtag1","hashtag2"]},{"1391859626":["hashtag1","hashtag2"]},{"1391859628":["hashtag1","hashtag2"]},{"1391859616":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859618, 1391859621, 1391859623, 1391859626, 1391859628, 1391859616)","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: 72.28353500366211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 17:39:22.326197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_13_2627.jpg', '/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_15_2763.jpg', '/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_19_3678.jpg', '/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_22_2563.jpg', '/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_24_2837.jpg', '/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_27_2822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_13_2627.jpg
/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_15_2763.jpg
/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_19_3678.jpg
/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_22_2563.jpg
/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_24_2837.jpg
/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_27_2822.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391859663","1391859665","1391859656","1391859658","1391859667","1391859660"],"photo_ids_order":["1391859656","1391859658","1391859660","1391859663","1391859665","1391859667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5d2d7036d94a9bc9de1fdde08180256d.jpg","text":"TemporaryFile(/tmp/multipartBody8248378858211087672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101623028,"filename":"image_02112025_00_18_22_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/2/1c8413cd6d8d42b85756a4f9972c764e.jpg","text":"TemporaryFile(/tmp/multipartBody312363067527311547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101623028,"filename":"image_02112025_00_18_24_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/2/a414afdc714d5727b1ac0514041bbbfd.jpg","text":"TemporaryFile(/tmp/multipartBody3303821214647842573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101623028,"filename":"image_02112025_00_18_13_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/2/afa53c0855b16c9b5ba714ea3e46a4ef.jpg","text":"TemporaryFile(/tmp/multipartBody832900043862782649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101623028,"filename":"image_02112025_00_18_15_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/2/9b1d06b65bbce929bad3db38a5e5e83c.jpg","text":"TemporaryFile(/tmp/multipartBody1453125120623070252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101623028,"filename":"image_02112025_00_18_27_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/2/b2bafef3cdb0159a618748335508df6e.jpg","text":"TemporaryFile(/tmp/multipartBody8248636408300907207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101623028,"filename":"image_02112025_00_18_19_3678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859660","file1":"1391859658","file0":"1391859656","file4":"1391859665","file5":"1391859667","file3":"1391859663"},"map_files_photo_id_array":[{"photo_id":"1391859667","filename":"file5"},{"photo_id":"1391859660","filename":"file2"},{"photo_id":"1391859665","filename":"file4"},{"photo_id":"1391859658","filename":"file1"},{"photo_id":"1391859656","filename":"file0"},{"photo_id":"1391859663","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859663":["hashtag1","hashtag2"]},{"1391859665":["hashtag1","hashtag2"]},{"1391859656":["hashtag1","hashtag2"]},{"1391859658":["hashtag1","hashtag2"]},{"1391859667":["hashtag1","hashtag2"]},{"1391859660":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859663, 1391859665, 1391859656, 1391859658, 1391859667, 1391859660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3037896156311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 17:40:03.104904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_31_3697.jpg', '/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_34_2588.jpg', '/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_36_2807.jpg', '/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_40_3719.jpg', '/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_43_2625.jpg', '/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_46_3236.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_31_3697.jpg
/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_34_2588.jpg
/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_36_2807.jpg
/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_40_3719.jpg
/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_43_2625.jpg
/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_46_3236.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391859684","1391859678","1391859680","1391859674","1391859682","1391859687"],"photo_ids_order":["1391859674","1391859678","1391859680","1391859682","1391859684","1391859687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a7e85ec1cccf2074b0f7c59dd5db8496.jpg","text":"TemporaryFile(/tmp/multipartBody519402959248461006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101663829,"filename":"image_02112025_00_18_43_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/2/0907a15e2129e9de6df24a1f2834771c.jpg","text":"TemporaryFile(/tmp/multipartBody6724377193093226288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101663829,"filename":"image_02112025_00_18_34_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/2/f485c33e35d225c8e031f9aa30d5c8d3.jpg","text":"TemporaryFile(/tmp/multipartBody2176633386323014977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101663829,"filename":"image_02112025_00_18_36_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/2/a4164a278b2632eb834d6b34e0f4bb16.jpg","text":"TemporaryFile(/tmp/multipartBody8855950743171255306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101663829,"filename":"image_02112025_00_18_31_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/2/6917359a95a15aa7dd9efc94b26c9364.jpg","text":"TemporaryFile(/tmp/multipartBody6263451269204543168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101663829,"filename":"image_02112025_00_18_40_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/2/bfd5ef740577ab5bcd8aa9606e8de2a2.jpg","text":"TemporaryFile(/tmp/multipartBody6987873316670795468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101663829,"filename":"image_02112025_00_18_46_3236.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859680","file1":"1391859678","file0":"1391859674","file4":"1391859684","file5":"1391859687","file3":"1391859682"},"map_files_photo_id_array":[{"photo_id":"1391859687","filename":"file5"},{"photo_id":"1391859680","filename":"file2"},{"photo_id":"1391859684","filename":"file4"},{"photo_id":"1391859678","filename":"file1"},{"photo_id":"1391859674","filename":"file0"},{"photo_id":"1391859682","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859684":["hashtag1","hashtag2"]},{"1391859678":["hashtag1","hashtag2"]},{"1391859680":["hashtag1","hashtag2"]},{"1391859674":["hashtag1","hashtag2"]},{"1391859682":["hashtag1","hashtag2"]},{"1391859687":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859684, 1391859678, 1391859680, 1391859674, 1391859682, 1391859687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.714763879776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 17:40:42.521471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_49_2726.jpg', '/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_53_4072.jpg', '/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_54_1654.jpg', '/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_58_3700.jpg', '/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_01_2799.jpg', '/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_04_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_49_2726.jpg
/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_53_4072.jpg
/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_54_1654.jpg
/home/pi/Desktop/images/02112025/00/18/image_02112025_00_18_58_3700.jpg
/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_01_2799.jpg
/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_04_2694.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":["1391859698","1391859694","1391859706","1391859700","1391859703","1391859696"],"photo_ids_order":["1391859694","1391859696","1391859698","1391859700","1391859703","1391859706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e037b1d0629a292fd56d96dde700b6b8.jpg","text":"TemporaryFile(/tmp/multipartBody3904007185569515280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101703159,"filename":"image_02112025_00_18_54_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/2/8aec1dc32d763670569d32ef1d45d761.jpg","text":"TemporaryFile(/tmp/multipartBody6998660288901069363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101703159,"filename":"image_02112025_00_18_49_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/2/c1263df8a9cfbc9cd386617f789b9529.jpg","text":"TemporaryFile(/tmp/multipartBody3461165457415384509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101703159,"filename":"image_02112025_00_19_04_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/2/0b1e373cb6895f388a8afbc88c524aa0.jpg","text":"TemporaryFile(/tmp/multipartBody6051284434529342520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101703159,"filename":"image_02112025_00_18_58_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/2/ebd112b5d8fa444dfb086f2ed11146d4.jpg","text":"TemporaryFile(/tmp/multipartBody6422421114574127286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101703159,"filename":"image_02112025_00_19_01_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/2/6f7e59ea4b4d2aba1e5410bc3eed5ce5.jpg","text":"TemporaryFile(/tmp/multipartBody8201939354178399387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101703159,"filename":"image_02112025_00_18_53_4072.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859698","file1":"1391859696","file0":"1391859694","file4":"1391859703","file5":"1391859706","file3":"1391859700"},"map_files_photo_id_array":[{"photo_id":"1391859706","filename":"file5"},{"photo_id":"1391859698","filename":"file2"},{"photo_id":"1391859703","filename":"file4"},{"photo_id":"1391859696","filename":"file1"},{"photo_id":"1391859694","filename":"file0"},{"photo_id":"1391859700","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859698":["hashtag1","hashtag2"]},{"1391859694":["hashtag1","hashtag2"]},{"1391859706":["hashtag1","hashtag2"]},{"1391859700":["hashtag1","hashtag2"]},{"1391859703":["hashtag1","hashtag2"]},{"1391859696":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859698, 1391859694, 1391859706, 1391859700, 1391859703, 1391859696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.338200092315674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 17:41:42.661128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_14_10898.jpg', '/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_18_1662.jpg', '/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_19_1562.jpg', '/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_22_3110.jpg', '/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_24_1614.jpg', '/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_26_1678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_14_10898.jpg
/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_18_1662.jpg
/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_19_1562.jpg
/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_22_3110.jpg
/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_24_1614.jpg
/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_26_1678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391859723","1391859716","1391859725","1391859719","1391859727","1391859721"],"photo_ids_order":["1391859716","1391859719","1391859721","1391859723","1391859725","1391859727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4a59a39cf0cb3b916313f538e7c27c3b.jpg","text":"TemporaryFile(/tmp/multipartBody8571888838162496006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101763354,"filename":"image_02112025_00_19_22_3110.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/dc28aa2ed8e05c6aa26a3b3b962fff0e.jpg","text":"TemporaryFile(/tmp/multipartBody2471009800670052433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101763354,"filename":"image_02112025_00_19_14_10898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1d51f5cbdabe12a256fb3e8453a881a7.jpg","text":"TemporaryFile(/tmp/multipartBody7553290767518255760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101763354,"filename":"image_02112025_00_19_24_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/2/d1ad93577086b493205fec56741654a8.jpg","text":"TemporaryFile(/tmp/multipartBody1813711660347563847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101763354,"filename":"image_02112025_00_19_18_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/2/84c981dcd4211e9918738752f0934cf7.jpg","text":"TemporaryFile(/tmp/multipartBody4891493216795835691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101763354,"filename":"image_02112025_00_19_26_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3dd67e2b4eabe673f29798489754421e.jpg","text":"TemporaryFile(/tmp/multipartBody201987910200927851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101763354,"filename":"image_02112025_00_19_19_1562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859721","file1":"1391859719","file0":"1391859716","file4":"1391859725","file5":"1391859727","file3":"1391859723"},"map_files_photo_id_array":[{"photo_id":"1391859727","filename":"file5"},{"photo_id":"1391859721","filename":"file2"},{"photo_id":"1391859725","filename":"file4"},{"photo_id":"1391859719","filename":"file1"},{"photo_id":"1391859716","filename":"file0"},{"photo_id":"1391859723","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859723":["hashtag1","hashtag2"]},{"1391859716":["hashtag1","hashtag2"]},{"1391859725":["hashtag1","hashtag2"]},{"1391859719":["hashtag1","hashtag2"]},{"1391859727":["hashtag1","hashtag2"]},{"1391859721":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859723, 1391859716, 1391859725, 1391859719, 1391859727, 1391859721)","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 = 1391859721 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_19_1562.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 54.79575514793396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 17:42:41.882144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_30_4688.jpg', '/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_33_2952.jpg', '/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_35_1575.jpg', '/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_37_1767.jpg', '/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_39_2549.jpg', '/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_43_3621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_30_4688.jpg
/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_33_2952.jpg
/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_35_1575.jpg
/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_37_1767.jpg
/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_39_2549.jpg
/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_43_3621.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391859750","1391859747","1391859749","1391859740","1391859743","1391859745"],"photo_ids_order":["1391859740","1391859743","1391859745","1391859747","1391859749","1391859750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2b5082be6b1f96c18634e7f4f36d20f7.jpg","text":"TemporaryFile(/tmp/multipartBody6396450768159077653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101822553,"filename":"image_02112025_00_19_43_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/2/8a05b6d264fe08512d1aeb7aacb5c074.jpg","text":"TemporaryFile(/tmp/multipartBody4107423578255046524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101822553,"filename":"image_02112025_00_19_37_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/2/b4cc69ec702e0004d9d92482f5d98954.jpg","text":"TemporaryFile(/tmp/multipartBody920759517032506703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101822553,"filename":"image_02112025_00_19_39_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/2/508d3504d163138a5f33a46e2f82eda3.jpg","text":"TemporaryFile(/tmp/multipartBody6124556274802295602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101822553,"filename":"image_02112025_00_19_30_4688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f49c6cf0f93ef6b7fcafc5728d14450e.jpg","text":"TemporaryFile(/tmp/multipartBody3743740337830978289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101822553,"filename":"image_02112025_00_19_33_2952.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6f9cdf32ea4a7532355dec74be8a61a7.jpg","text":"TemporaryFile(/tmp/multipartBody9008830174445515490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101822553,"filename":"image_02112025_00_19_35_1575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859745","file1":"1391859743","file0":"1391859740","file4":"1391859749","file5":"1391859750","file3":"1391859747"},"map_files_photo_id_array":[{"photo_id":"1391859750","filename":"file5"},{"photo_id":"1391859745","filename":"file2"},{"photo_id":"1391859749","filename":"file4"},{"photo_id":"1391859743","filename":"file1"},{"photo_id":"1391859740","filename":"file0"},{"photo_id":"1391859747","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859750":["hashtag1","hashtag2"]},{"1391859747":["hashtag1","hashtag2"]},{"1391859749":["hashtag1","hashtag2"]},{"1391859740":["hashtag1","hashtag2"]},{"1391859743":["hashtag1","hashtag2"]},{"1391859745":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859750, 1391859747, 1391859749, 1391859740, 1391859743, 1391859745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09886121749878 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-02 17:43:37.671477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_46_2710.jpg', '/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_48_2697.jpg', '/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_52_3711.jpg', '/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_05_13215.jpg', '/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_08_3115.jpg', '/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_10_1580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_46_2710.jpg
/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_48_2697.jpg
/home/pi/Desktop/images/02112025/00/19/image_02112025_00_19_52_3711.jpg
/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_05_13215.jpg
/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_08_3115.jpg
/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_10_1580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391859762","1391859779","1391859776","1391859760","1391859772","1391859768"],"photo_ids_order":["1391859760","1391859762","1391859768","1391859772","1391859776","1391859779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/aff6a239ab3a625110ab8c0c26128897.jpg","text":"TemporaryFile(/tmp/multipartBody1129847795444310053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101878344,"filename":"image_02112025_00_19_48_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/2/9bb143d0602e47deee1a9111d7e467b0.jpg","text":"TemporaryFile(/tmp/multipartBody6508350560946002011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101878344,"filename":"image_02112025_00_20_10_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7274cafcb78e8c096a8188f6a610ff0b.jpg","text":"TemporaryFile(/tmp/multipartBody2333856148742804894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101878344,"filename":"image_02112025_00_20_08_3115.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e0fde8f75de694c6d5ebd939b8cdb1fb.jpg","text":"TemporaryFile(/tmp/multipartBody8590335087125974221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101878344,"filename":"image_02112025_00_19_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/2/7df3fb941a7915e0ef293b9e601d8b85.jpg","text":"TemporaryFile(/tmp/multipartBody5923857832093693803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101878344,"filename":"image_02112025_00_20_05_13215.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ab4c1e78113df3260f494580e5107db1.jpg","text":"TemporaryFile(/tmp/multipartBody2579886380100768551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101878344,"filename":"image_02112025_00_19_52_3711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859768","file1":"1391859762","file0":"1391859760","file4":"1391859776","file5":"1391859779","file3":"1391859772"},"map_files_photo_id_array":[{"photo_id":"1391859779","filename":"file5"},{"photo_id":"1391859768","filename":"file2"},{"photo_id":"1391859776","filename":"file4"},{"photo_id":"1391859762","filename":"file1"},{"photo_id":"1391859760","filename":"file0"},{"photo_id":"1391859772","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859762":["hashtag1","hashtag2"]},{"1391859779":["hashtag1","hashtag2"]},{"1391859776":["hashtag1","hashtag2"]},{"1391859760":["hashtag1","hashtag2"]},{"1391859772":["hashtag1","hashtag2"]},{"1391859768":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859762, 1391859779, 1391859776, 1391859760, 1391859772, 1391859768)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 59.446603298187256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 17:44:42.808177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_12_1580.jpg', '/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_13_1614.jpg', '/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_15_1746.jpg', '/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_17_1650.jpg', '/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_18_1768.jpg', '/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_22_1576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_12_1580.jpg
/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_13_1614.jpg
/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_15_1746.jpg
/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_17_1650.jpg
/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_18_1768.jpg
/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_22_1576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391859800","1391859803","1391859806","1391859796","1391859799","1391859802"],"photo_ids_order":["1391859796","1391859799","1391859800","1391859802","1391859803","1391859806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7aa33b1a883aed732b534a2701e37a56.jpg","text":"TemporaryFile(/tmp/multipartBody8161335635615464580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101943492,"filename":"image_02112025_00_20_15_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/2/696c47de55b72028d78012528260c41e.jpg","text":"TemporaryFile(/tmp/multipartBody2635282762643728716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101943492,"filename":"image_02112025_00_20_18_1768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/470e2507e024ac9424b8d689433a2ccb.jpg","text":"TemporaryFile(/tmp/multipartBody675900919413112461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101943492,"filename":"image_02112025_00_20_22_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/2/99141e7d3c9a5c58b5d6ccb93b47f184.jpg","text":"TemporaryFile(/tmp/multipartBody1027897629669117065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101943492,"filename":"image_02112025_00_20_12_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ed65b502f1582e6727ab2bd1822a3e7b.jpg","text":"TemporaryFile(/tmp/multipartBody6169748302869898772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101943492,"filename":"image_02112025_00_20_13_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/2/2a0a64b70298cdf65471d07cebef32f6.jpg","text":"TemporaryFile(/tmp/multipartBody567823857116860769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762101943492,"filename":"image_02112025_00_20_17_1650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859800","file1":"1391859799","file0":"1391859796","file4":"1391859803","file5":"1391859806","file3":"1391859802"},"map_files_photo_id_array":[{"photo_id":"1391859806","filename":"file5"},{"photo_id":"1391859800","filename":"file2"},{"photo_id":"1391859803","filename":"file4"},{"photo_id":"1391859799","filename":"file1"},{"photo_id":"1391859796","filename":"file0"},{"photo_id":"1391859802","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859800":["hashtag1","hashtag2"]},{"1391859803":["hashtag1","hashtag2"]},{"1391859806":["hashtag1","hashtag2"]},{"1391859796":["hashtag1","hashtag2"]},{"1391859799":["hashtag1","hashtag2"]},{"1391859802":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859800, 1391859803, 1391859806, 1391859796, 1391859799, 1391859802)","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.96882748603821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 17:46:02.534274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 17:46:22.253726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_24_2624.jpg', '/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_30_2666.jpg', '/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_39_4710.jpg', '/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_46_3754.jpg', '/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_48_2570.jpg', '/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_51_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_24_2624.jpg
/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_30_2666.jpg
/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_39_4710.jpg
/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_46_3754.jpg
/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_48_2570.jpg
/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_51_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391859840","1391859848","1391859842","1391859836","1391859844","1391859838"],"photo_ids_order":["1391859836","1391859838","1391859840","1391859842","1391859844","1391859848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d7650a303853f88a47a34ee60c7b9c50.jpg","text":"TemporaryFile(/tmp/multipartBody1918904751841155191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102043020,"filename":"image_02112025_00_20_39_4710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c1edcc27073e6825991115808da483a0.jpg","text":"TemporaryFile(/tmp/multipartBody9172776083955415346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102043020,"filename":"image_02112025_00_20_51_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/2/c323084302180235017b0433c5a95ff1.jpg","text":"TemporaryFile(/tmp/multipartBody8588572483605796080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102043020,"filename":"image_02112025_00_20_46_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/2/54df2daa62834379a7306d77654e236a.jpg","text":"TemporaryFile(/tmp/multipartBody614296347234374248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102043020,"filename":"image_02112025_00_20_24_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/2/e6554a901c2322f673581d044d81134f.jpg","text":"TemporaryFile(/tmp/multipartBody8806955817628151514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102043020,"filename":"image_02112025_00_20_48_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/2/6b80ebf294272c7c61289d0cf526d5d9.jpg","text":"TemporaryFile(/tmp/multipartBody5110059266153100786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102043020,"filename":"image_02112025_00_20_30_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859840","file1":"1391859838","file0":"1391859836","file4":"1391859844","file5":"1391859848","file3":"1391859842"},"map_files_photo_id_array":[{"photo_id":"1391859848","filename":"file5"},{"photo_id":"1391859840","filename":"file2"},{"photo_id":"1391859844","filename":"file4"},{"photo_id":"1391859838","filename":"file1"},{"photo_id":"1391859836","filename":"file0"},{"photo_id":"1391859842","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859840":["hashtag1","hashtag2"]},{"1391859848":["hashtag1","hashtag2"]},{"1391859842":["hashtag1","hashtag2"]},{"1391859836":["hashtag1","hashtag2"]},{"1391859844":["hashtag1","hashtag2"]},{"1391859838":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859840, 1391859848, 1391859842, 1391859836, 1391859844, 1391859838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83701300621033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 17:47:03.126720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_57_2574.jpg', '/home/pi/Desktop/images/02112025/00/20/image_02112025_00_21_00_2761.jpg', '/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_04_3743.jpg', '/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_07_2693.jpg', '/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_09_2642.jpg', '/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_13_3595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/20/image_02112025_00_20_57_2574.jpg
/home/pi/Desktop/images/02112025/00/20/image_02112025_00_21_00_2761.jpg
/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_04_3743.jpg
/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_07_2693.jpg
/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_09_2642.jpg
/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_13_3595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391859861","1391859858","1391859869","1391859860","1391859862","1391859865"],"photo_ids_order":["1391859858","1391859860","1391859861","1391859862","1391859865","1391859869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f09528b0ae80c74fce76b235d75d6fa6.jpg","text":"TemporaryFile(/tmp/multipartBody322422296357468690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102083930,"filename":"image_02112025_00_21_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/2/5b9cbd56eb85953ec84d9f3d731cf233.jpg","text":"TemporaryFile(/tmp/multipartBody8440418707497984451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102083930,"filename":"image_02112025_00_20_57_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/2/a2b874310fe31eed06ac52d2c3a062c7.jpg","text":"TemporaryFile(/tmp/multipartBody4635162443682981668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102083930,"filename":"image_02112025_00_21_13_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/2/3da6013eedf32a1d1b40552c2817bf3e.jpg","text":"TemporaryFile(/tmp/multipartBody6963317553687304778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102083930,"filename":"image_02112025_00_21_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/2/f46e8d45d4ee7a10647b4e003d9566c3.jpg","text":"TemporaryFile(/tmp/multipartBody741444520280281450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102083930,"filename":"image_02112025_00_21_07_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/2/bdf82613765f17e42931ce0dea4d5dd6.jpg","text":"TemporaryFile(/tmp/multipartBody6246341193343419945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102083930,"filename":"image_02112025_00_21_09_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859861","file1":"1391859860","file0":"1391859858","file4":"1391859865","file5":"1391859869","file3":"1391859862"},"map_files_photo_id_array":[{"photo_id":"1391859869","filename":"file5"},{"photo_id":"1391859861","filename":"file2"},{"photo_id":"1391859865","filename":"file4"},{"photo_id":"1391859860","filename":"file1"},{"photo_id":"1391859858","filename":"file0"},{"photo_id":"1391859862","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859861":["hashtag1","hashtag2"]},{"1391859858":["hashtag1","hashtag2"]},{"1391859869":["hashtag1","hashtag2"]},{"1391859860":["hashtag1","hashtag2"]},{"1391859862":["hashtag1","hashtag2"]},{"1391859865":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859861, 1391859858, 1391859869, 1391859860, 1391859862, 1391859865)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.206430196762085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 17:48:04.021418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_15_2630.jpg', '/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_18_2610.jpg', '/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_22_3709.jpg', '/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_24_2702.jpg', '/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_27_2655.jpg', '/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_31_3560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_15_2630.jpg
/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_18_2610.jpg
/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_22_3709.jpg
/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_24_2702.jpg
/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_27_2655.jpg
/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_31_3560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391859903","1391859900","1391859887","1391859892","1391859895","1391859897"],"photo_ids_order":["1391859887","1391859892","1391859895","1391859897","1391859900","1391859903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c492f57221e7e62b61672479fd6b823a.jpg","text":"TemporaryFile(/tmp/multipartBody5973572970589322329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102144735,"filename":"image_02112025_00_21_31_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/2/6b54353c309ed54052bf15dd40929587.jpg","text":"TemporaryFile(/tmp/multipartBody8665730549224410020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102144735,"filename":"image_02112025_00_21_27_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/2/6b1bf8273aa99ad91d02632c14e45b87.jpg","text":"TemporaryFile(/tmp/multipartBody2484746190317853336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102144735,"filename":"image_02112025_00_21_15_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/2/9ec5b90981a3cfb63d6c50af41ea7e41.jpg","text":"TemporaryFile(/tmp/multipartBody8320379576094761062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102144735,"filename":"image_02112025_00_21_18_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/2/32c8f1e274020a3cb3a0eb0462d1c694.jpg","text":"TemporaryFile(/tmp/multipartBody8341472100765166751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102144735,"filename":"image_02112025_00_21_22_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/2/aea0e8fe35ec53e809991a50be29bab9.jpg","text":"TemporaryFile(/tmp/multipartBody5536399807000257245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102144735,"filename":"image_02112025_00_21_24_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859895","file1":"1391859892","file0":"1391859887","file4":"1391859900","file5":"1391859903","file3":"1391859897"},"map_files_photo_id_array":[{"photo_id":"1391859903","filename":"file5"},{"photo_id":"1391859895","filename":"file2"},{"photo_id":"1391859900","filename":"file4"},{"photo_id":"1391859892","filename":"file1"},{"photo_id":"1391859887","filename":"file0"},{"photo_id":"1391859897","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859903":["hashtag1","hashtag2"]},{"1391859900":["hashtag1","hashtag2"]},{"1391859887":["hashtag1","hashtag2"]},{"1391859892":["hashtag1","hashtag2"]},{"1391859895":["hashtag1","hashtag2"]},{"1391859897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859903, 1391859900, 1391859887, 1391859892, 1391859895, 1391859897)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.76984930038452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 17:49:03.522481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_33_2599.jpg', '/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_36_3015.jpg', '/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_40_3597.jpg', '/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_51_2593.jpg', '/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_54_2655.jpg', '/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_58_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_33_2599.jpg
/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_36_3015.jpg
/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_40_3597.jpg
/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_51_2593.jpg
/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_54_2655.jpg
/home/pi/Desktop/images/02112025/00/21/image_02112025_00_21_58_3694.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":["1391859933","1391859929","1391859920","1391859917","1391859922","1391859925"],"photo_ids_order":["1391859917","1391859920","1391859922","1391859925","1391859929","1391859933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4b95b58bfb5f5198dce48fafd5d8ac26.jpg","text":"TemporaryFile(/tmp/multipartBody7941375712093396604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102205858,"filename":"image_02112025_00_21_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/2/d702d1e06338e149b79912425a1363eb.jpg","text":"TemporaryFile(/tmp/multipartBody7439250867841312402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102205858,"filename":"image_02112025_00_21_54_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/2/b3a0298c86ad5b057429b9f8f90fcdca.jpg","text":"TemporaryFile(/tmp/multipartBody6802806055114740253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102205858,"filename":"image_02112025_00_21_36_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/2/c5ae09607b43c5628d2abd4f1255d1d6.jpg","text":"TemporaryFile(/tmp/multipartBody500647337424259793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102205858,"filename":"image_02112025_00_21_33_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/2/6f052e1918f917de46ab22e5584e7504.jpg","text":"TemporaryFile(/tmp/multipartBody3311888525013283392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102205858,"filename":"image_02112025_00_21_40_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/2/82c1e0e9f9a760b02481a8630bb1127f.jpg","text":"TemporaryFile(/tmp/multipartBody6376037664125740227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102205858,"filename":"image_02112025_00_21_51_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859922","file1":"1391859920","file0":"1391859917","file4":"1391859929","file5":"1391859933","file3":"1391859925"},"map_files_photo_id_array":[{"photo_id":"1391859933","filename":"file5"},{"photo_id":"1391859922","filename":"file2"},{"photo_id":"1391859929","filename":"file4"},{"photo_id":"1391859920","filename":"file1"},{"photo_id":"1391859917","filename":"file0"},{"photo_id":"1391859925","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859933":["hashtag1","hashtag2"]},{"1391859929":["hashtag1","hashtag2"]},{"1391859920":["hashtag1","hashtag2"]},{"1391859917":["hashtag1","hashtag2"]},{"1391859922":["hashtag1","hashtag2"]},{"1391859925":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859933, 1391859929, 1391859920, 1391859917, 1391859922, 1391859925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.49164152145386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 17:50:02.800366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_03_2687.jpg', '/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_07_3707.jpg', '/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_09_2532.jpg', '/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_12_2770.jpg', '/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_16_3683.jpg', '/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_18_2812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_03_2687.jpg
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_07_3707.jpg
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_09_2532.jpg
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_12_2770.jpg
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_16_3683.jpg
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_18_2812.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8579082489013672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 17:50:22.367229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_03_2687.jpg', '/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_07_3707.jpg', '/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_09_2532.jpg', '/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_12_2770.jpg', '/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_16_3683.jpg', '/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_18_2812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_03_2687.jpg
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_07_3707.jpg
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_09_2532.jpg
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_12_2770.jpg
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_16_3683.jpg
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_18_2812.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391859960","1391859963","1391859957","1391859962","1391859968","1391859964"],"photo_ids_order":["1391859957","1391859960","1391859962","1391859963","1391859964","1391859968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6e1ac0f9509eef2da955f8333d9f75d5.jpg","text":"TemporaryFile(/tmp/multipartBody8572123929457566659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102283122,"filename":"image_02112025_00_22_07_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/2/c844e41917cf342f7d3ad0c154bb441d.jpg","text":"TemporaryFile(/tmp/multipartBody5733672065665161047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102283122,"filename":"image_02112025_00_22_12_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/2/65f73f23e9b9b6095af1675ea86e9925.jpg","text":"TemporaryFile(/tmp/multipartBody5750740520461008422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102283122,"filename":"image_02112025_00_22_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/2/9523221acea9afbaf8a73b8c7fa66956.jpg","text":"TemporaryFile(/tmp/multipartBody2554416989475959076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102283122,"filename":"image_02112025_00_22_09_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/2/d53612420802f46817f6c6735b654fd0.jpg","text":"TemporaryFile(/tmp/multipartBody6934106427483487732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102283122,"filename":"image_02112025_00_22_18_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/2/fffef486f4ad83879977be0335a45dc7.jpg","text":"TemporaryFile(/tmp/multipartBody1225285992429641702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102283122,"filename":"image_02112025_00_22_16_3683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859962","file1":"1391859960","file0":"1391859957","file4":"1391859964","file5":"1391859968","file3":"1391859963"},"map_files_photo_id_array":[{"photo_id":"1391859968","filename":"file5"},{"photo_id":"1391859962","filename":"file2"},{"photo_id":"1391859964","filename":"file4"},{"photo_id":"1391859960","filename":"file1"},{"photo_id":"1391859957","filename":"file0"},{"photo_id":"1391859963","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391859960":["hashtag1","hashtag2"]},{"1391859963":["hashtag1","hashtag2"]},{"1391859957":["hashtag1","hashtag2"]},{"1391859962":["hashtag1","hashtag2"]},{"1391859968":["hashtag1","hashtag2"]},{"1391859964":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391859960, 1391859963, 1391859957, 1391859962, 1391859968, 1391859964)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 58.269779920578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 17:51:32.586080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_21_2575.jpg', '/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_25_3645.jpg', '/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_27_2678.jpg', '/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_30_2641.jpg', '/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_34_3519.jpg', '/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_36_2882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_21_2575.jpg
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_25_3645.jpg
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_27_2678.jpg
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_30_2641.jpg
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_34_3519.jpg
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_36_2882.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391860006","1391860000","1391860004","1391859996","1391859990","1391859993"],"photo_ids_order":["1391859990","1391859993","1391859996","1391860000","1391860004","1391860006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/af5fd99c4a64b2df47df0a94e4306162.jpg","text":"TemporaryFile(/tmp/multipartBody5793669849647413122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102353288,"filename":"image_02112025_00_22_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/2/bd79683bf74cf180463301797b99fde3.jpg","text":"TemporaryFile(/tmp/multipartBody9101454006216040806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102353288,"filename":"image_02112025_00_22_30_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/2/7963ff3e82ffdd62c348f05716fc22b3.jpg","text":"TemporaryFile(/tmp/multipartBody5667508056533786565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102353288,"filename":"image_02112025_00_22_34_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/2/731d35fed83a1770c6e8e67f12a5db8f.jpg","text":"TemporaryFile(/tmp/multipartBody7353625269824738061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102353288,"filename":"image_02112025_00_22_27_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/2/5b17ed38b9307788ff52302324756670.jpg","text":"TemporaryFile(/tmp/multipartBody6147305351977853365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102353288,"filename":"image_02112025_00_22_21_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/2/d7f79feecb0166cc11a7fa64a9e85240.jpg","text":"TemporaryFile(/tmp/multipartBody3315121633729112940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102353288,"filename":"image_02112025_00_22_25_3645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391859996","file1":"1391859993","file0":"1391859990","file4":"1391860004","file5":"1391860006","file3":"1391860000"},"map_files_photo_id_array":[{"photo_id":"1391860006","filename":"file5"},{"photo_id":"1391859996","filename":"file2"},{"photo_id":"1391860004","filename":"file4"},{"photo_id":"1391859993","filename":"file1"},{"photo_id":"1391859990","filename":"file0"},{"photo_id":"1391860000","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391860006":["hashtag1","hashtag2"]},{"1391860000":["hashtag1","hashtag2"]},{"1391860004":["hashtag1","hashtag2"]},{"1391859996":["hashtag1","hashtag2"]},{"1391859990":["hashtag1","hashtag2"]},{"1391859993":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391860006, 1391860000, 1391860004, 1391859996, 1391859990, 1391859993)","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 = 1391859996 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_27_2678.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391859996 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_27_2678.jpg";
uploaded 6 photos
time to upload: 68.04029607772827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 17:52:54.073659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_21_2575.jpg', '/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_25_3645.jpg', '/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_27_2678.jpg', '/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_30_2641.jpg', '/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_34_3519.jpg', '/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_36_2882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_21_2575.jpg
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_25_3645.jpg
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_27_2678.jpg
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_30_2641.jpg
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_34_3519.jpg
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_36_2882.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391860033","1391860041","1391860040","1391860042","1391860036","1391860030"],"photo_ids_order":["1391860030","1391860033","1391860036","1391860040","1391860041","1391860042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/306d2d336d08d59db309782be6c425ed.jpg","text":"TemporaryFile(/tmp/multipartBody2841191678483572987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102434753,"filename":"image_02112025_00_22_25_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/2/ec32b7b0ad1c5fa0683c35bc2ecccdb2.jpg","text":"TemporaryFile(/tmp/multipartBody7566337517894108159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102434753,"filename":"image_02112025_00_22_34_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/2/8b51238262090870476441fe5b3409b0.jpg","text":"TemporaryFile(/tmp/multipartBody3081537548576822087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102434753,"filename":"image_02112025_00_22_30_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/2/e5072b323dc5854930992273d449b159.jpg","text":"TemporaryFile(/tmp/multipartBody4666126124748619349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102434753,"filename":"image_02112025_00_22_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/2/71ab12a4d30c03332ccbf9af1e060f32.jpg","text":"TemporaryFile(/tmp/multipartBody6414409271563974499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102434753,"filename":"image_02112025_00_22_27_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/2/80dcc911acc70d0890091ed821c6c390.jpg","text":"TemporaryFile(/tmp/multipartBody8502302666408937242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102434753,"filename":"image_02112025_00_22_21_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391860036","file1":"1391860033","file0":"1391860030","file4":"1391860041","file5":"1391860042","file3":"1391860040"},"map_files_photo_id_array":[{"photo_id":"1391860042","filename":"file5"},{"photo_id":"1391860036","filename":"file2"},{"photo_id":"1391860041","filename":"file4"},{"photo_id":"1391860033","filename":"file1"},{"photo_id":"1391860030","filename":"file0"},{"photo_id":"1391860040","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391860033":["hashtag1","hashtag2"]},{"1391860041":["hashtag1","hashtag2"]},{"1391860040":["hashtag1","hashtag2"]},{"1391860042":["hashtag1","hashtag2"]},{"1391860036":["hashtag1","hashtag2"]},{"1391860030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391860033, 1391860041, 1391860040, 1391860042, 1391860036, 1391860030)","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: 83.59638810157776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 17:54:32.592049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_39_2790.jpg', '/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_43_3533.jpg', '/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_54_2627.jpg', '/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_57_2570.jpg', '/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_07_1680.jpg', '/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_14_7239.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_39_2790.jpg
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_43_3533.jpg
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_54_2627.jpg
/home/pi/Desktop/images/02112025/00/22/image_02112025_00_22_57_2570.jpg
/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_07_1680.jpg
/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_14_7239.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391860088","1391860082","1391860076","1391860085","1391860079","1391860078"],"photo_ids_order":["1391860076","1391860078","1391860079","1391860082","1391860085","1391860088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/227bde6fefa35c42c4c2306b1e1ec079.jpg","text":"TemporaryFile(/tmp/multipartBody4715335763542092605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102533281,"filename":"image_02112025_00_23_14_7239.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f6597270f2c79abf95b75a56fa92f1b5.jpg","text":"TemporaryFile(/tmp/multipartBody3184571398881934189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102533281,"filename":"image_02112025_00_22_57_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/2/73f3480b33b661887ac1e71c54381788.jpg","text":"TemporaryFile(/tmp/multipartBody32455650685837412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102533281,"filename":"image_02112025_00_22_39_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/2/e40ce8dd14978d1063269ff910a87435.jpg","text":"TemporaryFile(/tmp/multipartBody4543412338914237690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102533281,"filename":"image_02112025_00_23_07_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/69573909280b340b855209a6bed062ae.jpg","text":"TemporaryFile(/tmp/multipartBody4820327182613674473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102533281,"filename":"image_02112025_00_22_54_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/2/649f25fa3151e776d0d479a333dcc617.jpg","text":"TemporaryFile(/tmp/multipartBody3906964303963009578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102533281,"filename":"image_02112025_00_22_43_3533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391860079","file1":"1391860078","file0":"1391860076","file4":"1391860085","file5":"1391860088","file3":"1391860082"},"map_files_photo_id_array":[{"photo_id":"1391860088","filename":"file5"},{"photo_id":"1391860079","filename":"file2"},{"photo_id":"1391860085","filename":"file4"},{"photo_id":"1391860078","filename":"file1"},{"photo_id":"1391860076","filename":"file0"},{"photo_id":"1391860082","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391860088":["hashtag1","hashtag2"]},{"1391860082":["hashtag1","hashtag2"]},{"1391860076":["hashtag1","hashtag2"]},{"1391860085":["hashtag1","hashtag2"]},{"1391860079":["hashtag1","hashtag2"]},{"1391860078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391860088, 1391860082, 1391860076, 1391860085, 1391860079, 1391860078)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.31527781486511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 17:55:29.651804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_16_1549.jpg', '/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_17_1585.jpg', '/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_19_1726.jpg', '/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_21_1517.jpg', '/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_22_1651.jpg', '/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_25_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_16_1549.jpg
/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_17_1585.jpg
/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_19_1726.jpg
/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_21_1517.jpg
/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_22_1651.jpg
/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_25_2752.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391860105","1391860108","1391860102","1391860112","1391860115","1391860117"],"photo_ids_order":["1391860102","1391860105","1391860108","1391860112","1391860115","1391860117"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f15d602ed740e899d5c7133fb102d387.jpg","text":"TemporaryFile(/tmp/multipartBody5101951984064932396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102590367,"filename":"image_02112025_00_23_17_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/2/50b0f8b8afb69da408f96bc2bf0cc8f8.jpg","text":"TemporaryFile(/tmp/multipartBody1255003391227141313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102590367,"filename":"image_02112025_00_23_19_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/2/aa679395022eb6cc77cb599b90e52dd8.jpg","text":"TemporaryFile(/tmp/multipartBody6281031550356668588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102590367,"filename":"image_02112025_00_23_16_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/2/e86e3905dec0d997cd05d172dcceefb3.jpg","text":"TemporaryFile(/tmp/multipartBody7214813433820210302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102590367,"filename":"image_02112025_00_23_21_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/2/37a1be60c1329c0eeef100e56a0e0b01.jpg","text":"TemporaryFile(/tmp/multipartBody1608312198132322877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102590367,"filename":"image_02112025_00_23_22_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/2/46751f3b3e708ecef88d7f482691ec5c.jpg","text":"TemporaryFile(/tmp/multipartBody2085601419864810684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102590367,"filename":"image_02112025_00_23_25_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391860108","file1":"1391860105","file0":"1391860102","file4":"1391860115","file5":"1391860117","file3":"1391860112"},"map_files_photo_id_array":[{"photo_id":"1391860117","filename":"file5"},{"photo_id":"1391860108","filename":"file2"},{"photo_id":"1391860115","filename":"file4"},{"photo_id":"1391860105","filename":"file1"},{"photo_id":"1391860102","filename":"file0"},{"photo_id":"1391860112","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391860105":["hashtag1","hashtag2"]},{"1391860108":["hashtag1","hashtag2"]},{"1391860102":["hashtag1","hashtag2"]},{"1391860112":["hashtag1","hashtag2"]},{"1391860115":["hashtag1","hashtag2"]},{"1391860117":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391860105, 1391860108, 1391860102, 1391860112, 1391860115, 1391860117)","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: 77.7082188129425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 17:57:06.227233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 17:57:25.473041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_28_2577.jpg', '/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_30_2769.jpg', '/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_33_2787.jpg', '/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_36_2773.jpg', '/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_40_3670.jpg', '/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_42_2551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_28_2577.jpg
/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_30_2769.jpg
/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_33_2787.jpg
/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_36_2773.jpg
/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_40_3670.jpg
/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_42_2551.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391860158","1391860152","1391860149","1391860154","1391860153","1391860156"],"photo_ids_order":["1391860149","1391860152","1391860153","1391860154","1391860156","1391860158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9a0ba9ea679b6c9e7d9ee1a7f7b50033.jpg","text":"TemporaryFile(/tmp/multipartBody7560172031246133325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102706153,"filename":"image_02112025_00_23_42_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/2/593250f6723c5e87fd7867fae90cf518.jpg","text":"TemporaryFile(/tmp/multipartBody7188262955255360596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102706153,"filename":"image_02112025_00_23_30_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/2/daf9bf2405c3052829df6b385cb57a76.jpg","text":"TemporaryFile(/tmp/multipartBody2756906992954606138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102706153,"filename":"image_02112025_00_23_28_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/2/4784e387a5693740adfabedf6b48e369.jpg","text":"TemporaryFile(/tmp/multipartBody1358913733100662574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102706153,"filename":"image_02112025_00_23_36_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/2/774d2c00b3efd22c040bdc53370988ff.jpg","text":"TemporaryFile(/tmp/multipartBody2983141866185352417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102706153,"filename":"image_02112025_00_23_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/2/dc7045787f23217d6b465e5f08e9ec0e.jpg","text":"TemporaryFile(/tmp/multipartBody2104544495025349288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102706153,"filename":"image_02112025_00_23_40_3670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391860153","file1":"1391860152","file0":"1391860149","file4":"1391860156","file5":"1391860158","file3":"1391860154"},"map_files_photo_id_array":[{"photo_id":"1391860158","filename":"file5"},{"photo_id":"1391860153","filename":"file2"},{"photo_id":"1391860156","filename":"file4"},{"photo_id":"1391860152","filename":"file1"},{"photo_id":"1391860149","filename":"file0"},{"photo_id":"1391860154","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391860158":["hashtag1","hashtag2"]},{"1391860152":["hashtag1","hashtag2"]},{"1391860149":["hashtag1","hashtag2"]},{"1391860154":["hashtag1","hashtag2"]},{"1391860153":["hashtag1","hashtag2"]},{"1391860156":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391860158, 1391860152, 1391860149, 1391860154, 1391860153, 1391860156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.6479389667511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 17:59:12.549581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 17:59:26.736429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_46_3940.jpg', '/home/pi/Desktop/images/02112025/00/23/image_02112025_00_24_00_2623.jpg', '/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_06_3518.jpg', '/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_12_2617.jpg', '/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_16_3802.jpg', '/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_18_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/23/image_02112025_00_23_46_3940.jpg
/home/pi/Desktop/images/02112025/00/23/image_02112025_00_24_00_2623.jpg
/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_06_3518.jpg
/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_12_2617.jpg
/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_16_3802.jpg
/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_18_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":["1391860423","1391860266","1391860659","1391860224","1391860307","1391860540"],"photo_ids_order":["1391860224","1391860266","1391860307","1391860423","1391860540","1391860659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/888a637ac0fbd46de8ad993bbdeb9757.jpg","text":"TemporaryFile(/tmp/multipartBody8791351325448891541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102827462,"filename":"image_02112025_00_24_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/2/aadf151226f59ea4f4901032a38680e1.jpg","text":"TemporaryFile(/tmp/multipartBody4040747195340148653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102827462,"filename":"image_02112025_00_24_00_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/2/277b32bf0b2b5fe57414764b159ada29.jpg","text":"TemporaryFile(/tmp/multipartBody3313792693104956367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102827462,"filename":"image_02112025_00_24_18_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/2/3b961a733bb8536b5934ba5eb3b2d8ad.jpg","text":"TemporaryFile(/tmp/multipartBody2500907495233836991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102827462,"filename":"image_02112025_00_23_46_3940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ad437b3aacb9d7e2b1f5bc7c7d5bb449.jpg","text":"TemporaryFile(/tmp/multipartBody6799113747325300322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102827462,"filename":"image_02112025_00_24_06_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/2/e77771fb5edffb63041e6d9274fd961a.jpg","text":"TemporaryFile(/tmp/multipartBody9037142743587442717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102827462,"filename":"image_02112025_00_24_16_3802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391860307","file1":"1391860266","file0":"1391860224","file4":"1391860540","file5":"1391860659","file3":"1391860423"},"map_files_photo_id_array":[{"photo_id":"1391860659","filename":"file5"},{"photo_id":"1391860307","filename":"file2"},{"photo_id":"1391860540","filename":"file4"},{"photo_id":"1391860266","filename":"file1"},{"photo_id":"1391860224","filename":"file0"},{"photo_id":"1391860423","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391860423":["hashtag1","hashtag2"]},{"1391860266":["hashtag1","hashtag2"]},{"1391860659":["hashtag1","hashtag2"]},{"1391860224":["hashtag1","hashtag2"]},{"1391860307":["hashtag1","hashtag2"]},{"1391860540":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391860423, 1391860266, 1391860659, 1391860224, 1391860307, 1391860540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50198531150818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:00:22.489505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_21_2729.jpg', '/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_25_3685.jpg', '/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_27_2636.jpg', '/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_30_2590.jpg', '/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_33_3663.jpg', '/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_36_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_21_2729.jpg
/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_25_3685.jpg
/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_27_2636.jpg
/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_30_2590.jpg
/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_33_3663.jpg
/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_36_2744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391861660","1391861741","1391861585","1391861843","1391861497","1391861413"],"photo_ids_order":["1391861413","1391861497","1391861585","1391861660","1391861741","1391861843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/08e6d424a1b11a71888f015e1a4dce82.jpg","text":"TemporaryFile(/tmp/multipartBody7544367396003614888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102883173,"filename":"image_02112025_00_24_30_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/2/6da8e261d78e79207a853ae32a4dd503.jpg","text":"TemporaryFile(/tmp/multipartBody7670505424040043774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102883173,"filename":"image_02112025_00_24_33_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/2/1adcb44d109b83ba7ee0b291561d6254.jpg","text":"TemporaryFile(/tmp/multipartBody216197744573903741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102883173,"filename":"image_02112025_00_24_27_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/2/dd950f70036e53b95cd6251182bac733.jpg","text":"TemporaryFile(/tmp/multipartBody940944147177206054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102883173,"filename":"image_02112025_00_24_36_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/2/94dede7b1561f2fb0c61a6de193e8030.jpg","text":"TemporaryFile(/tmp/multipartBody3779574150606780943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102883173,"filename":"image_02112025_00_24_25_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/2/6ab4197af3a05ca6608ec9807415236d.jpg","text":"TemporaryFile(/tmp/multipartBody1448347971083684573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102883173,"filename":"image_02112025_00_24_21_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391861585","file1":"1391861497","file0":"1391861413","file4":"1391861741","file5":"1391861843","file3":"1391861660"},"map_files_photo_id_array":[{"photo_id":"1391861843","filename":"file5"},{"photo_id":"1391861585","filename":"file2"},{"photo_id":"1391861741","filename":"file4"},{"photo_id":"1391861497","filename":"file1"},{"photo_id":"1391861413","filename":"file0"},{"photo_id":"1391861660","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391861660":["hashtag1","hashtag2"]},{"1391861741":["hashtag1","hashtag2"]},{"1391861585":["hashtag1","hashtag2"]},{"1391861843":["hashtag1","hashtag2"]},{"1391861497":["hashtag1","hashtag2"]},{"1391861413":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391861660, 1391861741, 1391861585, 1391861843, 1391861497, 1391861413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96002244949341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:01:02.768678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_39_2519.jpg', '/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_45_2714.jpg', '/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_57_2691.jpg', '/home/pi/Desktop/images/02112025/00/24/image_02112025_00_25_00_3832.jpg', '/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_03_3029.jpg', '/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_06_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_39_2519.jpg
/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_45_2714.jpg
/home/pi/Desktop/images/02112025/00/24/image_02112025_00_24_57_2691.jpg
/home/pi/Desktop/images/02112025/00/24/image_02112025_00_25_00_3832.jpg
/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_03_3029.jpg
/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_06_2626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391862411","1391862326","1391862269","1391862227","1391862370","1391862441"],"photo_ids_order":["1391862227","1391862269","1391862326","1391862370","1391862411","1391862441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c3300ce7e43f402652eb7bdfff83611f.jpg","text":"TemporaryFile(/tmp/multipartBody3144680057130207668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102923557,"filename":"image_02112025_00_25_03_3029.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/73e8752a803dc2e5c77b2e78278a05b3.jpg","text":"TemporaryFile(/tmp/multipartBody8189975780466243669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102923557,"filename":"image_02112025_00_24_57_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/2/59505ca99d0f74cebac4edca38e587c0.jpg","text":"TemporaryFile(/tmp/multipartBody1680975201193487827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102923557,"filename":"image_02112025_00_24_45_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/2/d9633eb772a268508deedff9d4087f72.jpg","text":"TemporaryFile(/tmp/multipartBody3570326860195284014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102923557,"filename":"image_02112025_00_24_39_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/2/4694a999d7ef4561ac85b5c737fea57a.jpg","text":"TemporaryFile(/tmp/multipartBody7966402284460184741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102923557,"filename":"image_02112025_00_25_00_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/2/69caf0de90a5419c314ae125250c0850.jpg","text":"TemporaryFile(/tmp/multipartBody7427058125049990768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102923557,"filename":"image_02112025_00_25_06_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391862326","file1":"1391862269","file0":"1391862227","file4":"1391862411","file5":"1391862441","file3":"1391862370"},"map_files_photo_id_array":[{"photo_id":"1391862441","filename":"file5"},{"photo_id":"1391862326","filename":"file2"},{"photo_id":"1391862411","filename":"file4"},{"photo_id":"1391862269","filename":"file1"},{"photo_id":"1391862227","filename":"file0"},{"photo_id":"1391862370","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391862411":["hashtag1","hashtag2"]},{"1391862326":["hashtag1","hashtag2"]},{"1391862269":["hashtag1","hashtag2"]},{"1391862227":["hashtag1","hashtag2"]},{"1391862370":["hashtag1","hashtag2"]},{"1391862441":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391862411, 1391862326, 1391862269, 1391862227, 1391862370, 1391862441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.44743800163269 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:01:42.005630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_12_2692.jpg', '/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_15_2710.jpg', '/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_18_3681.jpg', '/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_21_2553.jpg', '/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_24_2746.jpg', '/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_27_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_12_2692.jpg
/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_15_2710.jpg
/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_18_3681.jpg
/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_21_2553.jpg
/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_24_2746.jpg
/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_27_3640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391862599","1391862575","1391862536","1391862605","1391862601","1391862573"],"photo_ids_order":["1391862536","1391862573","1391862575","1391862599","1391862601","1391862605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d5ab73e932316c26e8206416c2447fab.jpg","text":"TemporaryFile(/tmp/multipartBody5859562026714124654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102962688,"filename":"image_02112025_00_25_21_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/2/abd5317d8f9c00573ce9da6529e07b17.jpg","text":"TemporaryFile(/tmp/multipartBody6269157744744447540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102962688,"filename":"image_02112025_00_25_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/2/3049b7ad42afa54d12b253b25f20c529.jpg","text":"TemporaryFile(/tmp/multipartBody8551358439259326906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102962688,"filename":"image_02112025_00_25_12_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/2/84dab690929341cc2744fd56528b7823.jpg","text":"TemporaryFile(/tmp/multipartBody4265226315292078070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102962688,"filename":"image_02112025_00_25_27_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/2/a0fe9d256ae504060ba2e30086b108c9.jpg","text":"TemporaryFile(/tmp/multipartBody9058620091306669840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102962688,"filename":"image_02112025_00_25_24_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/2/90062d708e560d635c6466a70a5b4237.jpg","text":"TemporaryFile(/tmp/multipartBody5166966482753278059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762102962688,"filename":"image_02112025_00_25_15_2710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391862575","file1":"1391862573","file0":"1391862536","file4":"1391862601","file5":"1391862605","file3":"1391862599"},"map_files_photo_id_array":[{"photo_id":"1391862605","filename":"file5"},{"photo_id":"1391862575","filename":"file2"},{"photo_id":"1391862601","filename":"file4"},{"photo_id":"1391862573","filename":"file1"},{"photo_id":"1391862536","filename":"file0"},{"photo_id":"1391862599","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391862599":["hashtag1","hashtag2"]},{"1391862575":["hashtag1","hashtag2"]},{"1391862536":["hashtag1","hashtag2"]},{"1391862605":["hashtag1","hashtag2"]},{"1391862601":["hashtag1","hashtag2"]},{"1391862573":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391862599, 1391862575, 1391862536, 1391862605, 1391862601, 1391862573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.318045139312744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:02:22.339997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_30_2730.jpg', '/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_33_2749.jpg', '/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_36_3568.jpg', '/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_42_2820.jpg', '/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_45_2752.jpg', '/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_48_3601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_30_2730.jpg
/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_33_2749.jpg
/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_36_3568.jpg
/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_42_2820.jpg
/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_45_2752.jpg
/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_48_3601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391862615","1391862703","1391862780","1391862741","1391862666","1391862624"],"photo_ids_order":["1391862615","1391862624","1391862666","1391862703","1391862741","1391862780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c34c6f3530fd1445a8a83de7aae38071.jpg","text":"TemporaryFile(/tmp/multipartBody3778543807336286492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103003020,"filename":"image_02112025_00_25_30_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/2/7f1f9af90bf256da08a57be4442e0303.jpg","text":"TemporaryFile(/tmp/multipartBody4495163956767483704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103003020,"filename":"image_02112025_00_25_42_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/2/52fe4f14ce1211a2755a0ff1fd1159f1.jpg","text":"TemporaryFile(/tmp/multipartBody7626926113516765037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103003020,"filename":"image_02112025_00_25_48_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/2/4dcbd594888f8fd2171b856b9f3f0ac8.jpg","text":"TemporaryFile(/tmp/multipartBody3476014261230104180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103003020,"filename":"image_02112025_00_25_45_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/2/8eb540c25b2dd92b322708873116fcd8.jpg","text":"TemporaryFile(/tmp/multipartBody5470912471481627417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103003020,"filename":"image_02112025_00_25_36_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/2/ac41f5adf92ad29d990e8249699cb202.jpg","text":"TemporaryFile(/tmp/multipartBody7076995061500624904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103003020,"filename":"image_02112025_00_25_33_2749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391862666","file1":"1391862624","file0":"1391862615","file4":"1391862741","file5":"1391862780","file3":"1391862703"},"map_files_photo_id_array":[{"photo_id":"1391862780","filename":"file5"},{"photo_id":"1391862666","filename":"file2"},{"photo_id":"1391862741","filename":"file4"},{"photo_id":"1391862624","filename":"file1"},{"photo_id":"1391862615","filename":"file0"},{"photo_id":"1391862703","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391862615":["hashtag1","hashtag2"]},{"1391862703":["hashtag1","hashtag2"]},{"1391862780":["hashtag1","hashtag2"]},{"1391862741":["hashtag1","hashtag2"]},{"1391862666":["hashtag1","hashtag2"]},{"1391862624":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391862615, 1391862703, 1391862780, 1391862741, 1391862666, 1391862624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78573560714722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:03:03.052203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_54_3637.jpg', '/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_57_2677.jpg', '/home/pi/Desktop/images/02112025/00/25/image_02112025_00_26_00_2714.jpg', '/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_03_2719.jpg', '/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_06_3632.jpg', '/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_12_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_54_3637.jpg
/home/pi/Desktop/images/02112025/00/25/image_02112025_00_25_57_2677.jpg
/home/pi/Desktop/images/02112025/00/25/image_02112025_00_26_00_2714.jpg
/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_03_2719.jpg
/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_06_3632.jpg
/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_12_3635.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":["1391862968","1391862970","1391863015","1391862975","1391863011","1391862942"],"photo_ids_order":["1391862942","1391862968","1391862970","1391862975","1391863011","1391863015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/731aa405039f649dd4b5c4c2d065fe4e.jpg","text":"TemporaryFile(/tmp/multipartBody8100293347337078057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103043842,"filename":"image_02112025_00_25_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/2/4708619c0533ae44c8be0880e7639a46.jpg","text":"TemporaryFile(/tmp/multipartBody8353186910202255373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103043842,"filename":"image_02112025_00_26_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/2/a468a31433d0af08e8106dd0e8a6caef.jpg","text":"TemporaryFile(/tmp/multipartBody1357000506121548751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103043842,"filename":"image_02112025_00_26_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/2/8d93a74fb4d96ded5e3af91ce8075841.jpg","text":"TemporaryFile(/tmp/multipartBody4826337359379470444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103043842,"filename":"image_02112025_00_26_03_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/2/6ef13ea92c77bf3b7195486adf08b632.jpg","text":"TemporaryFile(/tmp/multipartBody8186423601608825743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103043842,"filename":"image_02112025_00_26_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/2/a741943ef5ccffa48ab9327adeffc5bd.jpg","text":"TemporaryFile(/tmp/multipartBody7052866584527473646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103043842,"filename":"image_02112025_00_25_54_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391862970","file1":"1391862968","file0":"1391862942","file4":"1391863011","file5":"1391863015","file3":"1391862975"},"map_files_photo_id_array":[{"photo_id":"1391863015","filename":"file5"},{"photo_id":"1391862970","filename":"file2"},{"photo_id":"1391863011","filename":"file4"},{"photo_id":"1391862968","filename":"file1"},{"photo_id":"1391862942","filename":"file0"},{"photo_id":"1391862975","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391862968":["hashtag1","hashtag2"]},{"1391862970":["hashtag1","hashtag2"]},{"1391863015":["hashtag1","hashtag2"]},{"1391862975":["hashtag1","hashtag2"]},{"1391863011":["hashtag1","hashtag2"]},{"1391862942":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391862968, 1391862970, 1391863015, 1391862975, 1391863011, 1391862942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.39714503288269 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:04:02.665039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_18_2735.jpg', '/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_21_3563.jpg', '/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_24_2734.jpg', '/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_27_2622.jpg', '/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_29_2686.jpg', '/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_33_3690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_18_2735.jpg
/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_21_3563.jpg
/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_24_2734.jpg
/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_27_2622.jpg
/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_29_2686.jpg
/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_33_3690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863100","1391863090","1391863093","1391863095","1391863086","1391863097"],"photo_ids_order":["1391863086","1391863090","1391863093","1391863095","1391863097","1391863100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a82018a33bddbf40d28c83fe03aea7ab.jpg","text":"TemporaryFile(/tmp/multipartBody7312905916184592094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103103522,"filename":"image_02112025_00_26_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/2/b508af16f5508108adc776657863cdf5.jpg","text":"TemporaryFile(/tmp/multipartBody5512320976527937345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103103522,"filename":"image_02112025_00_26_21_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/2/d989f8ffd60a94bf42d4da4c99258870.jpg","text":"TemporaryFile(/tmp/multipartBody8896478300974303626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103103522,"filename":"image_02112025_00_26_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/2/35bc94a88493a23fccfcfdb0765d49e6.jpg","text":"TemporaryFile(/tmp/multipartBody4161849843942817018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103103522,"filename":"image_02112025_00_26_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/2/16097ba2dbb9bcd82a672c9a1a84b2c3.jpg","text":"TemporaryFile(/tmp/multipartBody3225766516162310442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103103522,"filename":"image_02112025_00_26_18_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/2/c22d13b0e3d0027131c06b81df73f309.jpg","text":"TemporaryFile(/tmp/multipartBody3988643574069592754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103103522,"filename":"image_02112025_00_26_29_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863093","file1":"1391863090","file0":"1391863086","file4":"1391863097","file5":"1391863100","file3":"1391863095"},"map_files_photo_id_array":[{"photo_id":"1391863100","filename":"file5"},{"photo_id":"1391863093","filename":"file2"},{"photo_id":"1391863097","filename":"file4"},{"photo_id":"1391863090","filename":"file1"},{"photo_id":"1391863086","filename":"file0"},{"photo_id":"1391863095","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863100":["hashtag1","hashtag2"]},{"1391863090":["hashtag1","hashtag2"]},{"1391863093":["hashtag1","hashtag2"]},{"1391863095":["hashtag1","hashtag2"]},{"1391863086":["hashtag1","hashtag2"]},{"1391863097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863100, 1391863090, 1391863093, 1391863095, 1391863086, 1391863097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76321625709534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:04:42.100743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_36_2692.jpg', '/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_39_2678.jpg', '/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_42_3663.jpg', '/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_45_2593.jpg', '/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_48_2889.jpg', '/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_51_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_36_2692.jpg
/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_39_2678.jpg
/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_42_3663.jpg
/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_45_2593.jpg
/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_48_2889.jpg
/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_51_3677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863118","1391863109","1391863120","1391863123","1391863113","1391863116"],"photo_ids_order":["1391863109","1391863113","1391863116","1391863118","1391863120","1391863123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ba92274c9cfce611b360f120a24647ff.jpg","text":"TemporaryFile(/tmp/multipartBody3258223077042346564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103142812,"filename":"image_02112025_00_26_45_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/2/0e8a9ef71731904af6b507fcdf2cc6e9.jpg","text":"TemporaryFile(/tmp/multipartBody3663762772399577538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103142812,"filename":"image_02112025_00_26_36_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/2/7d287777a20702a55ecfd4ed1a26a3e6.jpg","text":"TemporaryFile(/tmp/multipartBody4730126466373795151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103142812,"filename":"image_02112025_00_26_48_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/2/c95b7a06fbe0a87e7af7a7ccd11be634.jpg","text":"TemporaryFile(/tmp/multipartBody6297813753256254442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103142812,"filename":"image_02112025_00_26_51_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/2/e2a0080c4b77e672a542e57dfa7ce6cc.jpg","text":"TemporaryFile(/tmp/multipartBody6795494384441478015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103142812,"filename":"image_02112025_00_26_39_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/2/f4359d6eb49743283a698a7d8916d489.jpg","text":"TemporaryFile(/tmp/multipartBody7967582824384991377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103142812,"filename":"image_02112025_00_26_42_3663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863116","file1":"1391863113","file0":"1391863109","file4":"1391863120","file5":"1391863123","file3":"1391863118"},"map_files_photo_id_array":[{"photo_id":"1391863123","filename":"file5"},{"photo_id":"1391863116","filename":"file2"},{"photo_id":"1391863120","filename":"file4"},{"photo_id":"1391863113","filename":"file1"},{"photo_id":"1391863109","filename":"file0"},{"photo_id":"1391863118","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863118":["hashtag1","hashtag2"]},{"1391863109":["hashtag1","hashtag2"]},{"1391863120":["hashtag1","hashtag2"]},{"1391863123":["hashtag1","hashtag2"]},{"1391863113":["hashtag1","hashtag2"]},{"1391863116":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863118, 1391863109, 1391863120, 1391863123, 1391863113, 1391863116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23095345497131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:05:22.229855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_54_2668.jpg', '/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_57_2614.jpg', '/home/pi/Desktop/images/02112025/00/26/image_02112025_00_27_00_3704.jpg', '/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_03_2596.jpg', '/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_11_2831.jpg', '/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_15_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_54_2668.jpg
/home/pi/Desktop/images/02112025/00/26/image_02112025_00_26_57_2614.jpg
/home/pi/Desktop/images/02112025/00/26/image_02112025_00_27_00_3704.jpg
/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_03_2596.jpg
/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_11_2831.jpg
/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_15_3675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863139","1391863141","1391863138","1391863146","1391863134","1391863137"],"photo_ids_order":["1391863134","1391863137","1391863138","1391863139","1391863141","1391863146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/270ab23223f632e73d3029157490e515.jpg","text":"TemporaryFile(/tmp/multipartBody5069665723299231544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103182950,"filename":"image_02112025_00_27_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/2/5539afb0d4d40090e2d72157f88abc73.jpg","text":"TemporaryFile(/tmp/multipartBody7021525919003838042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103182950,"filename":"image_02112025_00_27_11_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/2/fe675936fb7a6b1881804c36870ac87c.jpg","text":"TemporaryFile(/tmp/multipartBody4793854469577584774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103182950,"filename":"image_02112025_00_27_00_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/2/245e349d4c305dd37e48b5621525cfa7.jpg","text":"TemporaryFile(/tmp/multipartBody5574024781213589520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103182950,"filename":"image_02112025_00_27_15_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/2/676e442fa5bc4d5695b3b4e974ed6fc1.jpg","text":"TemporaryFile(/tmp/multipartBody4578947246565604427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103182950,"filename":"image_02112025_00_26_54_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/2/735607fec8133b48719ecc97f08fb2b7.jpg","text":"TemporaryFile(/tmp/multipartBody6117288647799182683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103182950,"filename":"image_02112025_00_26_57_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863138","file1":"1391863137","file0":"1391863134","file4":"1391863141","file5":"1391863146","file3":"1391863139"},"map_files_photo_id_array":[{"photo_id":"1391863146","filename":"file5"},{"photo_id":"1391863138","filename":"file2"},{"photo_id":"1391863141","filename":"file4"},{"photo_id":"1391863137","filename":"file1"},{"photo_id":"1391863134","filename":"file0"},{"photo_id":"1391863139","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863139":["hashtag1","hashtag2"]},{"1391863141":["hashtag1","hashtag2"]},{"1391863138":["hashtag1","hashtag2"]},{"1391863146":["hashtag1","hashtag2"]},{"1391863134":["hashtag1","hashtag2"]},{"1391863137":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863139, 1391863141, 1391863138, 1391863146, 1391863134, 1391863137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71542310714722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:06:02.445132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_18_2620.jpg', '/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_21_3565.jpg', '/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_24_2905.jpg', '/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_27_2555.jpg', '/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_36_2695.jpg', '/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_38_2851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_18_2620.jpg
/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_21_3565.jpg
/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_24_2905.jpg
/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_27_2555.jpg
/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_36_2695.jpg
/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_38_2851.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863163","1391863166","1391863168","1391863164","1391863158","1391863161"],"photo_ids_order":["1391863158","1391863161","1391863163","1391863164","1391863166","1391863168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1d723bf21049cd4879f45dfc49d2ddd1.jpg","text":"TemporaryFile(/tmp/multipartBody8834639119906862797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103223198,"filename":"image_02112025_00_27_24_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/2/4b3c0553f484b97d1c51448c04db855b.jpg","text":"TemporaryFile(/tmp/multipartBody8857697600795322502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103223198,"filename":"image_02112025_00_27_36_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/2/89e700ffb02e8cf2905decb902a30e83.jpg","text":"TemporaryFile(/tmp/multipartBody3666907629145190167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103223198,"filename":"image_02112025_00_27_38_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/2/0aad2fef54f595fc7ac68882857a8a58.jpg","text":"TemporaryFile(/tmp/multipartBody5444285337071775669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103223198,"filename":"image_02112025_00_27_27_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/2/9b055c088ee6f9b258a406282d5ac7ba.jpg","text":"TemporaryFile(/tmp/multipartBody9017731447710644252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103223198,"filename":"image_02112025_00_27_18_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/2/000a0ab6409e00a318da0b2e876a8fb9.jpg","text":"TemporaryFile(/tmp/multipartBody5126304134029079940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103223198,"filename":"image_02112025_00_27_21_3565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863163","file1":"1391863161","file0":"1391863158","file4":"1391863166","file5":"1391863168","file3":"1391863164"},"map_files_photo_id_array":[{"photo_id":"1391863168","filename":"file5"},{"photo_id":"1391863163","filename":"file2"},{"photo_id":"1391863166","filename":"file4"},{"photo_id":"1391863161","filename":"file1"},{"photo_id":"1391863158","filename":"file0"},{"photo_id":"1391863164","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863163":["hashtag1","hashtag2"]},{"1391863166":["hashtag1","hashtag2"]},{"1391863168":["hashtag1","hashtag2"]},{"1391863164":["hashtag1","hashtag2"]},{"1391863158":["hashtag1","hashtag2"]},{"1391863161":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863163, 1391863166, 1391863168, 1391863164, 1391863158, 1391863161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.6857647895813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:06:42.030860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_42_3584.jpg', '/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_44_2513.jpg', '/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_48_3652.jpg', '/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_51_2636.jpg', '/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_53_2542.jpg', '/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_57_3646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_42_3584.jpg
/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_44_2513.jpg
/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_48_3652.jpg
/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_51_2636.jpg
/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_53_2542.jpg
/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_57_3646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863189","1391863182","1391863191","1391863185","1391863179","1391863187"],"photo_ids_order":["1391863179","1391863182","1391863185","1391863187","1391863189","1391863191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/12f337b3ecca21fafa798fa790a9f48a.jpg","text":"TemporaryFile(/tmp/multipartBody6669820836410105429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103262741,"filename":"image_02112025_00_27_53_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/2/042f59586a73ac485b39ea70c6f6ceb5.jpg","text":"TemporaryFile(/tmp/multipartBody6530163738051136491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103262741,"filename":"image_02112025_00_27_44_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/2/de492748d69041312323f6a1ef882efc.jpg","text":"TemporaryFile(/tmp/multipartBody8287374465679569646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103262741,"filename":"image_02112025_00_27_57_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/2/4c9019a602c022ddebd7e4550eb0ec0b.jpg","text":"TemporaryFile(/tmp/multipartBody2014036749290878387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103262741,"filename":"image_02112025_00_27_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/2/fd68b16744285f5eba0ea4ba80b829dc.jpg","text":"TemporaryFile(/tmp/multipartBody3406500276058814793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103262741,"filename":"image_02112025_00_27_42_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/2/ef8d2a9d5d1ce9e2b0ee9155b0259f79.jpg","text":"TemporaryFile(/tmp/multipartBody8692822184377820674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103262741,"filename":"image_02112025_00_27_51_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863185","file1":"1391863182","file0":"1391863179","file4":"1391863189","file5":"1391863191","file3":"1391863187"},"map_files_photo_id_array":[{"photo_id":"1391863191","filename":"file5"},{"photo_id":"1391863185","filename":"file2"},{"photo_id":"1391863189","filename":"file4"},{"photo_id":"1391863182","filename":"file1"},{"photo_id":"1391863179","filename":"file0"},{"photo_id":"1391863187","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863189":["hashtag1","hashtag2"]},{"1391863182":["hashtag1","hashtag2"]},{"1391863191":["hashtag1","hashtag2"]},{"1391863185":["hashtag1","hashtag2"]},{"1391863179":["hashtag1","hashtag2"]},{"1391863187":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863189, 1391863182, 1391863191, 1391863185, 1391863179, 1391863187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.479783058166504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:07:22.155301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_59_2545.jpg', '/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_03_3676.jpg', '/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_06_2786.jpg', '/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_09_2569.jpg', '/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_13_4510.jpg', '/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_15_1549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_59_2545.jpg
/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_03_3676.jpg
/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_06_2786.jpg
/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_09_2569.jpg
/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_13_4510.jpg
/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_15_1549.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5953490734100342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:07:42.190866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_59_2545.jpg', '/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_03_3676.jpg', '/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_06_2786.jpg', '/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_09_2569.jpg', '/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_13_4510.jpg', '/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_15_1549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/27/image_02112025_00_27_59_2545.jpg
/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_03_3676.jpg
/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_06_2786.jpg
/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_09_2569.jpg
/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_13_4510.jpg
/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_15_1549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863214","1391863216","1391863219","1391863210","1391863221","1391863218"],"photo_ids_order":["1391863210","1391863214","1391863216","1391863218","1391863219","1391863221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/69473ea0fb0f68bf8b65e8affd7b65d3.jpg","text":"TemporaryFile(/tmp/multipartBody4520681921115576509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103322903,"filename":"image_02112025_00_28_03_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/2/64267cd45d550862f63c8765335795ae.jpg","text":"TemporaryFile(/tmp/multipartBody2655615564364453518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103322903,"filename":"image_02112025_00_28_06_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/2/1a06c6bed6da91da71bbf7260cf4989e.jpg","text":"TemporaryFile(/tmp/multipartBody319224259435386077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103322903,"filename":"image_02112025_00_28_13_4510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/31d808e6abd9f19818afc63f05d1c218.jpg","text":"TemporaryFile(/tmp/multipartBody5465853224230765668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103322903,"filename":"image_02112025_00_27_59_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/2/4bd6679f574e310e5f84eeb6abf1a8fa.jpg","text":"TemporaryFile(/tmp/multipartBody6884281879992366024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103322903,"filename":"image_02112025_00_28_15_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/2/1e54f473c37aafa1f4302ae56cb6dbda.jpg","text":"TemporaryFile(/tmp/multipartBody1625159702399164163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103322903,"filename":"image_02112025_00_28_09_2569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863216","file1":"1391863214","file0":"1391863210","file4":"1391863219","file5":"1391863221","file3":"1391863218"},"map_files_photo_id_array":[{"photo_id":"1391863221","filename":"file5"},{"photo_id":"1391863216","filename":"file2"},{"photo_id":"1391863219","filename":"file4"},{"photo_id":"1391863214","filename":"file1"},{"photo_id":"1391863210","filename":"file0"},{"photo_id":"1391863218","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863214":["hashtag1","hashtag2"]},{"1391863216":["hashtag1","hashtag2"]},{"1391863219":["hashtag1","hashtag2"]},{"1391863210":["hashtag1","hashtag2"]},{"1391863221":["hashtag1","hashtag2"]},{"1391863218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863214, 1391863216, 1391863219, 1391863210, 1391863221, 1391863218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29115438461304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:08:22.332847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_30_1722.jpg', '/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_31_1658.jpg', '/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_33_1523.jpg', '/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_34_1643.jpg', '/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_36_1705.jpg', '/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_39_1780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_30_1722.jpg
/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_31_1658.jpg
/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_33_1523.jpg
/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_34_1643.jpg
/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_36_1705.jpg
/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_39_1780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863232","1391863228","1391863237","1391863231","1391863230","1391863233"],"photo_ids_order":["1391863228","1391863230","1391863231","1391863232","1391863233","1391863237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/889c98871cf2cf44d1ae9c84bdb9f82c.jpg","text":"TemporaryFile(/tmp/multipartBody8776495140497139447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103363033,"filename":"image_02112025_00_28_34_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/2/7a6206784ae552ccca250d5c734a3c87.jpg","text":"TemporaryFile(/tmp/multipartBody667603050315399912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103363033,"filename":"image_02112025_00_28_30_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/2/1821bb1da6d5f814853a060d73711ea2.jpg","text":"TemporaryFile(/tmp/multipartBody4778984513950670932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103363033,"filename":"image_02112025_00_28_39_1780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c6c156f2437166033ab1f23b154a9884.jpg","text":"TemporaryFile(/tmp/multipartBody2002405092130412790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103363033,"filename":"image_02112025_00_28_33_1523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/006bc3df0c6352183fb6e8a978b5087b.jpg","text":"TemporaryFile(/tmp/multipartBody7075449362934709614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103363033,"filename":"image_02112025_00_28_31_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/2/cbc25f1dc18e8f31248abf65aee61e2a.jpg","text":"TemporaryFile(/tmp/multipartBody6228431459310483905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103363033,"filename":"image_02112025_00_28_36_1705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863231","file1":"1391863230","file0":"1391863228","file4":"1391863233","file5":"1391863237","file3":"1391863232"},"map_files_photo_id_array":[{"photo_id":"1391863237","filename":"file5"},{"photo_id":"1391863231","filename":"file2"},{"photo_id":"1391863233","filename":"file4"},{"photo_id":"1391863230","filename":"file1"},{"photo_id":"1391863228","filename":"file0"},{"photo_id":"1391863232","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863232":["hashtag1","hashtag2"]},{"1391863228":["hashtag1","hashtag2"]},{"1391863237":["hashtag1","hashtag2"]},{"1391863231":["hashtag1","hashtag2"]},{"1391863230":["hashtag1","hashtag2"]},{"1391863233":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863232, 1391863228, 1391863237, 1391863231, 1391863230, 1391863233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65170216560364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:09:03.186411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_42_2535.jpg', '/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_47_2648.jpg', '/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_03_3730.jpg', '/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_08_2604.jpg', '/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_12_3792.jpg', '/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_15_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_42_2535.jpg
/home/pi/Desktop/images/02112025/00/28/image_02112025_00_28_47_2648.jpg
/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_03_3730.jpg
/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_08_2604.jpg
/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_12_3792.jpg
/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_15_2786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863256","1391863250","1391863247","1391863252","1391863254","1391863253"],"photo_ids_order":["1391863247","1391863250","1391863252","1391863253","1391863254","1391863256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/aeb8f12843ba1dede54a9f4a8265b674.jpg","text":"TemporaryFile(/tmp/multipartBody3076844812314703730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103404187,"filename":"image_02112025_00_29_15_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/2/0b051e8d598de85e601315a05bc29879.jpg","text":"TemporaryFile(/tmp/multipartBody4256759677168378898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103404187,"filename":"image_02112025_00_28_47_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/2/3f77c5327f8e06e66525d351a713aeaa.jpg","text":"TemporaryFile(/tmp/multipartBody6524633568474652920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103404187,"filename":"image_02112025_00_28_42_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/2/e7ada5d7804e184fbfa7df719fa05071.jpg","text":"TemporaryFile(/tmp/multipartBody247809783067120326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103404187,"filename":"image_02112025_00_29_03_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/2/8699bb9479d2bad417ba5eaa2e4045af.jpg","text":"TemporaryFile(/tmp/multipartBody181732279705683582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103404187,"filename":"image_02112025_00_29_12_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/2/10d188a42ad473f22ae9aa0e823ec8f5.jpg","text":"TemporaryFile(/tmp/multipartBody3629827412618200250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103404187,"filename":"image_02112025_00_29_08_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863252","file1":"1391863250","file0":"1391863247","file4":"1391863254","file5":"1391863256","file3":"1391863253"},"map_files_photo_id_array":[{"photo_id":"1391863256","filename":"file5"},{"photo_id":"1391863252","filename":"file2"},{"photo_id":"1391863254","filename":"file4"},{"photo_id":"1391863250","filename":"file1"},{"photo_id":"1391863247","filename":"file0"},{"photo_id":"1391863253","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863256":["hashtag1","hashtag2"]},{"1391863250":["hashtag1","hashtag2"]},{"1391863247":["hashtag1","hashtag2"]},{"1391863252":["hashtag1","hashtag2"]},{"1391863254":["hashtag1","hashtag2"]},{"1391863253":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863256, 1391863250, 1391863247, 1391863252, 1391863254, 1391863253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49515104293823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:09:42.495247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_18_2712.jpg', '/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_20_2638.jpg', '/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_24_3746.jpg', '/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_27_2708.jpg', '/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_35_2511.jpg', '/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_42_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_18_2712.jpg
/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_20_2638.jpg
/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_24_3746.jpg
/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_27_2708.jpg
/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_35_2511.jpg
/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_42_2584.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6504631042480469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:10:03.079659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_18_2712.jpg', '/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_20_2638.jpg', '/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_24_3746.jpg', '/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_27_2708.jpg', '/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_35_2511.jpg', '/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_42_2584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_18_2712.jpg
/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_20_2638.jpg
/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_24_3746.jpg
/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_27_2708.jpg
/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_35_2511.jpg
/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_42_2584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863293","1391863281","1391863275","1391863284","1391863278","1391863289"],"photo_ids_order":["1391863275","1391863278","1391863281","1391863284","1391863289","1391863293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5026b904667ba704b4e2ff6101233d08.jpg","text":"TemporaryFile(/tmp/multipartBody4849519504760155088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103463812,"filename":"image_02112025_00_29_42_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/2/1ddf429efce46c81de09fb50e9b93275.jpg","text":"TemporaryFile(/tmp/multipartBody8527812482776699944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103463812,"filename":"image_02112025_00_29_24_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/2/a2234c0991b6f67ef66a318d227c5173.jpg","text":"TemporaryFile(/tmp/multipartBody5780831787972303130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103463812,"filename":"image_02112025_00_29_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/2/6a068863404b7a21c942aa53d5bb6ca4.jpg","text":"TemporaryFile(/tmp/multipartBody8209609176715024136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103463812,"filename":"image_02112025_00_29_27_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/2/2d926f585f9f485cee279e11873550b6.jpg","text":"TemporaryFile(/tmp/multipartBody3604116972792162087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103463812,"filename":"image_02112025_00_29_20_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/2/cd440e3ce506280d2201c580f0b819ab.jpg","text":"TemporaryFile(/tmp/multipartBody2854860260358123214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103463812,"filename":"image_02112025_00_29_35_2511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863281","file1":"1391863278","file0":"1391863275","file4":"1391863289","file5":"1391863293","file3":"1391863284"},"map_files_photo_id_array":[{"photo_id":"1391863293","filename":"file5"},{"photo_id":"1391863281","filename":"file2"},{"photo_id":"1391863289","filename":"file4"},{"photo_id":"1391863278","filename":"file1"},{"photo_id":"1391863275","filename":"file0"},{"photo_id":"1391863284","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863293":["hashtag1","hashtag2"]},{"1391863281":["hashtag1","hashtag2"]},{"1391863275":["hashtag1","hashtag2"]},{"1391863284":["hashtag1","hashtag2"]},{"1391863278":["hashtag1","hashtag2"]},{"1391863289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863293, 1391863281, 1391863275, 1391863284, 1391863278, 1391863289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72260308265686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:10:42.639627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_44_2631.jpg', '/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_48_3759.jpg', '/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_51_2816.jpg', '/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_53_2589.jpg', '/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_56_2776.jpg', '/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_02_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_44_2631.jpg
/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_48_3759.jpg
/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_51_2816.jpg
/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_53_2589.jpg
/home/pi/Desktop/images/02112025/00/29/image_02112025_00_29_56_2776.jpg
/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_02_2673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863310","1391863304","1391863307","1391863301","1391863312","1391863317"],"photo_ids_order":["1391863301","1391863304","1391863307","1391863310","1391863312","1391863317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a225be4109d892f0ff57e500e667fba3.jpg","text":"TemporaryFile(/tmp/multipartBody6621223195814607003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103503354,"filename":"image_02112025_00_29_53_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/2/fb587549f27dc9a81d1fd831304a2685.jpg","text":"TemporaryFile(/tmp/multipartBody1060892485547062739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103503354,"filename":"image_02112025_00_29_48_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/2/b8f1c952aff4fd30fd0ce20a3e8a1a57.jpg","text":"TemporaryFile(/tmp/multipartBody2027415363531020352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103503354,"filename":"image_02112025_00_29_51_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/2/68765d0e2a91972b328f2996bf6bedc1.jpg","text":"TemporaryFile(/tmp/multipartBody1678500529185178991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103503354,"filename":"image_02112025_00_29_44_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/2/c40137e707908bddb0da641a1335190a.jpg","text":"TemporaryFile(/tmp/multipartBody6828800703748667679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103503354,"filename":"image_02112025_00_29_56_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/2/c78deb5e9d100bfb9d18d1574b484cfb.jpg","text":"TemporaryFile(/tmp/multipartBody3729992263412357861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103503354,"filename":"image_02112025_00_30_02_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863307","file1":"1391863304","file0":"1391863301","file4":"1391863312","file5":"1391863317","file3":"1391863310"},"map_files_photo_id_array":[{"photo_id":"1391863317","filename":"file5"},{"photo_id":"1391863307","filename":"file2"},{"photo_id":"1391863312","filename":"file4"},{"photo_id":"1391863304","filename":"file1"},{"photo_id":"1391863301","filename":"file0"},{"photo_id":"1391863310","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863310":["hashtag1","hashtag2"]},{"1391863304":["hashtag1","hashtag2"]},{"1391863307":["hashtag1","hashtag2"]},{"1391863301":["hashtag1","hashtag2"]},{"1391863312":["hashtag1","hashtag2"]},{"1391863317":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863310, 1391863304, 1391863307, 1391863301, 1391863312, 1391863317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.708845138549805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:11:22.904695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_06_3624.jpg', '/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_09_2584.jpg', '/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_11_2799.jpg', '/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_17_5819.jpg', '/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_19_1818.jpg', '/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_21_1688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_06_3624.jpg
/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_09_2584.jpg
/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_11_2799.jpg
/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_17_5819.jpg
/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_19_1818.jpg
/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_21_1688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863331","1391863325","1391863333","1391863327","1391863338","1391863329"],"photo_ids_order":["1391863325","1391863327","1391863329","1391863331","1391863333","1391863338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/aa5513a2bec48bd9cb83f77edbb3a972.jpg","text":"TemporaryFile(/tmp/multipartBody7772432997912244567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103543593,"filename":"image_02112025_00_30_17_5819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0184b5e6be86f9ab248ff602561eb6d2.jpg","text":"TemporaryFile(/tmp/multipartBody9032767678973962765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103543593,"filename":"image_02112025_00_30_06_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/2/8b351ab64aac28c07a37250feadb5100.jpg","text":"TemporaryFile(/tmp/multipartBody5286844943189532635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103543593,"filename":"image_02112025_00_30_19_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/2/d74651cddf607597cb30468162ede004.jpg","text":"TemporaryFile(/tmp/multipartBody2658191313217381487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103543593,"filename":"image_02112025_00_30_09_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/2/50fc1aba2662509c1a958a423b3bc01e.jpg","text":"TemporaryFile(/tmp/multipartBody6136856273530489445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103543593,"filename":"image_02112025_00_30_21_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/2/25f3e6c867e05e276d420745d5a6fdbb.jpg","text":"TemporaryFile(/tmp/multipartBody6099726220324953862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103543593,"filename":"image_02112025_00_30_11_2799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863329","file1":"1391863327","file0":"1391863325","file4":"1391863333","file5":"1391863338","file3":"1391863331"},"map_files_photo_id_array":[{"photo_id":"1391863338","filename":"file5"},{"photo_id":"1391863329","filename":"file2"},{"photo_id":"1391863333","filename":"file4"},{"photo_id":"1391863327","filename":"file1"},{"photo_id":"1391863325","filename":"file0"},{"photo_id":"1391863331","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863331":["hashtag1","hashtag2"]},{"1391863325":["hashtag1","hashtag2"]},{"1391863333":["hashtag1","hashtag2"]},{"1391863327":["hashtag1","hashtag2"]},{"1391863338":["hashtag1","hashtag2"]},{"1391863329":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863331, 1391863325, 1391863333, 1391863327, 1391863338, 1391863329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.648812770843506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:12:02.491370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_23_2529.jpg', '/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_27_3593.jpg', '/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_30_2655.jpg', '/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_32_2687.jpg', '/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_56_23367.jpg', '/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_57_1673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_23_2529.jpg
/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_27_3593.jpg
/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_30_2655.jpg
/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_32_2687.jpg
/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_56_23367.jpg
/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_57_1673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863355","1391863346","1391863351","1391863348","1391863342","1391863344"],"photo_ids_order":["1391863342","1391863344","1391863346","1391863348","1391863351","1391863355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1ab671ef65b0002b501d36f9ae02fadf.jpg","text":"TemporaryFile(/tmp/multipartBody7241596199076158359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103583335,"filename":"image_02112025_00_30_57_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/2/3a828abde3ddea0921276377659d8e7b.jpg","text":"TemporaryFile(/tmp/multipartBody956604854395688438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103583335,"filename":"image_02112025_00_30_30_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/2/4b3fc89f22b6502da245b525255e5718.jpg","text":"TemporaryFile(/tmp/multipartBody8940215653934028707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103583335,"filename":"image_02112025_00_30_56_23367.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0692fda813d4d1897e966a7c88d44ac5.jpg","text":"TemporaryFile(/tmp/multipartBody993255704005142603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103583335,"filename":"image_02112025_00_30_32_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/2/6065b9e7dbe806618863aaa827b98c50.jpg","text":"TemporaryFile(/tmp/multipartBody1136867085810770562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103583335,"filename":"image_02112025_00_30_23_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/2/b86b202cf16cfe7c27bf641a907d3f3f.jpg","text":"TemporaryFile(/tmp/multipartBody3566460343311207886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103583335,"filename":"image_02112025_00_30_27_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863346","file1":"1391863344","file0":"1391863342","file4":"1391863351","file5":"1391863355","file3":"1391863348"},"map_files_photo_id_array":[{"photo_id":"1391863355","filename":"file5"},{"photo_id":"1391863346","filename":"file2"},{"photo_id":"1391863351","filename":"file4"},{"photo_id":"1391863344","filename":"file1"},{"photo_id":"1391863342","filename":"file0"},{"photo_id":"1391863348","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863355":["hashtag1","hashtag2"]},{"1391863346":["hashtag1","hashtag2"]},{"1391863351":["hashtag1","hashtag2"]},{"1391863348":["hashtag1","hashtag2"]},{"1391863342":["hashtag1","hashtag2"]},{"1391863344":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863355, 1391863346, 1391863351, 1391863348, 1391863342, 1391863344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.442325592041016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:12:41.993882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_59_1781.jpg', '/home/pi/Desktop/images/02112025/00/31/image_02112025_00_31_01_1808.jpg', '/home/pi/Desktop/images/02112025/00/31/image_02112025_00_31_13_12130.jpg', '/home/pi/Desktop/images/02112025/00/31/image_02112025_00_31_22_7066.jpg', '/home/pi/Desktop/images/02112025/00/31/image_02112025_00_31_25_2936.jpg', '/home/pi/Desktop/images/02112025/00/31/image_02112025_00_31_28_1587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/30/image_02112025_00_30_59_1781.jpg
/home/pi/Desktop/images/02112025/00/31/image_02112025_00_31_01_1808.jpg
/home/pi/Desktop/images/02112025/00/31/image_02112025_00_31_13_12130.jpg
/home/pi/Desktop/images/02112025/00/31/image_02112025_00_31_22_7066.jpg
/home/pi/Desktop/images/02112025/00/31/image_02112025_00_31_25_2936.jpg
/home/pi/Desktop/images/02112025/00/31/image_02112025_00_31_28_1587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863361","1391863364","1391863378","1391863374","1391863368","1391863371"],"photo_ids_order":["1391863361","1391863364","1391863368","1391863371","1391863374","1391863378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e1d3fcfd66bc480b13b9db8221b3469a.jpg","text":"TemporaryFile(/tmp/multipartBody3745758388575938331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103622704,"filename":"image_02112025_00_30_59_1781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9031dbbca97840a7f9f9925e28cbac41.jpg","text":"TemporaryFile(/tmp/multipartBody5021411168140667250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103622704,"filename":"image_02112025_00_31_01_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/2/ad292140ee40c2cb54550a3f86a1a7fc.jpg","text":"TemporaryFile(/tmp/multipartBody6959792829850921834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103622704,"filename":"image_02112025_00_31_28_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/2/bc50c7b8f1d5eeedae91148616e6e903.jpg","text":"TemporaryFile(/tmp/multipartBody7592963904553314380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103622704,"filename":"image_02112025_00_31_25_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/2/e0b5d597e088b774cd7a67f0ca4da03f.jpg","text":"TemporaryFile(/tmp/multipartBody4391329484241965344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103622704,"filename":"image_02112025_00_31_13_12130.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1bbad9d3e7525d7c84a6383a0a301e9c.jpg","text":"TemporaryFile(/tmp/multipartBody685710387834615252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103622704,"filename":"image_02112025_00_31_22_7066.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863368","file1":"1391863364","file0":"1391863361","file4":"1391863374","file5":"1391863378","file3":"1391863371"},"map_files_photo_id_array":[{"photo_id":"1391863378","filename":"file5"},{"photo_id":"1391863368","filename":"file2"},{"photo_id":"1391863374","filename":"file4"},{"photo_id":"1391863364","filename":"file1"},{"photo_id":"1391863361","filename":"file0"},{"photo_id":"1391863371","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863361":["hashtag1","hashtag2"]},{"1391863364":["hashtag1","hashtag2"]},{"1391863378":["hashtag1","hashtag2"]},{"1391863374":["hashtag1","hashtag2"]},{"1391863368":["hashtag1","hashtag2"]},{"1391863371":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863361, 1391863364, 1391863378, 1391863374, 1391863368, 1391863371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59550166130066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:13:22.150473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/31/image_02112025_00_31_40_11782.jpg', '/home/pi/Desktop/images/02112025/00/31/image_02112025_00_31_49_8752.jpg', '/home/pi/Desktop/images/02112025/00/31/image_02112025_00_31_50_1732.jpg', '/home/pi/Desktop/images/02112025/00/31/image_02112025_00_31_52_1572.jpg', '/home/pi/Desktop/images/02112025/00/31/image_02112025_00_31_54_1598.jpg', '/home/pi/Desktop/images/02112025/00/31/image_02112025_00_31_58_4066.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/31/image_02112025_00_31_40_11782.jpg
/home/pi/Desktop/images/02112025/00/31/image_02112025_00_31_49_8752.jpg
/home/pi/Desktop/images/02112025/00/31/image_02112025_00_31_50_1732.jpg
/home/pi/Desktop/images/02112025/00/31/image_02112025_00_31_52_1572.jpg
/home/pi/Desktop/images/02112025/00/31/image_02112025_00_31_54_1598.jpg
/home/pi/Desktop/images/02112025/00/31/image_02112025_00_31_58_4066.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863400","1391863384","1391863387","1391863395","1391863397","1391863391"],"photo_ids_order":["1391863384","1391863387","1391863391","1391863395","1391863397","1391863400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2e42b01a611d69f8efb0ba4a6b2d8d87.jpg","text":"TemporaryFile(/tmp/multipartBody1211527269533657652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103662846,"filename":"image_02112025_00_31_58_4066.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0902fa08e9599ffbe572ea22f6885b4f.jpg","text":"TemporaryFile(/tmp/multipartBody5610087949306008688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103662846,"filename":"image_02112025_00_31_40_11782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b54bbce04e260be47897d91a26995559.jpg","text":"TemporaryFile(/tmp/multipartBody5756854242823192644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103662846,"filename":"image_02112025_00_31_49_8752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b44990aa16cbd9b17681ed079aeff12c.jpg","text":"TemporaryFile(/tmp/multipartBody6519437797693098638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103662846,"filename":"image_02112025_00_31_52_1572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/05721511d38c6ccd87d8fb1091aecbed.jpg","text":"TemporaryFile(/tmp/multipartBody3441556964760404527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103662846,"filename":"image_02112025_00_31_54_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/2/e498e48c316a3fdae53c22fbeb383d57.jpg","text":"TemporaryFile(/tmp/multipartBody146573651614112336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103662846,"filename":"image_02112025_00_31_50_1732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863391","file1":"1391863387","file0":"1391863384","file4":"1391863397","file5":"1391863400","file3":"1391863395"},"map_files_photo_id_array":[{"photo_id":"1391863400","filename":"file5"},{"photo_id":"1391863391","filename":"file2"},{"photo_id":"1391863397","filename":"file4"},{"photo_id":"1391863387","filename":"file1"},{"photo_id":"1391863384","filename":"file0"},{"photo_id":"1391863395","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863400":["hashtag1","hashtag2"]},{"1391863384":["hashtag1","hashtag2"]},{"1391863387":["hashtag1","hashtag2"]},{"1391863395":["hashtag1","hashtag2"]},{"1391863397":["hashtag1","hashtag2"]},{"1391863391":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863400, 1391863384, 1391863387, 1391863395, 1391863397, 1391863391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28889608383179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:14:03.054446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/31/image_02112025_00_31_59_1551.jpg', '/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_03_1608.jpg', '/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_05_2093.jpg', '/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_06_1682.jpg', '/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_08_1770.jpg', '/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_10_1609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/31/image_02112025_00_31_59_1551.jpg
/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_03_1608.jpg
/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_05_2093.jpg
/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_06_1682.jpg
/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_08_1770.jpg
/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_10_1609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863412","1391863406","1391863409","1391863414","1391863419","1391863416"],"photo_ids_order":["1391863406","1391863409","1391863412","1391863414","1391863416","1391863419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/57349fc3f969a4999fc949181ce2ff14.jpg","text":"TemporaryFile(/tmp/multipartBody8146521193648820294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103703886,"filename":"image_02112025_00_32_05_2093.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6bff514024981bf45a752311519f6dde.jpg","text":"TemporaryFile(/tmp/multipartBody4239074497099216048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103703886,"filename":"image_02112025_00_31_59_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/2/adafb7dc006b7b94a823a1cc04d0cde0.jpg","text":"TemporaryFile(/tmp/multipartBody7735913310838550596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103703886,"filename":"image_02112025_00_32_03_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/2/cfcc0388b7318f6f09598b4429249fdf.jpg","text":"TemporaryFile(/tmp/multipartBody7799716668902102972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103703886,"filename":"image_02112025_00_32_06_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/2/62a2e9e8cd73518e59486df1f58437a1.jpg","text":"TemporaryFile(/tmp/multipartBody848456331815956639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103703886,"filename":"image_02112025_00_32_10_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/2/1e7e3c1964e61e7b55b783ec1b7863ff.jpg","text":"TemporaryFile(/tmp/multipartBody6234774063005942446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103703886,"filename":"image_02112025_00_32_08_1770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863412","file1":"1391863409","file0":"1391863406","file4":"1391863416","file5":"1391863419","file3":"1391863414"},"map_files_photo_id_array":[{"photo_id":"1391863419","filename":"file5"},{"photo_id":"1391863412","filename":"file2"},{"photo_id":"1391863416","filename":"file4"},{"photo_id":"1391863409","filename":"file1"},{"photo_id":"1391863406","filename":"file0"},{"photo_id":"1391863414","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863412":["hashtag1","hashtag2"]},{"1391863406":["hashtag1","hashtag2"]},{"1391863409":["hashtag1","hashtag2"]},{"1391863414":["hashtag1","hashtag2"]},{"1391863419":["hashtag1","hashtag2"]},{"1391863416":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863412, 1391863406, 1391863409, 1391863414, 1391863419, 1391863416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56546878814697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:14:42.459043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_11_1615.jpg', '/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_16_1541.jpg', '/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_18_1648.jpg', '/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_21_1697.jpg', '/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_23_1646.jpg', '/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_24_1527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_11_1615.jpg
/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_16_1541.jpg
/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_18_1648.jpg
/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_21_1697.jpg
/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_23_1646.jpg
/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_24_1527.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863436","1391863439","1391863430","1391863438","1391863441","1391863434"],"photo_ids_order":["1391863430","1391863434","1391863436","1391863438","1391863439","1391863441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/daabc50ebe773b4d23627b1dd088178d.jpg","text":"TemporaryFile(/tmp/multipartBody3153155690689252642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103743227,"filename":"image_02112025_00_32_18_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/2/5613836eba87877bbecded46a7478aac.jpg","text":"TemporaryFile(/tmp/multipartBody6586202896126856199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103743227,"filename":"image_02112025_00_32_23_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/2/a9e7584139b069a83c4e4bb101580b7c.jpg","text":"TemporaryFile(/tmp/multipartBody3133106225884889308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103743227,"filename":"image_02112025_00_32_11_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/2/fac274ad4c6eecad7ede733ae966a254.jpg","text":"TemporaryFile(/tmp/multipartBody910715209460577550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103743227,"filename":"image_02112025_00_32_21_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/2/4b69bf039e1375a0c2cd2221425661a1.jpg","text":"TemporaryFile(/tmp/multipartBody166687986558854579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103743227,"filename":"image_02112025_00_32_24_1527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8d8d05b7d45fd021252dfb70c8c3c03c.jpg","text":"TemporaryFile(/tmp/multipartBody7057426539096183219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103743227,"filename":"image_02112025_00_32_16_1541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863436","file1":"1391863434","file0":"1391863430","file4":"1391863439","file5":"1391863441","file3":"1391863438"},"map_files_photo_id_array":[{"photo_id":"1391863441","filename":"file5"},{"photo_id":"1391863436","filename":"file2"},{"photo_id":"1391863439","filename":"file4"},{"photo_id":"1391863434","filename":"file1"},{"photo_id":"1391863430","filename":"file0"},{"photo_id":"1391863438","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863436":["hashtag1","hashtag2"]},{"1391863439":["hashtag1","hashtag2"]},{"1391863430":["hashtag1","hashtag2"]},{"1391863438":["hashtag1","hashtag2"]},{"1391863441":["hashtag1","hashtag2"]},{"1391863434":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863436, 1391863439, 1391863430, 1391863438, 1391863441, 1391863434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6001079082489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:15:22.566360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_26_1654.jpg', '/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_29_1590.jpg', '/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_33_4022.jpg', '/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_36_1621.jpg', '/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_38_1578.jpg', '/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_40_1629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_26_1654.jpg
/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_29_1590.jpg
/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_33_4022.jpg
/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_36_1621.jpg
/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_38_1578.jpg
/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_40_1629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863460","1391863456","1391863459","1391863461","1391863464","1391863452"],"photo_ids_order":["1391863452","1391863456","1391863459","1391863460","1391863461","1391863464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0b19af3764cbcd4ab38e3d28262f71b0.jpg","text":"TemporaryFile(/tmp/multipartBody1873987363214355084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103783246,"filename":"image_02112025_00_32_36_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/2/015a0bbaf1e1d052f75c7d3ac5e0bce6.jpg","text":"TemporaryFile(/tmp/multipartBody5371652400711604347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103783246,"filename":"image_02112025_00_32_29_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1d36c16abc472b8ceaf63a19e26adb4b.jpg","text":"TemporaryFile(/tmp/multipartBody5020844313482518728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103783246,"filename":"image_02112025_00_32_33_4022.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f1fbb2e8247b2f90ca108e88559bcd20.jpg","text":"TemporaryFile(/tmp/multipartBody7671158767876107196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103783246,"filename":"image_02112025_00_32_38_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/33795e872babb7b8f6ae84ebc1794a5f.jpg","text":"TemporaryFile(/tmp/multipartBody7981612107339148221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103783246,"filename":"image_02112025_00_32_40_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/2/9ab89986f90011dd8e0996a174067a49.jpg","text":"TemporaryFile(/tmp/multipartBody4637482956561188820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103783246,"filename":"image_02112025_00_32_26_1654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863459","file1":"1391863456","file0":"1391863452","file4":"1391863461","file5":"1391863464","file3":"1391863460"},"map_files_photo_id_array":[{"photo_id":"1391863464","filename":"file5"},{"photo_id":"1391863459","filename":"file2"},{"photo_id":"1391863461","filename":"file4"},{"photo_id":"1391863456","filename":"file1"},{"photo_id":"1391863452","filename":"file0"},{"photo_id":"1391863460","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863460":["hashtag1","hashtag2"]},{"1391863456":["hashtag1","hashtag2"]},{"1391863459":["hashtag1","hashtag2"]},{"1391863461":["hashtag1","hashtag2"]},{"1391863464":["hashtag1","hashtag2"]},{"1391863452":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863460, 1391863456, 1391863459, 1391863461, 1391863464, 1391863452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7201783657074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:16:02.414528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_41_1628.jpg', '/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_43_1577.jpg', '/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_44_1525.jpg', '/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_48_1611.jpg', '/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_50_2637.jpg', '/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_57_3609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_41_1628.jpg
/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_43_1577.jpg
/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_44_1525.jpg
/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_48_1611.jpg
/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_50_2637.jpg
/home/pi/Desktop/images/02112025/00/32/image_02112025_00_32_57_3609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863481","1391863474","1391863483","1391863485","1391863488","1391863478"],"photo_ids_order":["1391863474","1391863478","1391863481","1391863483","1391863485","1391863488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/34048e3434796591c0c37d6028ed9722.jpg","text":"TemporaryFile(/tmp/multipartBody4097815006318647193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103823145,"filename":"image_02112025_00_32_44_1525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e6602d39f3121dbc4af695092317e558.jpg","text":"TemporaryFile(/tmp/multipartBody3706440803452933627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103823145,"filename":"image_02112025_00_32_41_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/2/4a932e4c11bfd70110b13b3ba3693e8e.jpg","text":"TemporaryFile(/tmp/multipartBody8876555966733797261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103823145,"filename":"image_02112025_00_32_48_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/2/d4e0640ac90424c3e832a767fd3c98db.jpg","text":"TemporaryFile(/tmp/multipartBody690977685415464335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103823145,"filename":"image_02112025_00_32_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/2/11758128fe40be2e62d47f395a8d6908.jpg","text":"TemporaryFile(/tmp/multipartBody4731038138991545797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103823145,"filename":"image_02112025_00_32_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/2/9da0f737df840ff695d084864d8affb1.jpg","text":"TemporaryFile(/tmp/multipartBody7115863496457801261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103823145,"filename":"image_02112025_00_32_43_1577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863481","file1":"1391863478","file0":"1391863474","file4":"1391863485","file5":"1391863488","file3":"1391863483"},"map_files_photo_id_array":[{"photo_id":"1391863488","filename":"file5"},{"photo_id":"1391863481","filename":"file2"},{"photo_id":"1391863485","filename":"file4"},{"photo_id":"1391863478","filename":"file1"},{"photo_id":"1391863474","filename":"file0"},{"photo_id":"1391863483","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863481":["hashtag1","hashtag2"]},{"1391863474":["hashtag1","hashtag2"]},{"1391863483":["hashtag1","hashtag2"]},{"1391863485":["hashtag1","hashtag2"]},{"1391863488":["hashtag1","hashtag2"]},{"1391863478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863481, 1391863474, 1391863483, 1391863485, 1391863488, 1391863478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32519602775574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:16:41.883128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/33/image_02112025_00_33_05_3612.jpg', '/home/pi/Desktop/images/02112025/00/33/image_02112025_00_33_08_2555.jpg', '/home/pi/Desktop/images/02112025/00/33/image_02112025_00_33_12_3664.jpg', '/home/pi/Desktop/images/02112025/00/33/image_02112025_00_33_14_2684.jpg', '/home/pi/Desktop/images/02112025/00/33/image_02112025_00_33_17_2704.jpg', '/home/pi/Desktop/images/02112025/00/33/image_02112025_00_33_23_6311.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/33/image_02112025_00_33_05_3612.jpg
/home/pi/Desktop/images/02112025/00/33/image_02112025_00_33_08_2555.jpg
/home/pi/Desktop/images/02112025/00/33/image_02112025_00_33_12_3664.jpg
/home/pi/Desktop/images/02112025/00/33/image_02112025_00_33_14_2684.jpg
/home/pi/Desktop/images/02112025/00/33/image_02112025_00_33_17_2704.jpg
/home/pi/Desktop/images/02112025/00/33/image_02112025_00_33_23_6311.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863502","1391863508","1391863501","1391863504","1391863497","1391863500"],"photo_ids_order":["1391863497","1391863500","1391863501","1391863502","1391863504","1391863508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2ff4a80cc152584d14058951987280ea.jpg","text":"TemporaryFile(/tmp/multipartBody6878271116931549090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103862599,"filename":"image_02112025_00_33_14_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/2/bc94e7d55d4108a45997c84477b6523c.jpg","text":"TemporaryFile(/tmp/multipartBody2407911996995840340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103862599,"filename":"image_02112025_00_33_23_6311.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/192d3333c747a924873cae321a062169.jpg","text":"TemporaryFile(/tmp/multipartBody4356828831046906191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103862599,"filename":"image_02112025_00_33_12_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/2/b45d085def581d4096c258f3378cdd5c.jpg","text":"TemporaryFile(/tmp/multipartBody332397675537711634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103862599,"filename":"image_02112025_00_33_17_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/2/28e6ada58292a397e6819cc917fde99e.jpg","text":"TemporaryFile(/tmp/multipartBody8290550681505695059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103862599,"filename":"image_02112025_00_33_05_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/2/481b12df849ad71644cac392107c2a81.jpg","text":"TemporaryFile(/tmp/multipartBody7993890766138706630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103862599,"filename":"image_02112025_00_33_08_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863501","file1":"1391863500","file0":"1391863497","file4":"1391863504","file5":"1391863508","file3":"1391863502"},"map_files_photo_id_array":[{"photo_id":"1391863508","filename":"file5"},{"photo_id":"1391863501","filename":"file2"},{"photo_id":"1391863504","filename":"file4"},{"photo_id":"1391863500","filename":"file1"},{"photo_id":"1391863497","filename":"file0"},{"photo_id":"1391863502","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863502":["hashtag1","hashtag2"]},{"1391863508":["hashtag1","hashtag2"]},{"1391863501":["hashtag1","hashtag2"]},{"1391863504":["hashtag1","hashtag2"]},{"1391863497":["hashtag1","hashtag2"]},{"1391863500":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863502, 1391863508, 1391863501, 1391863504, 1391863497, 1391863500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.019572496414185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:17:22.009849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/33/image_02112025_00_33_25_1616.jpg', '/home/pi/Desktop/images/02112025/00/33/image_02112025_00_33_40_15199.jpg', '/home/pi/Desktop/images/02112025/00/33/image_02112025_00_33_42_1750.jpg', '/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_11_28667.jpg', '/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_12_1539.jpg', '/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_27_14742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/33/image_02112025_00_33_25_1616.jpg
/home/pi/Desktop/images/02112025/00/33/image_02112025_00_33_40_15199.jpg
/home/pi/Desktop/images/02112025/00/33/image_02112025_00_33_42_1750.jpg
/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_11_28667.jpg
/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_12_1539.jpg
/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_27_14742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863526","1391863525","1391863536","1391863521","1391863524","1391863527"],"photo_ids_order":["1391863521","1391863524","1391863525","1391863526","1391863527","1391863536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4b72ce9e54bb4b25a7399220257d8288.jpg","text":"TemporaryFile(/tmp/multipartBody4674803764897946085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103902677,"filename":"image_02112025_00_34_11_28667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7abdc3cf2a8f395beb4179da8c7f80ae.jpg","text":"TemporaryFile(/tmp/multipartBody722410275549708082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103902677,"filename":"image_02112025_00_33_42_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/2/6609583372eb02f9ef88b96329cd80d9.jpg","text":"TemporaryFile(/tmp/multipartBody7816865833940930827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103902677,"filename":"image_02112025_00_34_27_14742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1012f0aa666cc31df39211a4f2aead20.jpg","text":"TemporaryFile(/tmp/multipartBody3469798670710453693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103902677,"filename":"image_02112025_00_33_25_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/2/7eae42d861a8d607c17095d3fef9e5b4.jpg","text":"TemporaryFile(/tmp/multipartBody6277066933891093608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103902677,"filename":"image_02112025_00_33_40_15199.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5b1639aacb39d24823aaf62ff889fff1.jpg","text":"TemporaryFile(/tmp/multipartBody7276339610910172520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103902677,"filename":"image_02112025_00_34_12_1539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863525","file1":"1391863524","file0":"1391863521","file4":"1391863527","file5":"1391863536","file3":"1391863526"},"map_files_photo_id_array":[{"photo_id":"1391863536","filename":"file5"},{"photo_id":"1391863525","filename":"file2"},{"photo_id":"1391863527","filename":"file4"},{"photo_id":"1391863524","filename":"file1"},{"photo_id":"1391863521","filename":"file0"},{"photo_id":"1391863526","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863526":["hashtag1","hashtag2"]},{"1391863525":["hashtag1","hashtag2"]},{"1391863536":["hashtag1","hashtag2"]},{"1391863521":["hashtag1","hashtag2"]},{"1391863524":["hashtag1","hashtag2"]},{"1391863527":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863526, 1391863525, 1391863536, 1391863521, 1391863524, 1391863527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80142378807068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:18:02.594920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_29_1607.jpg', '/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_30_1756.jpg', '/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_33_1603.jpg', '/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_35_1691.jpg', '/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_37_1752.jpg', '/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_41_4584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_29_1607.jpg
/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_30_1756.jpg
/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_33_1603.jpg
/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_35_1691.jpg
/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_37_1752.jpg
/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_41_4584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863553","1391863547","1391863549","1391863548","1391863551","1391863545"],"photo_ids_order":["1391863545","1391863547","1391863548","1391863549","1391863551","1391863553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9bc9524dc4e4ef7d1a6afd9de072fcdf.jpg","text":"TemporaryFile(/tmp/multipartBody2234498941186936251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103943351,"filename":"image_02112025_00_34_41_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/2/0b3a04dc75256bd8ede3dac0fe70819d.jpg","text":"TemporaryFile(/tmp/multipartBody363831565283399784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103943351,"filename":"image_02112025_00_34_30_1756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/60fd00c9331a1fae2d7344eb296512d4.jpg","text":"TemporaryFile(/tmp/multipartBody6760163914892610743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103943351,"filename":"image_02112025_00_34_35_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/2/4fb948d6df17b617ad6b5a49fa604b2a.jpg","text":"TemporaryFile(/tmp/multipartBody6007389486997502950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103943351,"filename":"image_02112025_00_34_33_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/2/ca8e2b1cd81df3c7f08a24f3e5081e07.jpg","text":"TemporaryFile(/tmp/multipartBody3140961612200588479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103943351,"filename":"image_02112025_00_34_37_1752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3b6e1dfa705fce1acf15be7b5cf2c91f.jpg","text":"TemporaryFile(/tmp/multipartBody3280709224473776704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103943351,"filename":"image_02112025_00_34_29_1607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863548","file1":"1391863547","file0":"1391863545","file4":"1391863551","file5":"1391863553","file3":"1391863549"},"map_files_photo_id_array":[{"photo_id":"1391863553","filename":"file5"},{"photo_id":"1391863548","filename":"file2"},{"photo_id":"1391863551","filename":"file4"},{"photo_id":"1391863547","filename":"file1"},{"photo_id":"1391863545","filename":"file0"},{"photo_id":"1391863549","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863553":["hashtag1","hashtag2"]},{"1391863547":["hashtag1","hashtag2"]},{"1391863549":["hashtag1","hashtag2"]},{"1391863548":["hashtag1","hashtag2"]},{"1391863551":["hashtag1","hashtag2"]},{"1391863545":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863553, 1391863547, 1391863549, 1391863548, 1391863551, 1391863545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57910180091858 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:18:42.121009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_46_1671.jpg', '/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_48_1686.jpg', '/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_49_1656.jpg', '/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_53_1619.jpg', '/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_58_1610.jpg', '/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_59_1668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_46_1671.jpg
/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_48_1686.jpg
/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_49_1656.jpg
/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_53_1619.jpg
/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_58_1610.jpg
/home/pi/Desktop/images/02112025/00/34/image_02112025_00_34_59_1668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863573","1391863576","1391863566","1391863569","1391863563","1391863571"],"photo_ids_order":["1391863563","1391863566","1391863569","1391863571","1391863573","1391863576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0ab294780b00d0019aa0c6dbf7e05d6e.jpg","text":"TemporaryFile(/tmp/multipartBody4687425054726326471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103982875,"filename":"image_02112025_00_34_58_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/2/1f049f43a0ad2bcc47de1fa2b7a21c72.jpg","text":"TemporaryFile(/tmp/multipartBody1724360147546140803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103982875,"filename":"image_02112025_00_34_59_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/2/f4eabb109e81caa8eb76abc80e76781c.jpg","text":"TemporaryFile(/tmp/multipartBody8877756319276496314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103982875,"filename":"image_02112025_00_34_48_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/2/cd1e98ab4d19a2562f2ef320689e0930.jpg","text":"TemporaryFile(/tmp/multipartBody7003092143500616456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103982875,"filename":"image_02112025_00_34_49_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/2/22d2a8ef2bb6ee7514f455f7d43b299f.jpg","text":"TemporaryFile(/tmp/multipartBody3557701960207909595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103982875,"filename":"image_02112025_00_34_46_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/2/2bcbf7f9eaa8078ecb6dbbc40d2bfcda.jpg","text":"TemporaryFile(/tmp/multipartBody1987245698225690077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762103982875,"filename":"image_02112025_00_34_53_1619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863569","file1":"1391863566","file0":"1391863563","file4":"1391863573","file5":"1391863576","file3":"1391863571"},"map_files_photo_id_array":[{"photo_id":"1391863576","filename":"file5"},{"photo_id":"1391863569","filename":"file2"},{"photo_id":"1391863573","filename":"file4"},{"photo_id":"1391863566","filename":"file1"},{"photo_id":"1391863563","filename":"file0"},{"photo_id":"1391863571","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863573":["hashtag1","hashtag2"]},{"1391863576":["hashtag1","hashtag2"]},{"1391863566":["hashtag1","hashtag2"]},{"1391863569":["hashtag1","hashtag2"]},{"1391863563":["hashtag1","hashtag2"]},{"1391863571":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863573, 1391863576, 1391863566, 1391863569, 1391863563, 1391863571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80006241798401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:19:22.312245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_02_3172.jpg', '/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_05_2495.jpg', '/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_10_1667.jpg', '/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_11_1555.jpg', '/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_21_8089.jpg', '/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_24_3061.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_02_3172.jpg
/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_05_2495.jpg
/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_10_1667.jpg
/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_11_1555.jpg
/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_21_8089.jpg
/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_24_3061.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.596550464630127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:19:42.316839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_02_3172.jpg', '/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_05_2495.jpg', '/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_10_1667.jpg', '/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_11_1555.jpg', '/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_21_8089.jpg', '/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_24_3061.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_02_3172.jpg
/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_05_2495.jpg
/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_10_1667.jpg
/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_11_1555.jpg
/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_21_8089.jpg
/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_24_3061.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863606","1391863599","1391863596","1391863617","1391863602","1391863611"],"photo_ids_order":["1391863596","1391863599","1391863602","1391863606","1391863611","1391863617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2e7244f5f65cdf89df55e4e23773d417.jpg","text":"TemporaryFile(/tmp/multipartBody4130369190001187945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104043093,"filename":"image_02112025_00_35_11_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/2/5d596080f178ecc91eabc6e7af907155.jpg","text":"TemporaryFile(/tmp/multipartBody8591241858316573425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104043093,"filename":"image_02112025_00_35_05_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/2/b8b9a1add2bd4c783849063c5c181d51.jpg","text":"TemporaryFile(/tmp/multipartBody6666299707077207944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104043093,"filename":"image_02112025_00_35_02_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/2/71a63c6cd6520c94f8f514df19fd2a3c.jpg","text":"TemporaryFile(/tmp/multipartBody3172864718957386682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104043093,"filename":"image_02112025_00_35_24_3061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/12596ae6df110ba9f19ea2ddc40dc187.jpg","text":"TemporaryFile(/tmp/multipartBody172974789110332430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104043093,"filename":"image_02112025_00_35_10_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/2/039a9d9d9f1e697cd5e7308e51da1bb1.jpg","text":"TemporaryFile(/tmp/multipartBody7567418946693400285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104043093,"filename":"image_02112025_00_35_21_8089.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863602","file1":"1391863599","file0":"1391863596","file4":"1391863611","file5":"1391863617","file3":"1391863606"},"map_files_photo_id_array":[{"photo_id":"1391863617","filename":"file5"},{"photo_id":"1391863602","filename":"file2"},{"photo_id":"1391863611","filename":"file4"},{"photo_id":"1391863599","filename":"file1"},{"photo_id":"1391863596","filename":"file0"},{"photo_id":"1391863606","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863606":["hashtag1","hashtag2"]},{"1391863599":["hashtag1","hashtag2"]},{"1391863596":["hashtag1","hashtag2"]},{"1391863617":["hashtag1","hashtag2"]},{"1391863602":["hashtag1","hashtag2"]},{"1391863611":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863606, 1391863599, 1391863596, 1391863617, 1391863602, 1391863611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01195931434631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:20:22.464454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_46_1694.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_21_16323.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_23_1630.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_24_1646.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_29_1789.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_31_1590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/35/image_02112025_00_35_46_1694.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_21_16323.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_23_1630.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_24_1646.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_29_1789.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_31_1590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863628","1391863630","1391863633","1391863635","1391863632","1391863626"],"photo_ids_order":["1391863626","1391863628","1391863630","1391863632","1391863633","1391863635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/46e74b389105447e496348065f15692b.jpg","text":"TemporaryFile(/tmp/multipartBody464765480965252222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104083197,"filename":"image_02112025_00_36_21_16323.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/066f8132c674e3e7abe7f92fc5c5e75f.jpg","text":"TemporaryFile(/tmp/multipartBody3605732834574791866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104083197,"filename":"image_02112025_00_36_23_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/2/1111fd8af38dd9ea228d792ba7c727fd.jpg","text":"TemporaryFile(/tmp/multipartBody18793193114029394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104083197,"filename":"image_02112025_00_36_29_1789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/25f049f546df40f775fc8d8a48f9acc8.jpg","text":"TemporaryFile(/tmp/multipartBody9172161961335134884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104083197,"filename":"image_02112025_00_36_31_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3c4c77b4cdfada77c5f656e1f06ecb00.jpg","text":"TemporaryFile(/tmp/multipartBody8769083013581980601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104083197,"filename":"image_02112025_00_36_24_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/2/28c722103259100638556e04991f306d.jpg","text":"TemporaryFile(/tmp/multipartBody5165422015682658941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104083197,"filename":"image_02112025_00_35_46_1694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863630","file1":"1391863628","file0":"1391863626","file4":"1391863633","file5":"1391863635","file3":"1391863632"},"map_files_photo_id_array":[{"photo_id":"1391863635","filename":"file5"},{"photo_id":"1391863630","filename":"file2"},{"photo_id":"1391863633","filename":"file4"},{"photo_id":"1391863628","filename":"file1"},{"photo_id":"1391863626","filename":"file0"},{"photo_id":"1391863632","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863628":["hashtag1","hashtag2"]},{"1391863630":["hashtag1","hashtag2"]},{"1391863633":["hashtag1","hashtag2"]},{"1391863635":["hashtag1","hashtag2"]},{"1391863632":["hashtag1","hashtag2"]},{"1391863626":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863628, 1391863630, 1391863633, 1391863635, 1391863632, 1391863626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.537700176239014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:21:03.340848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_34_1607.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_36_1654.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_39_1774.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_41_1704.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_46_1729.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_48_1642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_34_1607.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_36_1654.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_39_1774.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_41_1704.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_46_1729.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_48_1642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863655","1391863651","1391863647","1391863641","1391863659","1391863644"],"photo_ids_order":["1391863641","1391863644","1391863647","1391863651","1391863655","1391863659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d274685ed6ffb27f526473963d767cd2.jpg","text":"TemporaryFile(/tmp/multipartBody6745198721247589417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104124159,"filename":"image_02112025_00_36_46_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/2/76a56d1b38eda8bb76132c2821b60fd9.jpg","text":"TemporaryFile(/tmp/multipartBody1943069852896883649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104124159,"filename":"image_02112025_00_36_41_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/2/effe6fa6fe60801fbc37c46323b0dcd1.jpg","text":"TemporaryFile(/tmp/multipartBody2501716719968110256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104124159,"filename":"image_02112025_00_36_39_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/2/1e5d695f12e77977bba366d4cc494213.jpg","text":"TemporaryFile(/tmp/multipartBody3114446898347441784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104124159,"filename":"image_02112025_00_36_34_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/2/b981c72f32899861c90134ffeeb3c7bf.jpg","text":"TemporaryFile(/tmp/multipartBody4843419880045080634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104124159,"filename":"image_02112025_00_36_48_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/2/bf7c4e230b79051cd40e124a608ce5c8.jpg","text":"TemporaryFile(/tmp/multipartBody9142443979026037154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104124159,"filename":"image_02112025_00_36_36_1654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863647","file1":"1391863644","file0":"1391863641","file4":"1391863655","file5":"1391863659","file3":"1391863651"},"map_files_photo_id_array":[{"photo_id":"1391863659","filename":"file5"},{"photo_id":"1391863647","filename":"file2"},{"photo_id":"1391863655","filename":"file4"},{"photo_id":"1391863644","filename":"file1"},{"photo_id":"1391863641","filename":"file0"},{"photo_id":"1391863651","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863655":["hashtag1","hashtag2"]},{"1391863651":["hashtag1","hashtag2"]},{"1391863647":["hashtag1","hashtag2"]},{"1391863641":["hashtag1","hashtag2"]},{"1391863659":["hashtag1","hashtag2"]},{"1391863644":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863655, 1391863651, 1391863647, 1391863641, 1391863659, 1391863644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16910219192505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:21:42.588857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_51_1663.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_53_1751.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_54_1636.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_58_3685.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_59_1577.jpg', '/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_06_6809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_51_1663.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_53_1751.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_54_1636.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_58_3685.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_59_1577.jpg
/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_06_6809.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6234347820281982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:22:03.247385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 18:22:22.863617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_51_1663.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_53_1751.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_54_1636.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_58_3685.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_59_1577.jpg', '/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_06_6809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_51_1663.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_53_1751.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_54_1636.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_58_3685.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_59_1577.jpg
/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_06_6809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863690","1391863687","1391863696","1391863692","1391863694","1391863685"],"photo_ids_order":["1391863685","1391863687","1391863690","1391863692","1391863694","1391863696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/12c7f7bb48d4f19a2bf542bc225ad4a2.jpg","text":"TemporaryFile(/tmp/multipartBody2068740184051269972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104207903,"filename":"image_02112025_00_36_54_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/2/3b15c6345205164f48c2c60e082bfd56.jpg","text":"TemporaryFile(/tmp/multipartBody7163507159741109958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104207903,"filename":"image_02112025_00_36_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/2/7e184c842e6496f1d751a30bbd27be7a.jpg","text":"TemporaryFile(/tmp/multipartBody1390932556095249803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104207903,"filename":"image_02112025_00_37_06_6809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0ffbf8b8540d363e58fca74a530b2673.jpg","text":"TemporaryFile(/tmp/multipartBody7289438422150873941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104207903,"filename":"image_02112025_00_36_58_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/2/0435300f71a7a097999bdb2b6e078ae6.jpg","text":"TemporaryFile(/tmp/multipartBody7341677811966247868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104207903,"filename":"image_02112025_00_36_59_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/2/cd6abf670db9d1080135bc55cc42c13e.jpg","text":"TemporaryFile(/tmp/multipartBody1324522302827920073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104207903,"filename":"image_02112025_00_36_51_1663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863690","file1":"1391863687","file0":"1391863685","file4":"1391863694","file5":"1391863696","file3":"1391863692"},"map_files_photo_id_array":[{"photo_id":"1391863696","filename":"file5"},{"photo_id":"1391863690","filename":"file2"},{"photo_id":"1391863694","filename":"file4"},{"photo_id":"1391863687","filename":"file1"},{"photo_id":"1391863685","filename":"file0"},{"photo_id":"1391863692","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863690":["hashtag1","hashtag2"]},{"1391863687":["hashtag1","hashtag2"]},{"1391863696":["hashtag1","hashtag2"]},{"1391863692":["hashtag1","hashtag2"]},{"1391863694":["hashtag1","hashtag2"]},{"1391863685":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863690, 1391863687, 1391863696, 1391863692, 1391863694, 1391863685)","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 = 1391863690 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_54_1636.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391863690 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_54_1636.jpg";
uploaded 6 photos
time to upload: 64.70013618469238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:23:42.082809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_51_1663.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_53_1751.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_54_1636.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_58_3685.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_59_1577.jpg', '/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_06_6809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_51_1663.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_53_1751.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_54_1636.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_58_3685.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_59_1577.jpg
/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_06_6809.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863712","1391863728","1391863722","1391863716","1391863725","1391863719"],"photo_ids_order":["1391863712","1391863716","1391863719","1391863722","1391863725","1391863728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/540f73f4f7dfd17cdcaf277536c70a2c.jpg","text":"TemporaryFile(/tmp/multipartBody7860359501962088295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104282761,"filename":"image_02112025_00_36_51_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e938d4f036561db25989520e9b11265d.jpg","text":"TemporaryFile(/tmp/multipartBody284793263770716796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104282761,"filename":"image_02112025_00_37_06_6809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e553569bd569592e2f887074912d0413.jpg","text":"TemporaryFile(/tmp/multipartBody5694714011474776666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104282761,"filename":"image_02112025_00_36_58_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/2/12b77a0262d31df9dd749e0732553a22.jpg","text":"TemporaryFile(/tmp/multipartBody7349424267320198991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104282761,"filename":"image_02112025_00_36_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/2/1762187fc7a5618e7aea071e3012bfc4.jpg","text":"TemporaryFile(/tmp/multipartBody5158900836903354653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104282761,"filename":"image_02112025_00_36_59_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/2/b0f8a4c2ed159e27cd635d3dd42b3bb7.jpg","text":"TemporaryFile(/tmp/multipartBody3534747477060325031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104282761,"filename":"image_02112025_00_36_54_1636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863719","file1":"1391863716","file0":"1391863712","file4":"1391863725","file5":"1391863728","file3":"1391863722"},"map_files_photo_id_array":[{"photo_id":"1391863728","filename":"file5"},{"photo_id":"1391863719","filename":"file2"},{"photo_id":"1391863725","filename":"file4"},{"photo_id":"1391863716","filename":"file1"},{"photo_id":"1391863712","filename":"file0"},{"photo_id":"1391863722","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863712":["hashtag1","hashtag2"]},{"1391863728":["hashtag1","hashtag2"]},{"1391863722":["hashtag1","hashtag2"]},{"1391863716":["hashtag1","hashtag2"]},{"1391863725":["hashtag1","hashtag2"]},{"1391863719":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863712, 1391863728, 1391863722, 1391863716, 1391863725, 1391863719)","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 = 1391863719 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_54_1636.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391863719 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_54_1636.jpg";
uploaded 6 photos
time to upload: 68.63386154174805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:25:04.978118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_51_1663.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_53_1751.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_54_1636.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_58_3685.jpg', '/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_59_1577.jpg', '/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_06_6809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_51_1663.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_53_1751.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_54_1636.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_58_3685.jpg
/home/pi/Desktop/images/02112025/00/36/image_02112025_00_36_59_1577.jpg
/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_06_6809.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863768","1391863762","1391863765","1391863759","1391863755","1391863757"],"photo_ids_order":["1391863755","1391863757","1391863759","1391863762","1391863765","1391863768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/13b24b58e97e1889ac424b02fbacf9c0.jpg","text":"TemporaryFile(/tmp/multipartBody6793700693405020859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104365790,"filename":"image_02112025_00_37_06_6809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b8e7c57a86384a3a441c86f40f1c306d.jpg","text":"TemporaryFile(/tmp/multipartBody5902718794100999419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104365790,"filename":"image_02112025_00_36_58_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/2/ff1e1a0cb20133be69fefe6405e0195d.jpg","text":"TemporaryFile(/tmp/multipartBody7136454963026531353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104365790,"filename":"image_02112025_00_36_59_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/2/02e7d2adff460329ed0e08020d5da1c6.jpg","text":"TemporaryFile(/tmp/multipartBody7855999532113930608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104365790,"filename":"image_02112025_00_36_54_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/2/f976da51accecc7810bdf2bfb30907b4.jpg","text":"TemporaryFile(/tmp/multipartBody7953733140348615143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104365790,"filename":"image_02112025_00_36_51_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/23ea51ab3ab7ad74240dc1c8d2b94778.jpg","text":"TemporaryFile(/tmp/multipartBody2190751169074671296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104365790,"filename":"image_02112025_00_36_53_1751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863759","file1":"1391863757","file0":"1391863755","file4":"1391863765","file5":"1391863768","file3":"1391863762"},"map_files_photo_id_array":[{"photo_id":"1391863768","filename":"file5"},{"photo_id":"1391863759","filename":"file2"},{"photo_id":"1391863765","filename":"file4"},{"photo_id":"1391863757","filename":"file1"},{"photo_id":"1391863755","filename":"file0"},{"photo_id":"1391863762","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863768":["hashtag1","hashtag2"]},{"1391863762":["hashtag1","hashtag2"]},{"1391863765":["hashtag1","hashtag2"]},{"1391863759":["hashtag1","hashtag2"]},{"1391863755":["hashtag1","hashtag2"]},{"1391863757":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863768, 1391863762, 1391863765, 1391863759, 1391863755, 1391863757)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.04918599128723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:26:06.600764
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 18:26:22.576504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_10_1803.jpg', '/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_11_1582.jpg', '/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_13_1615.jpg', '/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_15_1676.jpg', '/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_16_1627.jpg', '/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_18_1638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_10_1803.jpg
/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_11_1582.jpg
/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_13_1615.jpg
/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_15_1676.jpg
/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_16_1627.jpg
/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_18_1638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863783","1391863797","1391863785","1391863793","1391863787","1391863790"],"photo_ids_order":["1391863783","1391863785","1391863787","1391863790","1391863793","1391863797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/abdd5502189b47ab9fdbff73d4b467bb.jpg","text":"TemporaryFile(/tmp/multipartBody1202539725749820420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104443254,"filename":"image_02112025_00_37_10_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/2/89ac2865933b59f6f02bd701ab88570a.jpg","text":"TemporaryFile(/tmp/multipartBody2046884237934216779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104443254,"filename":"image_02112025_00_37_18_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4cf47a154860eab620e7a7d7f8790aea.jpg","text":"TemporaryFile(/tmp/multipartBody8260013824576161388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104443254,"filename":"image_02112025_00_37_11_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c1c11655601954d4e374a9df2906072f.jpg","text":"TemporaryFile(/tmp/multipartBody706522353266811526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104443254,"filename":"image_02112025_00_37_16_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/2/e47b7b6005a343297b7654ca90a211ae.jpg","text":"TemporaryFile(/tmp/multipartBody3977060606262732227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104443254,"filename":"image_02112025_00_37_13_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/2/c6d86267225154ff97932594e852bfe1.jpg","text":"TemporaryFile(/tmp/multipartBody1251849707957210793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104443254,"filename":"image_02112025_00_37_15_1676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863787","file1":"1391863785","file0":"1391863783","file4":"1391863793","file5":"1391863797","file3":"1391863790"},"map_files_photo_id_array":[{"photo_id":"1391863797","filename":"file5"},{"photo_id":"1391863787","filename":"file2"},{"photo_id":"1391863793","filename":"file4"},{"photo_id":"1391863785","filename":"file1"},{"photo_id":"1391863783","filename":"file0"},{"photo_id":"1391863790","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863783":["hashtag1","hashtag2"]},{"1391863797":["hashtag1","hashtag2"]},{"1391863785":["hashtag1","hashtag2"]},{"1391863793":["hashtag1","hashtag2"]},{"1391863787":["hashtag1","hashtag2"]},{"1391863790":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863783, 1391863797, 1391863785, 1391863793, 1391863787, 1391863790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13771986961365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:27:03.158122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 18:27:25.126289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_20_1742.jpg', '/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_28_1661.jpg', '/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_32_4612.jpg', '/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_34_1774.jpg', '/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_44_9875.jpg', '/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_46_1630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_20_1742.jpg
/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_28_1661.jpg
/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_32_4612.jpg
/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_34_1774.jpg
/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_44_9875.jpg
/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_46_1630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863823","1391863820","1391863814","1391863817","1391863831","1391863827"],"photo_ids_order":["1391863814","1391863817","1391863820","1391863823","1391863827","1391863831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/dfaa087eb663afbd979a63f44cf85ea0.jpg","text":"TemporaryFile(/tmp/multipartBody4486210970126909704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104508447,"filename":"image_02112025_00_37_34_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/2/91bb58ca49c0b8adbb662694558b4e30.jpg","text":"TemporaryFile(/tmp/multipartBody6305990912123180150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104508447,"filename":"image_02112025_00_37_32_4612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7e2f8b532e6f0ff62d75343bcc608a13.jpg","text":"TemporaryFile(/tmp/multipartBody2973543834996692851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104508447,"filename":"image_02112025_00_37_20_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/2/8643561eb904187b73e48cbd39a1569d.jpg","text":"TemporaryFile(/tmp/multipartBody8332801551204988818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104508447,"filename":"image_02112025_00_37_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/2/4b6c5d5324691f30b7eb03815046cc11.jpg","text":"TemporaryFile(/tmp/multipartBody8481079395357833343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104508447,"filename":"image_02112025_00_37_46_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/2/04ff0a2064c04719af1e693cecc7b713.jpg","text":"TemporaryFile(/tmp/multipartBody5544324604679964480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104508447,"filename":"image_02112025_00_37_44_9875.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863820","file1":"1391863817","file0":"1391863814","file4":"1391863827","file5":"1391863831","file3":"1391863823"},"map_files_photo_id_array":[{"photo_id":"1391863831","filename":"file5"},{"photo_id":"1391863820","filename":"file2"},{"photo_id":"1391863827","filename":"file4"},{"photo_id":"1391863817","filename":"file1"},{"photo_id":"1391863814","filename":"file0"},{"photo_id":"1391863823","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863823":["hashtag1","hashtag2"]},{"1391863820":["hashtag1","hashtag2"]},{"1391863814":["hashtag1","hashtag2"]},{"1391863817":["hashtag1","hashtag2"]},{"1391863831":["hashtag1","hashtag2"]},{"1391863827":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863823, 1391863820, 1391863814, 1391863817, 1391863831, 1391863827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2657573223114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:28:22.748226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_53_7363.jpg', '/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_55_1539.jpg', '/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_56_1634.jpg', '/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_05_7185.jpg', '/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_07_1623.jpg', '/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_08_1653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_53_7363.jpg
/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_55_1539.jpg
/home/pi/Desktop/images/02112025/00/37/image_02112025_00_37_56_1634.jpg
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_05_7185.jpg
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_07_1623.jpg
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_08_1653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863844","1391863853","1391863847","1391863849","1391863845","1391863842"],"photo_ids_order":["1391863842","1391863844","1391863845","1391863847","1391863849","1391863853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/34cfa7ce3cf3720887b0268617a6ac37.jpg","text":"TemporaryFile(/tmp/multipartBody1501646389805114742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104563376,"filename":"image_02112025_00_37_55_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/960c19042fdea1099f84293a621130eb.jpg","text":"TemporaryFile(/tmp/multipartBody4549896544006990525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104563376,"filename":"image_02112025_00_38_08_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/2/1cf5a010ff08d011c1b174438a437033.jpg","text":"TemporaryFile(/tmp/multipartBody2794960990609296805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104563376,"filename":"image_02112025_00_38_05_7185.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6da0a1149af681dcf93e742b9d831cf9.jpg","text":"TemporaryFile(/tmp/multipartBody8106435876690157493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104563376,"filename":"image_02112025_00_38_07_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/2/e7d3cd4c26f18c63ddb95de01845897f.jpg","text":"TemporaryFile(/tmp/multipartBody7263875237543191318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104563376,"filename":"image_02112025_00_37_56_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/2/330cf5a1b0bfc2483671e6e18dbfe400.jpg","text":"TemporaryFile(/tmp/multipartBody8406724363150903801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104563376,"filename":"image_02112025_00_37_53_7363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863845","file1":"1391863844","file0":"1391863842","file4":"1391863849","file5":"1391863853","file3":"1391863847"},"map_files_photo_id_array":[{"photo_id":"1391863853","filename":"file5"},{"photo_id":"1391863845","filename":"file2"},{"photo_id":"1391863849","filename":"file4"},{"photo_id":"1391863844","filename":"file1"},{"photo_id":"1391863842","filename":"file0"},{"photo_id":"1391863847","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863844":["hashtag1","hashtag2"]},{"1391863853":["hashtag1","hashtag2"]},{"1391863847":["hashtag1","hashtag2"]},{"1391863849":["hashtag1","hashtag2"]},{"1391863845":["hashtag1","hashtag2"]},{"1391863842":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863844, 1391863853, 1391863847, 1391863849, 1391863845, 1391863842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74029183387756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:29:02.736038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_11_1602.jpg', '/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_13_1710.jpg', '/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_15_1886.jpg', '/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_17_1549.jpg', '/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_18_1546.jpg', '/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_20_1603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_11_1602.jpg
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_13_1710.jpg
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_15_1886.jpg
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_17_1549.jpg
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_18_1546.jpg
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_20_1603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863859","1391863878","1391863863","1391863866","1391863869","1391863874"],"photo_ids_order":["1391863859","1391863863","1391863866","1391863869","1391863874","1391863878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4de4c488054c69328206547a89bde7e9.jpg","text":"TemporaryFile(/tmp/multipartBody3455580483482243699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104603718,"filename":"image_02112025_00_38_11_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/2/46b64d4ed3f7e545f9f1dfaf4d963d03.jpg","text":"TemporaryFile(/tmp/multipartBody3660391969140590283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104603718,"filename":"image_02112025_00_38_20_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/2/ac4d3cc058e5a94f7eece181bc21e96e.jpg","text":"TemporaryFile(/tmp/multipartBody4255120703960333423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104603718,"filename":"image_02112025_00_38_13_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1518c831d18c87289d1ea450bcba7df4.jpg","text":"TemporaryFile(/tmp/multipartBody1421878491399680535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104603718,"filename":"image_02112025_00_38_15_1886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e502d8ccb34532fcdafc1876d63fe99e.jpg","text":"TemporaryFile(/tmp/multipartBody6694135075103563866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104603718,"filename":"image_02112025_00_38_17_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/2/6207ba452f1e7b5dd248d678ddc223e3.jpg","text":"TemporaryFile(/tmp/multipartBody1594565547474087985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104603718,"filename":"image_02112025_00_38_18_1546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863866","file1":"1391863863","file0":"1391863859","file4":"1391863874","file5":"1391863878","file3":"1391863869"},"map_files_photo_id_array":[{"photo_id":"1391863878","filename":"file5"},{"photo_id":"1391863866","filename":"file2"},{"photo_id":"1391863874","filename":"file4"},{"photo_id":"1391863863","filename":"file1"},{"photo_id":"1391863859","filename":"file0"},{"photo_id":"1391863869","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863859":["hashtag1","hashtag2"]},{"1391863878":["hashtag1","hashtag2"]},{"1391863863":["hashtag1","hashtag2"]},{"1391863866":["hashtag1","hashtag2"]},{"1391863869":["hashtag1","hashtag2"]},{"1391863874":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863859, 1391863878, 1391863863, 1391863866, 1391863869, 1391863874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.97403049468994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:30:02.452801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_21_1682.jpg', '/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_23_1940.jpg', '/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_25_1696.jpg', '/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_27_1671.jpg', '/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_34_1653.jpg', '/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_36_1747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_21_1682.jpg
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_23_1940.jpg
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_25_1696.jpg
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_27_1671.jpg
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_34_1653.jpg
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_36_1747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863894","1391863888","1391863893","1391863896","1391863900","1391863892"],"photo_ids_order":["1391863888","1391863892","1391863893","1391863894","1391863896","1391863900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7df7f031f9b4a7f867c6859edc55911c.jpg","text":"TemporaryFile(/tmp/multipartBody5679791257407794404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104663199,"filename":"image_02112025_00_38_27_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/2/4178a6b1ed1a878be1a468622a89b92c.jpg","text":"TemporaryFile(/tmp/multipartBody3008623239540036621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104663199,"filename":"image_02112025_00_38_21_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/2/e46a5db38f7ae91fa9460651a540c538.jpg","text":"TemporaryFile(/tmp/multipartBody1578770153308035866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104663199,"filename":"image_02112025_00_38_25_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/2/c3a97f292bc62a057fbf9f3cab9169d3.jpg","text":"TemporaryFile(/tmp/multipartBody2781569767451763246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104663199,"filename":"image_02112025_00_38_34_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/2/c1eb17a2df321022702cce7ff1934716.jpg","text":"TemporaryFile(/tmp/multipartBody2488322057272843058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104663199,"filename":"image_02112025_00_38_36_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/2/75636b3633919ab46ad553530d8d78d4.jpg","text":"TemporaryFile(/tmp/multipartBody3505043606601394812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104663199,"filename":"image_02112025_00_38_23_1940.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863893","file1":"1391863892","file0":"1391863888","file4":"1391863896","file5":"1391863900","file3":"1391863894"},"map_files_photo_id_array":[{"photo_id":"1391863900","filename":"file5"},{"photo_id":"1391863893","filename":"file2"},{"photo_id":"1391863896","filename":"file4"},{"photo_id":"1391863892","filename":"file1"},{"photo_id":"1391863888","filename":"file0"},{"photo_id":"1391863894","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863894":["hashtag1","hashtag2"]},{"1391863888":["hashtag1","hashtag2"]},{"1391863893":["hashtag1","hashtag2"]},{"1391863896":["hashtag1","hashtag2"]},{"1391863900":["hashtag1","hashtag2"]},{"1391863892":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863894, 1391863888, 1391863893, 1391863896, 1391863900, 1391863892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.977967262268066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:30:42.134247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_38_1676.jpg', '/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_41_2817.jpg', '/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_44_1602.jpg', '/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_46_1660.jpg', '/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_47_1661.jpg', '/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_49_1717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_38_1676.jpg
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_41_2817.jpg
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_44_1602.jpg
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_46_1660.jpg
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_47_1661.jpg
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_49_1717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863919","1391863916","1391863921","1391863924","1391863911","1391863914"],"photo_ids_order":["1391863911","1391863914","1391863916","1391863919","1391863921","1391863924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/627662a172f5baceae0ac9a52d523025.jpg","text":"TemporaryFile(/tmp/multipartBody4540567161162608866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104703460,"filename":"image_02112025_00_38_46_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/2/958ec55e626405146d27e2c8fc68ea08.jpg","text":"TemporaryFile(/tmp/multipartBody7291766412102938020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104703460,"filename":"image_02112025_00_38_44_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/2/21d9973f77c893baf053e06cb78526e5.jpg","text":"TemporaryFile(/tmp/multipartBody4222715877668370494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104703460,"filename":"image_02112025_00_38_47_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/2/0f7d2017427ffdda7ca8fd2a5689293b.jpg","text":"TemporaryFile(/tmp/multipartBody1890361865573079837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104703460,"filename":"image_02112025_00_38_49_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/2/59ee19c5eb1dcd69dcd088e524c1942e.jpg","text":"TemporaryFile(/tmp/multipartBody8100761876558389980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104703460,"filename":"image_02112025_00_38_38_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/2/1ab0ec6fba8472ead912e641a7959425.jpg","text":"TemporaryFile(/tmp/multipartBody71688038396959021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104703460,"filename":"image_02112025_00_38_41_2817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863916","file1":"1391863914","file0":"1391863911","file4":"1391863921","file5":"1391863924","file3":"1391863919"},"map_files_photo_id_array":[{"photo_id":"1391863924","filename":"file5"},{"photo_id":"1391863916","filename":"file2"},{"photo_id":"1391863921","filename":"file4"},{"photo_id":"1391863914","filename":"file1"},{"photo_id":"1391863911","filename":"file0"},{"photo_id":"1391863919","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863919":["hashtag1","hashtag2"]},{"1391863916":["hashtag1","hashtag2"]},{"1391863921":["hashtag1","hashtag2"]},{"1391863924":["hashtag1","hashtag2"]},{"1391863911":["hashtag1","hashtag2"]},{"1391863914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863919, 1391863916, 1391863921, 1391863924, 1391863911, 1391863914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53829836845398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:31:22.631693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_51_1589.jpg', '/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_52_1812.jpg', '/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_54_1625.jpg', '/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_58_1700.jpg', '/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_01_1574.jpg', '/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_02_1712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_51_1589.jpg
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_52_1812.jpg
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_54_1625.jpg
/home/pi/Desktop/images/02112025/00/38/image_02112025_00_38_58_1700.jpg
/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_01_1574.jpg
/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_02_1712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863945","1391863938","1391863947","1391863941","1391863935","1391863949"],"photo_ids_order":["1391863935","1391863938","1391863941","1391863945","1391863947","1391863949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a7769457d852deeff9879cde158abb24.jpg","text":"TemporaryFile(/tmp/multipartBody7641457557451270905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104743314,"filename":"image_02112025_00_38_58_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b0ab424983b3b58d2ce4dd4fcc379ec8.jpg","text":"TemporaryFile(/tmp/multipartBody2737137737363250768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104743314,"filename":"image_02112025_00_38_52_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/2/84abb760cd45d233fb0b824671fd242b.jpg","text":"TemporaryFile(/tmp/multipartBody6590601681793677747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104743314,"filename":"image_02112025_00_39_01_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/2/68e15117d48929758c0f51f85386a431.jpg","text":"TemporaryFile(/tmp/multipartBody6782434079766429371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104743314,"filename":"image_02112025_00_38_54_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/2/7d6a594a56b4c65ab623942263901a9c.jpg","text":"TemporaryFile(/tmp/multipartBody6178057158067423323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104743314,"filename":"image_02112025_00_38_51_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/2/572328c6b037a83fec2adce6c022b3fa.jpg","text":"TemporaryFile(/tmp/multipartBody4254440106139172336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104743314,"filename":"image_02112025_00_39_02_1712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863941","file1":"1391863938","file0":"1391863935","file4":"1391863947","file5":"1391863949","file3":"1391863945"},"map_files_photo_id_array":[{"photo_id":"1391863949","filename":"file5"},{"photo_id":"1391863941","filename":"file2"},{"photo_id":"1391863947","filename":"file4"},{"photo_id":"1391863938","filename":"file1"},{"photo_id":"1391863935","filename":"file0"},{"photo_id":"1391863945","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863945":["hashtag1","hashtag2"]},{"1391863938":["hashtag1","hashtag2"]},{"1391863947":["hashtag1","hashtag2"]},{"1391863941":["hashtag1","hashtag2"]},{"1391863935":["hashtag1","hashtag2"]},{"1391863949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863945, 1391863938, 1391863947, 1391863941, 1391863935, 1391863949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61416435241699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:32:02.335330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_04_1673.jpg', '/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_06_1820.jpg', '/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_07_1516.jpg', '/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_14_6178.jpg', '/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_15_1697.jpg', '/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_17_1839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_04_1673.jpg
/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_06_1820.jpg
/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_07_1516.jpg
/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_14_6178.jpg
/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_15_1697.jpg
/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_17_1839.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863966","1391863951","1391863962","1391863956","1391863971","1391863959"],"photo_ids_order":["1391863951","1391863956","1391863959","1391863962","1391863966","1391863971"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/17bc6ef482fb81c83ef0646a0fb2dabe.jpg","text":"TemporaryFile(/tmp/multipartBody4055181664802616055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104783066,"filename":"image_02112025_00_39_15_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/2/892bb0959cb04c3c4e005c55d3338c5b.jpg","text":"TemporaryFile(/tmp/multipartBody2547959926952645967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104783066,"filename":"image_02112025_00_39_04_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/2/71db0a4b10c8dff77eb7c36b10e8d8e1.jpg","text":"TemporaryFile(/tmp/multipartBody3990366724611379404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104783066,"filename":"image_02112025_00_39_14_6178.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ce31464f66c8df7570954d502a85659d.jpg","text":"TemporaryFile(/tmp/multipartBody7600520128747204267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104783066,"filename":"image_02112025_00_39_06_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/2/a6dcc8d5813da8b1947f3b7d162f47d1.jpg","text":"TemporaryFile(/tmp/multipartBody1964729340388483778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104783066,"filename":"image_02112025_00_39_17_1839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/43e9a7a84d44480f97d6e4b95eec7adc.jpg","text":"TemporaryFile(/tmp/multipartBody4820238290450399952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104783066,"filename":"image_02112025_00_39_07_1516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863959","file1":"1391863956","file0":"1391863951","file4":"1391863966","file5":"1391863971","file3":"1391863962"},"map_files_photo_id_array":[{"photo_id":"1391863971","filename":"file5"},{"photo_id":"1391863959","filename":"file2"},{"photo_id":"1391863966","filename":"file4"},{"photo_id":"1391863956","filename":"file1"},{"photo_id":"1391863951","filename":"file0"},{"photo_id":"1391863962","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863966":["hashtag1","hashtag2"]},{"1391863951":["hashtag1","hashtag2"]},{"1391863962":["hashtag1","hashtag2"]},{"1391863956":["hashtag1","hashtag2"]},{"1391863971":["hashtag1","hashtag2"]},{"1391863959":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863966, 1391863951, 1391863962, 1391863956, 1391863971, 1391863959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36715483665466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:32:41.899170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_20_2594.jpg', '/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_22_2696.jpg', '/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_25_2734.jpg', '/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_29_3636.jpg', '/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_31_2609.jpg', '/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_42_7213.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_20_2594.jpg
/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_22_2696.jpg
/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_25_2734.jpg
/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_29_3636.jpg
/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_31_2609.jpg
/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_42_7213.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391863979","1391863990","1391863993","1391863975","1391863985","1391863982"],"photo_ids_order":["1391863975","1391863979","1391863982","1391863985","1391863990","1391863993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7dc03ce39332fdc3e7c722bff2848c74.jpg","text":"TemporaryFile(/tmp/multipartBody9069121682048099110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104822615,"filename":"image_02112025_00_39_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/2/2e3357442c993290edb0e074da3ed5b2.jpg","text":"TemporaryFile(/tmp/multipartBody5349123810171115565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104822615,"filename":"image_02112025_00_39_31_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/2/2c439a2e7fcfbdb1865c1f1e27ac34b7.jpg","text":"TemporaryFile(/tmp/multipartBody3683842159499805425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104822615,"filename":"image_02112025_00_39_42_7213.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ba79b6c1a81dee44d7f88d9e04d031c2.jpg","text":"TemporaryFile(/tmp/multipartBody6232086377933946191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104822615,"filename":"image_02112025_00_39_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/2/d31dbb3130ca8fd8829afe2cfcf7554c.jpg","text":"TemporaryFile(/tmp/multipartBody981946461006146272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104822615,"filename":"image_02112025_00_39_29_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/2/bc2a2f1c16a37bfed938137bb6db732d.jpg","text":"TemporaryFile(/tmp/multipartBody3412674544699482420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104822615,"filename":"image_02112025_00_39_25_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863982","file1":"1391863979","file0":"1391863975","file4":"1391863990","file5":"1391863993","file3":"1391863985"},"map_files_photo_id_array":[{"photo_id":"1391863993","filename":"file5"},{"photo_id":"1391863982","filename":"file2"},{"photo_id":"1391863990","filename":"file4"},{"photo_id":"1391863979","filename":"file1"},{"photo_id":"1391863975","filename":"file0"},{"photo_id":"1391863985","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391863979":["hashtag1","hashtag2"]},{"1391863990":["hashtag1","hashtag2"]},{"1391863993":["hashtag1","hashtag2"]},{"1391863975":["hashtag1","hashtag2"]},{"1391863985":["hashtag1","hashtag2"]},{"1391863982":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391863979, 1391863990, 1391863993, 1391863975, 1391863985, 1391863982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.398093461990356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:33:22.060024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_44_1546.jpg', '/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_51_7184.jpg', '/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_53_1733.jpg', '/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_54_1631.jpg', '/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_56_1538.jpg', '/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_57_1589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_44_1546.jpg
/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_51_7184.jpg
/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_53_1733.jpg
/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_54_1631.jpg
/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_56_1538.jpg
/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_57_1589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864009","1391863999","1391864002","1391864005","1391863995","1391863997"],"photo_ids_order":["1391863995","1391863997","1391863999","1391864002","1391864005","1391864009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d9ede997a7a5d535d45f393e870a4745.jpg","text":"TemporaryFile(/tmp/multipartBody8475425563063257512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104862729,"filename":"image_02112025_00_39_57_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/2/ad9cc2cec8e0f3c6ad7f48341f38232c.jpg","text":"TemporaryFile(/tmp/multipartBody5635465676196564206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104862729,"filename":"image_02112025_00_39_53_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/2/e85c9d3ba923316e31a5ed16b1767890.jpg","text":"TemporaryFile(/tmp/multipartBody4683701799130599885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104862729,"filename":"image_02112025_00_39_54_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/2/6ef0672f89caf044cdf00e9e4fab3b8b.jpg","text":"TemporaryFile(/tmp/multipartBody1809661484292011545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104862729,"filename":"image_02112025_00_39_56_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/2/ad78093c866403326103ca5a16caf95f.jpg","text":"TemporaryFile(/tmp/multipartBody331393363747186775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104862729,"filename":"image_02112025_00_39_44_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/2/05bb550d39c1123d4d6222de217b5eb7.jpg","text":"TemporaryFile(/tmp/multipartBody8066655994015275429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104862729,"filename":"image_02112025_00_39_51_7184.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391863999","file1":"1391863997","file0":"1391863995","file4":"1391864005","file5":"1391864009","file3":"1391864002"},"map_files_photo_id_array":[{"photo_id":"1391864009","filename":"file5"},{"photo_id":"1391863999","filename":"file2"},{"photo_id":"1391864005","filename":"file4"},{"photo_id":"1391863997","filename":"file1"},{"photo_id":"1391863995","filename":"file0"},{"photo_id":"1391864002","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864009":["hashtag1","hashtag2"]},{"1391863999":["hashtag1","hashtag2"]},{"1391864002":["hashtag1","hashtag2"]},{"1391864005":["hashtag1","hashtag2"]},{"1391863995":["hashtag1","hashtag2"]},{"1391863997":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864009, 1391863999, 1391864002, 1391864005, 1391863995, 1391863997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29327344894409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:34:02.898289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_59_1612.jpg', '/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_02_2678.jpg', '/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_05_2936.jpg', '/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_07_2672.jpg', '/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_10_2784.jpg', '/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_14_3712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_59_1612.jpg
/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_02_2678.jpg
/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_05_2936.jpg
/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_07_2672.jpg
/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_10_2784.jpg
/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_14_3712.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7180149555206299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:34:22.207364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_59_1612.jpg', '/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_02_2678.jpg', '/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_05_2936.jpg', '/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_07_2672.jpg', '/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_10_2784.jpg', '/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_14_3712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/39/image_02112025_00_39_59_1612.jpg
/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_02_2678.jpg
/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_05_2936.jpg
/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_07_2672.jpg
/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_10_2784.jpg
/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_14_3712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864062","1391864035","1391864044","1391864058","1391864066","1391864060"],"photo_ids_order":["1391864035","1391864044","1391864058","1391864060","1391864062","1391864066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b7c8b50ec0be384851d7480904a2961e.jpg","text":"TemporaryFile(/tmp/multipartBody3854792717684773557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104922888,"filename":"image_02112025_00_40_10_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/2/8450326c785e7c83bcc3fe91c25ba865.jpg","text":"TemporaryFile(/tmp/multipartBody2629259585807547219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104922888,"filename":"image_02112025_00_39_59_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/2/c7b82511e3f6083672ab618bb93a8c53.jpg","text":"TemporaryFile(/tmp/multipartBody1454668217215947133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104922888,"filename":"image_02112025_00_40_02_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/2/8887b4a9e4768baa1d0e09eb54786d20.jpg","text":"TemporaryFile(/tmp/multipartBody8052130989873846211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104922888,"filename":"image_02112025_00_40_05_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/2/9cf4c6ebc406cefbc1893e48b6340a88.jpg","text":"TemporaryFile(/tmp/multipartBody193089924190634699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104922888,"filename":"image_02112025_00_40_14_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/2/c09b4bf5189989ac18aa2f79cf1dec29.jpg","text":"TemporaryFile(/tmp/multipartBody2074538958565948642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104922888,"filename":"image_02112025_00_40_07_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864058","file1":"1391864044","file0":"1391864035","file4":"1391864062","file5":"1391864066","file3":"1391864060"},"map_files_photo_id_array":[{"photo_id":"1391864066","filename":"file5"},{"photo_id":"1391864058","filename":"file2"},{"photo_id":"1391864062","filename":"file4"},{"photo_id":"1391864044","filename":"file1"},{"photo_id":"1391864035","filename":"file0"},{"photo_id":"1391864060","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864062":["hashtag1","hashtag2"]},{"1391864035":["hashtag1","hashtag2"]},{"1391864044":["hashtag1","hashtag2"]},{"1391864058":["hashtag1","hashtag2"]},{"1391864066":["hashtag1","hashtag2"]},{"1391864060":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864062, 1391864035, 1391864044, 1391864058, 1391864066, 1391864060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88225507736206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:35:03.240779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_17_2929.jpg', '/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_20_2797.jpg', '/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_22_2719.jpg', '/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_26_3692.jpg', '/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_29_2552.jpg', '/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_31_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_17_2929.jpg
/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_20_2797.jpg
/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_22_2719.jpg
/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_26_3692.jpg
/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_29_2552.jpg
/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_31_2678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864083","1391864094","1391864076","1391864099","1391864096","1391864078"],"photo_ids_order":["1391864076","1391864078","1391864083","1391864094","1391864096","1391864099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ed4cae4ef69b0ed94d1e16248e10d5bb.jpg","text":"TemporaryFile(/tmp/multipartBody309614973590187034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104964013,"filename":"image_02112025_00_40_22_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/2/a90529b64fe171904425a4fefbefbed9.jpg","text":"TemporaryFile(/tmp/multipartBody2954452039188821889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104964013,"filename":"image_02112025_00_40_26_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/2/25ba8426ff3fb4524aaa7b8d44c4dd66.jpg","text":"TemporaryFile(/tmp/multipartBody1951070158375602043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104964013,"filename":"image_02112025_00_40_17_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/2/b42b55c2b6ac311b2343cb1197474a31.jpg","text":"TemporaryFile(/tmp/multipartBody118455692618861554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104964013,"filename":"image_02112025_00_40_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/2/c47dc345e44685f65993b518dd663b31.jpg","text":"TemporaryFile(/tmp/multipartBody6170332276456658497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104964013,"filename":"image_02112025_00_40_29_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/2/8824faf90947b8235e813b08a3808bcc.jpg","text":"TemporaryFile(/tmp/multipartBody8916915130777404858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762104964013,"filename":"image_02112025_00_40_20_2797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864083","file1":"1391864078","file0":"1391864076","file4":"1391864096","file5":"1391864099","file3":"1391864094"},"map_files_photo_id_array":[{"photo_id":"1391864099","filename":"file5"},{"photo_id":"1391864083","filename":"file2"},{"photo_id":"1391864096","filename":"file4"},{"photo_id":"1391864078","filename":"file1"},{"photo_id":"1391864076","filename":"file0"},{"photo_id":"1391864094","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864083":["hashtag1","hashtag2"]},{"1391864094":["hashtag1","hashtag2"]},{"1391864076":["hashtag1","hashtag2"]},{"1391864099":["hashtag1","hashtag2"]},{"1391864096":["hashtag1","hashtag2"]},{"1391864078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864083, 1391864094, 1391864076, 1391864099, 1391864096, 1391864078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31492209434509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:35:42.388656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_35_3604.jpg', '/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_38_2962.jpg', '/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_41_2838.jpg', '/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_58_1680.jpg', '/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_04_2604.jpg', '/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_08_3577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_35_3604.jpg
/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_38_2962.jpg
/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_41_2838.jpg
/home/pi/Desktop/images/02112025/00/40/image_02112025_00_40_58_1680.jpg
/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_04_2604.jpg
/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_08_3577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864114","1391864122","1391864116","1391864119","1391864112","1391864109"],"photo_ids_order":["1391864109","1391864112","1391864114","1391864116","1391864119","1391864122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d118739763cef45ab315e46fd992356a.jpg","text":"TemporaryFile(/tmp/multipartBody4524047015650808577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105003108,"filename":"image_02112025_00_40_41_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/2/052abc2cdc54b7ae2e8924f91d68b4e2.jpg","text":"TemporaryFile(/tmp/multipartBody1970463824772752279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105003108,"filename":"image_02112025_00_41_08_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/2/2164c3654b988e60456ec7ae394e7b69.jpg","text":"TemporaryFile(/tmp/multipartBody8640386755824121374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105003108,"filename":"image_02112025_00_40_58_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6e3fb942651ac07dfd9e42206a618b0f.jpg","text":"TemporaryFile(/tmp/multipartBody2160037555449260983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105003108,"filename":"image_02112025_00_41_04_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/2/e535f45e54d97bf655e42b58ed7ea9b9.jpg","text":"TemporaryFile(/tmp/multipartBody9173865595817735404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105003108,"filename":"image_02112025_00_40_38_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/2/519c0dea0afe59cf730814fd5543a253.jpg","text":"TemporaryFile(/tmp/multipartBody7639971668763815484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105003108,"filename":"image_02112025_00_40_35_3604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864114","file1":"1391864112","file0":"1391864109","file4":"1391864119","file5":"1391864122","file3":"1391864116"},"map_files_photo_id_array":[{"photo_id":"1391864122","filename":"file5"},{"photo_id":"1391864114","filename":"file2"},{"photo_id":"1391864119","filename":"file4"},{"photo_id":"1391864112","filename":"file1"},{"photo_id":"1391864109","filename":"file0"},{"photo_id":"1391864116","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864114":["hashtag1","hashtag2"]},{"1391864122":["hashtag1","hashtag2"]},{"1391864116":["hashtag1","hashtag2"]},{"1391864119":["hashtag1","hashtag2"]},{"1391864112":["hashtag1","hashtag2"]},{"1391864109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864114, 1391864122, 1391864116, 1391864119, 1391864112, 1391864109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.454015016555786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:36:22.498246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_10_2683.jpg', '/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_14_3555.jpg', '/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_17_2808.jpg', '/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_19_2690.jpg', '/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_22_2634.jpg', '/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_26_3714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_10_2683.jpg
/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_14_3555.jpg
/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_17_2808.jpg
/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_19_2690.jpg
/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_22_2634.jpg
/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_26_3714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864128","1391864172","1391864145","1391864139","1391864165","1391864177"],"photo_ids_order":["1391864128","1391864139","1391864145","1391864165","1391864172","1391864177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ec4085498e78bc3aaf75f5f801b4bcc1.jpg","text":"TemporaryFile(/tmp/multipartBody4177819854354221115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105043194,"filename":"image_02112025_00_41_10_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/2/e531b813248c42721db3b37e69c5d5f7.jpg","text":"TemporaryFile(/tmp/multipartBody5485229578405796259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105043194,"filename":"image_02112025_00_41_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/2/1c2334689218351f6f856614c32e3935.jpg","text":"TemporaryFile(/tmp/multipartBody4395242695133113895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105043194,"filename":"image_02112025_00_41_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/2/5a9e12f8fdf5a0c487fd13371a9f3880.jpg","text":"TemporaryFile(/tmp/multipartBody1800939170419779646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105043194,"filename":"image_02112025_00_41_14_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/2/5ee7eff2fbb145c95c57f0348922a71f.jpg","text":"TemporaryFile(/tmp/multipartBody4564579861163912595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105043194,"filename":"image_02112025_00_41_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/2/240272c657dd2a423cf66364a7fca835.jpg","text":"TemporaryFile(/tmp/multipartBody3448472729551605682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105043194,"filename":"image_02112025_00_41_26_3714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864145","file1":"1391864139","file0":"1391864128","file4":"1391864172","file5":"1391864177","file3":"1391864165"},"map_files_photo_id_array":[{"photo_id":"1391864177","filename":"file5"},{"photo_id":"1391864145","filename":"file2"},{"photo_id":"1391864172","filename":"file4"},{"photo_id":"1391864139","filename":"file1"},{"photo_id":"1391864128","filename":"file0"},{"photo_id":"1391864165","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864128":["hashtag1","hashtag2"]},{"1391864172":["hashtag1","hashtag2"]},{"1391864145":["hashtag1","hashtag2"]},{"1391864139":["hashtag1","hashtag2"]},{"1391864165":["hashtag1","hashtag2"]},{"1391864177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864128, 1391864172, 1391864145, 1391864139, 1391864165, 1391864177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95219826698303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:37:03.355023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_28_2571.jpg', '/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_35_2854.jpg', '/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_37_2609.jpg', '/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_40_2652.jpg', '/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_46_2770.jpg', '/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_49_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_28_2571.jpg
/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_35_2854.jpg
/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_37_2609.jpg
/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_40_2652.jpg
/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_46_2770.jpg
/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_49_2572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864194","1391864185","1391864187","1391864196","1391864192","1391864189"],"photo_ids_order":["1391864185","1391864187","1391864189","1391864192","1391864194","1391864196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/14ed0b85f5b919266abb950797158c93.jpg","text":"TemporaryFile(/tmp/multipartBody3082558542106817590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105084149,"filename":"image_02112025_00_41_46_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/2/4ac947f22a70f2fc60d2687b2587cec1.jpg","text":"TemporaryFile(/tmp/multipartBody2338973448690154837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105084149,"filename":"image_02112025_00_41_28_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/2/d8598f4af905f2c0ade4053b09c983ea.jpg","text":"TemporaryFile(/tmp/multipartBody5834433184996618977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105084149,"filename":"image_02112025_00_41_35_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/2/1e730bf4dfbb85cdb518876258a21783.jpg","text":"TemporaryFile(/tmp/multipartBody6137427325366068936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105084149,"filename":"image_02112025_00_41_49_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/2/56ac9df7f3ad34eb133d0d0b3495e8a9.jpg","text":"TemporaryFile(/tmp/multipartBody6568425960761006457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105084149,"filename":"image_02112025_00_41_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/2/f58e818628f4acdacd27c764ba7fb16c.jpg","text":"TemporaryFile(/tmp/multipartBody434369955310683586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105084149,"filename":"image_02112025_00_41_37_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864189","file1":"1391864187","file0":"1391864185","file4":"1391864194","file5":"1391864196","file3":"1391864192"},"map_files_photo_id_array":[{"photo_id":"1391864196","filename":"file5"},{"photo_id":"1391864189","filename":"file2"},{"photo_id":"1391864194","filename":"file4"},{"photo_id":"1391864187","filename":"file1"},{"photo_id":"1391864185","filename":"file0"},{"photo_id":"1391864192","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864194":["hashtag1","hashtag2"]},{"1391864185":["hashtag1","hashtag2"]},{"1391864187":["hashtag1","hashtag2"]},{"1391864196":["hashtag1","hashtag2"]},{"1391864192":["hashtag1","hashtag2"]},{"1391864189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864194, 1391864185, 1391864187, 1391864196, 1391864192, 1391864189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88881039619446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:37:42.833539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_53_3983.jpg', '/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_56_2778.jpg', '/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_58_2825.jpg', '/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_01_2625.jpg', '/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_05_3732.jpg', '/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_08_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_53_3983.jpg
/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_56_2778.jpg
/home/pi/Desktop/images/02112025/00/41/image_02112025_00_41_58_2825.jpg
/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_01_2625.jpg
/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_05_3732.jpg
/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_08_2689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864210","1391864207","1391864218","1391864203","1391864214","1391864216"],"photo_ids_order":["1391864203","1391864207","1391864210","1391864214","1391864216","1391864218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b451d5859dceaedf0c65f6b30a64c989.jpg","text":"TemporaryFile(/tmp/multipartBody7388739095266278475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105123587,"filename":"image_02112025_00_41_58_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/2/c2b57945dd4a5ae11301119a95347c89.jpg","text":"TemporaryFile(/tmp/multipartBody5827542304916040700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105123587,"filename":"image_02112025_00_41_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/2/be273211c133672d3c5fa6742ed30435.jpg","text":"TemporaryFile(/tmp/multipartBody925761705961834863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105123587,"filename":"image_02112025_00_42_08_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/2/e187ca1b79cccff34cd47033a9cd7881.jpg","text":"TemporaryFile(/tmp/multipartBody2388604905194367647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105123587,"filename":"image_02112025_00_41_53_3983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0613b8cb7f7f13bb89e8635c6677cced.jpg","text":"TemporaryFile(/tmp/multipartBody5640853974434204477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105123587,"filename":"image_02112025_00_42_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/2/c1c7fe8d72df2cb0e8261960d20b8014.jpg","text":"TemporaryFile(/tmp/multipartBody2473978028112823145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105123587,"filename":"image_02112025_00_42_05_3732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864210","file1":"1391864207","file0":"1391864203","file4":"1391864216","file5":"1391864218","file3":"1391864214"},"map_files_photo_id_array":[{"photo_id":"1391864218","filename":"file5"},{"photo_id":"1391864210","filename":"file2"},{"photo_id":"1391864216","filename":"file4"},{"photo_id":"1391864207","filename":"file1"},{"photo_id":"1391864203","filename":"file0"},{"photo_id":"1391864214","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864210":["hashtag1","hashtag2"]},{"1391864207":["hashtag1","hashtag2"]},{"1391864218":["hashtag1","hashtag2"]},{"1391864203":["hashtag1","hashtag2"]},{"1391864214":["hashtag1","hashtag2"]},{"1391864216":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864210, 1391864207, 1391864218, 1391864203, 1391864214, 1391864216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.717347383499146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:38:21.994181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_10_2609.jpg', '/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_14_3698.jpg', '/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_17_2668.jpg', '/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_19_2639.jpg', '/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_23_3626.jpg', '/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_26_2723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_10_2609.jpg
/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_14_3698.jpg
/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_17_2668.jpg
/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_19_2639.jpg
/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_23_3626.jpg
/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_26_2723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864254","1391864221","1391864241","1391864250","1391864232","1391864252"],"photo_ids_order":["1391864221","1391864232","1391864241","1391864250","1391864252","1391864254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/429fcfb1912bb3aef4efb1b477d90efb.jpg","text":"TemporaryFile(/tmp/multipartBody2008606032261808517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105162669,"filename":"image_02112025_00_42_26_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/2/a714defc818f88512bab51be2b20082f.jpg","text":"TemporaryFile(/tmp/multipartBody7701898466855247433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105162669,"filename":"image_02112025_00_42_10_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/2/0f91679e08adc034a70c783f2aa047a5.jpg","text":"TemporaryFile(/tmp/multipartBody4511027649845563529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105162669,"filename":"image_02112025_00_42_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/2/9044205334c0b2480573d1482dd7cd32.jpg","text":"TemporaryFile(/tmp/multipartBody2919600744769752383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105162669,"filename":"image_02112025_00_42_19_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/2/30effe35320a659486d308de80a8bd5d.jpg","text":"TemporaryFile(/tmp/multipartBody7125735970217712711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105162669,"filename":"image_02112025_00_42_14_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/2/2ed63f1f89e4e58f2f0c4202cf3f178a.jpg","text":"TemporaryFile(/tmp/multipartBody9001986779440653857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105162669,"filename":"image_02112025_00_42_23_3626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864241","file1":"1391864232","file0":"1391864221","file4":"1391864252","file5":"1391864254","file3":"1391864250"},"map_files_photo_id_array":[{"photo_id":"1391864254","filename":"file5"},{"photo_id":"1391864241","filename":"file2"},{"photo_id":"1391864252","filename":"file4"},{"photo_id":"1391864232","filename":"file1"},{"photo_id":"1391864221","filename":"file0"},{"photo_id":"1391864250","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864254":["hashtag1","hashtag2"]},{"1391864221":["hashtag1","hashtag2"]},{"1391864241":["hashtag1","hashtag2"]},{"1391864250":["hashtag1","hashtag2"]},{"1391864232":["hashtag1","hashtag2"]},{"1391864252":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864254, 1391864221, 1391864241, 1391864250, 1391864232, 1391864252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81591486930847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:39:03.134615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_32_3506.jpg', '/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_34_2581.jpg', '/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_38_3609.jpg', '/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_40_2587.jpg', '/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_43_2638.jpg', '/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_47_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_32_3506.jpg
/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_34_2581.jpg
/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_38_3609.jpg
/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_40_2587.jpg
/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_43_2638.jpg
/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_47_3696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864275","1391864269","1391864260","1391864271","1391864265","1391864273"],"photo_ids_order":["1391864260","1391864265","1391864269","1391864271","1391864273","1391864275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a8e51745325d5293a98f409c36560bbe.jpg","text":"TemporaryFile(/tmp/multipartBody4839832235380912850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105204060,"filename":"image_02112025_00_42_47_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/2/8ea396c1c29049d83622242d3cc1d2a4.jpg","text":"TemporaryFile(/tmp/multipartBody3869439598972888120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105204060,"filename":"image_02112025_00_42_38_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/2/b5011fe424183e25953f034a78cf2ceb.jpg","text":"TemporaryFile(/tmp/multipartBody3147470364140318648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105204060,"filename":"image_02112025_00_42_32_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/2/7700b7dc82a7b02360dcb6e135c8bcc1.jpg","text":"TemporaryFile(/tmp/multipartBody3180909668318864754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105204060,"filename":"image_02112025_00_42_40_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/2/70d4fddc7f0a846579d63cd69028c37f.jpg","text":"TemporaryFile(/tmp/multipartBody1896619556310835846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105204060,"filename":"image_02112025_00_42_34_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/2/21a861845841db75656e44ca57b84c4f.jpg","text":"TemporaryFile(/tmp/multipartBody302348778450096897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105204060,"filename":"image_02112025_00_42_43_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864269","file1":"1391864265","file0":"1391864260","file4":"1391864273","file5":"1391864275","file3":"1391864271"},"map_files_photo_id_array":[{"photo_id":"1391864275","filename":"file5"},{"photo_id":"1391864269","filename":"file2"},{"photo_id":"1391864273","filename":"file4"},{"photo_id":"1391864265","filename":"file1"},{"photo_id":"1391864260","filename":"file0"},{"photo_id":"1391864271","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864275":["hashtag1","hashtag2"]},{"1391864269":["hashtag1","hashtag2"]},{"1391864260":["hashtag1","hashtag2"]},{"1391864271":["hashtag1","hashtag2"]},{"1391864265":["hashtag1","hashtag2"]},{"1391864273":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864275, 1391864269, 1391864260, 1391864271, 1391864265, 1391864273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31016492843628 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:39:42.215789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_49_2675.jpg', '/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_56_3561.jpg', '/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_58_2605.jpg', '/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_10_2812.jpg', '/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_14_3646.jpg', '/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_23_3723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_49_2675.jpg
/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_56_3561.jpg
/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_58_2605.jpg
/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_10_2812.jpg
/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_14_3646.jpg
/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_23_3723.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6370348930358887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:40:02.855082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_49_2675.jpg', '/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_56_3561.jpg', '/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_58_2605.jpg', '/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_10_2812.jpg', '/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_14_3646.jpg', '/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_23_3723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_49_2675.jpg
/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_56_3561.jpg
/home/pi/Desktop/images/02112025/00/42/image_02112025_00_42_58_2605.jpg
/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_10_2812.jpg
/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_14_3646.jpg
/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_23_3723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864318","1391864293","1391864305","1391864297","1391864301","1391864288"],"photo_ids_order":["1391864288","1391864293","1391864297","1391864301","1391864305","1391864318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/362f335ac882403c0b388a91b571a42c.jpg","text":"TemporaryFile(/tmp/multipartBody9008688137246962750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105263581,"filename":"image_02112025_00_43_23_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/2/4654296244b4c6afeaf35ed5b1a06b1c.jpg","text":"TemporaryFile(/tmp/multipartBody2262848169282317985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105263581,"filename":"image_02112025_00_42_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/2/9097995c726ce45c8b551d82600460c5.jpg","text":"TemporaryFile(/tmp/multipartBody9045169301511975700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105263581,"filename":"image_02112025_00_43_14_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/2/771cf74adfb71df0e92eeb6dd939670e.jpg","text":"TemporaryFile(/tmp/multipartBody2174931347268154586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105263581,"filename":"image_02112025_00_42_58_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/2/07e60293daae4d2b1e6e1c7b953be831.jpg","text":"TemporaryFile(/tmp/multipartBody947318836042907683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105263581,"filename":"image_02112025_00_43_10_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/2/bc7c7fd55b6e99d05c6ff5949bbf517e.jpg","text":"TemporaryFile(/tmp/multipartBody8944004876063500913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105263581,"filename":"image_02112025_00_42_49_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864297","file1":"1391864293","file0":"1391864288","file4":"1391864305","file5":"1391864318","file3":"1391864301"},"map_files_photo_id_array":[{"photo_id":"1391864318","filename":"file5"},{"photo_id":"1391864297","filename":"file2"},{"photo_id":"1391864305","filename":"file4"},{"photo_id":"1391864293","filename":"file1"},{"photo_id":"1391864288","filename":"file0"},{"photo_id":"1391864301","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864318":["hashtag1","hashtag2"]},{"1391864293":["hashtag1","hashtag2"]},{"1391864305":["hashtag1","hashtag2"]},{"1391864297":["hashtag1","hashtag2"]},{"1391864301":["hashtag1","hashtag2"]},{"1391864288":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864318, 1391864293, 1391864305, 1391864297, 1391864301, 1391864288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5482063293457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:40:42.412096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_28_2615.jpg', '/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_32_3762.jpg', '/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_34_2790.jpg', '/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_37_2628.jpg', '/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_41_3652.jpg', '/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_43_2750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_28_2615.jpg
/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_32_3762.jpg
/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_34_2790.jpg
/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_37_2628.jpg
/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_41_3652.jpg
/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_43_2750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864341","1391864344","1391864347","1391864351","1391864339","1391864348"],"photo_ids_order":["1391864339","1391864341","1391864344","1391864347","1391864348","1391864351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a4beb9bf55771223768c76d54fc48f64.jpg","text":"TemporaryFile(/tmp/multipartBody8252983773801231913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105303152,"filename":"image_02112025_00_43_32_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/2/fe5752727741ce105a5b549c0f0d7d8e.jpg","text":"TemporaryFile(/tmp/multipartBody3736609473595283848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105303152,"filename":"image_02112025_00_43_34_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/2/d76f4f54343e10252790b2f0b358b4a3.jpg","text":"TemporaryFile(/tmp/multipartBody6077941810367798671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105303152,"filename":"image_02112025_00_43_37_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/2/e302818102dc9bb6098701f8beb5d366.jpg","text":"TemporaryFile(/tmp/multipartBody6511202893085491577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105303152,"filename":"image_02112025_00_43_43_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/2/c9321e158cad1b6253e915afd14a5325.jpg","text":"TemporaryFile(/tmp/multipartBody3490631370042548738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105303152,"filename":"image_02112025_00_43_28_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/2/3d0ab8c905d4284b68289780405cf268.jpg","text":"TemporaryFile(/tmp/multipartBody1967803473422995336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105303152,"filename":"image_02112025_00_43_41_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864344","file1":"1391864341","file0":"1391864339","file4":"1391864348","file5":"1391864351","file3":"1391864347"},"map_files_photo_id_array":[{"photo_id":"1391864351","filename":"file5"},{"photo_id":"1391864344","filename":"file2"},{"photo_id":"1391864348","filename":"file4"},{"photo_id":"1391864341","filename":"file1"},{"photo_id":"1391864339","filename":"file0"},{"photo_id":"1391864347","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864341":["hashtag1","hashtag2"]},{"1391864344":["hashtag1","hashtag2"]},{"1391864347":["hashtag1","hashtag2"]},{"1391864351":["hashtag1","hashtag2"]},{"1391864339":["hashtag1","hashtag2"]},{"1391864348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864341, 1391864344, 1391864347, 1391864351, 1391864339, 1391864348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57627081871033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:41:22.592439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_46_2723.jpg', '/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_49_2694.jpg', '/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_52_3511.jpg', '/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_55_2678.jpg', '/home/pi/Desktop/images/02112025/00/43/image_02112025_00_44_01_3585.jpg', '/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_04_2618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_46_2723.jpg
/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_49_2694.jpg
/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_52_3511.jpg
/home/pi/Desktop/images/02112025/00/43/image_02112025_00_43_55_2678.jpg
/home/pi/Desktop/images/02112025/00/43/image_02112025_00_44_01_3585.jpg
/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_04_2618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864362","1391864359","1391864361","1391864364","1391864366","1391864369"],"photo_ids_order":["1391864359","1391864361","1391864362","1391864364","1391864366","1391864369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3b5da9771878e52436d5eab228fe1750.jpg","text":"TemporaryFile(/tmp/multipartBody8273048374007716354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105343273,"filename":"image_02112025_00_43_52_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/2/af7636b0863d7dff893984bafc2a1884.jpg","text":"TemporaryFile(/tmp/multipartBody9180563076384888888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105343273,"filename":"image_02112025_00_43_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/2/2a92c5decf675939a342ebc52fee2ee3.jpg","text":"TemporaryFile(/tmp/multipartBody5552667687502057792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105343273,"filename":"image_02112025_00_43_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/2/03e77f17ad1b1f748fa5f6ec43285e92.jpg","text":"TemporaryFile(/tmp/multipartBody7572202094070979160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105343273,"filename":"image_02112025_00_43_55_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/2/e1e10eb30b18c63fcfb7aa796b1a49b3.jpg","text":"TemporaryFile(/tmp/multipartBody3734137615986238284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105343273,"filename":"image_02112025_00_44_01_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/2/633a88aaf686fb626e980a901057e8b5.jpg","text":"TemporaryFile(/tmp/multipartBody2893807519045484620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105343273,"filename":"image_02112025_00_44_04_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864362","file1":"1391864361","file0":"1391864359","file4":"1391864366","file5":"1391864369","file3":"1391864364"},"map_files_photo_id_array":[{"photo_id":"1391864369","filename":"file5"},{"photo_id":"1391864362","filename":"file2"},{"photo_id":"1391864366","filename":"file4"},{"photo_id":"1391864361","filename":"file1"},{"photo_id":"1391864359","filename":"file0"},{"photo_id":"1391864364","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864362":["hashtag1","hashtag2"]},{"1391864359":["hashtag1","hashtag2"]},{"1391864361":["hashtag1","hashtag2"]},{"1391864364":["hashtag1","hashtag2"]},{"1391864366":["hashtag1","hashtag2"]},{"1391864369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864362, 1391864359, 1391864361, 1391864364, 1391864366, 1391864369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51188945770264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:42:02.317867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_13_9258.jpg', '/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_25_9848.jpg', '/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_26_1548.jpg', '/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_28_1624.jpg', '/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_33_1660.jpg', '/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_35_1640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_13_9258.jpg
/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_25_9848.jpg
/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_26_1548.jpg
/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_28_1624.jpg
/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_33_1660.jpg
/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_35_1640.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6595702171325684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:42:21.858263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_13_9258.jpg', '/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_25_9848.jpg', '/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_26_1548.jpg', '/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_28_1624.jpg', '/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_33_1660.jpg', '/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_35_1640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_13_9258.jpg
/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_25_9848.jpg
/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_26_1548.jpg
/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_28_1624.jpg
/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_33_1660.jpg
/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_35_1640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864423","1391864405","1391864398","1391864425","1391864428","1391864421"],"photo_ids_order":["1391864398","1391864405","1391864421","1391864423","1391864425","1391864428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6e10d3174de4cc6341338b7a2b08f44f.jpg","text":"TemporaryFile(/tmp/multipartBody2917014683264511365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105402495,"filename":"image_02112025_00_44_28_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/2/5d9e0f8a8cc4bb31d564ee40452c040c.jpg","text":"TemporaryFile(/tmp/multipartBody147281877191122745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105402495,"filename":"image_02112025_00_44_25_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ba74daa3d764bd113c8321b29b72432a.jpg","text":"TemporaryFile(/tmp/multipartBody7263063037866669195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105402495,"filename":"image_02112025_00_44_13_9258.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cc6872eaa8a1bc5ec9363554c96b8be1.jpg","text":"TemporaryFile(/tmp/multipartBody1993146622258734774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105402495,"filename":"image_02112025_00_44_33_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/2/efdc2f4ab83ad3b8b8ab04bae47f5415.jpg","text":"TemporaryFile(/tmp/multipartBody5603096250406248795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105402495,"filename":"image_02112025_00_44_35_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/2/4ed6a7439c429f7f85980cb0607bb670.jpg","text":"TemporaryFile(/tmp/multipartBody1510418581141583064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105402495,"filename":"image_02112025_00_44_26_1548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864421","file1":"1391864405","file0":"1391864398","file4":"1391864425","file5":"1391864428","file3":"1391864423"},"map_files_photo_id_array":[{"photo_id":"1391864428","filename":"file5"},{"photo_id":"1391864421","filename":"file2"},{"photo_id":"1391864425","filename":"file4"},{"photo_id":"1391864405","filename":"file1"},{"photo_id":"1391864398","filename":"file0"},{"photo_id":"1391864423","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864423":["hashtag1","hashtag2"]},{"1391864405":["hashtag1","hashtag2"]},{"1391864398":["hashtag1","hashtag2"]},{"1391864425":["hashtag1","hashtag2"]},{"1391864428":["hashtag1","hashtag2"]},{"1391864421":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864423, 1391864405, 1391864398, 1391864425, 1391864428, 1391864421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.699544191360474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:43:02.865048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_36_1576.jpg', '/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_38_1675.jpg', '/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_40_1783.jpg', '/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_46_2612.jpg', '/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_01_1690.jpg', '/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_02_1604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_36_1576.jpg
/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_38_1675.jpg
/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_40_1783.jpg
/home/pi/Desktop/images/02112025/00/44/image_02112025_00_44_46_2612.jpg
/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_01_1690.jpg
/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_02_1604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864443","1391864437","1391864433","1391864445","1391864439","1391864435"],"photo_ids_order":["1391864433","1391864435","1391864437","1391864439","1391864443","1391864445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4078bbeecc314979823b3e6ca14680eb.jpg","text":"TemporaryFile(/tmp/multipartBody7644706381701744226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105443646,"filename":"image_02112025_00_45_01_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3eafa64ab3fcab3e49ec3cb163131519.jpg","text":"TemporaryFile(/tmp/multipartBody5921743116650306242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105443646,"filename":"image_02112025_00_44_40_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/2/c50b4ab8f7705a4380523e0d9b3681e3.jpg","text":"TemporaryFile(/tmp/multipartBody3651946242776496813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105443646,"filename":"image_02112025_00_44_36_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/2/e4c5c60cd5700ede0d50c851a55b0fb4.jpg","text":"TemporaryFile(/tmp/multipartBody5158459571678468009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105443646,"filename":"image_02112025_00_45_02_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/2/34fc9bd2a907a73f135cb08ef228a1ff.jpg","text":"TemporaryFile(/tmp/multipartBody6631321971037128567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105443646,"filename":"image_02112025_00_44_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/2/dab6cfa3892bb3ff3ed4cee212207e54.jpg","text":"TemporaryFile(/tmp/multipartBody6796252632458894149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105443646,"filename":"image_02112025_00_44_38_1675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864437","file1":"1391864435","file0":"1391864433","file4":"1391864443","file5":"1391864445","file3":"1391864439"},"map_files_photo_id_array":[{"photo_id":"1391864445","filename":"file5"},{"photo_id":"1391864437","filename":"file2"},{"photo_id":"1391864443","filename":"file4"},{"photo_id":"1391864435","filename":"file1"},{"photo_id":"1391864433","filename":"file0"},{"photo_id":"1391864439","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864443":["hashtag1","hashtag2"]},{"1391864437":["hashtag1","hashtag2"]},{"1391864433":["hashtag1","hashtag2"]},{"1391864445":["hashtag1","hashtag2"]},{"1391864439":["hashtag1","hashtag2"]},{"1391864435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864443, 1391864437, 1391864433, 1391864445, 1391864439, 1391864435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5451819896698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:43:42.117069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_04_1799.jpg', '/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_06_1706.jpg', '/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_07_1738.jpg', '/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_10_2733.jpg', '/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_13_2529.jpg', '/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_16_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_04_1799.jpg
/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_06_1706.jpg
/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_07_1738.jpg
/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_10_2733.jpg
/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_13_2529.jpg
/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_16_3721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864461","1391864455","1391864458","1391864452","1391864448","1391864465"],"photo_ids_order":["1391864448","1391864452","1391864455","1391864458","1391864461","1391864465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/03fc606cf601813f4502480f5beb6f40.jpg","text":"TemporaryFile(/tmp/multipartBody6003413315592008907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105482872,"filename":"image_02112025_00_45_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/2/e64961055fa63f9b5b77def634643b09.jpg","text":"TemporaryFile(/tmp/multipartBody5302562942832893547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105482872,"filename":"image_02112025_00_45_07_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/2/fffb796d2e7bf1137fab65b5516353cf.jpg","text":"TemporaryFile(/tmp/multipartBody4480319319479936725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105482872,"filename":"image_02112025_00_45_10_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/2/45af1daf9cff3587d7aab24579605a52.jpg","text":"TemporaryFile(/tmp/multipartBody6429875438675417135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105482872,"filename":"image_02112025_00_45_06_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2bacdfdb19f9c06be0f12472cc3af87c.jpg","text":"TemporaryFile(/tmp/multipartBody3582148955047568376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105482872,"filename":"image_02112025_00_45_04_1799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/858882ef36de1d94b45b7c690e5370ad.jpg","text":"TemporaryFile(/tmp/multipartBody6349874971701935577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105482872,"filename":"image_02112025_00_45_16_3721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864455","file1":"1391864452","file0":"1391864448","file4":"1391864461","file5":"1391864465","file3":"1391864458"},"map_files_photo_id_array":[{"photo_id":"1391864465","filename":"file5"},{"photo_id":"1391864455","filename":"file2"},{"photo_id":"1391864461","filename":"file4"},{"photo_id":"1391864452","filename":"file1"},{"photo_id":"1391864448","filename":"file0"},{"photo_id":"1391864458","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864461":["hashtag1","hashtag2"]},{"1391864455":["hashtag1","hashtag2"]},{"1391864458":["hashtag1","hashtag2"]},{"1391864452":["hashtag1","hashtag2"]},{"1391864448":["hashtag1","hashtag2"]},{"1391864465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864461, 1391864455, 1391864458, 1391864452, 1391864448, 1391864465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65896916389465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:44:22.175205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_19_2685.jpg', '/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_22_2685.jpg', '/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_25_3578.jpg', '/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_31_2608.jpg', '/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_34_3691.jpg', '/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_37_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_19_2685.jpg
/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_22_2685.jpg
/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_25_3578.jpg
/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_31_2608.jpg
/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_34_3691.jpg
/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_37_2611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864473","1391864506","1391864514","1391864492","1391864480","1391864510"],"photo_ids_order":["1391864473","1391864480","1391864492","1391864506","1391864510","1391864514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f1606f2e97fe7d8a80f4bfc07e637f94.jpg","text":"TemporaryFile(/tmp/multipartBody1889769492617825332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105522856,"filename":"image_02112025_00_45_19_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/2/a430f2734da90e7cc6ab26e9c212b29a.jpg","text":"TemporaryFile(/tmp/multipartBody1157981533359901480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105522856,"filename":"image_02112025_00_45_31_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/2/1d541c16c3945491370b517417a583f6.jpg","text":"TemporaryFile(/tmp/multipartBody5338754600282889549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105522856,"filename":"image_02112025_00_45_37_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/2/2494674e4ee21615059b88b6b3568ab2.jpg","text":"TemporaryFile(/tmp/multipartBody7996237509706456070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105522856,"filename":"image_02112025_00_45_25_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/2/518f864c0b9c8e53df5e8849bbec2b06.jpg","text":"TemporaryFile(/tmp/multipartBody5515415604695160288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105522856,"filename":"image_02112025_00_45_22_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/2/30c8835349a46d78b563d718fe3b3458.jpg","text":"TemporaryFile(/tmp/multipartBody1084877721060692645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105522856,"filename":"image_02112025_00_45_34_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864492","file1":"1391864480","file0":"1391864473","file4":"1391864510","file5":"1391864514","file3":"1391864506"},"map_files_photo_id_array":[{"photo_id":"1391864514","filename":"file5"},{"photo_id":"1391864492","filename":"file2"},{"photo_id":"1391864510","filename":"file4"},{"photo_id":"1391864480","filename":"file1"},{"photo_id":"1391864473","filename":"file0"},{"photo_id":"1391864506","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864473":["hashtag1","hashtag2"]},{"1391864506":["hashtag1","hashtag2"]},{"1391864514":["hashtag1","hashtag2"]},{"1391864492":["hashtag1","hashtag2"]},{"1391864480":["hashtag1","hashtag2"]},{"1391864510":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864473, 1391864506, 1391864514, 1391864492, 1391864480, 1391864510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19839787483215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:45:02.999142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_40_2744.jpg', '/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_46_2760.jpg', '/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_49_2679.jpg', '/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_52_2771.jpg', '/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_55_3592.jpg', '/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_58_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_40_2744.jpg
/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_46_2760.jpg
/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_49_2679.jpg
/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_52_2771.jpg
/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_55_3592.jpg
/home/pi/Desktop/images/02112025/00/45/image_02112025_00_45_58_2610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864524","1391864520","1391864517","1391864531","1391864534","1391864528"],"photo_ids_order":["1391864517","1391864520","1391864524","1391864528","1391864531","1391864534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d64ca5c0963c3c403434559fe1447a79.jpg","text":"TemporaryFile(/tmp/multipartBody6675019034284690078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105563834,"filename":"image_02112025_00_45_49_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/2/27f563a12fd3574f06369278cc2c7ff2.jpg","text":"TemporaryFile(/tmp/multipartBody6244568471582418407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105563834,"filename":"image_02112025_00_45_46_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/2/a5736fa2bbb1e3e26254aa5b4edc5b32.jpg","text":"TemporaryFile(/tmp/multipartBody6676878789883047900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105563834,"filename":"image_02112025_00_45_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/2/df90c28c6fcb8afccda8f1fb26711e44.jpg","text":"TemporaryFile(/tmp/multipartBody6337737471919833331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105563834,"filename":"image_02112025_00_45_55_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/2/afee6317570c88d7841420cb45873c46.jpg","text":"TemporaryFile(/tmp/multipartBody6532903572032701746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105563834,"filename":"image_02112025_00_45_58_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/2/d2d2cacb7f628f3f84fcf73948094ceb.jpg","text":"TemporaryFile(/tmp/multipartBody467573374390531855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105563834,"filename":"image_02112025_00_45_52_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864524","file1":"1391864520","file0":"1391864517","file4":"1391864531","file5":"1391864534","file3":"1391864528"},"map_files_photo_id_array":[{"photo_id":"1391864534","filename":"file5"},{"photo_id":"1391864524","filename":"file2"},{"photo_id":"1391864531","filename":"file4"},{"photo_id":"1391864520","filename":"file1"},{"photo_id":"1391864517","filename":"file0"},{"photo_id":"1391864528","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864524":["hashtag1","hashtag2"]},{"1391864520":["hashtag1","hashtag2"]},{"1391864517":["hashtag1","hashtag2"]},{"1391864531":["hashtag1","hashtag2"]},{"1391864534":["hashtag1","hashtag2"]},{"1391864528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864524, 1391864520, 1391864517, 1391864531, 1391864534, 1391864528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94779348373413 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:45:42.562346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/45/image_02112025_00_46_01_3591.jpg', '/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_04_2608.jpg', '/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_07_2781.jpg', '/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_10_3693.jpg', '/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_18_2733.jpg', '/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_22_3149.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/45/image_02112025_00_46_01_3591.jpg
/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_04_2608.jpg
/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_07_2781.jpg
/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_10_3693.jpg
/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_18_2733.jpg
/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_22_3149.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864542","1391864551","1391864553","1391864547","1391864538","1391864555"],"photo_ids_order":["1391864538","1391864542","1391864547","1391864551","1391864553","1391864555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a2af854b44f92d595633c3a9d9e64b95.jpg","text":"TemporaryFile(/tmp/multipartBody1518658746809715898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105603288,"filename":"image_02112025_00_46_04_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/2/38ef396e9246baa2056f6c1335fa9b44.jpg","text":"TemporaryFile(/tmp/multipartBody2442194011131581982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105603288,"filename":"image_02112025_00_46_10_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/2/e781302043e85d8a4687cb6cb4406bc6.jpg","text":"TemporaryFile(/tmp/multipartBody58819913525759432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105603288,"filename":"image_02112025_00_46_18_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/2/06a8da95dc2ac41f5aa4b3aaf8a99e0e.jpg","text":"TemporaryFile(/tmp/multipartBody3273553540359710341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105603288,"filename":"image_02112025_00_46_07_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/2/6cd30104141ecbe73770647255019880.jpg","text":"TemporaryFile(/tmp/multipartBody944668053127292756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105603288,"filename":"image_02112025_00_46_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/2/03db43d4e2a693e46348d1a8df109730.jpg","text":"TemporaryFile(/tmp/multipartBody3638413050023356767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105603288,"filename":"image_02112025_00_46_22_3149.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864547","file1":"1391864542","file0":"1391864538","file4":"1391864553","file5":"1391864555","file3":"1391864551"},"map_files_photo_id_array":[{"photo_id":"1391864555","filename":"file5"},{"photo_id":"1391864547","filename":"file2"},{"photo_id":"1391864553","filename":"file4"},{"photo_id":"1391864542","filename":"file1"},{"photo_id":"1391864538","filename":"file0"},{"photo_id":"1391864551","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864542":["hashtag1","hashtag2"]},{"1391864551":["hashtag1","hashtag2"]},{"1391864553":["hashtag1","hashtag2"]},{"1391864547":["hashtag1","hashtag2"]},{"1391864538":["hashtag1","hashtag2"]},{"1391864555":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864542, 1391864551, 1391864553, 1391864547, 1391864538, 1391864555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52081060409546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:46:22.686761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_25_2900.jpg', '/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_28_3716.jpg', '/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_31_2726.jpg', '/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_40_2676.jpg', '/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_43_2699.jpg', '/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_46_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_25_2900.jpg
/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_28_3716.jpg
/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_31_2726.jpg
/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_40_2676.jpg
/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_43_2699.jpg
/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_46_3603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864562","1391864571","1391864565","1391864559","1391864564","1391864567"],"photo_ids_order":["1391864559","1391864562","1391864564","1391864565","1391864567","1391864571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c13e6f9562a765a90a0fe1a2e7d9c867.jpg","text":"TemporaryFile(/tmp/multipartBody7036455845564081791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105643375,"filename":"image_02112025_00_46_28_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/2/8ae9134292458b64bbb8adfaab08de74.jpg","text":"TemporaryFile(/tmp/multipartBody1827960163163930983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105643375,"filename":"image_02112025_00_46_46_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/2/84cf423141ca7a1801e17efec82ce710.jpg","text":"TemporaryFile(/tmp/multipartBody7647868780618634107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105643375,"filename":"image_02112025_00_46_40_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/2/e67c471c7c3f5be8ec4ce1c6029dd72f.jpg","text":"TemporaryFile(/tmp/multipartBody6048158209703044847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105643375,"filename":"image_02112025_00_46_25_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/2/0f9a9d7a2817b6c1718104ea91054eaa.jpg","text":"TemporaryFile(/tmp/multipartBody6005961937217699511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105643375,"filename":"image_02112025_00_46_31_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/2/bb2ec94364d30bddceeaa4aaae6abb80.jpg","text":"TemporaryFile(/tmp/multipartBody8663798795992345737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105643375,"filename":"image_02112025_00_46_43_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864564","file1":"1391864562","file0":"1391864559","file4":"1391864567","file5":"1391864571","file3":"1391864565"},"map_files_photo_id_array":[{"photo_id":"1391864571","filename":"file5"},{"photo_id":"1391864564","filename":"file2"},{"photo_id":"1391864567","filename":"file4"},{"photo_id":"1391864562","filename":"file1"},{"photo_id":"1391864559","filename":"file0"},{"photo_id":"1391864565","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864562":["hashtag1","hashtag2"]},{"1391864571":["hashtag1","hashtag2"]},{"1391864565":["hashtag1","hashtag2"]},{"1391864559":["hashtag1","hashtag2"]},{"1391864564":["hashtag1","hashtag2"]},{"1391864567":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864562, 1391864571, 1391864565, 1391864559, 1391864564, 1391864567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.170238971710205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:47:02.540922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_49_2645.jpg', '/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_55_3702.jpg', '/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_58_2764.jpg', '/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_01_2716.jpg', '/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_04_3562.jpg', '/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_07_2845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_49_2645.jpg
/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_55_3702.jpg
/home/pi/Desktop/images/02112025/00/46/image_02112025_00_46_58_2764.jpg
/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_01_2716.jpg
/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_04_3562.jpg
/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_07_2845.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864584","1391864587","1391864581","1391864589","1391864586","1391864596"],"photo_ids_order":["1391864581","1391864584","1391864586","1391864587","1391864589","1391864596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b38eeb8f6808ba8bccf32c9840799525.jpg","text":"TemporaryFile(/tmp/multipartBody3291232014070150846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105683378,"filename":"image_02112025_00_46_55_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/2/ed446e4919a81ede4d7f84271d46b79c.jpg","text":"TemporaryFile(/tmp/multipartBody2371620695439028087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105683378,"filename":"image_02112025_00_47_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/2/94f354aeda53389c0377f6fc90393151.jpg","text":"TemporaryFile(/tmp/multipartBody1042820999865134204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105683378,"filename":"image_02112025_00_46_49_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/2/c70758f1ec2bc103d7d7f6193ce8042e.jpg","text":"TemporaryFile(/tmp/multipartBody4197093662119729338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105683378,"filename":"image_02112025_00_47_04_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/2/37981c144b8466792fe52d236976d3ac.jpg","text":"TemporaryFile(/tmp/multipartBody6876874642329924915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105683378,"filename":"image_02112025_00_46_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/2/78ffb3f456e098db3a8a79f632dc313d.jpg","text":"TemporaryFile(/tmp/multipartBody805751825245268999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105683378,"filename":"image_02112025_00_47_07_2845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864586","file1":"1391864584","file0":"1391864581","file4":"1391864589","file5":"1391864596","file3":"1391864587"},"map_files_photo_id_array":[{"photo_id":"1391864596","filename":"file5"},{"photo_id":"1391864586","filename":"file2"},{"photo_id":"1391864589","filename":"file4"},{"photo_id":"1391864584","filename":"file1"},{"photo_id":"1391864581","filename":"file0"},{"photo_id":"1391864587","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864584":["hashtag1","hashtag2"]},{"1391864587":["hashtag1","hashtag2"]},{"1391864581":["hashtag1","hashtag2"]},{"1391864589":["hashtag1","hashtag2"]},{"1391864586":["hashtag1","hashtag2"]},{"1391864596":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864584, 1391864587, 1391864581, 1391864589, 1391864586, 1391864596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94479465484619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:47:41.950053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_10_2539.jpg', '/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_13_2856.jpg', '/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_16_3741.jpg', '/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_19_2761.jpg', '/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_22_2677.jpg', '/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_24_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_10_2539.jpg
/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_13_2856.jpg
/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_16_3741.jpg
/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_19_2761.jpg
/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_22_2677.jpg
/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_24_2710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864635","1391864638","1391864631","1391864640","1391864633","1391864627"],"photo_ids_order":["1391864627","1391864631","1391864633","1391864635","1391864638","1391864640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9b350d9aa0b17dbd381bf4db58507734.jpg","text":"TemporaryFile(/tmp/multipartBody4653982500340632603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105722661,"filename":"image_02112025_00_47_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/2/36c9b01514bef1116b99fd78b77cd6fa.jpg","text":"TemporaryFile(/tmp/multipartBody7997349539312364350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105722661,"filename":"image_02112025_00_47_22_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/2/47d54cc466bd8e2f805cf821f8047e66.jpg","text":"TemporaryFile(/tmp/multipartBody5169924820265003469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105722661,"filename":"image_02112025_00_47_13_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/2/1629cfaae14e376b2c6db38dcabc1af2.jpg","text":"TemporaryFile(/tmp/multipartBody3928538036927377715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105722661,"filename":"image_02112025_00_47_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/2/1f90d47fadf1705635b695184117a25d.jpg","text":"TemporaryFile(/tmp/multipartBody7978748849187949669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105722661,"filename":"image_02112025_00_47_16_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/2/c2e1dd94f5c51f01e3a2cc978233d8f7.jpg","text":"TemporaryFile(/tmp/multipartBody1638709958083628770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105722661,"filename":"image_02112025_00_47_10_2539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864633","file1":"1391864631","file0":"1391864627","file4":"1391864638","file5":"1391864640","file3":"1391864635"},"map_files_photo_id_array":[{"photo_id":"1391864640","filename":"file5"},{"photo_id":"1391864633","filename":"file2"},{"photo_id":"1391864638","filename":"file4"},{"photo_id":"1391864631","filename":"file1"},{"photo_id":"1391864627","filename":"file0"},{"photo_id":"1391864635","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864635":["hashtag1","hashtag2"]},{"1391864638":["hashtag1","hashtag2"]},{"1391864631":["hashtag1","hashtag2"]},{"1391864640":["hashtag1","hashtag2"]},{"1391864633":["hashtag1","hashtag2"]},{"1391864627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864635, 1391864638, 1391864631, 1391864640, 1391864633, 1391864627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24191427230835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:48:22.599951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_31_2710.jpg', '/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_34_2679.jpg', '/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_37_3659.jpg', '/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_40_2706.jpg', '/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_49_2777.jpg', '/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_52_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_31_2710.jpg
/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_34_2679.jpg
/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_37_3659.jpg
/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_40_2706.jpg
/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_49_2777.jpg
/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_52_2679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864686","1391864680","1391864662","1391864656","1391864682","1391864678"],"photo_ids_order":["1391864656","1391864662","1391864678","1391864680","1391864682","1391864686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a6b7beff7915ac25a9c38d03eae0a7ec.jpg","text":"TemporaryFile(/tmp/multipartBody5798634947971766503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105763272,"filename":"image_02112025_00_47_52_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/2/483ab9fd23227d02047a6f933de9c693.jpg","text":"TemporaryFile(/tmp/multipartBody7305195923043283592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105763272,"filename":"image_02112025_00_47_40_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/2/8bd9cdd1dbb1f35d754e6faf301b1cea.jpg","text":"TemporaryFile(/tmp/multipartBody6377524955682998548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105763272,"filename":"image_02112025_00_47_34_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/2/981b43fc9a2bcc21677cfed7bdca4ac3.jpg","text":"TemporaryFile(/tmp/multipartBody3231900407758366439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105763272,"filename":"image_02112025_00_47_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/2/7e325505e2982d79bc5073e0ad80872c.jpg","text":"TemporaryFile(/tmp/multipartBody6416764582238814178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105763272,"filename":"image_02112025_00_47_49_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/2/03c2234ee7e149b7a6d2c26c11dc4521.jpg","text":"TemporaryFile(/tmp/multipartBody2854751965167990182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105763272,"filename":"image_02112025_00_47_37_3659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864678","file1":"1391864662","file0":"1391864656","file4":"1391864682","file5":"1391864686","file3":"1391864680"},"map_files_photo_id_array":[{"photo_id":"1391864686","filename":"file5"},{"photo_id":"1391864678","filename":"file2"},{"photo_id":"1391864682","filename":"file4"},{"photo_id":"1391864662","filename":"file1"},{"photo_id":"1391864656","filename":"file0"},{"photo_id":"1391864680","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864686":["hashtag1","hashtag2"]},{"1391864680":["hashtag1","hashtag2"]},{"1391864662":["hashtag1","hashtag2"]},{"1391864656":["hashtag1","hashtag2"]},{"1391864682":["hashtag1","hashtag2"]},{"1391864678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864686, 1391864680, 1391864662, 1391864656, 1391864682, 1391864678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4557204246521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:49:02.697830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_55_3626.jpg', '/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_58_2695.jpg', '/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_07_3734.jpg', '/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_10_2574.jpg', '/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_13_2926.jpg', '/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_19_3160.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_55_3626.jpg
/home/pi/Desktop/images/02112025/00/47/image_02112025_00_47_58_2695.jpg
/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_07_3734.jpg
/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_10_2574.jpg
/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_13_2926.jpg
/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_19_3160.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864701","1391864707","1391864697","1391864700","1391864703","1391864705"],"photo_ids_order":["1391864697","1391864700","1391864701","1391864703","1391864705","1391864707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/731f987d33fc243da70f86daf6334765.jpg","text":"TemporaryFile(/tmp/multipartBody224087989922834901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105804891,"filename":"image_02112025_00_48_07_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/2/294a355086e80df66e47af058238f410.jpg","text":"TemporaryFile(/tmp/multipartBody5243983442885769247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105804891,"filename":"image_02112025_00_48_19_3160.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/deaf5e22c0e7c908d995713ac7052dd9.jpg","text":"TemporaryFile(/tmp/multipartBody3159432488459485195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105804891,"filename":"image_02112025_00_47_55_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/2/c07b11292a3633379675af877a8f2a8e.jpg","text":"TemporaryFile(/tmp/multipartBody7376486439029896945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105804891,"filename":"image_02112025_00_47_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/2/36fc978ed2e444df538899f384e1b1c5.jpg","text":"TemporaryFile(/tmp/multipartBody2820213580618380780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105804891,"filename":"image_02112025_00_48_10_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/2/71715e44b19cefa07bfbd4d76ab795e0.jpg","text":"TemporaryFile(/tmp/multipartBody2489404081667537606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105804891,"filename":"image_02112025_00_48_13_2926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864701","file1":"1391864700","file0":"1391864697","file4":"1391864705","file5":"1391864707","file3":"1391864703"},"map_files_photo_id_array":[{"photo_id":"1391864707","filename":"file5"},{"photo_id":"1391864701","filename":"file2"},{"photo_id":"1391864705","filename":"file4"},{"photo_id":"1391864700","filename":"file1"},{"photo_id":"1391864697","filename":"file0"},{"photo_id":"1391864703","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864701":["hashtag1","hashtag2"]},{"1391864707":["hashtag1","hashtag2"]},{"1391864697":["hashtag1","hashtag2"]},{"1391864700":["hashtag1","hashtag2"]},{"1391864703":["hashtag1","hashtag2"]},{"1391864705":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864701, 1391864707, 1391864697, 1391864700, 1391864703, 1391864705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91917109489441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:49:41.866984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_25_2714.jpg', '/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_30_2992.jpg', '/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_34_3600.jpg', '/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_37_2672.jpg', '/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_39_2578.jpg', '/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_43_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_25_2714.jpg
/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_30_2992.jpg
/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_34_3600.jpg
/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_37_2672.jpg
/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_39_2578.jpg
/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_43_3594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864729","1391864770","1391864767","1391864766","1391864733","1391864765"],"photo_ids_order":["1391864729","1391864733","1391864765","1391864766","1391864767","1391864770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1d036c72077abac5a1ca642447496720.jpg","text":"TemporaryFile(/tmp/multipartBody722427752579865999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105842579,"filename":"image_02112025_00_48_25_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/2/bd297c053aeab69c338aa84b4232ad4b.jpg","text":"TemporaryFile(/tmp/multipartBody1415684727736771922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105842579,"filename":"image_02112025_00_48_43_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/2/543cc4fb4176999c0687ec02aec59d03.jpg","text":"TemporaryFile(/tmp/multipartBody3440553406245429943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105842579,"filename":"image_02112025_00_48_39_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/2/674cfc0aaa9aef9fbc1e5dc17f017b47.jpg","text":"TemporaryFile(/tmp/multipartBody4480690964152401722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105842579,"filename":"image_02112025_00_48_37_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/2/a0419a8fb08bb28fa7da7f1661eb8098.jpg","text":"TemporaryFile(/tmp/multipartBody3682502304731937167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105842579,"filename":"image_02112025_00_48_30_2992.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/856f647455e9df98501b856a44b9df8c.jpg","text":"TemporaryFile(/tmp/multipartBody96877911814235361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105842579,"filename":"image_02112025_00_48_34_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864765","file1":"1391864733","file0":"1391864729","file4":"1391864767","file5":"1391864770","file3":"1391864766"},"map_files_photo_id_array":[{"photo_id":"1391864770","filename":"file5"},{"photo_id":"1391864765","filename":"file2"},{"photo_id":"1391864767","filename":"file4"},{"photo_id":"1391864733","filename":"file1"},{"photo_id":"1391864729","filename":"file0"},{"photo_id":"1391864766","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864729":["hashtag1","hashtag2"]},{"1391864770":["hashtag1","hashtag2"]},{"1391864767":["hashtag1","hashtag2"]},{"1391864766":["hashtag1","hashtag2"]},{"1391864733":["hashtag1","hashtag2"]},{"1391864765":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864729, 1391864770, 1391864767, 1391864766, 1391864733, 1391864765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6454496383667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:50:22.057150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_45_2534.jpg', '/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_49_3792.jpg', '/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_54_2573.jpg', '/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_03_2724.jpg', '/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_07_3810.jpg', '/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_10_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_45_2534.jpg
/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_49_3792.jpg
/home/pi/Desktop/images/02112025/00/48/image_02112025_00_48_54_2573.jpg
/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_03_2724.jpg
/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_07_3810.jpg
/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_10_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864813","1391864791","1391864779","1391864787","1391864775","1391864817"],"photo_ids_order":["1391864775","1391864779","1391864787","1391864791","1391864813","1391864817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/152771c419971e9ce086f92c244d1d75.jpg","text":"TemporaryFile(/tmp/multipartBody1550380899671416814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105882737,"filename":"image_02112025_00_49_07_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/2/53e5347c7aaab531d2899d33ea3e6a74.jpg","text":"TemporaryFile(/tmp/multipartBody2517882935757775374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105882737,"filename":"image_02112025_00_49_03_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/2/8efe8875b0a4672861ecf9efe93d8e15.jpg","text":"TemporaryFile(/tmp/multipartBody2308167702725168522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105882737,"filename":"image_02112025_00_48_49_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/2/c545ddace627c43fdb06be1f5994fda1.jpg","text":"TemporaryFile(/tmp/multipartBody8920566982139001330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105882737,"filename":"image_02112025_00_48_54_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/2/8d9124ffa1c5277efc782120659d248e.jpg","text":"TemporaryFile(/tmp/multipartBody3147353752732512721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105882737,"filename":"image_02112025_00_48_45_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/2/d97f8a404e97d471a01aef398169f8bb.jpg","text":"TemporaryFile(/tmp/multipartBody7724352119993846019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105882737,"filename":"image_02112025_00_49_10_2676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864787","file1":"1391864779","file0":"1391864775","file4":"1391864813","file5":"1391864817","file3":"1391864791"},"map_files_photo_id_array":[{"photo_id":"1391864817","filename":"file5"},{"photo_id":"1391864787","filename":"file2"},{"photo_id":"1391864813","filename":"file4"},{"photo_id":"1391864779","filename":"file1"},{"photo_id":"1391864775","filename":"file0"},{"photo_id":"1391864791","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864813":["hashtag1","hashtag2"]},{"1391864791":["hashtag1","hashtag2"]},{"1391864779":["hashtag1","hashtag2"]},{"1391864787":["hashtag1","hashtag2"]},{"1391864775":["hashtag1","hashtag2"]},{"1391864817":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864813, 1391864791, 1391864779, 1391864787, 1391864775, 1391864817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.590497732162476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:51:02.848163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_12_2572.jpg', '/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_19_2587.jpg', '/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_22_3581.jpg', '/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_25_2539.jpg', '/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_27_2572.jpg', '/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_31_3818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_12_2572.jpg
/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_19_2587.jpg
/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_22_3581.jpg
/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_25_2539.jpg
/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_27_2572.jpg
/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_31_3818.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864823","1391864835","1391864828","1391864837","1391864831","1391864825"],"photo_ids_order":["1391864823","1391864825","1391864828","1391864831","1391864835","1391864837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c4eb13bd1f66c3323c33a04a10d26e40.jpg","text":"TemporaryFile(/tmp/multipartBody3528151806520229483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105923681,"filename":"image_02112025_00_49_12_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/2/21d0f727742b291d731fc0d28282a582.jpg","text":"TemporaryFile(/tmp/multipartBody5123296054107958950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105923681,"filename":"image_02112025_00_49_27_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/2/9bd6d365bbb0974e47d811d791c93d4f.jpg","text":"TemporaryFile(/tmp/multipartBody3147404391200730451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105923681,"filename":"image_02112025_00_49_22_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/2/ce506330ef9af22938ed8cf04702eb0b.jpg","text":"TemporaryFile(/tmp/multipartBody4859380743310655700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105923681,"filename":"image_02112025_00_49_31_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/2/c9e4451bb179ad0b86f6c6c6d4faedba.jpg","text":"TemporaryFile(/tmp/multipartBody545619458670014709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105923681,"filename":"image_02112025_00_49_25_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/2/4d8cdcd0a4b930931a3bbb536d27eb61.jpg","text":"TemporaryFile(/tmp/multipartBody9028025041316346173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105923681,"filename":"image_02112025_00_49_19_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864828","file1":"1391864825","file0":"1391864823","file4":"1391864835","file5":"1391864837","file3":"1391864831"},"map_files_photo_id_array":[{"photo_id":"1391864837","filename":"file5"},{"photo_id":"1391864828","filename":"file2"},{"photo_id":"1391864835","filename":"file4"},{"photo_id":"1391864825","filename":"file1"},{"photo_id":"1391864823","filename":"file0"},{"photo_id":"1391864831","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864823":["hashtag1","hashtag2"]},{"1391864835":["hashtag1","hashtag2"]},{"1391864828":["hashtag1","hashtag2"]},{"1391864837":["hashtag1","hashtag2"]},{"1391864831":["hashtag1","hashtag2"]},{"1391864825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864823, 1391864835, 1391864828, 1391864837, 1391864831, 1391864825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03009247779846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:51:42.279889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_34_2938.jpg', '/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_37_2583.jpg', '/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_39_2677.jpg', '/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_43_3770.jpg', '/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_46_2771.jpg', '/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_48_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_34_2938.jpg
/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_37_2583.jpg
/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_39_2677.jpg
/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_43_3770.jpg
/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_46_2771.jpg
/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_48_2626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864881","1391864854","1391864877","1391864913","1391864891","1391864915"],"photo_ids_order":["1391864854","1391864877","1391864881","1391864891","1391864913","1391864915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e6f88eabfd547bec995379bf076b65bf.jpg","text":"TemporaryFile(/tmp/multipartBody7638989399578264368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105962994,"filename":"image_02112025_00_49_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/2/aea30607237741789e4ca635e9f6a2fe.jpg","text":"TemporaryFile(/tmp/multipartBody8543553057767960171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105962994,"filename":"image_02112025_00_49_34_2938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2e5fd2cb1cd75ed15766c9d13d5f3ef9.jpg","text":"TemporaryFile(/tmp/multipartBody3762845418294290574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105962994,"filename":"image_02112025_00_49_37_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/2/59288aab31b8385cd957b2a51d884a0c.jpg","text":"TemporaryFile(/tmp/multipartBody1022692898269628171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105962994,"filename":"image_02112025_00_49_46_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/2/cae5cb140a7c28038b2719923b469cbf.jpg","text":"TemporaryFile(/tmp/multipartBody8061676955646237375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105962994,"filename":"image_02112025_00_49_43_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/2/90d5baccd01b1bfca4b85ddc40238bb6.jpg","text":"TemporaryFile(/tmp/multipartBody2145680062565617226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762105962994,"filename":"image_02112025_00_49_48_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864881","file1":"1391864877","file0":"1391864854","file4":"1391864913","file5":"1391864915","file3":"1391864891"},"map_files_photo_id_array":[{"photo_id":"1391864915","filename":"file5"},{"photo_id":"1391864881","filename":"file2"},{"photo_id":"1391864913","filename":"file4"},{"photo_id":"1391864877","filename":"file1"},{"photo_id":"1391864854","filename":"file0"},{"photo_id":"1391864891","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864881":["hashtag1","hashtag2"]},{"1391864854":["hashtag1","hashtag2"]},{"1391864877":["hashtag1","hashtag2"]},{"1391864913":["hashtag1","hashtag2"]},{"1391864891":["hashtag1","hashtag2"]},{"1391864915":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864881, 1391864854, 1391864877, 1391864913, 1391864891, 1391864915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46237874031067 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:52:22.430925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_55_2833.jpg', '/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_57_2602.jpg', '/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_21_23378.jpg', '/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_22_1547.jpg', '/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_24_1537.jpg', '/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_25_1522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_55_2833.jpg
/home/pi/Desktop/images/02112025/00/49/image_02112025_00_49_57_2602.jpg
/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_21_23378.jpg
/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_22_1547.jpg
/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_24_1537.jpg
/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_25_1522.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864950","1391864944","1391864947","1391864926","1391864954","1391864936"],"photo_ids_order":["1391864926","1391864936","1391864944","1391864947","1391864950","1391864954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9d8089830855148654dd2648c234309d.jpg","text":"TemporaryFile(/tmp/multipartBody7791428080966649384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106003164,"filename":"image_02112025_00_50_24_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/2/4ac13cc5e65fb4d6efab86ce26fa5866.jpg","text":"TemporaryFile(/tmp/multipartBody508915656156434795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106003164,"filename":"image_02112025_00_50_21_23378.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e0798e4da6c4a3774eb34cae6a0a12da.jpg","text":"TemporaryFile(/tmp/multipartBody4782526780964894075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106003164,"filename":"image_02112025_00_50_22_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/2/6a7a9ec18568a28851485840159be2e1.jpg","text":"TemporaryFile(/tmp/multipartBody4583499126865413846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106003164,"filename":"image_02112025_00_49_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/2/133c73a0721105f7930049653303cf35.jpg","text":"TemporaryFile(/tmp/multipartBody4792550273489533510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106003164,"filename":"image_02112025_00_50_25_1522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/926c3b5d62753970021c7dbec5396f17.jpg","text":"TemporaryFile(/tmp/multipartBody4262475104822444649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106003164,"filename":"image_02112025_00_49_57_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864944","file1":"1391864936","file0":"1391864926","file4":"1391864950","file5":"1391864954","file3":"1391864947"},"map_files_photo_id_array":[{"photo_id":"1391864954","filename":"file5"},{"photo_id":"1391864944","filename":"file2"},{"photo_id":"1391864950","filename":"file4"},{"photo_id":"1391864936","filename":"file1"},{"photo_id":"1391864926","filename":"file0"},{"photo_id":"1391864947","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864950":["hashtag1","hashtag2"]},{"1391864944":["hashtag1","hashtag2"]},{"1391864947":["hashtag1","hashtag2"]},{"1391864926":["hashtag1","hashtag2"]},{"1391864954":["hashtag1","hashtag2"]},{"1391864936":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864950, 1391864944, 1391864947, 1391864926, 1391864954, 1391864936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.866077184677124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:53:03.368045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_27_1635.jpg', '/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_29_1573.jpg', '/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_32_1669.jpg', '/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_34_1615.jpg', '/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_35_1712.jpg', '/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_37_1670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_27_1635.jpg
/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_29_1573.jpg
/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_32_1669.jpg
/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_34_1615.jpg
/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_35_1712.jpg
/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_37_1670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864968","1391864970","1391864963","1391864972","1391864966","1391864960"],"photo_ids_order":["1391864960","1391864963","1391864966","1391864968","1391864970","1391864972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/822e1d28173bef24b17f6e7c8b611455.jpg","text":"TemporaryFile(/tmp/multipartBody1280177939854074223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106044193,"filename":"image_02112025_00_50_34_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/2/cf3d588434beb61c21620cd7fa096c94.jpg","text":"TemporaryFile(/tmp/multipartBody5799298152403899172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106044193,"filename":"image_02112025_00_50_35_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/2/007396ae948a5149392c0b9685da2c68.jpg","text":"TemporaryFile(/tmp/multipartBody8695007087716591503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106044193,"filename":"image_02112025_00_50_29_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/2/4c239801d3c81ab20847f35b35574b17.jpg","text":"TemporaryFile(/tmp/multipartBody5194985253970940286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106044193,"filename":"image_02112025_00_50_37_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/2/6317fc25475aab447b54bcefad607160.jpg","text":"TemporaryFile(/tmp/multipartBody6989234866370442722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106044193,"filename":"image_02112025_00_50_32_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/2/ff84ee443255bd000927fd1c083eb716.jpg","text":"TemporaryFile(/tmp/multipartBody7178464580532601271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106044193,"filename":"image_02112025_00_50_27_1635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864966","file1":"1391864963","file0":"1391864960","file4":"1391864970","file5":"1391864972","file3":"1391864968"},"map_files_photo_id_array":[{"photo_id":"1391864972","filename":"file5"},{"photo_id":"1391864966","filename":"file2"},{"photo_id":"1391864970","filename":"file4"},{"photo_id":"1391864963","filename":"file1"},{"photo_id":"1391864960","filename":"file0"},{"photo_id":"1391864968","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864968":["hashtag1","hashtag2"]},{"1391864970":["hashtag1","hashtag2"]},{"1391864963":["hashtag1","hashtag2"]},{"1391864972":["hashtag1","hashtag2"]},{"1391864966":["hashtag1","hashtag2"]},{"1391864960":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864968, 1391864970, 1391864963, 1391864972, 1391864966, 1391864960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.312092304229736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:53:42.670199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_38_1558.jpg', '/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_42_1605.jpg', '/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_43_1648.jpg', '/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_46_2609.jpg', '/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_07_21257.jpg', '/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_10_1649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_38_1558.jpg
/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_42_1605.jpg
/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_43_1648.jpg
/home/pi/Desktop/images/02112025/00/50/image_02112025_00_50_46_2609.jpg
/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_07_21257.jpg
/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_10_1649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391864989","1391864983","1391864977","1391864985","1391864979","1391864981"],"photo_ids_order":["1391864977","1391864979","1391864981","1391864983","1391864985","1391864989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ce42e58d7535c68de44705321a93168a.jpg","text":"TemporaryFile(/tmp/multipartBody1351488487126561181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106083383,"filename":"image_02112025_00_51_10_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/2/2ddb6ca348ff8252129be04fc02f064e.jpg","text":"TemporaryFile(/tmp/multipartBody1031001701434155342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106083383,"filename":"image_02112025_00_50_46_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/2/5be50ed0f25ca94e8e07d9074eb9340e.jpg","text":"TemporaryFile(/tmp/multipartBody6544986702778753516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106083383,"filename":"image_02112025_00_50_38_1558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/94969a215a3e8c7be7d1d03f65efa9c3.jpg","text":"TemporaryFile(/tmp/multipartBody6645265479271240723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106083383,"filename":"image_02112025_00_51_07_21257.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a726aab6ffe59ec41ffdee6d2d4538c8.jpg","text":"TemporaryFile(/tmp/multipartBody1214965706052303429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106083383,"filename":"image_02112025_00_50_42_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/2/5dbc19a41e905e350035a77dbad15db0.jpg","text":"TemporaryFile(/tmp/multipartBody3042751778317140535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106083383,"filename":"image_02112025_00_50_43_1648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391864981","file1":"1391864979","file0":"1391864977","file4":"1391864985","file5":"1391864989","file3":"1391864983"},"map_files_photo_id_array":[{"photo_id":"1391864989","filename":"file5"},{"photo_id":"1391864981","filename":"file2"},{"photo_id":"1391864985","filename":"file4"},{"photo_id":"1391864979","filename":"file1"},{"photo_id":"1391864977","filename":"file0"},{"photo_id":"1391864983","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391864989":["hashtag1","hashtag2"]},{"1391864983":["hashtag1","hashtag2"]},{"1391864977":["hashtag1","hashtag2"]},{"1391864985":["hashtag1","hashtag2"]},{"1391864979":["hashtag1","hashtag2"]},{"1391864981":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391864989, 1391864983, 1391864977, 1391864985, 1391864979, 1391864981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66381621360779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:54:21.932710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_15_1788.jpg', '/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_17_1616.jpg', '/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_19_1950.jpg', '/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_21_1801.jpg', '/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_22_1698.jpg', '/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_24_1627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_15_1788.jpg
/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_17_1616.jpg
/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_19_1950.jpg
/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_21_1801.jpg
/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_22_1698.jpg
/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_24_1627.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5930736064910889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:54:41.900238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_15_1788.jpg', '/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_17_1616.jpg', '/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_19_1950.jpg', '/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_21_1801.jpg', '/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_22_1698.jpg', '/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_24_1627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_15_1788.jpg
/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_17_1616.jpg
/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_19_1950.jpg
/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_21_1801.jpg
/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_22_1698.jpg
/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_24_1627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391865058","1391865025","1391865051","1391865044","1391865061","1391865055"],"photo_ids_order":["1391865025","1391865044","1391865051","1391865055","1391865058","1391865061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5c433e3857407b13910fd56d50ca5aa0.jpg","text":"TemporaryFile(/tmp/multipartBody461130975034440944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106142609,"filename":"image_02112025_00_51_22_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/2/2249db5d6e851dfdc8e366faa6ca2a4c.jpg","text":"TemporaryFile(/tmp/multipartBody929294726956170554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106142609,"filename":"image_02112025_00_51_15_1788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8d31f23cb2f3d44bd659f75dcff1b7db.jpg","text":"TemporaryFile(/tmp/multipartBody1398008255841588536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106142609,"filename":"image_02112025_00_51_19_1950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c78d98d90487799798c987052e235105.jpg","text":"TemporaryFile(/tmp/multipartBody6097320668913361054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106142609,"filename":"image_02112025_00_51_17_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/2/6fff1267b12288654bb7a01fbc0e3c1a.jpg","text":"TemporaryFile(/tmp/multipartBody5660668833192060835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106142609,"filename":"image_02112025_00_51_24_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/2/b194f3d0d5a0476d076c5a9f11d08f21.jpg","text":"TemporaryFile(/tmp/multipartBody6207673415067719874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106142609,"filename":"image_02112025_00_51_21_1801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391865051","file1":"1391865044","file0":"1391865025","file4":"1391865058","file5":"1391865061","file3":"1391865055"},"map_files_photo_id_array":[{"photo_id":"1391865061","filename":"file5"},{"photo_id":"1391865051","filename":"file2"},{"photo_id":"1391865058","filename":"file4"},{"photo_id":"1391865044","filename":"file1"},{"photo_id":"1391865025","filename":"file0"},{"photo_id":"1391865055","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391865058":["hashtag1","hashtag2"]},{"1391865025":["hashtag1","hashtag2"]},{"1391865051":["hashtag1","hashtag2"]},{"1391865044":["hashtag1","hashtag2"]},{"1391865061":["hashtag1","hashtag2"]},{"1391865055":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391865058, 1391865025, 1391865051, 1391865044, 1391865061, 1391865055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03751826286316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 18:55:21.996004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_26_1880.jpg', '/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_27_1603.jpg', '/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_29_1643.jpg', '/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_31_1569.jpg', '/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_33_2733.jpg', '/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_39_3023.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_26_1880.jpg
/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_27_1603.jpg
/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_29_1643.jpg
/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_31_1569.jpg
/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_33_2733.jpg
/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_39_3023.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391865079","1391865084","1391865066","1391865069","1391865073","1391865076"],"photo_ids_order":["1391865066","1391865069","1391865073","1391865076","1391865079","1391865084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/08308742e16f911661b00956fdcba05f.jpg","text":"TemporaryFile(/tmp/multipartBody8115368456679340522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106182763,"filename":"image_02112025_00_51_33_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/2/95365628903bb41f9f21748446ead462.jpg","text":"TemporaryFile(/tmp/multipartBody8718501732778995777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106182763,"filename":"image_02112025_00_51_39_3023.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/121180c6001cd803b5712cc1685a9ab3.jpg","text":"TemporaryFile(/tmp/multipartBody8105678115140362602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106182763,"filename":"image_02112025_00_51_26_1880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/15321220da26ba7a290963439fb492a1.jpg","text":"TemporaryFile(/tmp/multipartBody4866122072352888691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106182763,"filename":"image_02112025_00_51_27_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/2/7479c44ec50501ab2e6d759468e0ea3c.jpg","text":"TemporaryFile(/tmp/multipartBody5723992924147948804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106182763,"filename":"image_02112025_00_51_29_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/2/491d2617806935661a9669a6727cb29d.jpg","text":"TemporaryFile(/tmp/multipartBody8248931234353265288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106182763,"filename":"image_02112025_00_51_31_1569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391865073","file1":"1391865069","file0":"1391865066","file4":"1391865079","file5":"1391865084","file3":"1391865076"},"map_files_photo_id_array":[{"photo_id":"1391865084","filename":"file5"},{"photo_id":"1391865073","filename":"file2"},{"photo_id":"1391865079","filename":"file4"},{"photo_id":"1391865069","filename":"file1"},{"photo_id":"1391865066","filename":"file0"},{"photo_id":"1391865076","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391865079":["hashtag1","hashtag2"]},{"1391865084":["hashtag1","hashtag2"]},{"1391865066":["hashtag1","hashtag2"]},{"1391865069":["hashtag1","hashtag2"]},{"1391865073":["hashtag1","hashtag2"]},{"1391865076":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391865079, 1391865084, 1391865066, 1391865069, 1391865073, 1391865076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79049730300903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:56:02.580985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_48_2830.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_03_15002.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_07_1649.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_08_1708.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_10_1850.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_12_1681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/51/image_02112025_00_51_48_2830.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_03_15002.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_07_1649.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_08_1708.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_10_1850.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_12_1681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391865106","1391865099","1391865103","1391865101","1391865094","1391865097"],"photo_ids_order":["1391865094","1391865097","1391865099","1391865101","1391865103","1391865106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a05446a4be85a5089b626d226da99b3f.jpg","text":"TemporaryFile(/tmp/multipartBody3063504478280642034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106223334,"filename":"image_02112025_00_52_12_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/2/0355c7a2a9419794cc1c7d0ccb2d10a2.jpg","text":"TemporaryFile(/tmp/multipartBody995660254680021040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106223334,"filename":"image_02112025_00_52_07_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/2/67ac4108762f6316be3fc9790368a579.jpg","text":"TemporaryFile(/tmp/multipartBody6630254903168914102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106223334,"filename":"image_02112025_00_52_10_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/2/561426cad650f2b0f6a81b05f5885a00.jpg","text":"TemporaryFile(/tmp/multipartBody6956625237449961651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106223334,"filename":"image_02112025_00_52_08_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/2/73c4a0b18c5407e0f2d7944076514cb1.jpg","text":"TemporaryFile(/tmp/multipartBody1283062887308916014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106223334,"filename":"image_02112025_00_51_48_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/2/13ea95df8a1e7b5dbbf0610bed148940.jpg","text":"TemporaryFile(/tmp/multipartBody4607877956646911064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106223334,"filename":"image_02112025_00_52_03_15002.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391865099","file1":"1391865097","file0":"1391865094","file4":"1391865103","file5":"1391865106","file3":"1391865101"},"map_files_photo_id_array":[{"photo_id":"1391865106","filename":"file5"},{"photo_id":"1391865099","filename":"file2"},{"photo_id":"1391865103","filename":"file4"},{"photo_id":"1391865097","filename":"file1"},{"photo_id":"1391865094","filename":"file0"},{"photo_id":"1391865101","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391865106":["hashtag1","hashtag2"]},{"1391865099":["hashtag1","hashtag2"]},{"1391865103":["hashtag1","hashtag2"]},{"1391865101":["hashtag1","hashtag2"]},{"1391865094":["hashtag1","hashtag2"]},{"1391865097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391865106, 1391865099, 1391865103, 1391865101, 1391865094, 1391865097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.696709394454956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:56:42.150331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_13_1517.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_15_1548.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_17_1699.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_18_1634.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_21_2603.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_25_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_13_1517.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_15_1548.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_17_1699.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_18_1634.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_21_2603.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_25_3670.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6195707321166992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:57:03.068671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_13_1517.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_15_1548.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_17_1699.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_18_1634.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_21_2603.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_25_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_13_1517.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_15_1548.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_17_1699.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_18_1634.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_21_2603.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_25_3670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391865127","1391865129","1391865138","1391865131","1391865125","1391865134"],"photo_ids_order":["1391865125","1391865127","1391865129","1391865131","1391865134","1391865138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f707371240095b195e399f0c45a92c74.jpg","text":"TemporaryFile(/tmp/multipartBody5250624676928954220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106283846,"filename":"image_02112025_00_52_15_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/03f005605c76f45960bac95a26d75c2c.jpg","text":"TemporaryFile(/tmp/multipartBody9203627291072739638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106283846,"filename":"image_02112025_00_52_17_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/2/0c034f2b5b518b27fe83c86a48989667.jpg","text":"TemporaryFile(/tmp/multipartBody3483190733481484985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106283846,"filename":"image_02112025_00_52_25_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/2/64f73c3122df9bea668155ce00d0c6f7.jpg","text":"TemporaryFile(/tmp/multipartBody5000609890824730622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106283846,"filename":"image_02112025_00_52_18_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/2/fe5f6d2616f4d0ec66e4fe136ecf6b64.jpg","text":"TemporaryFile(/tmp/multipartBody4467376820827719736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106283846,"filename":"image_02112025_00_52_13_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/2/22964475c9b5bee8405f34945fb72b1e.jpg","text":"TemporaryFile(/tmp/multipartBody4377817900019031515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106283846,"filename":"image_02112025_00_52_21_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391865129","file1":"1391865127","file0":"1391865125","file4":"1391865134","file5":"1391865138","file3":"1391865131"},"map_files_photo_id_array":[{"photo_id":"1391865138","filename":"file5"},{"photo_id":"1391865129","filename":"file2"},{"photo_id":"1391865134","filename":"file4"},{"photo_id":"1391865127","filename":"file1"},{"photo_id":"1391865125","filename":"file0"},{"photo_id":"1391865131","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391865127":["hashtag1","hashtag2"]},{"1391865129":["hashtag1","hashtag2"]},{"1391865138":["hashtag1","hashtag2"]},{"1391865131":["hashtag1","hashtag2"]},{"1391865125":["hashtag1","hashtag2"]},{"1391865134":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391865127, 1391865129, 1391865138, 1391865131, 1391865125, 1391865134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16579079627991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:57:42.324259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_30_2776.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_34_3657.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_42_3613.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_45_2764.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_48_2644.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_51_3556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_30_2776.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_34_3657.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_42_3613.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_45_2764.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_48_2644.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_51_3556.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6230931282043457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 18:59:03.371873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_30_2776.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_34_3657.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_42_3613.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_45_2764.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_48_2644.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_51_3556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_30_2776.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_34_3657.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_42_3613.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_45_2764.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_48_2644.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_51_3556.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391865469","1391865601","1391865474","1391865561","1391865482","1391865524"],"photo_ids_order":["1391865469","1391865474","1391865482","1391865524","1391865561","1391865601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b20deb3d730afd44dd17c68f4ef7e146.jpg","text":"TemporaryFile(/tmp/multipartBody2368044681911769314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106404147,"filename":"image_02112025_00_52_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/2/da8655f0deaeb2561fe0e838bda4f676.jpg","text":"TemporaryFile(/tmp/multipartBody3286711722895079874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106404147,"filename":"image_02112025_00_52_51_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/2/7d541b3eff3fa256aba8cc05b8dd1be3.jpg","text":"TemporaryFile(/tmp/multipartBody4286807243228587706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106404147,"filename":"image_02112025_00_52_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/2/3cbd752e7f8a01a6b23fea6a9e8f5e10.jpg","text":"TemporaryFile(/tmp/multipartBody5537733807816700738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106404147,"filename":"image_02112025_00_52_48_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/2/e39b5d108145c15a3cc4e887c98b9080.jpg","text":"TemporaryFile(/tmp/multipartBody4740855056632422156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106404147,"filename":"image_02112025_00_52_42_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/2/b5fc564fd9ced03941a3f753226ecf13.jpg","text":"TemporaryFile(/tmp/multipartBody4083289711203927200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106404147,"filename":"image_02112025_00_52_45_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391865482","file1":"1391865474","file0":"1391865469","file4":"1391865561","file5":"1391865601","file3":"1391865524"},"map_files_photo_id_array":[{"photo_id":"1391865601","filename":"file5"},{"photo_id":"1391865482","filename":"file2"},{"photo_id":"1391865561","filename":"file4"},{"photo_id":"1391865474","filename":"file1"},{"photo_id":"1391865469","filename":"file0"},{"photo_id":"1391865524","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391865469":["hashtag1","hashtag2"]},{"1391865601":["hashtag1","hashtag2"]},{"1391865474":["hashtag1","hashtag2"]},{"1391865561":["hashtag1","hashtag2"]},{"1391865482":["hashtag1","hashtag2"]},{"1391865524":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391865469, 1391865601, 1391865474, 1391865561, 1391865482, 1391865524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52139925956726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 18:59:42.727893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_54_2702.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_58_3692.jpg', '/home/pi/Desktop/images/02112025/00/52/image_02112025_00_53_00_2635.jpg', '/home/pi/Desktop/images/02112025/00/53/image_02112025_00_53_06_2844.jpg', '/home/pi/Desktop/images/02112025/00/53/image_02112025_00_53_10_3602.jpg', '/home/pi/Desktop/images/02112025/00/53/image_02112025_00_53_15_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_54_2702.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_52_58_3692.jpg
/home/pi/Desktop/images/02112025/00/52/image_02112025_00_53_00_2635.jpg
/home/pi/Desktop/images/02112025/00/53/image_02112025_00_53_06_2844.jpg
/home/pi/Desktop/images/02112025/00/53/image_02112025_00_53_10_3602.jpg
/home/pi/Desktop/images/02112025/00/53/image_02112025_00_53_15_2606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391865754","1391865881","1391865884","1391865887","1391865836","1391865793"],"photo_ids_order":["1391865754","1391865793","1391865836","1391865881","1391865884","1391865887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/92f77d41a80c7a84914bfd2e9095938b.jpg","text":"TemporaryFile(/tmp/multipartBody821213747907988147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106443437,"filename":"image_02112025_00_52_54_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/2/1120d3b6a5a41065683246f2c9a7b693.jpg","text":"TemporaryFile(/tmp/multipartBody1996791996228561347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106443437,"filename":"image_02112025_00_53_06_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/2/62162d2489f0418e686bcb01398aff43.jpg","text":"TemporaryFile(/tmp/multipartBody1826469794860742282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106443437,"filename":"image_02112025_00_53_10_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/2/767550ce0a5ab84c67384ccaf32162fa.jpg","text":"TemporaryFile(/tmp/multipartBody6796723266444410893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106443437,"filename":"image_02112025_00_53_15_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/2/d32a8d2196e376e1ef0155ebb3c6f793.jpg","text":"TemporaryFile(/tmp/multipartBody8262305815230710297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106443437,"filename":"image_02112025_00_53_00_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/2/0421c9f4b915147b12d15d67f8551394.jpg","text":"TemporaryFile(/tmp/multipartBody6391085819884618233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106443437,"filename":"image_02112025_00_52_58_3692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391865836","file1":"1391865793","file0":"1391865754","file4":"1391865884","file5":"1391865887","file3":"1391865881"},"map_files_photo_id_array":[{"photo_id":"1391865887","filename":"file5"},{"photo_id":"1391865836","filename":"file2"},{"photo_id":"1391865884","filename":"file4"},{"photo_id":"1391865793","filename":"file1"},{"photo_id":"1391865754","filename":"file0"},{"photo_id":"1391865881","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391865754":["hashtag1","hashtag2"]},{"1391865881":["hashtag1","hashtag2"]},{"1391865884":["hashtag1","hashtag2"]},{"1391865887":["hashtag1","hashtag2"]},{"1391865836":["hashtag1","hashtag2"]},{"1391865793":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391865754, 1391865881, 1391865884, 1391865887, 1391865836, 1391865793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.300384521484375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:00:21.952005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/53/image_02112025_00_53_19_3626.jpg', '/home/pi/Desktop/images/02112025/00/53/image_02112025_00_53_21_2607.jpg', '/home/pi/Desktop/images/02112025/00/53/image_02112025_00_53_24_2620.jpg', '/home/pi/Desktop/images/02112025/00/53/image_02112025_00_53_28_3712.jpg', '/home/pi/Desktop/images/02112025/00/53/image_02112025_00_53_33_2687.jpg', '/home/pi/Desktop/images/02112025/00/53/image_02112025_00_53_37_3634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/53/image_02112025_00_53_19_3626.jpg
/home/pi/Desktop/images/02112025/00/53/image_02112025_00_53_21_2607.jpg
/home/pi/Desktop/images/02112025/00/53/image_02112025_00_53_24_2620.jpg
/home/pi/Desktop/images/02112025/00/53/image_02112025_00_53_28_3712.jpg
/home/pi/Desktop/images/02112025/00/53/image_02112025_00_53_33_2687.jpg
/home/pi/Desktop/images/02112025/00/53/image_02112025_00_53_37_3634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391865969","1391865927","1391865893","1391865896","1391866010","1391865890"],"photo_ids_order":["1391865890","1391865893","1391865896","1391865927","1391865969","1391866010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/dc1c79112869da550873e4961b489de8.jpg","text":"TemporaryFile(/tmp/multipartBody3105261128328614478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106482621,"filename":"image_02112025_00_53_33_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/2/96392d28a80ebdd1668c4a93a828e13b.jpg","text":"TemporaryFile(/tmp/multipartBody7192472334807365292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106482621,"filename":"image_02112025_00_53_28_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/2/79d7eefd5121c3084b071a13873f1158.jpg","text":"TemporaryFile(/tmp/multipartBody2360746116743965784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106482621,"filename":"image_02112025_00_53_21_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/2/4009c03a20527ad80c864d465492a13f.jpg","text":"TemporaryFile(/tmp/multipartBody3539972560097947057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106482621,"filename":"image_02112025_00_53_24_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/2/492425c5110039d32cab985286bb8c42.jpg","text":"TemporaryFile(/tmp/multipartBody1354172018485691135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106482621,"filename":"image_02112025_00_53_37_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/2/1c1c935a0b86025741acf0248d752877.jpg","text":"TemporaryFile(/tmp/multipartBody6339428479694484508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106482621,"filename":"image_02112025_00_53_19_3626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391865896","file1":"1391865893","file0":"1391865890","file4":"1391865969","file5":"1391866010","file3":"1391865927"},"map_files_photo_id_array":[{"photo_id":"1391866010","filename":"file5"},{"photo_id":"1391865896","filename":"file2"},{"photo_id":"1391865969","filename":"file4"},{"photo_id":"1391865893","filename":"file1"},{"photo_id":"1391865890","filename":"file0"},{"photo_id":"1391865927","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391865969":["hashtag1","hashtag2"]},{"1391865927":["hashtag1","hashtag2"]},{"1391865893":["hashtag1","hashtag2"]},{"1391865896":["hashtag1","hashtag2"]},{"1391866010":["hashtag1","hashtag2"]},{"1391865890":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391865969, 1391865927, 1391865893, 1391865896, 1391866010, 1391865890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34214687347412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:01:02.770069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/53/image_02112025_00_53_48_2703.jpg', '/home/pi/Desktop/images/02112025/00/53/image_02112025_00_53_51_2754.jpg', '/home/pi/Desktop/images/02112025/00/54/image_02112025_00_54_09_3629.jpg', '/home/pi/Desktop/images/02112025/00/54/image_02112025_00_54_12_2595.jpg', '/home/pi/Desktop/images/02112025/00/54/image_02112025_00_54_15_2789.jpg', '/home/pi/Desktop/images/02112025/00/54/image_02112025_00_54_19_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/53/image_02112025_00_53_48_2703.jpg
/home/pi/Desktop/images/02112025/00/53/image_02112025_00_53_51_2754.jpg
/home/pi/Desktop/images/02112025/00/54/image_02112025_00_54_09_3629.jpg
/home/pi/Desktop/images/02112025/00/54/image_02112025_00_54_12_2595.jpg
/home/pi/Desktop/images/02112025/00/54/image_02112025_00_54_15_2789.jpg
/home/pi/Desktop/images/02112025/00/54/image_02112025_00_54_19_3682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391866402","1391866170","1391866359","1391866317","1391866253","1391866213"],"photo_ids_order":["1391866170","1391866213","1391866253","1391866317","1391866359","1391866402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1fc2cb77f1d5bf6442d32c05f1f5e3b2.jpg","text":"TemporaryFile(/tmp/multipartBody408423056928067458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106523561,"filename":"image_02112025_00_54_19_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/2/b851ad568568113c2132eca9b50ef2d1.jpg","text":"TemporaryFile(/tmp/multipartBody2303519969134674928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106523561,"filename":"image_02112025_00_53_48_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/2/cff53e2ba1ea55ce8dc26d17487c6ede.jpg","text":"TemporaryFile(/tmp/multipartBody3189722563103939017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106523561,"filename":"image_02112025_00_54_15_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/2/4eda1dc4efa150ac5e1eea732af4fe53.jpg","text":"TemporaryFile(/tmp/multipartBody7528149509823403220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106523561,"filename":"image_02112025_00_54_12_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/2/397645ef11af37bdde91da0c991b87f9.jpg","text":"TemporaryFile(/tmp/multipartBody400023971696045228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106523561,"filename":"image_02112025_00_54_09_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/2/91c448eb97e88a9cb809d2a7119659b9.jpg","text":"TemporaryFile(/tmp/multipartBody5599237615609846251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106523561,"filename":"image_02112025_00_53_51_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391866253","file1":"1391866213","file0":"1391866170","file4":"1391866359","file5":"1391866402","file3":"1391866317"},"map_files_photo_id_array":[{"photo_id":"1391866402","filename":"file5"},{"photo_id":"1391866253","filename":"file2"},{"photo_id":"1391866359","filename":"file4"},{"photo_id":"1391866213","filename":"file1"},{"photo_id":"1391866170","filename":"file0"},{"photo_id":"1391866317","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391866402":["hashtag1","hashtag2"]},{"1391866170":["hashtag1","hashtag2"]},{"1391866359":["hashtag1","hashtag2"]},{"1391866317":["hashtag1","hashtag2"]},{"1391866253":["hashtag1","hashtag2"]},{"1391866213":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391866402, 1391866170, 1391866359, 1391866317, 1391866253, 1391866213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7732298374176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:01:42.035252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/54/image_02112025_00_54_27_3603.jpg', '/home/pi/Desktop/images/02112025/00/54/image_02112025_00_54_34_3661.jpg', '/home/pi/Desktop/images/02112025/00/54/image_02112025_00_54_39_2623.jpg', '/home/pi/Desktop/images/02112025/00/54/image_02112025_00_54_45_3537.jpg', '/home/pi/Desktop/images/02112025/00/54/image_02112025_00_54_48_2631.jpg', '/home/pi/Desktop/images/02112025/00/54/image_02112025_00_54_51_3639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/54/image_02112025_00_54_27_3603.jpg
/home/pi/Desktop/images/02112025/00/54/image_02112025_00_54_34_3661.jpg
/home/pi/Desktop/images/02112025/00/54/image_02112025_00_54_39_2623.jpg
/home/pi/Desktop/images/02112025/00/54/image_02112025_00_54_45_3537.jpg
/home/pi/Desktop/images/02112025/00/54/image_02112025_00_54_48_2631.jpg
/home/pi/Desktop/images/02112025/00/54/image_02112025_00_54_51_3639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391866632","1391866550","1391866712","1391866591","1391866675","1391866750"],"photo_ids_order":["1391866550","1391866591","1391866632","1391866675","1391866712","1391866750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/36f3b10d71b8f313c271dbf7225a757e.jpg","text":"TemporaryFile(/tmp/multipartBody1567727665115049402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106562743,"filename":"image_02112025_00_54_39_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/2/672aea6338340f0bedb8f1a206bb1b66.jpg","text":"TemporaryFile(/tmp/multipartBody9083094466943075653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106562743,"filename":"image_02112025_00_54_27_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/2/af6c820826b11cf6a0b07b94d93f921c.jpg","text":"TemporaryFile(/tmp/multipartBody7237334215419194116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106562743,"filename":"image_02112025_00_54_48_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/2/631517cc7d1cf1205d85b19faf3c25ee.jpg","text":"TemporaryFile(/tmp/multipartBody6628594897319794384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106562743,"filename":"image_02112025_00_54_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/2/d07a961856cba0db9d1d1c472d62fa3a.jpg","text":"TemporaryFile(/tmp/multipartBody1117513995090737722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106562743,"filename":"image_02112025_00_54_45_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/2/32f42f34c8498139f3b4faa27f18dea3.jpg","text":"TemporaryFile(/tmp/multipartBody9113417180100956337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106562743,"filename":"image_02112025_00_54_51_3639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391866632","file1":"1391866591","file0":"1391866550","file4":"1391866712","file5":"1391866750","file3":"1391866675"},"map_files_photo_id_array":[{"photo_id":"1391866750","filename":"file5"},{"photo_id":"1391866632","filename":"file2"},{"photo_id":"1391866712","filename":"file4"},{"photo_id":"1391866591","filename":"file1"},{"photo_id":"1391866550","filename":"file0"},{"photo_id":"1391866675","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391866632":["hashtag1","hashtag2"]},{"1391866550":["hashtag1","hashtag2"]},{"1391866712":["hashtag1","hashtag2"]},{"1391866591":["hashtag1","hashtag2"]},{"1391866675":["hashtag1","hashtag2"]},{"1391866750":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391866632, 1391866550, 1391866712, 1391866591, 1391866675, 1391866750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.301297664642334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:02:22.257848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/54/image_02112025_00_54_57_2805.jpg', '/home/pi/Desktop/images/02112025/00/54/image_02112025_00_55_00_2786.jpg', '/home/pi/Desktop/images/02112025/00/55/image_02112025_00_55_06_2796.jpg', '/home/pi/Desktop/images/02112025/00/55/image_02112025_00_55_09_2603.jpg', '/home/pi/Desktop/images/02112025/00/55/image_02112025_00_55_13_3716.jpg', '/home/pi/Desktop/images/02112025/00/55/image_02112025_00_55_15_2829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/54/image_02112025_00_54_57_2805.jpg
/home/pi/Desktop/images/02112025/00/54/image_02112025_00_55_00_2786.jpg
/home/pi/Desktop/images/02112025/00/55/image_02112025_00_55_06_2796.jpg
/home/pi/Desktop/images/02112025/00/55/image_02112025_00_55_09_2603.jpg
/home/pi/Desktop/images/02112025/00/55/image_02112025_00_55_13_3716.jpg
/home/pi/Desktop/images/02112025/00/55/image_02112025_00_55_15_2829.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391867109","1391867069","1391867027","1391866987","1391866945","1391866903"],"photo_ids_order":["1391866903","1391866945","1391866987","1391867027","1391867069","1391867109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8287a9eb791f16782a6288c5eae570d7.jpg","text":"TemporaryFile(/tmp/multipartBody2113277124048010991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106602929,"filename":"image_02112025_00_55_15_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/2/a0f683c875b4c848f3e7283587b3c4a2.jpg","text":"TemporaryFile(/tmp/multipartBody5264696932002890690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106602929,"filename":"image_02112025_00_55_13_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/2/9e2c3f883c76df3a01714230236fa0bf.jpg","text":"TemporaryFile(/tmp/multipartBody4066095166675679032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106602929,"filename":"image_02112025_00_55_09_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/2/b572ff93331ddd57d211285d7b5e43c9.jpg","text":"TemporaryFile(/tmp/multipartBody4457345798196180410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106602929,"filename":"image_02112025_00_55_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/2/a3c1a3699f18f63eccd2b822e26df93e.jpg","text":"TemporaryFile(/tmp/multipartBody4260549791928900228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106602929,"filename":"image_02112025_00_55_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/2/709e8428e9229d322ace44362f1d0e5a.jpg","text":"TemporaryFile(/tmp/multipartBody7633213912331284384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106602929,"filename":"image_02112025_00_54_57_2805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391866987","file1":"1391866945","file0":"1391866903","file4":"1391867069","file5":"1391867109","file3":"1391867027"},"map_files_photo_id_array":[{"photo_id":"1391867109","filename":"file5"},{"photo_id":"1391866987","filename":"file2"},{"photo_id":"1391867069","filename":"file4"},{"photo_id":"1391866945","filename":"file1"},{"photo_id":"1391866903","filename":"file0"},{"photo_id":"1391867027","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391867109":["hashtag1","hashtag2"]},{"1391867069":["hashtag1","hashtag2"]},{"1391867027":["hashtag1","hashtag2"]},{"1391866987":["hashtag1","hashtag2"]},{"1391866945":["hashtag1","hashtag2"]},{"1391866903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391867109, 1391867069, 1391867027, 1391866987, 1391866945, 1391866903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86015725135803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:03:03.056974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/55/image_02112025_00_55_18_2673.jpg', '/home/pi/Desktop/images/02112025/00/55/image_02112025_00_55_22_3524.jpg', '/home/pi/Desktop/images/02112025/00/55/image_02112025_00_55_27_2717.jpg', '/home/pi/Desktop/images/02112025/00/55/image_02112025_00_55_30_2596.jpg', '/home/pi/Desktop/images/02112025/00/55/image_02112025_00_55_39_2605.jpg', '/home/pi/Desktop/images/02112025/00/55/image_02112025_00_55_42_3611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/55/image_02112025_00_55_18_2673.jpg
/home/pi/Desktop/images/02112025/00/55/image_02112025_00_55_22_3524.jpg
/home/pi/Desktop/images/02112025/00/55/image_02112025_00_55_27_2717.jpg
/home/pi/Desktop/images/02112025/00/55/image_02112025_00_55_30_2596.jpg
/home/pi/Desktop/images/02112025/00/55/image_02112025_00_55_39_2605.jpg
/home/pi/Desktop/images/02112025/00/55/image_02112025_00_55_42_3611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391867393","1391867396","1391867270","1391867366","1391867314","1391867391"],"photo_ids_order":["1391867270","1391867314","1391867366","1391867391","1391867393","1391867396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/920fb1704dc032aa58627639d006237c.jpg","text":"TemporaryFile(/tmp/multipartBody7420822264208842205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106643846,"filename":"image_02112025_00_55_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/2/bcdd3123da511822e5313b94659fd6a0.jpg","text":"TemporaryFile(/tmp/multipartBody5304537693472792844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106643846,"filename":"image_02112025_00_55_42_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/2/aa20082cd1fa03bcddcdf54c379854d9.jpg","text":"TemporaryFile(/tmp/multipartBody3213744528828669878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106643846,"filename":"image_02112025_00_55_18_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/2/9d6e6cbf20a61e3d4df371970fa4db90.jpg","text":"TemporaryFile(/tmp/multipartBody5382387648559623416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106643846,"filename":"image_02112025_00_55_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/2/d859773e9e9e065f96118870a7eecaca.jpg","text":"TemporaryFile(/tmp/multipartBody6614246369704766620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106643846,"filename":"image_02112025_00_55_22_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/2/13cc98dc02d195e5256478295f6bbb63.jpg","text":"TemporaryFile(/tmp/multipartBody6489051810797133241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106643846,"filename":"image_02112025_00_55_30_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391867366","file1":"1391867314","file0":"1391867270","file4":"1391867393","file5":"1391867396","file3":"1391867391"},"map_files_photo_id_array":[{"photo_id":"1391867396","filename":"file5"},{"photo_id":"1391867366","filename":"file2"},{"photo_id":"1391867393","filename":"file4"},{"photo_id":"1391867314","filename":"file1"},{"photo_id":"1391867270","filename":"file0"},{"photo_id":"1391867391","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391867393":["hashtag1","hashtag2"]},{"1391867396":["hashtag1","hashtag2"]},{"1391867270":["hashtag1","hashtag2"]},{"1391867366":["hashtag1","hashtag2"]},{"1391867314":["hashtag1","hashtag2"]},{"1391867391":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391867393, 1391867396, 1391867270, 1391867366, 1391867314, 1391867391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17256999015808 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:03:42.347434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/55/image_02112025_00_55_48_2702.jpg', '/home/pi/Desktop/images/02112025/00/55/image_02112025_00_55_51_3628.jpg', '/home/pi/Desktop/images/02112025/00/55/image_02112025_00_56_00_2603.jpg', '/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_03_2674.jpg', '/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_09_2801.jpg', '/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_18_3843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/55/image_02112025_00_55_48_2702.jpg
/home/pi/Desktop/images/02112025/00/55/image_02112025_00_55_51_3628.jpg
/home/pi/Desktop/images/02112025/00/55/image_02112025_00_56_00_2603.jpg
/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_03_2674.jpg
/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_09_2801.jpg
/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_18_3843.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391867409","1391867411","1391867408","1391867402","1391867405","1391867407"],"photo_ids_order":["1391867402","1391867405","1391867407","1391867408","1391867409","1391867411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/40fbb0234f35f8aa07c3f2bf0409e4ee.jpg","text":"TemporaryFile(/tmp/multipartBody4583889703708879206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106683070,"filename":"image_02112025_00_56_09_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/2/e2efa0e472da9e5210fb43f752232dcc.jpg","text":"TemporaryFile(/tmp/multipartBody4860674524119208337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106683070,"filename":"image_02112025_00_56_18_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/2/fdc390ca4c55367849c1a5ddf481f8e6.jpg","text":"TemporaryFile(/tmp/multipartBody1543607759786351271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106683070,"filename":"image_02112025_00_56_03_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/2/ce2660a7891e0b9afb89b3dbeb093984.jpg","text":"TemporaryFile(/tmp/multipartBody9091800859934040201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106683070,"filename":"image_02112025_00_55_48_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/2/77bd91177c70be95c4a04ac9e7c36cf4.jpg","text":"TemporaryFile(/tmp/multipartBody411392235716805965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106683070,"filename":"image_02112025_00_55_51_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/2/855d07f37e3e350407a14b88825e3cc2.jpg","text":"TemporaryFile(/tmp/multipartBody1295552873363239875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106683070,"filename":"image_02112025_00_56_00_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391867407","file1":"1391867405","file0":"1391867402","file4":"1391867409","file5":"1391867411","file3":"1391867408"},"map_files_photo_id_array":[{"photo_id":"1391867411","filename":"file5"},{"photo_id":"1391867407","filename":"file2"},{"photo_id":"1391867409","filename":"file4"},{"photo_id":"1391867405","filename":"file1"},{"photo_id":"1391867402","filename":"file0"},{"photo_id":"1391867408","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391867409":["hashtag1","hashtag2"]},{"1391867411":["hashtag1","hashtag2"]},{"1391867408":["hashtag1","hashtag2"]},{"1391867402":["hashtag1","hashtag2"]},{"1391867405":["hashtag1","hashtag2"]},{"1391867407":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391867409, 1391867411, 1391867408, 1391867402, 1391867405, 1391867407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18619704246521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:04:22.511508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_21_2672.jpg', '/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_27_3739.jpg', '/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_30_2712.jpg', '/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_39_2704.jpg', '/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_42_2559.jpg', '/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_45_3527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_21_2672.jpg
/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_27_3739.jpg
/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_30_2712.jpg
/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_39_2704.jpg
/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_42_2559.jpg
/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_45_3527.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391867427","1391867435","1391867429","1391867422","1391867431","1391867425"],"photo_ids_order":["1391867422","1391867425","1391867427","1391867429","1391867431","1391867435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a4f5de7a8450118246871c31bd1c06c2.jpg","text":"TemporaryFile(/tmp/multipartBody5690188436148404102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106723200,"filename":"image_02112025_00_56_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/2/b88faf3ac8c08bc0237f54937fcdf655.jpg","text":"TemporaryFile(/tmp/multipartBody3766027372408086009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106723200,"filename":"image_02112025_00_56_45_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/2/a7f679cad36546e198074f3c50b52fbf.jpg","text":"TemporaryFile(/tmp/multipartBody7395034008962130607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106723200,"filename":"image_02112025_00_56_39_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/2/baeb3d465b5d3d00d97723f0b1bf40a2.jpg","text":"TemporaryFile(/tmp/multipartBody7214141866407476699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106723200,"filename":"image_02112025_00_56_21_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/2/20ca76c0ab6deccfb962ac3d8da1e647.jpg","text":"TemporaryFile(/tmp/multipartBody8224680179448246479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106723200,"filename":"image_02112025_00_56_42_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/2/b07c19e2044efc08c2c77f08cc3d18b3.jpg","text":"TemporaryFile(/tmp/multipartBody63991461077796974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106723200,"filename":"image_02112025_00_56_27_3739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391867427","file1":"1391867425","file0":"1391867422","file4":"1391867431","file5":"1391867435","file3":"1391867429"},"map_files_photo_id_array":[{"photo_id":"1391867435","filename":"file5"},{"photo_id":"1391867427","filename":"file2"},{"photo_id":"1391867431","filename":"file4"},{"photo_id":"1391867425","filename":"file1"},{"photo_id":"1391867422","filename":"file0"},{"photo_id":"1391867429","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391867427":["hashtag1","hashtag2"]},{"1391867435":["hashtag1","hashtag2"]},{"1391867429":["hashtag1","hashtag2"]},{"1391867422":["hashtag1","hashtag2"]},{"1391867431":["hashtag1","hashtag2"]},{"1391867425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391867427, 1391867435, 1391867429, 1391867422, 1391867431, 1391867425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.830161809921265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:05:03.472899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_48_2631.jpg', '/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_51_2762.jpg', '/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_54_3598.jpg', '/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_57_2680.jpg', '/home/pi/Desktop/images/02112025/00/57/image_02112025_00_57_08_2771.jpg', '/home/pi/Desktop/images/02112025/00/57/image_02112025_00_57_12_3801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_48_2631.jpg
/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_51_2762.jpg
/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_54_3598.jpg
/home/pi/Desktop/images/02112025/00/56/image_02112025_00_56_57_2680.jpg
/home/pi/Desktop/images/02112025/00/57/image_02112025_00_57_08_2771.jpg
/home/pi/Desktop/images/02112025/00/57/image_02112025_00_57_12_3801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391867553","1391867474","1391867603","1391867674","1391867446","1391867512"],"photo_ids_order":["1391867446","1391867474","1391867512","1391867553","1391867603","1391867674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/05ac43f898a1feaf5e4c5f4885c679ad.jpg","text":"TemporaryFile(/tmp/multipartBody6353706222622815868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106764268,"filename":"image_02112025_00_56_57_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/2/fa66387c685d9de2ad516da4f76257ea.jpg","text":"TemporaryFile(/tmp/multipartBody6346609158825330160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106764268,"filename":"image_02112025_00_56_51_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/2/6a5fd2c7d3af8a981a4b827af8b3cdba.jpg","text":"TemporaryFile(/tmp/multipartBody1489344339736151710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106764268,"filename":"image_02112025_00_57_08_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/2/fb186c6aa31a271e62071c43cb3a18f7.jpg","text":"TemporaryFile(/tmp/multipartBody6031988169424350956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106764268,"filename":"image_02112025_00_57_12_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/2/da0ad4a65b2d3356029e06ac0173219c.jpg","text":"TemporaryFile(/tmp/multipartBody3508969912576488475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106764268,"filename":"image_02112025_00_56_48_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/2/bd35d64255231a135eaf0cf4d75ef805.jpg","text":"TemporaryFile(/tmp/multipartBody2665485873382223172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106764268,"filename":"image_02112025_00_56_54_3598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391867512","file1":"1391867474","file0":"1391867446","file4":"1391867603","file5":"1391867674","file3":"1391867553"},"map_files_photo_id_array":[{"photo_id":"1391867674","filename":"file5"},{"photo_id":"1391867512","filename":"file2"},{"photo_id":"1391867603","filename":"file4"},{"photo_id":"1391867474","filename":"file1"},{"photo_id":"1391867446","filename":"file0"},{"photo_id":"1391867553","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391867553":["hashtag1","hashtag2"]},{"1391867474":["hashtag1","hashtag2"]},{"1391867603":["hashtag1","hashtag2"]},{"1391867674":["hashtag1","hashtag2"]},{"1391867446":["hashtag1","hashtag2"]},{"1391867512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391867553, 1391867474, 1391867603, 1391867674, 1391867446, 1391867512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33539628982544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:05:42.725160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/57/image_02112025_00_57_15_2604.jpg', '/home/pi/Desktop/images/02112025/00/57/image_02112025_00_57_18_2928.jpg', '/home/pi/Desktop/images/02112025/00/57/image_02112025_00_57_30_2526.jpg', '/home/pi/Desktop/images/02112025/00/57/image_02112025_00_57_38_2698.jpg', '/home/pi/Desktop/images/02112025/00/57/image_02112025_00_57_42_3771.jpg', '/home/pi/Desktop/images/02112025/00/57/image_02112025_00_57_45_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/57/image_02112025_00_57_15_2604.jpg
/home/pi/Desktop/images/02112025/00/57/image_02112025_00_57_18_2928.jpg
/home/pi/Desktop/images/02112025/00/57/image_02112025_00_57_30_2526.jpg
/home/pi/Desktop/images/02112025/00/57/image_02112025_00_57_38_2698.jpg
/home/pi/Desktop/images/02112025/00/57/image_02112025_00_57_42_3771.jpg
/home/pi/Desktop/images/02112025/00/57/image_02112025_00_57_45_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391868105","1391868353","1391868185","1391868050","1391868279","1391867976"],"photo_ids_order":["1391867976","1391868050","1391868105","1391868185","1391868279","1391868353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1d21abc791e4eb50a17b1b6b4fda256a.jpg","text":"TemporaryFile(/tmp/multipartBody854596100540572513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106803438,"filename":"image_02112025_00_57_30_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/2/75a5ffcfcacf749d8b61dd2b839e9391.jpg","text":"TemporaryFile(/tmp/multipartBody2740164158555705233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106803438,"filename":"image_02112025_00_57_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/2/31c4f0d2f1631dcb08092eb68f2bb793.jpg","text":"TemporaryFile(/tmp/multipartBody8568267071705738519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106803438,"filename":"image_02112025_00_57_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/2/405c1422da60a2e0a8785421171a1557.jpg","text":"TemporaryFile(/tmp/multipartBody7466999705593383293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106803438,"filename":"image_02112025_00_57_18_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/2/027c56b8da0c0b17b95620a9e6878b4f.jpg","text":"TemporaryFile(/tmp/multipartBody7488231817047368578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106803438,"filename":"image_02112025_00_57_42_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/2/3b5460eefaade8798942658399bd6ac3.jpg","text":"TemporaryFile(/tmp/multipartBody635581586307101662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106803438,"filename":"image_02112025_00_57_15_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391868105","file1":"1391868050","file0":"1391867976","file4":"1391868279","file5":"1391868353","file3":"1391868185"},"map_files_photo_id_array":[{"photo_id":"1391868353","filename":"file5"},{"photo_id":"1391868105","filename":"file2"},{"photo_id":"1391868279","filename":"file4"},{"photo_id":"1391868050","filename":"file1"},{"photo_id":"1391867976","filename":"file0"},{"photo_id":"1391868185","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391868105":["hashtag1","hashtag2"]},{"1391868353":["hashtag1","hashtag2"]},{"1391868185":["hashtag1","hashtag2"]},{"1391868050":["hashtag1","hashtag2"]},{"1391868279":["hashtag1","hashtag2"]},{"1391867976":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391868105, 1391868353, 1391868185, 1391868050, 1391868279, 1391867976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43757653236389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:06:21.902142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/57/image_02112025_00_57_47_2534.jpg', '/home/pi/Desktop/images/02112025/00/57/image_02112025_00_57_51_3717.jpg', '/home/pi/Desktop/images/02112025/00/57/image_02112025_00_57_54_2709.jpg', '/home/pi/Desktop/images/02112025/00/57/image_02112025_00_57_56_2540.jpg', '/home/pi/Desktop/images/02112025/00/57/image_02112025_00_58_00_3687.jpg', '/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_03_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/57/image_02112025_00_57_47_2534.jpg
/home/pi/Desktop/images/02112025/00/57/image_02112025_00_57_51_3717.jpg
/home/pi/Desktop/images/02112025/00/57/image_02112025_00_57_54_2709.jpg
/home/pi/Desktop/images/02112025/00/57/image_02112025_00_57_56_2540.jpg
/home/pi/Desktop/images/02112025/00/57/image_02112025_00_58_00_3687.jpg
/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_03_2713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391868824","1391868737","1391868530","1391868697","1391868658","1391868610"],"photo_ids_order":["1391868530","1391868610","1391868658","1391868697","1391868737","1391868824"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1d5f1ad4b816c6e3337036ecc45b65f0.jpg","text":"TemporaryFile(/tmp/multipartBody3928314923264825649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106842572,"filename":"image_02112025_00_58_03_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/2/aff56e55279f0224d9969aba4d27325e.jpg","text":"TemporaryFile(/tmp/multipartBody5252192067783114077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106842572,"filename":"image_02112025_00_58_00_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/2/bf9726bb111a05be103e47377cc6f6fb.jpg","text":"TemporaryFile(/tmp/multipartBody2291644162795539679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106842572,"filename":"image_02112025_00_57_47_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/2/69285e3156c896b2bdbf61ee5b7d03e6.jpg","text":"TemporaryFile(/tmp/multipartBody3768534383284891328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106842572,"filename":"image_02112025_00_57_56_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/2/7de00df7de70c86b2e36414d5dbf4b69.jpg","text":"TemporaryFile(/tmp/multipartBody3456156441695683623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106842572,"filename":"image_02112025_00_57_54_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/2/22f09a18e82269223789567e098e7eaa.jpg","text":"TemporaryFile(/tmp/multipartBody9039427299468020124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106842572,"filename":"image_02112025_00_57_51_3717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391868658","file1":"1391868610","file0":"1391868530","file4":"1391868737","file5":"1391868824","file3":"1391868697"},"map_files_photo_id_array":[{"photo_id":"1391868824","filename":"file5"},{"photo_id":"1391868658","filename":"file2"},{"photo_id":"1391868737","filename":"file4"},{"photo_id":"1391868610","filename":"file1"},{"photo_id":"1391868530","filename":"file0"},{"photo_id":"1391868697","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391868824":["hashtag1","hashtag2"]},{"1391868737":["hashtag1","hashtag2"]},{"1391868530":["hashtag1","hashtag2"]},{"1391868697":["hashtag1","hashtag2"]},{"1391868658":["hashtag1","hashtag2"]},{"1391868610":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391868824, 1391868737, 1391868530, 1391868697, 1391868658, 1391868610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.833139181137085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:07:02.821792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_06_2763.jpg', '/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_12_2631.jpg', '/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_18_3794.jpg', '/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_23_2690.jpg', '/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_27_3655.jpg', '/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_36_3773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_06_2763.jpg
/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_12_2631.jpg
/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_18_3794.jpg
/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_23_2690.jpg
/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_27_3655.jpg
/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_36_3773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391869178","1391869058","1391869217","1391869098","1391869140","1391869017"],"photo_ids_order":["1391869017","1391869058","1391869098","1391869140","1391869178","1391869217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c93b231c707e43c36fd1d05e5788eb95.jpg","text":"TemporaryFile(/tmp/multipartBody3146719113709763217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106883624,"filename":"image_02112025_00_58_27_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/2/7fda3053a69e858b98e91a9e43e3be2a.jpg","text":"TemporaryFile(/tmp/multipartBody2517996904528419777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106883624,"filename":"image_02112025_00_58_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/2/a5567994f902a83a81afc640fd688336.jpg","text":"TemporaryFile(/tmp/multipartBody3103152623326951670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106883624,"filename":"image_02112025_00_58_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/2/b2ffb6cc7936ac36c5379c8ad876f427.jpg","text":"TemporaryFile(/tmp/multipartBody1627612513286018015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106883624,"filename":"image_02112025_00_58_18_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/2/420fb0defcf3522d7ca99e061eb2e644.jpg","text":"TemporaryFile(/tmp/multipartBody4514966571729455638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106883624,"filename":"image_02112025_00_58_23_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/2/8bc543527bfd3d0e3375835cdccbb1eb.jpg","text":"TemporaryFile(/tmp/multipartBody7329476077338323267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106883624,"filename":"image_02112025_00_58_06_2763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391869098","file1":"1391869058","file0":"1391869017","file4":"1391869178","file5":"1391869217","file3":"1391869140"},"map_files_photo_id_array":[{"photo_id":"1391869217","filename":"file5"},{"photo_id":"1391869098","filename":"file2"},{"photo_id":"1391869178","filename":"file4"},{"photo_id":"1391869058","filename":"file1"},{"photo_id":"1391869017","filename":"file0"},{"photo_id":"1391869140","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391869178":["hashtag1","hashtag2"]},{"1391869058":["hashtag1","hashtag2"]},{"1391869217":["hashtag1","hashtag2"]},{"1391869098":["hashtag1","hashtag2"]},{"1391869140":["hashtag1","hashtag2"]},{"1391869017":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391869178, 1391869058, 1391869217, 1391869098, 1391869140, 1391869017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.76494359970093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:07:42.149504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_39_2900.jpg', '/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_42_2621.jpg', '/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_44_2599.jpg', '/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_48_3688.jpg', '/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_53_2699.jpg', '/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_57_3902.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_39_2900.jpg
/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_42_2621.jpg
/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_44_2599.jpg
/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_48_3688.jpg
/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_53_2699.jpg
/home/pi/Desktop/images/02112025/00/58/image_02112025_00_58_57_3902.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391869277","1391869276","1391869279","1391869281","1391869275","1391869278"],"photo_ids_order":["1391869275","1391869276","1391869277","1391869278","1391869279","1391869281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f72bdf2d9647faf2c15e37391a911fdc.jpg","text":"TemporaryFile(/tmp/multipartBody5639616735378236709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106922860,"filename":"image_02112025_00_58_44_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/2/134cc53ca4b8e47aa08c61453f875ffa.jpg","text":"TemporaryFile(/tmp/multipartBody5581086667330444506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106922860,"filename":"image_02112025_00_58_42_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/2/57c1b979c4b8ed2e3313f4c899e33a0d.jpg","text":"TemporaryFile(/tmp/multipartBody1032314110794020430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106922860,"filename":"image_02112025_00_58_53_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/2/a436b15453ef39d16a260786d0ab85b7.jpg","text":"TemporaryFile(/tmp/multipartBody1113764939461497606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106922860,"filename":"image_02112025_00_58_57_3902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/55d33b82cb6ef1e8528c3df3235da3e6.jpg","text":"TemporaryFile(/tmp/multipartBody2033712659134945261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106922860,"filename":"image_02112025_00_58_39_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/2/baef25aed55734c6aa2dc4cdec675c9f.jpg","text":"TemporaryFile(/tmp/multipartBody6636362329777208829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106922860,"filename":"image_02112025_00_58_48_3688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391869277","file1":"1391869276","file0":"1391869275","file4":"1391869279","file5":"1391869281","file3":"1391869278"},"map_files_photo_id_array":[{"photo_id":"1391869281","filename":"file5"},{"photo_id":"1391869277","filename":"file2"},{"photo_id":"1391869279","filename":"file4"},{"photo_id":"1391869276","filename":"file1"},{"photo_id":"1391869275","filename":"file0"},{"photo_id":"1391869278","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391869277":["hashtag1","hashtag2"]},{"1391869276":["hashtag1","hashtag2"]},{"1391869279":["hashtag1","hashtag2"]},{"1391869281":["hashtag1","hashtag2"]},{"1391869275":["hashtag1","hashtag2"]},{"1391869278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391869277, 1391869276, 1391869279, 1391869281, 1391869275, 1391869278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90066623687744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:08:22.302714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/58/image_02112025_00_59_00_2746.jpg', '/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_03_2663.jpg', '/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_05_2761.jpg', '/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_08_2892.jpg', '/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_12_3832.jpg', '/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_17_2822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/58/image_02112025_00_59_00_2746.jpg
/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_03_2663.jpg
/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_05_2761.jpg
/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_08_2892.jpg
/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_12_3832.jpg
/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_17_2822.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391869307","1391869342","1391869318","1391869296","1391869320","1391869292"],"photo_ids_order":["1391869292","1391869296","1391869307","1391869318","1391869320","1391869342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d4777f9abc9aeaadffb2c43fa9aeba7c.jpg","text":"TemporaryFile(/tmp/multipartBody109396038110273977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106962976,"filename":"image_02112025_00_59_05_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/2/ef51c11a77970fd8a20ddeaec7d23010.jpg","text":"TemporaryFile(/tmp/multipartBody4541301687630347442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106962976,"filename":"image_02112025_00_59_17_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/2/bf70e526f9dfad4405f6f82c35f05296.jpg","text":"TemporaryFile(/tmp/multipartBody738288446743056702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106962976,"filename":"image_02112025_00_59_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/2/819d70ba681ec4f288390fb3a706582f.jpg","text":"TemporaryFile(/tmp/multipartBody4023127194781486743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106962976,"filename":"image_02112025_00_59_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/2/1b136b687610bb0d17db9499c3fb16a8.jpg","text":"TemporaryFile(/tmp/multipartBody6586245367849207012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106962976,"filename":"image_02112025_00_59_12_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/2/a973a5a9b37e0bb0aa99dcf5fc5ef6bc.jpg","text":"TemporaryFile(/tmp/multipartBody6393804558554799948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762106962976,"filename":"image_02112025_00_59_00_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391869307","file1":"1391869296","file0":"1391869292","file4":"1391869320","file5":"1391869342","file3":"1391869318"},"map_files_photo_id_array":[{"photo_id":"1391869342","filename":"file5"},{"photo_id":"1391869307","filename":"file2"},{"photo_id":"1391869320","filename":"file4"},{"photo_id":"1391869296","filename":"file1"},{"photo_id":"1391869292","filename":"file0"},{"photo_id":"1391869318","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391869307":["hashtag1","hashtag2"]},{"1391869342":["hashtag1","hashtag2"]},{"1391869318":["hashtag1","hashtag2"]},{"1391869296":["hashtag1","hashtag2"]},{"1391869320":["hashtag1","hashtag2"]},{"1391869292":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391869307, 1391869342, 1391869318, 1391869296, 1391869320, 1391869292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06654763221741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:09:03.517463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_20_2654.jpg', '/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_24_3577.jpg', '/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_26_2504.jpg', '/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_33_2666.jpg', '/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_36_3560.jpg', '/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_39_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_20_2654.jpg
/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_24_3577.jpg
/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_26_2504.jpg
/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_33_2666.jpg
/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_36_3560.jpg
/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_39_2717.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8152627944946289 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:09:22.494790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_20_2654.jpg', '/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_24_3577.jpg', '/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_26_2504.jpg', '/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_33_2666.jpg', '/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_36_3560.jpg', '/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_39_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_20_2654.jpg
/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_24_3577.jpg
/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_26_2504.jpg
/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_33_2666.jpg
/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_36_3560.jpg
/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_39_2717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391869735","1391869621","1391869579","1391869692","1391869775","1391869658"],"photo_ids_order":["1391869579","1391869621","1391869658","1391869692","1391869735","1391869775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/81cf3c06c7413e41534916c8ab769b5d.jpg","text":"TemporaryFile(/tmp/multipartBody1288007156715215529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107023168,"filename":"image_02112025_00_59_36_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/2/887cb49b2d1424775b49eb5eddca9d11.jpg","text":"TemporaryFile(/tmp/multipartBody4468160579412713489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107023168,"filename":"image_02112025_00_59_24_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/2/9f2ea745e595df902b862884802971ee.jpg","text":"TemporaryFile(/tmp/multipartBody1914115489452538801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107023168,"filename":"image_02112025_00_59_20_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/2/2e4444889612cdd84443e6726923d81d.jpg","text":"TemporaryFile(/tmp/multipartBody4637053640361177075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107023168,"filename":"image_02112025_00_59_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/2/acd52de84fba4eedb3dda53da913ee51.jpg","text":"TemporaryFile(/tmp/multipartBody609880040432098882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107023168,"filename":"image_02112025_00_59_39_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/2/faec262761362624e631180891babb15.jpg","text":"TemporaryFile(/tmp/multipartBody6805522372213396167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107023168,"filename":"image_02112025_00_59_26_2504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391869658","file1":"1391869621","file0":"1391869579","file4":"1391869735","file5":"1391869775","file3":"1391869692"},"map_files_photo_id_array":[{"photo_id":"1391869775","filename":"file5"},{"photo_id":"1391869658","filename":"file2"},{"photo_id":"1391869735","filename":"file4"},{"photo_id":"1391869621","filename":"file1"},{"photo_id":"1391869579","filename":"file0"},{"photo_id":"1391869692","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391869735":["hashtag1","hashtag2"]},{"1391869621":["hashtag1","hashtag2"]},{"1391869579":["hashtag1","hashtag2"]},{"1391869692":["hashtag1","hashtag2"]},{"1391869775":["hashtag1","hashtag2"]},{"1391869658":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391869735, 1391869621, 1391869579, 1391869692, 1391869775, 1391869658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.72049140930176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:10:03.076668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_41_2603.jpg', '/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_44_2820.jpg', '/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_48_3697.jpg', '/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_51_2666.jpg', '/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_53_2657.jpg', '/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_57_3790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_41_2603.jpg
/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_44_2820.jpg
/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_48_3697.jpg
/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_51_2666.jpg
/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_53_2657.jpg
/home/pi/Desktop/images/02112025/00/59/image_02112025_00_59_57_3790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391869894","1391869870","1391869942","1391869866","1391869833","1391869868"],"photo_ids_order":["1391869833","1391869866","1391869868","1391869870","1391869894","1391869942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/857c24ffd544844ad23eb41f664627f2.jpg","text":"TemporaryFile(/tmp/multipartBody4165313984381954391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107063917,"filename":"image_02112025_00_59_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/2/f5f4a7b437f4ffa89b50cda1ce55297b.jpg","text":"TemporaryFile(/tmp/multipartBody1607502446947993027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107063917,"filename":"image_02112025_00_59_51_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/2/962c6a1c7ca0ff8e58421b33a18d2e28.jpg","text":"TemporaryFile(/tmp/multipartBody5296575248512934732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107063917,"filename":"image_02112025_00_59_57_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/2/58cdcc003c64a6059226469690b15fe7.jpg","text":"TemporaryFile(/tmp/multipartBody2004697259521104457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107063917,"filename":"image_02112025_00_59_44_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/2/fb66ee8fc37d691b8652a67f8d427cfb.jpg","text":"TemporaryFile(/tmp/multipartBody5081037191451992737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107063917,"filename":"image_02112025_00_59_41_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/2/bd317e4ecfdf2cf17713d7202445e342.jpg","text":"TemporaryFile(/tmp/multipartBody4153581762782185060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107063917,"filename":"image_02112025_00_59_48_3697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391869868","file1":"1391869866","file0":"1391869833","file4":"1391869894","file5":"1391869942","file3":"1391869870"},"map_files_photo_id_array":[{"photo_id":"1391869942","filename":"file5"},{"photo_id":"1391869868","filename":"file2"},{"photo_id":"1391869894","filename":"file4"},{"photo_id":"1391869866","filename":"file1"},{"photo_id":"1391869833","filename":"file0"},{"photo_id":"1391869870","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391869894":["hashtag1","hashtag2"]},{"1391869870":["hashtag1","hashtag2"]},{"1391869942":["hashtag1","hashtag2"]},{"1391869866":["hashtag1","hashtag2"]},{"1391869833":["hashtag1","hashtag2"]},{"1391869868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391869894, 1391869870, 1391869942, 1391869866, 1391869833, 1391869868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97336721420288 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:10:42.736700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/00/59/image_02112025_01_00_00_2594.jpg', '/home/pi/Desktop/images/02112025/01/00/image_02112025_01_00_11_2632.jpg', '/home/pi/Desktop/images/02112025/01/00/image_02112025_01_00_14_2769.jpg', '/home/pi/Desktop/images/02112025/01/00/image_02112025_01_00_20_2518.jpg', '/home/pi/Desktop/images/02112025/01/00/image_02112025_01_00_24_3565.jpg', '/home/pi/Desktop/images/02112025/01/00/image_02112025_01_00_27_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/00/59/image_02112025_01_00_00_2594.jpg
/home/pi/Desktop/images/02112025/01/00/image_02112025_01_00_11_2632.jpg
/home/pi/Desktop/images/02112025/01/00/image_02112025_01_00_14_2769.jpg
/home/pi/Desktop/images/02112025/01/00/image_02112025_01_00_20_2518.jpg
/home/pi/Desktop/images/02112025/01/00/image_02112025_01_00_24_3565.jpg
/home/pi/Desktop/images/02112025/01/00/image_02112025_01_00_27_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391870016","1391870009","1391870020","1391870014","1391870017","1391870013"],"photo_ids_order":["1391870009","1391870013","1391870014","1391870016","1391870017","1391870020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0441ed59301a41c55d15533acb1b8fe3.jpg","text":"TemporaryFile(/tmp/multipartBody3990091537231017231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107103619,"filename":"image_02112025_01_00_20_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/2/efc8bec86f2e40c0722af4fba71078ac.jpg","text":"TemporaryFile(/tmp/multipartBody5962300088669175306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107103619,"filename":"image_02112025_01_00_00_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/2/54f1d802c89e6c0c996b8a0029899bad.jpg","text":"TemporaryFile(/tmp/multipartBody6958228367277412769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107103619,"filename":"image_02112025_01_00_27_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/2/34db15d161f777d9d75ce258a8d7e558.jpg","text":"TemporaryFile(/tmp/multipartBody3874756870727267782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107103619,"filename":"image_02112025_01_00_14_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/2/a3e5ad9712c2d50d10b641a627417125.jpg","text":"TemporaryFile(/tmp/multipartBody2806526365739106251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107103619,"filename":"image_02112025_01_00_24_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/2/d8298680c1c0547ff72be1624d050f9e.jpg","text":"TemporaryFile(/tmp/multipartBody8917348680280880702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107103619,"filename":"image_02112025_01_00_11_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391870014","file1":"1391870013","file0":"1391870009","file4":"1391870017","file5":"1391870020","file3":"1391870016"},"map_files_photo_id_array":[{"photo_id":"1391870020","filename":"file5"},{"photo_id":"1391870014","filename":"file2"},{"photo_id":"1391870017","filename":"file4"},{"photo_id":"1391870013","filename":"file1"},{"photo_id":"1391870009","filename":"file0"},{"photo_id":"1391870016","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391870016":["hashtag1","hashtag2"]},{"1391870009":["hashtag1","hashtag2"]},{"1391870020":["hashtag1","hashtag2"]},{"1391870014":["hashtag1","hashtag2"]},{"1391870017":["hashtag1","hashtag2"]},{"1391870013":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391870016, 1391870009, 1391870020, 1391870014, 1391870017, 1391870013)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.0016028881073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:11:41.902875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/00/image_02112025_01_00_29_2686.jpg', '/home/pi/Desktop/images/02112025/01/00/image_02112025_01_00_38_2652.jpg', '/home/pi/Desktop/images/02112025/01/00/image_02112025_01_00_41_2699.jpg', '/home/pi/Desktop/images/02112025/01/00/image_02112025_01_00_45_3534.jpg', '/home/pi/Desktop/images/02112025/01/00/image_02112025_01_00_48_2912.jpg', '/home/pi/Desktop/images/02112025/01/00/image_02112025_01_00_50_2523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/00/image_02112025_01_00_29_2686.jpg
/home/pi/Desktop/images/02112025/01/00/image_02112025_01_00_38_2652.jpg
/home/pi/Desktop/images/02112025/01/00/image_02112025_01_00_41_2699.jpg
/home/pi/Desktop/images/02112025/01/00/image_02112025_01_00_45_3534.jpg
/home/pi/Desktop/images/02112025/01/00/image_02112025_01_00_48_2912.jpg
/home/pi/Desktop/images/02112025/01/00/image_02112025_01_00_50_2523.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391870032","1391870035","1391870038","1391870043","1391870046","1391870049"],"photo_ids_order":["1391870032","1391870035","1391870038","1391870043","1391870046","1391870049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/20c6fecda788651569f2b455d253b9f6.jpg","text":"TemporaryFile(/tmp/multipartBody5311152918064393864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107162746,"filename":"image_02112025_01_00_29_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/2/92c05dac52e7494ec3fcf76ab0ff15ec.jpg","text":"TemporaryFile(/tmp/multipartBody235460997623382225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107162746,"filename":"image_02112025_01_00_38_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/2/43fd14487cf1eababad11d20e68ceff2.jpg","text":"TemporaryFile(/tmp/multipartBody6851103348816694301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107162746,"filename":"image_02112025_01_00_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/2/e6fb8982dc5fabe4825155cc896bf321.jpg","text":"TemporaryFile(/tmp/multipartBody3291156191477025495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107162746,"filename":"image_02112025_01_00_45_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/2/564fe71ee038b42a7b2d69de225d24f0.jpg","text":"TemporaryFile(/tmp/multipartBody169408321262226203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107162746,"filename":"image_02112025_01_00_48_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/2/8242fbdd12016fd0d6c93c77a5f0a09d.jpg","text":"TemporaryFile(/tmp/multipartBody2258800513101712024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107162746,"filename":"image_02112025_01_00_50_2523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391870038","file1":"1391870035","file0":"1391870032","file4":"1391870046","file5":"1391870049","file3":"1391870043"},"map_files_photo_id_array":[{"photo_id":"1391870049","filename":"file5"},{"photo_id":"1391870038","filename":"file2"},{"photo_id":"1391870046","filename":"file4"},{"photo_id":"1391870035","filename":"file1"},{"photo_id":"1391870032","filename":"file0"},{"photo_id":"1391870043","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391870032":["hashtag1","hashtag2"]},{"1391870035":["hashtag1","hashtag2"]},{"1391870038":["hashtag1","hashtag2"]},{"1391870043":["hashtag1","hashtag2"]},{"1391870046":["hashtag1","hashtag2"]},{"1391870049":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391870032, 1391870035, 1391870038, 1391870043, 1391870046, 1391870049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86870217323303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:12:22.029963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/00/image_02112025_01_00_56_2537.jpg', '/home/pi/Desktop/images/02112025/01/00/image_02112025_01_01_00_3767.jpg', '/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_02_2530.jpg', '/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_05_2626.jpg', '/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_09_3653.jpg', '/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_14_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/00/image_02112025_01_00_56_2537.jpg
/home/pi/Desktop/images/02112025/01/00/image_02112025_01_01_00_3767.jpg
/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_02_2530.jpg
/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_05_2626.jpg
/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_09_3653.jpg
/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_14_2605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391870060","1391870062","1391870056","1391870091","1391870073","1391870085"],"photo_ids_order":["1391870056","1391870060","1391870062","1391870073","1391870085","1391870091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/953dbc77ab8d50d790e061a25baf4f4c.jpg","text":"TemporaryFile(/tmp/multipartBody75816625623984646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107202815,"filename":"image_02112025_01_01_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/2/bc1a580990ee5c5c378ad4c5be0d5aae.jpg","text":"TemporaryFile(/tmp/multipartBody8070293368196320579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107202815,"filename":"image_02112025_01_01_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/2/51aabe2b49cabbb0ba3adc1c9a3129a4.jpg","text":"TemporaryFile(/tmp/multipartBody620143129561960995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107202815,"filename":"image_02112025_01_00_56_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/2/f23c6c2c5b7b369baf8d8c526fd90a7f.jpg","text":"TemporaryFile(/tmp/multipartBody6696881484396813671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107202815,"filename":"image_02112025_01_01_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/2/14db445f7c8bcf4abc8ae864a5cead5a.jpg","text":"TemporaryFile(/tmp/multipartBody4284601811665877826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107202815,"filename":"image_02112025_01_01_05_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/2/2f1540df43e7cbcd2acb1a4e62527116.jpg","text":"TemporaryFile(/tmp/multipartBody8070847859765866760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107202815,"filename":"image_02112025_01_01_09_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391870062","file1":"1391870060","file0":"1391870056","file4":"1391870085","file5":"1391870091","file3":"1391870073"},"map_files_photo_id_array":[{"photo_id":"1391870091","filename":"file5"},{"photo_id":"1391870062","filename":"file2"},{"photo_id":"1391870085","filename":"file4"},{"photo_id":"1391870060","filename":"file1"},{"photo_id":"1391870056","filename":"file0"},{"photo_id":"1391870073","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391870060":["hashtag1","hashtag2"]},{"1391870062":["hashtag1","hashtag2"]},{"1391870056":["hashtag1","hashtag2"]},{"1391870091":["hashtag1","hashtag2"]},{"1391870073":["hashtag1","hashtag2"]},{"1391870085":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391870060, 1391870062, 1391870056, 1391870091, 1391870073, 1391870085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39669942855835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:13:02.740883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_18_3713.jpg', '/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_20_2677.jpg', '/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_23_2587.jpg', '/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_27_3739.jpg', '/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_29_2591.jpg', '/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_33_3562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_18_3713.jpg
/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_20_2677.jpg
/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_23_2587.jpg
/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_27_3739.jpg
/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_29_2591.jpg
/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_33_3562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391870123","1391870117","1391870134","1391870128","1391870119","1391870130"],"photo_ids_order":["1391870117","1391870119","1391870123","1391870128","1391870130","1391870134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/67358b6eb400a36197293cc522025dc0.jpg","text":"TemporaryFile(/tmp/multipartBody5747210943891912362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107244012,"filename":"image_02112025_01_01_23_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/2/b2dbbfff23354220602d73f222388df1.jpg","text":"TemporaryFile(/tmp/multipartBody7071788968854047755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107244012,"filename":"image_02112025_01_01_18_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/2/214d08b66ba0849fcebf6f7143029c68.jpg","text":"TemporaryFile(/tmp/multipartBody4973901067277015714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107244012,"filename":"image_02112025_01_01_33_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/2/bc0f93486ec2bf268fc0cbde27b41a65.jpg","text":"TemporaryFile(/tmp/multipartBody7028466611676899384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107244012,"filename":"image_02112025_01_01_27_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/2/24e5f9af3ab788c7606c60640fd48d3d.jpg","text":"TemporaryFile(/tmp/multipartBody6370023418593616335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107244012,"filename":"image_02112025_01_01_20_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/2/e7d4bece1e9caba0b900f7fb767d59cd.jpg","text":"TemporaryFile(/tmp/multipartBody7343265719799390900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107244012,"filename":"image_02112025_01_01_29_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391870123","file1":"1391870119","file0":"1391870117","file4":"1391870130","file5":"1391870134","file3":"1391870128"},"map_files_photo_id_array":[{"photo_id":"1391870134","filename":"file5"},{"photo_id":"1391870123","filename":"file2"},{"photo_id":"1391870130","filename":"file4"},{"photo_id":"1391870119","filename":"file1"},{"photo_id":"1391870117","filename":"file0"},{"photo_id":"1391870128","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391870123":["hashtag1","hashtag2"]},{"1391870117":["hashtag1","hashtag2"]},{"1391870134":["hashtag1","hashtag2"]},{"1391870128":["hashtag1","hashtag2"]},{"1391870119":["hashtag1","hashtag2"]},{"1391870130":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391870123, 1391870117, 1391870134, 1391870128, 1391870119, 1391870130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06622076034546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:13:42.237742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_36_2793.jpg', '/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_42_3655.jpg', '/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_45_2761.jpg', '/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_47_2569.jpg', '/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_51_3538.jpg', '/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_53_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_36_2793.jpg
/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_42_3655.jpg
/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_45_2761.jpg
/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_47_2569.jpg
/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_51_3538.jpg
/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_53_2710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391870150","1391870153","1391870147","1391870144","1391870140","1391870136"],"photo_ids_order":["1391870136","1391870140","1391870144","1391870147","1391870150","1391870153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fae90be6196ecfae50bb0df05a5e18e7.jpg","text":"TemporaryFile(/tmp/multipartBody3372835718300717514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107283075,"filename":"image_02112025_01_01_51_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/2/8b55f51699668bb9b4e2ebda412241e2.jpg","text":"TemporaryFile(/tmp/multipartBody450757028186569889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107283075,"filename":"image_02112025_01_01_53_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/2/33aede0fb1ababaa096a0e453b1c7a5a.jpg","text":"TemporaryFile(/tmp/multipartBody4789598189725261823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107283075,"filename":"image_02112025_01_01_47_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/2/5b3ad5d1232fb2256de93ed2935a0de5.jpg","text":"TemporaryFile(/tmp/multipartBody8629202440311941898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107283075,"filename":"image_02112025_01_01_45_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/2/40ee4a3910ad78079aac1f0e773fdf65.jpg","text":"TemporaryFile(/tmp/multipartBody7766206293085526366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107283075,"filename":"image_02112025_01_01_42_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/2/5a1eeafe01181396365ab3d3245910bd.jpg","text":"TemporaryFile(/tmp/multipartBody4470714557821445721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107283075,"filename":"image_02112025_01_01_36_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391870144","file1":"1391870140","file0":"1391870136","file4":"1391870150","file5":"1391870153","file3":"1391870147"},"map_files_photo_id_array":[{"photo_id":"1391870153","filename":"file5"},{"photo_id":"1391870144","filename":"file2"},{"photo_id":"1391870150","filename":"file4"},{"photo_id":"1391870140","filename":"file1"},{"photo_id":"1391870136","filename":"file0"},{"photo_id":"1391870147","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391870150":["hashtag1","hashtag2"]},{"1391870153":["hashtag1","hashtag2"]},{"1391870147":["hashtag1","hashtag2"]},{"1391870144":["hashtag1","hashtag2"]},{"1391870140":["hashtag1","hashtag2"]},{"1391870136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391870150, 1391870153, 1391870147, 1391870144, 1391870140, 1391870136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88678860664368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:14:22.365741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_56_2727.jpg', '/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_03_3812.jpg', '/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_05_2659.jpg', '/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_14_2690.jpg', '/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_17_2606.jpg', '/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_21_3735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/01/image_02112025_01_01_56_2727.jpg
/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_03_3812.jpg
/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_05_2659.jpg
/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_14_2690.jpg
/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_17_2606.jpg
/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_21_3735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391870159","1391870207","1391870182","1391870191","1391870170","1391870163"],"photo_ids_order":["1391870159","1391870163","1391870170","1391870182","1391870191","1391870207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/231a7b2ab7bd8c975984bda5d4d37307.jpg","text":"TemporaryFile(/tmp/multipartBody8292667036407992013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107325927,"filename":"image_02112025_01_01_56_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/2/49af9f7100c622a30da937ff6577fdb2.jpg","text":"TemporaryFile(/tmp/multipartBody1425019763868355262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107325927,"filename":"image_02112025_01_02_21_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/2/e8cb445f5a58fb6a0fa112aacd6cb8f7.jpg","text":"TemporaryFile(/tmp/multipartBody1941582854730263991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107325927,"filename":"image_02112025_01_02_14_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/2/2b627d21b801b58fbe441d0fffe8a77c.jpg","text":"TemporaryFile(/tmp/multipartBody1180923735893908649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107325927,"filename":"image_02112025_01_02_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/2/13c049d5d624f8f2d2acb47b7e52db9a.jpg","text":"TemporaryFile(/tmp/multipartBody3880212675397994993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107325927,"filename":"image_02112025_01_02_05_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/2/3cc356c74cf9e7618805e3e17430ff6c.jpg","text":"TemporaryFile(/tmp/multipartBody6613284697403990305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107325927,"filename":"image_02112025_01_02_03_3812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391870170","file1":"1391870163","file0":"1391870159","file4":"1391870191","file5":"1391870207","file3":"1391870182"},"map_files_photo_id_array":[{"photo_id":"1391870207","filename":"file5"},{"photo_id":"1391870170","filename":"file2"},{"photo_id":"1391870191","filename":"file4"},{"photo_id":"1391870163","filename":"file1"},{"photo_id":"1391870159","filename":"file0"},{"photo_id":"1391870182","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391870159":["hashtag1","hashtag2"]},{"1391870207":["hashtag1","hashtag2"]},{"1391870182":["hashtag1","hashtag2"]},{"1391870191":["hashtag1","hashtag2"]},{"1391870170":["hashtag1","hashtag2"]},{"1391870163":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391870159, 1391870207, 1391870182, 1391870191, 1391870170, 1391870163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.46622014045715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:15:05.207765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_23_2575.jpg', '/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_27_3586.jpg', '/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_29_2649.jpg', '/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_32_2794.jpg', '/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_35_2741.jpg', '/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_39_3532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_23_2575.jpg
/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_27_3586.jpg
/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_29_2649.jpg
/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_32_2794.jpg
/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_35_2741.jpg
/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_39_3532.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391870246","1391870249","1391870243","1391870233","1391870241","1391870238"],"photo_ids_order":["1391870233","1391870238","1391870241","1391870243","1391870246","1391870249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e54d17494a959e24154c2aee1e9a2de7.jpg","text":"TemporaryFile(/tmp/multipartBody380095191901307895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107366142,"filename":"image_02112025_01_02_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/2/e112fef45af2ff239bf5458d9d856d2c.jpg","text":"TemporaryFile(/tmp/multipartBody221756991490114025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107366142,"filename":"image_02112025_01_02_39_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/2/4f7b5d5624c311abc080a1895e31f640.jpg","text":"TemporaryFile(/tmp/multipartBody4536777473806426925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107366142,"filename":"image_02112025_01_02_32_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/2/5ad29c4ab31e3960fbdd07b51c34ae41.jpg","text":"TemporaryFile(/tmp/multipartBody2777599250734012662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107366142,"filename":"image_02112025_01_02_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/2/322277f4bdd8794f093d1c4e137b1019.jpg","text":"TemporaryFile(/tmp/multipartBody7308113439989937903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107366142,"filename":"image_02112025_01_02_29_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/2/81b4cdcab7023d69e1e239923629f48d.jpg","text":"TemporaryFile(/tmp/multipartBody9087451243624700670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107366142,"filename":"image_02112025_01_02_27_3586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391870241","file1":"1391870238","file0":"1391870233","file4":"1391870246","file5":"1391870249","file3":"1391870243"},"map_files_photo_id_array":[{"photo_id":"1391870249","filename":"file5"},{"photo_id":"1391870241","filename":"file2"},{"photo_id":"1391870246","filename":"file4"},{"photo_id":"1391870238","filename":"file1"},{"photo_id":"1391870233","filename":"file0"},{"photo_id":"1391870243","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391870246":["hashtag1","hashtag2"]},{"1391870249":["hashtag1","hashtag2"]},{"1391870243":["hashtag1","hashtag2"]},{"1391870233":["hashtag1","hashtag2"]},{"1391870241":["hashtag1","hashtag2"]},{"1391870238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391870246, 1391870249, 1391870243, 1391870233, 1391870241, 1391870238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.746010541915894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:15:44.606206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_48_3669.jpg', '/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_50_2576.jpg', '/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_54_3567.jpg', '/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_56_2729.jpg', '/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_59_2677.jpg', '/home/pi/Desktop/images/02112025/01/03/image_02112025_01_03_03_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_48_3669.jpg
/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_50_2576.jpg
/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_54_3567.jpg
/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_56_2729.jpg
/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_59_2677.jpg
/home/pi/Desktop/images/02112025/01/03/image_02112025_01_03_03_3617.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.743049144744873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:16:03.230172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_48_3669.jpg', '/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_50_2576.jpg', '/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_54_3567.jpg', '/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_56_2729.jpg', '/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_59_2677.jpg', '/home/pi/Desktop/images/02112025/01/03/image_02112025_01_03_03_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_48_3669.jpg
/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_50_2576.jpg
/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_54_3567.jpg
/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_56_2729.jpg
/home/pi/Desktop/images/02112025/01/02/image_02112025_01_02_59_2677.jpg
/home/pi/Desktop/images/02112025/01/03/image_02112025_01_03_03_3617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391870270","1391870264","1391870275","1391870272","1391870280","1391870268"],"photo_ids_order":["1391870264","1391870268","1391870270","1391870272","1391870275","1391870280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cabcbab559eae95308370f2c54826225.jpg","text":"TemporaryFile(/tmp/multipartBody1733608300799305749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107423975,"filename":"image_02112025_01_02_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/2/59a3000726374cb74815886bd706c99e.jpg","text":"TemporaryFile(/tmp/multipartBody8457869920884829351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107423975,"filename":"image_02112025_01_02_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/2/3e3f6f3a9a303cd99d8896ac4dd81591.jpg","text":"TemporaryFile(/tmp/multipartBody2307465241537470051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107423975,"filename":"image_02112025_01_02_59_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/2/1fbf3803b6a3e7051c8f2197d30e7375.jpg","text":"TemporaryFile(/tmp/multipartBody6256540994751772604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107423975,"filename":"image_02112025_01_02_56_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/2/1aaaf874402eb77db4037014c5c55635.jpg","text":"TemporaryFile(/tmp/multipartBody5398395218419530254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107423975,"filename":"image_02112025_01_03_03_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/2/76e2708b7f1d7595a526cf12a0abdd98.jpg","text":"TemporaryFile(/tmp/multipartBody2923350389461453995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107423975,"filename":"image_02112025_01_02_50_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391870270","file1":"1391870268","file0":"1391870264","file4":"1391870275","file5":"1391870280","file3":"1391870272"},"map_files_photo_id_array":[{"photo_id":"1391870280","filename":"file5"},{"photo_id":"1391870270","filename":"file2"},{"photo_id":"1391870275","filename":"file4"},{"photo_id":"1391870268","filename":"file1"},{"photo_id":"1391870264","filename":"file0"},{"photo_id":"1391870272","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391870270":["hashtag1","hashtag2"]},{"1391870264":["hashtag1","hashtag2"]},{"1391870275":["hashtag1","hashtag2"]},{"1391870272":["hashtag1","hashtag2"]},{"1391870280":["hashtag1","hashtag2"]},{"1391870268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391870270, 1391870264, 1391870275, 1391870272, 1391870280, 1391870268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.029338121414185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:16:42.823434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/03/image_02112025_01_03_05_2615.jpg', '/home/pi/Desktop/images/02112025/01/03/image_02112025_01_03_08_2525.jpg', '/home/pi/Desktop/images/02112025/01/03/image_02112025_01_03_15_3606.jpg', '/home/pi/Desktop/images/02112025/01/03/image_02112025_01_03_31_16699.jpg', '/home/pi/Desktop/images/02112025/01/03/image_02112025_01_03_33_1695.jpg', '/home/pi/Desktop/images/02112025/01/03/image_02112025_01_03_43_10096.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/03/image_02112025_01_03_05_2615.jpg
/home/pi/Desktop/images/02112025/01/03/image_02112025_01_03_08_2525.jpg
/home/pi/Desktop/images/02112025/01/03/image_02112025_01_03_15_3606.jpg
/home/pi/Desktop/images/02112025/01/03/image_02112025_01_03_31_16699.jpg
/home/pi/Desktop/images/02112025/01/03/image_02112025_01_03_33_1695.jpg
/home/pi/Desktop/images/02112025/01/03/image_02112025_01_03_43_10096.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391870305","1391870298","1391870292","1391870295","1391870289","1391870301"],"photo_ids_order":["1391870289","1391870292","1391870295","1391870298","1391870301","1391870305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/51c3b5baf5d9c864206a537b01754515.jpg","text":"TemporaryFile(/tmp/multipartBody3754762100221227137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107463648,"filename":"image_02112025_01_03_43_10096.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/457fbea4eb2f1af49cef5c902ff28ae5.jpg","text":"TemporaryFile(/tmp/multipartBody5912255004336594105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107463648,"filename":"image_02112025_01_03_31_16699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9fc44f793ea7057bcd47a44fdaa27a31.jpg","text":"TemporaryFile(/tmp/multipartBody4489480673029329445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107463648,"filename":"image_02112025_01_03_08_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/2/b23c7bfa8d0f1e02e0c5227a98adcd5c.jpg","text":"TemporaryFile(/tmp/multipartBody7238187102874875398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107463648,"filename":"image_02112025_01_03_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/2/2c5bd0d35a5424b36622dedbd83a7557.jpg","text":"TemporaryFile(/tmp/multipartBody5199246781299536162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107463648,"filename":"image_02112025_01_03_05_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/2/ed1ced8e883d5a2710764f73917c99c2.jpg","text":"TemporaryFile(/tmp/multipartBody4020891334746512490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107463648,"filename":"image_02112025_01_03_33_1695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391870295","file1":"1391870292","file0":"1391870289","file4":"1391870301","file5":"1391870305","file3":"1391870298"},"map_files_photo_id_array":[{"photo_id":"1391870305","filename":"file5"},{"photo_id":"1391870295","filename":"file2"},{"photo_id":"1391870301","filename":"file4"},{"photo_id":"1391870292","filename":"file1"},{"photo_id":"1391870289","filename":"file0"},{"photo_id":"1391870298","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391870305":["hashtag1","hashtag2"]},{"1391870298":["hashtag1","hashtag2"]},{"1391870292":["hashtag1","hashtag2"]},{"1391870295":["hashtag1","hashtag2"]},{"1391870289":["hashtag1","hashtag2"]},{"1391870301":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391870305, 1391870298, 1391870292, 1391870295, 1391870289, 1391870301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45644426345825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:17:21.944365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/03/image_02112025_01_03_46_1668.jpg', '/home/pi/Desktop/images/02112025/01/03/image_02112025_01_03_50_1717.jpg', '/home/pi/Desktop/images/02112025/01/03/image_02112025_01_03_51_1697.jpg', '/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_01_1885.jpg', '/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_06_3177.jpg', '/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_08_1825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/03/image_02112025_01_03_46_1668.jpg
/home/pi/Desktop/images/02112025/01/03/image_02112025_01_03_50_1717.jpg
/home/pi/Desktop/images/02112025/01/03/image_02112025_01_03_51_1697.jpg
/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_01_1885.jpg
/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_06_3177.jpg
/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_08_1825.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391870318","1391870323","1391870311","1391870320","1391870314","1391870316"],"photo_ids_order":["1391870311","1391870314","1391870316","1391870318","1391870320","1391870323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/dd5bb0c18d221db8965a4896458d9ebf.jpg","text":"TemporaryFile(/tmp/multipartBody7996099467229723724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107502734,"filename":"image_02112025_01_04_01_1885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b6d4aed58c5c67b09efd466c08dcdef7.jpg","text":"TemporaryFile(/tmp/multipartBody334477375001797416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107502734,"filename":"image_02112025_01_04_08_1825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e73a995550a36ac5b28fb11615e7a48f.jpg","text":"TemporaryFile(/tmp/multipartBody8117281365286764689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107502734,"filename":"image_02112025_01_03_46_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/2/5a24b25953e87017a0a42473bfbb17bd.jpg","text":"TemporaryFile(/tmp/multipartBody6120674460388992735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107502734,"filename":"image_02112025_01_04_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/2/6c256568fe124a08ed1828e39b5b333b.jpg","text":"TemporaryFile(/tmp/multipartBody5426431607820621559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107502734,"filename":"image_02112025_01_03_50_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/2/424bc0fab0fe8e2f7df6e3eafea116fa.jpg","text":"TemporaryFile(/tmp/multipartBody8658063634399179356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107502734,"filename":"image_02112025_01_03_51_1697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391870316","file1":"1391870314","file0":"1391870311","file4":"1391870320","file5":"1391870323","file3":"1391870318"},"map_files_photo_id_array":[{"photo_id":"1391870323","filename":"file5"},{"photo_id":"1391870316","filename":"file2"},{"photo_id":"1391870320","filename":"file4"},{"photo_id":"1391870314","filename":"file1"},{"photo_id":"1391870311","filename":"file0"},{"photo_id":"1391870318","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391870318":["hashtag1","hashtag2"]},{"1391870323":["hashtag1","hashtag2"]},{"1391870311":["hashtag1","hashtag2"]},{"1391870320":["hashtag1","hashtag2"]},{"1391870314":["hashtag1","hashtag2"]},{"1391870316":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391870318, 1391870323, 1391870311, 1391870320, 1391870314, 1391870316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63821506500244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:18:02.689548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_09_1690.jpg', '/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_11_1695.jpg', '/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_13_1679.jpg', '/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_14_1600.jpg', '/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_16_1706.jpg', '/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_18_1803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_09_1690.jpg
/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_11_1695.jpg
/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_13_1679.jpg
/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_14_1600.jpg
/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_16_1706.jpg
/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_18_1803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391870339","1391870341","1391870344","1391870352","1391870346","1391870349"],"photo_ids_order":["1391870339","1391870341","1391870344","1391870346","1391870349","1391870352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e24ba625d4c112bce43a5bba97774306.jpg","text":"TemporaryFile(/tmp/multipartBody7079316279367483960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107543504,"filename":"image_02112025_01_04_09_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/808c70dd7d6ce2f2b0d61e0a73a08e39.jpg","text":"TemporaryFile(/tmp/multipartBody4614363151383862590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107543504,"filename":"image_02112025_01_04_11_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/2/dfcd88b686e7c441bd3c00c2d0f56e71.jpg","text":"TemporaryFile(/tmp/multipartBody8994011710310686790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107543504,"filename":"image_02112025_01_04_13_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/2/ee15c0ff470c7317fa9ce19f75f95dbb.jpg","text":"TemporaryFile(/tmp/multipartBody3175462449242373016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107543504,"filename":"image_02112025_01_04_18_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/2/9545f268715fad258934b9e8b9c15104.jpg","text":"TemporaryFile(/tmp/multipartBody2879427787971209474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107543504,"filename":"image_02112025_01_04_14_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4120e11c3fc3953cf4f2e4dab0699076.jpg","text":"TemporaryFile(/tmp/multipartBody1165567779274782303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107543504,"filename":"image_02112025_01_04_16_1706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391870344","file1":"1391870341","file0":"1391870339","file4":"1391870349","file5":"1391870352","file3":"1391870346"},"map_files_photo_id_array":[{"photo_id":"1391870352","filename":"file5"},{"photo_id":"1391870344","filename":"file2"},{"photo_id":"1391870349","filename":"file4"},{"photo_id":"1391870341","filename":"file1"},{"photo_id":"1391870339","filename":"file0"},{"photo_id":"1391870346","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391870339":["hashtag1","hashtag2"]},{"1391870341":["hashtag1","hashtag2"]},{"1391870344":["hashtag1","hashtag2"]},{"1391870352":["hashtag1","hashtag2"]},{"1391870346":["hashtag1","hashtag2"]},{"1391870349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391870339, 1391870341, 1391870344, 1391870352, 1391870346, 1391870349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14360427856445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:18:42.217862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_23_2678.jpg', '/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_29_3541.jpg', '/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_35_2761.jpg', '/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_38_2869.jpg', '/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_42_3748.jpg', '/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_44_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_23_2678.jpg
/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_29_3541.jpg
/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_35_2761.jpg
/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_38_2869.jpg
/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_42_3748.jpg
/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_44_2548.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391870366","1391870369","1391870360","1391870368","1391870370","1391870364"],"photo_ids_order":["1391870360","1391870364","1391870366","1391870368","1391870369","1391870370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a1f1f1a39b77d47e72e9336c1d0a9001.jpg","text":"TemporaryFile(/tmp/multipartBody7549819972905758085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107583049,"filename":"image_02112025_01_04_35_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/2/3a2e50dc9edc2ccf96587ed2a380b37a.jpg","text":"TemporaryFile(/tmp/multipartBody8963493544376773387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107583049,"filename":"image_02112025_01_04_42_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/2/f95111831d3bb183b0b206e80b2af334.jpg","text":"TemporaryFile(/tmp/multipartBody6892945042810161395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107583049,"filename":"image_02112025_01_04_23_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/2/e565d984196bd5955955fd0c4f9b5529.jpg","text":"TemporaryFile(/tmp/multipartBody3041952148666243106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107583049,"filename":"image_02112025_01_04_38_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/2/0fc82d791ac456e9180b57a4e9c71941.jpg","text":"TemporaryFile(/tmp/multipartBody3124274162784893391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107583049,"filename":"image_02112025_01_04_44_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/2/d4fe71c07f4b5a944b61417e07927646.jpg","text":"TemporaryFile(/tmp/multipartBody577736376424717245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107583049,"filename":"image_02112025_01_04_29_3541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391870366","file1":"1391870364","file0":"1391870360","file4":"1391870369","file5":"1391870370","file3":"1391870368"},"map_files_photo_id_array":[{"photo_id":"1391870370","filename":"file5"},{"photo_id":"1391870366","filename":"file2"},{"photo_id":"1391870369","filename":"file4"},{"photo_id":"1391870364","filename":"file1"},{"photo_id":"1391870360","filename":"file0"},{"photo_id":"1391870368","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391870366":["hashtag1","hashtag2"]},{"1391870369":["hashtag1","hashtag2"]},{"1391870360":["hashtag1","hashtag2"]},{"1391870368":["hashtag1","hashtag2"]},{"1391870370":["hashtag1","hashtag2"]},{"1391870364":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391870366, 1391870369, 1391870360, 1391870368, 1391870370, 1391870364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.4867217540741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:19:22.393754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_47_2626.jpg', '/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_50_3664.jpg', '/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_53_2693.jpg', '/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_56_2777.jpg', '/home/pi/Desktop/images/02112025/01/04/image_02112025_01_05_00_3685.jpg', '/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_02_2557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_47_2626.jpg
/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_50_3664.jpg
/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_53_2693.jpg
/home/pi/Desktop/images/02112025/01/04/image_02112025_01_04_56_2777.jpg
/home/pi/Desktop/images/02112025/01/04/image_02112025_01_05_00_3685.jpg
/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_02_2557.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391870414","1391870423","1391870392","1391870405","1391870385","1391870427"],"photo_ids_order":["1391870385","1391870392","1391870405","1391870414","1391870423","1391870427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b5a6c62462f70d738e7147feeb53ca37.jpg","text":"TemporaryFile(/tmp/multipartBody7768630612333175457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107623188,"filename":"image_02112025_01_04_56_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/2/27d63497583518a879be06dee073cb03.jpg","text":"TemporaryFile(/tmp/multipartBody7851637189512107951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107623188,"filename":"image_02112025_01_05_00_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/2/2d881ca22c33277b13fd077364138c6b.jpg","text":"TemporaryFile(/tmp/multipartBody5538774808692924048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107623188,"filename":"image_02112025_01_04_50_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/2/2e158333b55d907214033ac5439d6402.jpg","text":"TemporaryFile(/tmp/multipartBody3498733023270086943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107623188,"filename":"image_02112025_01_04_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/2/2b95badc35e30fd307047ff799e63226.jpg","text":"TemporaryFile(/tmp/multipartBody5305665297699637922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107623188,"filename":"image_02112025_01_04_47_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/2/385ddf3f28ab9c0faf7faf38fd661d08.jpg","text":"TemporaryFile(/tmp/multipartBody5770723185106119322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107623188,"filename":"image_02112025_01_05_02_2557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391870405","file1":"1391870392","file0":"1391870385","file4":"1391870423","file5":"1391870427","file3":"1391870414"},"map_files_photo_id_array":[{"photo_id":"1391870427","filename":"file5"},{"photo_id":"1391870405","filename":"file2"},{"photo_id":"1391870423","filename":"file4"},{"photo_id":"1391870392","filename":"file1"},{"photo_id":"1391870385","filename":"file0"},{"photo_id":"1391870414","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391870414":["hashtag1","hashtag2"]},{"1391870423":["hashtag1","hashtag2"]},{"1391870392":["hashtag1","hashtag2"]},{"1391870405":["hashtag1","hashtag2"]},{"1391870385":["hashtag1","hashtag2"]},{"1391870427":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391870414, 1391870423, 1391870392, 1391870405, 1391870385, 1391870427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.67663264274597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:20:03.098496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_05_2884.jpg', '/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_08_3539.jpg', '/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_11_2703.jpg', '/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_14_2629.jpg', '/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_17_3667.jpg', '/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_20_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_05_2884.jpg
/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_08_3539.jpg
/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_11_2703.jpg
/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_14_2629.jpg
/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_17_3667.jpg
/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_20_2627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391870459","1391870435","1391870440","1391870443","1391870437","1391870446"],"photo_ids_order":["1391870435","1391870437","1391870440","1391870443","1391870446","1391870459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/aaf2efd758179dbc3860ceee34b2cad8.jpg","text":"TemporaryFile(/tmp/multipartBody7191687687457378935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107664021,"filename":"image_02112025_01_05_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/2/ffde21573d57a20eac72766c1c0f1c1d.jpg","text":"TemporaryFile(/tmp/multipartBody5683793027167681585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107664021,"filename":"image_02112025_01_05_05_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/2/e20b57dd9d5b8c43628fe913f6d8f99a.jpg","text":"TemporaryFile(/tmp/multipartBody2485604455415931321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107664021,"filename":"image_02112025_01_05_11_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/2/98fcd6e37690cca62ee44f69117a71cf.jpg","text":"TemporaryFile(/tmp/multipartBody1943278574586059093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107664021,"filename":"image_02112025_01_05_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/2/d03e449db4916cb4b6cef2f58a2ad73f.jpg","text":"TemporaryFile(/tmp/multipartBody639878977041984553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107664021,"filename":"image_02112025_01_05_08_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/2/1709f827da537e3096bc95b9dd37dfd4.jpg","text":"TemporaryFile(/tmp/multipartBody6072968247119529516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107664021,"filename":"image_02112025_01_05_17_3667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391870440","file1":"1391870437","file0":"1391870435","file4":"1391870446","file5":"1391870459","file3":"1391870443"},"map_files_photo_id_array":[{"photo_id":"1391870459","filename":"file5"},{"photo_id":"1391870440","filename":"file2"},{"photo_id":"1391870446","filename":"file4"},{"photo_id":"1391870437","filename":"file1"},{"photo_id":"1391870435","filename":"file0"},{"photo_id":"1391870443","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391870459":["hashtag1","hashtag2"]},{"1391870435":["hashtag1","hashtag2"]},{"1391870440":["hashtag1","hashtag2"]},{"1391870443":["hashtag1","hashtag2"]},{"1391870437":["hashtag1","hashtag2"]},{"1391870446":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391870459, 1391870435, 1391870440, 1391870443, 1391870437, 1391870446)","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 = 1391870440 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_11_2703.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 56.07999300956726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:21:02.361313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_23_2776.jpg', '/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_26_2738.jpg', '/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_29_3639.jpg', '/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_32_2753.jpg', '/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_35_2744.jpg', '/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_41_2577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_23_2776.jpg
/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_26_2738.jpg
/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_29_3639.jpg
/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_32_2753.jpg
/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_35_2744.jpg
/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_41_2577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391870505","1391870496","1391870499","1391870508","1391870502","1391870492"],"photo_ids_order":["1391870492","1391870496","1391870499","1391870502","1391870505","1391870508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f9954b090f41ce58e2e0f11fcad607b7.jpg","text":"TemporaryFile(/tmp/multipartBody9111058513748788995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107723399,"filename":"image_02112025_01_05_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/2/8725ad315487c9a7f1cc477f6dd78543.jpg","text":"TemporaryFile(/tmp/multipartBody5204448945109285312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107723399,"filename":"image_02112025_01_05_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/2/261bd8bc5646c2774d005bcd32222d0e.jpg","text":"TemporaryFile(/tmp/multipartBody1566162236590801489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107723399,"filename":"image_02112025_01_05_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/2/bd7ba2925dbfeec3d6a09597f154700c.jpg","text":"TemporaryFile(/tmp/multipartBody3368670133841299840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107723399,"filename":"image_02112025_01_05_41_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/2/46c6bb46dd1773948194003a0411984f.jpg","text":"TemporaryFile(/tmp/multipartBody5215758224102750627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107723399,"filename":"image_02112025_01_05_32_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/2/32047c021c903fe40cce95b1d4b61726.jpg","text":"TemporaryFile(/tmp/multipartBody9032998608929404858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107723399,"filename":"image_02112025_01_05_23_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391870499","file1":"1391870496","file0":"1391870492","file4":"1391870505","file5":"1391870508","file3":"1391870502"},"map_files_photo_id_array":[{"photo_id":"1391870508","filename":"file5"},{"photo_id":"1391870499","filename":"file2"},{"photo_id":"1391870505","filename":"file4"},{"photo_id":"1391870496","filename":"file1"},{"photo_id":"1391870492","filename":"file0"},{"photo_id":"1391870502","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391870505":["hashtag1","hashtag2"]},{"1391870496":["hashtag1","hashtag2"]},{"1391870499":["hashtag1","hashtag2"]},{"1391870508":["hashtag1","hashtag2"]},{"1391870502":["hashtag1","hashtag2"]},{"1391870492":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391870505, 1391870496, 1391870499, 1391870508, 1391870502, 1391870492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42396402359009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:21:41.813991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_47_2704.jpg', '/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_50_3654.jpg', '/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_56_2700.jpg', '/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_59_3705.jpg', '/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_05_2680.jpg', '/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_08_3554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_47_2704.jpg
/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_50_3654.jpg
/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_56_2700.jpg
/home/pi/Desktop/images/02112025/01/05/image_02112025_01_05_59_3705.jpg
/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_05_2680.jpg
/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_08_3554.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391870564","1391870558","1391870540","1391870562","1391870565","1391870535"],"photo_ids_order":["1391870535","1391870540","1391870558","1391870562","1391870564","1391870565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/31c0ec4e0bef353a022bd7fa718f6243.jpg","text":"TemporaryFile(/tmp/multipartBody7551486434829565865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107762621,"filename":"image_02112025_01_06_05_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/2/7e3cbca5d078c7957def0cbc9d9cc4c8.jpg","text":"TemporaryFile(/tmp/multipartBody972455991226184382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107762621,"filename":"image_02112025_01_05_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/2/aa9c96461bd8d42163c8c5d7c599c10b.jpg","text":"TemporaryFile(/tmp/multipartBody5524514417626537502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107762621,"filename":"image_02112025_01_05_50_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/2/02289f13ef71eaee8ed7ba0bb3182c4a.jpg","text":"TemporaryFile(/tmp/multipartBody3353446213227225091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107762621,"filename":"image_02112025_01_05_59_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/2/0798901aed4d24a9269df9d09acafe85.jpg","text":"TemporaryFile(/tmp/multipartBody6596893242971579803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107762621,"filename":"image_02112025_01_06_08_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/2/731c3a2396300db4fdb6a997779a75af.jpg","text":"TemporaryFile(/tmp/multipartBody6515383171383034662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107762621,"filename":"image_02112025_01_05_47_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391870558","file1":"1391870540","file0":"1391870535","file4":"1391870564","file5":"1391870565","file3":"1391870562"},"map_files_photo_id_array":[{"photo_id":"1391870565","filename":"file5"},{"photo_id":"1391870558","filename":"file2"},{"photo_id":"1391870564","filename":"file4"},{"photo_id":"1391870540","filename":"file1"},{"photo_id":"1391870535","filename":"file0"},{"photo_id":"1391870562","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391870564":["hashtag1","hashtag2"]},{"1391870558":["hashtag1","hashtag2"]},{"1391870540":["hashtag1","hashtag2"]},{"1391870562":["hashtag1","hashtag2"]},{"1391870565":["hashtag1","hashtag2"]},{"1391870535":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391870564, 1391870558, 1391870540, 1391870562, 1391870565, 1391870535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.931904554367065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:22:22.003832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_14_2674.jpg', '/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_17_3722.jpg', '/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_20_2603.jpg', '/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_23_3351.jpg', '/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_26_2740.jpg', '/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_29_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_14_2674.jpg
/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_17_3722.jpg
/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_20_2603.jpg
/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_23_3351.jpg
/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_26_2740.jpg
/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_29_2709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391870594","1391870576","1391870570","1391870572","1391870605","1391870574"],"photo_ids_order":["1391870570","1391870572","1391870574","1391870576","1391870594","1391870605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2127b98e1f97fabe086f7dc8c840922a.jpg","text":"TemporaryFile(/tmp/multipartBody7438742617126927011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107802788,"filename":"image_02112025_01_06_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/2/c6a7781dd4ec3bf07de97cea0b204141.jpg","text":"TemporaryFile(/tmp/multipartBody7415178531320197035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107802788,"filename":"image_02112025_01_06_23_3351.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0efb4db54e6cd8c1f1af9cac8b6ea41e.jpg","text":"TemporaryFile(/tmp/multipartBody6273620992690710200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107802788,"filename":"image_02112025_01_06_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/2/f64262dff67ead0b4d2cf799ba5036c2.jpg","text":"TemporaryFile(/tmp/multipartBody8742525718644083623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107802788,"filename":"image_02112025_01_06_17_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/2/f0260dbe46fa5d03bb7f8dd3daa066be.jpg","text":"TemporaryFile(/tmp/multipartBody8948138699238095858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107802788,"filename":"image_02112025_01_06_29_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/2/fdcfad0958ffbab3574c0aeb514c46d5.jpg","text":"TemporaryFile(/tmp/multipartBody5703733543025585177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107802788,"filename":"image_02112025_01_06_20_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391870574","file1":"1391870572","file0":"1391870570","file4":"1391870594","file5":"1391870605","file3":"1391870576"},"map_files_photo_id_array":[{"photo_id":"1391870605","filename":"file5"},{"photo_id":"1391870574","filename":"file2"},{"photo_id":"1391870594","filename":"file4"},{"photo_id":"1391870572","filename":"file1"},{"photo_id":"1391870570","filename":"file0"},{"photo_id":"1391870576","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391870594":["hashtag1","hashtag2"]},{"1391870576":["hashtag1","hashtag2"]},{"1391870570":["hashtag1","hashtag2"]},{"1391870572":["hashtag1","hashtag2"]},{"1391870605":["hashtag1","hashtag2"]},{"1391870574":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391870594, 1391870576, 1391870570, 1391870572, 1391870605, 1391870574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89245867729187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:23:03.007721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_35_2824.jpg', '/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_38_2687.jpg', '/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_41_2679.jpg', '/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_44_3520.jpg', '/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_47_2521.jpg', '/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_50_3692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_35_2824.jpg
/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_38_2687.jpg
/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_41_2679.jpg
/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_44_3520.jpg
/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_47_2521.jpg
/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_50_3692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391870642","1391870644","1391870643","1391870646","1391870640","1391870637"],"photo_ids_order":["1391870637","1391870640","1391870642","1391870643","1391870644","1391870646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b06ecd88336fc1b8316289898a7a1258.jpg","text":"TemporaryFile(/tmp/multipartBody566209361454137177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107843977,"filename":"image_02112025_01_06_41_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/2/e8dcb429c62770a9f6fdc19093a0611c.jpg","text":"TemporaryFile(/tmp/multipartBody2048392742536554811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107843977,"filename":"image_02112025_01_06_47_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/2/d5e984d3992b9b83921c11cd093f444c.jpg","text":"TemporaryFile(/tmp/multipartBody3319236891976758385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107843977,"filename":"image_02112025_01_06_44_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/2/02722d907e5d6ef525b90e6dcc11d4be.jpg","text":"TemporaryFile(/tmp/multipartBody3368862396423786570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107843977,"filename":"image_02112025_01_06_50_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/2/b918077a499f29460e1b5b76ca4fd753.jpg","text":"TemporaryFile(/tmp/multipartBody6347688018749625865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107843977,"filename":"image_02112025_01_06_38_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/2/4616f69e38243802d91aa6039886b0c1.jpg","text":"TemporaryFile(/tmp/multipartBody1392417685328378653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107843977,"filename":"image_02112025_01_06_35_2824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391870642","file1":"1391870640","file0":"1391870637","file4":"1391870644","file5":"1391870646","file3":"1391870643"},"map_files_photo_id_array":[{"photo_id":"1391870646","filename":"file5"},{"photo_id":"1391870642","filename":"file2"},{"photo_id":"1391870644","filename":"file4"},{"photo_id":"1391870640","filename":"file1"},{"photo_id":"1391870637","filename":"file0"},{"photo_id":"1391870643","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391870642":["hashtag1","hashtag2"]},{"1391870644":["hashtag1","hashtag2"]},{"1391870643":["hashtag1","hashtag2"]},{"1391870646":["hashtag1","hashtag2"]},{"1391870640":["hashtag1","hashtag2"]},{"1391870637":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391870642, 1391870644, 1391870643, 1391870646, 1391870640, 1391870637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3054141998291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:23:42.329798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_53_2628.jpg', '/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_55_2552.jpg', '/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_05_2663.jpg', '/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_08_3597.jpg', '/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_11_2751.jpg', '/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_13_2552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_53_2628.jpg
/home/pi/Desktop/images/02112025/01/06/image_02112025_01_06_55_2552.jpg
/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_05_2663.jpg
/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_08_3597.jpg
/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_11_2751.jpg
/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_13_2552.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391870720","1391870678","1391870723","1391870722","1391870710","1391870682"],"photo_ids_order":["1391870678","1391870682","1391870710","1391870720","1391870722","1391870723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/533270f537fe76a11095c6e6b4aa0a8a.jpg","text":"TemporaryFile(/tmp/multipartBody6418027326362628638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107883166,"filename":"image_02112025_01_07_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/2/375c36cc8d1051e6a658f1b0754e8b44.jpg","text":"TemporaryFile(/tmp/multipartBody2284274964785447591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107883166,"filename":"image_02112025_01_06_53_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/2/afadf2e26b5e3c5a074c8ba395127785.jpg","text":"TemporaryFile(/tmp/multipartBody841156741698964523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107883166,"filename":"image_02112025_01_07_13_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/2/cecd585efd227aaa0e96fe9f3ee19de2.jpg","text":"TemporaryFile(/tmp/multipartBody271249242534997638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107883166,"filename":"image_02112025_01_07_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/2/51d115d2e330d73eb21dff5175c41376.jpg","text":"TemporaryFile(/tmp/multipartBody6015516615991399007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107883166,"filename":"image_02112025_01_07_05_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/2/351bb3958f85353d8118878fa15ec07e.jpg","text":"TemporaryFile(/tmp/multipartBody2326521204941343035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107883166,"filename":"image_02112025_01_06_55_2552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391870710","file1":"1391870682","file0":"1391870678","file4":"1391870722","file5":"1391870723","file3":"1391870720"},"map_files_photo_id_array":[{"photo_id":"1391870723","filename":"file5"},{"photo_id":"1391870710","filename":"file2"},{"photo_id":"1391870722","filename":"file4"},{"photo_id":"1391870682","filename":"file1"},{"photo_id":"1391870678","filename":"file0"},{"photo_id":"1391870720","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391870720":["hashtag1","hashtag2"]},{"1391870678":["hashtag1","hashtag2"]},{"1391870723":["hashtag1","hashtag2"]},{"1391870722":["hashtag1","hashtag2"]},{"1391870710":["hashtag1","hashtag2"]},{"1391870682":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391870720, 1391870678, 1391870723, 1391870722, 1391870710, 1391870682)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.37173628807068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:24:42.463423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_17_3660.jpg', '/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_20_2718.jpg', '/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_23_2718.jpg', '/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_29_2820.jpg', '/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_32_3174.jpg', '/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_35_2572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_17_3660.jpg
/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_20_2718.jpg
/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_23_2718.jpg
/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_29_2820.jpg
/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_32_3174.jpg
/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_35_2572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391870780","1391870774","1391870782","1391870776","1391870770","1391870772"],"photo_ids_order":["1391870770","1391870772","1391870774","1391870776","1391870780","1391870782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3ede4ddf2708bd831dcb9a398e4e13fc.jpg","text":"TemporaryFile(/tmp/multipartBody3419813139656977868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107948983,"filename":"image_02112025_01_07_32_3174.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6cd8ca8403b6deb5875d5a9f1aa1e59e.jpg","text":"TemporaryFile(/tmp/multipartBody8824672688555309611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107948983,"filename":"image_02112025_01_07_23_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/2/82920100f0e47be548c3dbb7bf29c7c8.jpg","text":"TemporaryFile(/tmp/multipartBody1683642077627183711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107948983,"filename":"image_02112025_01_07_35_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/2/1599e0a849347b84ba25a9be2ae2a63c.jpg","text":"TemporaryFile(/tmp/multipartBody6470561771890864995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107948983,"filename":"image_02112025_01_07_29_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/2/30c1c21a43ffe04fa099a5020d24e8e4.jpg","text":"TemporaryFile(/tmp/multipartBody7817283964777279978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107948983,"filename":"image_02112025_01_07_17_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/2/d8cac97655eba9dfa852a9e9ec356d09.jpg","text":"TemporaryFile(/tmp/multipartBody3092478954257329961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762107948983,"filename":"image_02112025_01_07_20_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391870774","file1":"1391870772","file0":"1391870770","file4":"1391870780","file5":"1391870782","file3":"1391870776"},"map_files_photo_id_array":[{"photo_id":"1391870782","filename":"file5"},{"photo_id":"1391870774","filename":"file2"},{"photo_id":"1391870780","filename":"file4"},{"photo_id":"1391870772","filename":"file1"},{"photo_id":"1391870770","filename":"file0"},{"photo_id":"1391870776","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391870780":["hashtag1","hashtag2"]},{"1391870774":["hashtag1","hashtag2"]},{"1391870782":["hashtag1","hashtag2"]},{"1391870776":["hashtag1","hashtag2"]},{"1391870770":["hashtag1","hashtag2"]},{"1391870772":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391870780, 1391870774, 1391870782, 1391870776, 1391870770, 1391870772)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.20725226402283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:25:42.752070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_37_2563.jpg', '/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_41_3692.jpg', '/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_44_2641.jpg', '/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_47_2753.jpg', '/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_50_3649.jpg', '/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_55_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_37_2563.jpg
/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_41_3692.jpg
/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_44_2641.jpg
/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_47_2753.jpg
/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_50_3649.jpg
/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_55_2660.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7412023544311523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:26:02.613336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_37_2563.jpg', '/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_41_3692.jpg', '/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_44_2641.jpg', '/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_47_2753.jpg', '/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_50_3649.jpg', '/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_55_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_37_2563.jpg
/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_41_3692.jpg
/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_44_2641.jpg
/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_47_2753.jpg
/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_50_3649.jpg
/home/pi/Desktop/images/02112025/01/07/image_02112025_01_07_55_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391870816","1391870827","1391870818","1391870823","1391870820","1391870814"],"photo_ids_order":["1391870814","1391870816","1391870818","1391870820","1391870823","1391870827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0baaab07fad62f303cefc0f46556c61f.jpg","text":"TemporaryFile(/tmp/multipartBody3316410215419298647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108023359,"filename":"image_02112025_01_07_41_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/2/314e834b4606e75e6ee7495cf077cfd6.jpg","text":"TemporaryFile(/tmp/multipartBody4186651027848857133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108023359,"filename":"image_02112025_01_07_55_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/2/889cb1700dbe5cf8edda440682d68b60.jpg","text":"TemporaryFile(/tmp/multipartBody72505640632611153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108023359,"filename":"image_02112025_01_07_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/2/b8e2e6ee01ee9be6c4c7dcbac437740e.jpg","text":"TemporaryFile(/tmp/multipartBody2312217422369514318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108023359,"filename":"image_02112025_01_07_50_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/2/c8de2606d55ca5c08b67ada368ad04dd.jpg","text":"TemporaryFile(/tmp/multipartBody3064865769929098317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108023359,"filename":"image_02112025_01_07_47_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/2/2f88a052d3269eb05de3e0ff9ee1562d.jpg","text":"TemporaryFile(/tmp/multipartBody8720774718219882705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108023359,"filename":"image_02112025_01_07_37_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391870818","file1":"1391870816","file0":"1391870814","file4":"1391870823","file5":"1391870827","file3":"1391870820"},"map_files_photo_id_array":[{"photo_id":"1391870827","filename":"file5"},{"photo_id":"1391870818","filename":"file2"},{"photo_id":"1391870823","filename":"file4"},{"photo_id":"1391870816","filename":"file1"},{"photo_id":"1391870814","filename":"file0"},{"photo_id":"1391870820","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391870816":["hashtag1","hashtag2"]},{"1391870827":["hashtag1","hashtag2"]},{"1391870818":["hashtag1","hashtag2"]},{"1391870823":["hashtag1","hashtag2"]},{"1391870820":["hashtag1","hashtag2"]},{"1391870814":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391870816, 1391870827, 1391870818, 1391870823, 1391870820, 1391870814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95623183250427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:26:42.060854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_02_2661.jpg', '/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_05_3160.jpg', '/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_08_2664.jpg', '/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_10_2713.jpg', '/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_23_12180.jpg', '/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_24_1606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_02_2661.jpg
/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_05_3160.jpg
/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_08_2664.jpg
/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_10_2713.jpg
/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_23_12180.jpg
/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_24_1606.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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.20389723777771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:27:04.350833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_02_2661.jpg', '/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_05_3160.jpg', '/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_08_2664.jpg', '/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_10_2713.jpg', '/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_23_12180.jpg', '/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_24_1606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_02_2661.jpg
/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_05_3160.jpg
/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_08_2664.jpg
/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_10_2713.jpg
/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_23_12180.jpg
/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_24_1606.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":["1391870879","1391870873","1391870878","1391870880","1391870877","1391870882"],"photo_ids_order":["1391870873","1391870877","1391870878","1391870879","1391870880","1391870882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/903fdba3e3840f033c033beff098d32a.jpg","text":"TemporaryFile(/tmp/multipartBody1442570437652473445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108085195,"filename":"image_02112025_01_08_10_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/2/483d3ece7c0444e1b2502ac0e55bae87.jpg","text":"TemporaryFile(/tmp/multipartBody4935223449898116067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108085195,"filename":"image_02112025_01_08_02_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/2/ddd0abcb39caadb4f394bcd93b0d0013.jpg","text":"TemporaryFile(/tmp/multipartBody5050012163422820200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108085195,"filename":"image_02112025_01_08_08_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/2/6e75d762c3322df4a18153fd5241e995.jpg","text":"TemporaryFile(/tmp/multipartBody8084445378678450095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108085195,"filename":"image_02112025_01_08_23_12180.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d15357a7cd13855fc2ed01aafc0f581f.jpg","text":"TemporaryFile(/tmp/multipartBody2048692743208550627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108085195,"filename":"image_02112025_01_08_05_3160.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e39010b2a8d7611ba1cb7d161385adc1.jpg","text":"TemporaryFile(/tmp/multipartBody3214433348175103799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108085195,"filename":"image_02112025_01_08_24_1606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391870878","file1":"1391870877","file0":"1391870873","file4":"1391870880","file5":"1391870882","file3":"1391870879"},"map_files_photo_id_array":[{"photo_id":"1391870882","filename":"file5"},{"photo_id":"1391870878","filename":"file2"},{"photo_id":"1391870880","filename":"file4"},{"photo_id":"1391870877","filename":"file1"},{"photo_id":"1391870873","filename":"file0"},{"photo_id":"1391870879","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391870879":["hashtag1","hashtag2"]},{"1391870873":["hashtag1","hashtag2"]},{"1391870878":["hashtag1","hashtag2"]},{"1391870880":["hashtag1","hashtag2"]},{"1391870877":["hashtag1","hashtag2"]},{"1391870882":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391870879, 1391870873, 1391870878, 1391870880, 1391870877, 1391870882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.69833993911743 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:28:16.317726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 19:28:42.646544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_26_1676.jpg', '/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_27_1653.jpg', '/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_29_1591.jpg', '/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_31_1531.jpg', '/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_32_1559.jpg', '/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_35_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_26_1676.jpg
/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_27_1653.jpg
/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_29_1591.jpg
/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_31_1531.jpg
/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_32_1559.jpg
/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_35_2587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391870963","1391870966","1391870957","1391870959","1391870961","1391870955"],"photo_ids_order":["1391870955","1391870957","1391870959","1391870961","1391870963","1391870966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b712ee65b967a0f612e11f8f77d6e172.jpg","text":"TemporaryFile(/tmp/multipartBody8527684658030171899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108185926,"filename":"image_02112025_01_08_32_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/2/04961d92e49c8588a0357667389620b2.jpg","text":"TemporaryFile(/tmp/multipartBody2546379485111024807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108185926,"filename":"image_02112025_01_08_35_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/2/a22e2d29c748faea9ba6df6fc2278656.jpg","text":"TemporaryFile(/tmp/multipartBody863698865194264070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108185926,"filename":"image_02112025_01_08_27_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/2/1475e52d78644cc2e5fad82db99876aa.jpg","text":"TemporaryFile(/tmp/multipartBody3649765025956555309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108185926,"filename":"image_02112025_01_08_29_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/2/be366cb01d74ce2c384aba52a7daaa4e.jpg","text":"TemporaryFile(/tmp/multipartBody178975342176264951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108185926,"filename":"image_02112025_01_08_31_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/2/e3307a5a7edd39e837f624bcced94ed1.jpg","text":"TemporaryFile(/tmp/multipartBody9205701104325181406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108185926,"filename":"image_02112025_01_08_26_1676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391870959","file1":"1391870957","file0":"1391870955","file4":"1391870963","file5":"1391870966","file3":"1391870961"},"map_files_photo_id_array":[{"photo_id":"1391870966","filename":"file5"},{"photo_id":"1391870959","filename":"file2"},{"photo_id":"1391870963","filename":"file4"},{"photo_id":"1391870957","filename":"file1"},{"photo_id":"1391870955","filename":"file0"},{"photo_id":"1391870961","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391870963":["hashtag1","hashtag2"]},{"1391870966":["hashtag1","hashtag2"]},{"1391870957":["hashtag1","hashtag2"]},{"1391870959":["hashtag1","hashtag2"]},{"1391870961":["hashtag1","hashtag2"]},{"1391870955":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391870963, 1391870966, 1391870957, 1391870959, 1391870961, 1391870955)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.52832007408142 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:29:46.329221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_37_2729.jpg', '/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_41_3691.jpg', '/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_46_2684.jpg', '/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_53_2807.jpg', '/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_56_2763.jpg', '/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_59_3540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_37_2729.jpg
/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_41_3691.jpg
/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_46_2684.jpg
/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_53_2807.jpg
/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_56_2763.jpg
/home/pi/Desktop/images/02112025/01/08/image_02112025_01_08_59_3540.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391870990","1391870992","1391870986","1391870989","1391870994","1391870988"],"photo_ids_order":["1391870986","1391870988","1391870989","1391870990","1391870992","1391870994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0eb139e8fff9fd2fde425f6e96220a30.jpg","text":"TemporaryFile(/tmp/multipartBody1517188426247508619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108249877,"filename":"image_02112025_01_08_53_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/2/2b84204e5a29e43b962c548c45a9f3a5.jpg","text":"TemporaryFile(/tmp/multipartBody4160485919904720010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108249877,"filename":"image_02112025_01_08_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/2/ba1bd2ecb60eb254589d6a56453cb4e8.jpg","text":"TemporaryFile(/tmp/multipartBody8766466244663129153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108249877,"filename":"image_02112025_01_08_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/2/3199873e8f0e2494769ab5c29ded848e.jpg","text":"TemporaryFile(/tmp/multipartBody14157635347324463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108249877,"filename":"image_02112025_01_08_46_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/2/ee87f962898e7dd50a90fd218f882ad0.jpg","text":"TemporaryFile(/tmp/multipartBody4044348326423305638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108249877,"filename":"image_02112025_01_08_59_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/2/38c42c2e52b9a1df99b6fc499de7885f.jpg","text":"TemporaryFile(/tmp/multipartBody6110875469759494801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108249877,"filename":"image_02112025_01_08_41_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391870989","file1":"1391870988","file0":"1391870986","file4":"1391870992","file5":"1391870994","file3":"1391870990"},"map_files_photo_id_array":[{"photo_id":"1391870994","filename":"file5"},{"photo_id":"1391870989","filename":"file2"},{"photo_id":"1391870992","filename":"file4"},{"photo_id":"1391870988","filename":"file1"},{"photo_id":"1391870986","filename":"file0"},{"photo_id":"1391870990","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391870990":["hashtag1","hashtag2"]},{"1391870992":["hashtag1","hashtag2"]},{"1391870986":["hashtag1","hashtag2"]},{"1391870989":["hashtag1","hashtag2"]},{"1391870994":["hashtag1","hashtag2"]},{"1391870988":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391870990, 1391870992, 1391870986, 1391870989, 1391870994, 1391870988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40917658805847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:30:42.545328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_02_2636.jpg', '/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_08_5888.jpg', '/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_09_1687.jpg', '/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_27_1696.jpg', '/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_37_10116.jpg', '/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_38_1631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_02_2636.jpg
/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_08_5888.jpg
/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_09_1687.jpg
/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_27_1696.jpg
/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_37_10116.jpg
/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_38_1631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871032","1391871043","1391871037","1391871040","1391871034","1391871030"],"photo_ids_order":["1391871030","1391871032","1391871034","1391871037","1391871040","1391871043"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/65f8149453d23b04793e522d6e12d507.jpg","text":"TemporaryFile(/tmp/multipartBody4181032363468255690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108327066,"filename":"image_02112025_01_09_08_5888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f249c35d355de545eff9da0bc629ff8d.jpg","text":"TemporaryFile(/tmp/multipartBody1743139402941337556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108327066,"filename":"image_02112025_01_09_38_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/2/ecd7752d22340867d3253f5da2512c1a.jpg","text":"TemporaryFile(/tmp/multipartBody5076874976391882102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108327066,"filename":"image_02112025_01_09_27_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/2/533d1ca8c237bedd4543f4be78d24559.jpg","text":"TemporaryFile(/tmp/multipartBody1785810986751575122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108327066,"filename":"image_02112025_01_09_37_10116.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6524de1a181f114c039f62d08af0a8d0.jpg","text":"TemporaryFile(/tmp/multipartBody3689386155781604677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108327066,"filename":"image_02112025_01_09_09_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/2/0424f70d2fb5336791b757fccb591799.jpg","text":"TemporaryFile(/tmp/multipartBody8278937281134060508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108327066,"filename":"image_02112025_01_09_02_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871034","file1":"1391871032","file0":"1391871030","file4":"1391871040","file5":"1391871043","file3":"1391871037"},"map_files_photo_id_array":[{"photo_id":"1391871043","filename":"file5"},{"photo_id":"1391871034","filename":"file2"},{"photo_id":"1391871040","filename":"file4"},{"photo_id":"1391871032","filename":"file1"},{"photo_id":"1391871030","filename":"file0"},{"photo_id":"1391871037","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871032":["hashtag1","hashtag2"]},{"1391871043":["hashtag1","hashtag2"]},{"1391871037":["hashtag1","hashtag2"]},{"1391871040":["hashtag1","hashtag2"]},{"1391871034":["hashtag1","hashtag2"]},{"1391871030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871032, 1391871043, 1391871037, 1391871040, 1391871034, 1391871030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.78376317024231 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:31:42.812149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_40_1738.jpg', '/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_42_1645.jpg', '/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_52_6710.jpg', '/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_53_1560.jpg', '/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_55_1779.jpg', '/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_56_1560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_40_1738.jpg
/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_42_1645.jpg
/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_52_6710.jpg
/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_53_1560.jpg
/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_55_1779.jpg
/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_56_1560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871055","1391871066","1391871069","1391871063","1391871059","1391871050"],"photo_ids_order":["1391871050","1391871055","1391871059","1391871063","1391871066","1391871069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0a2b892516cd5b85a5fc6ed6aad839d4.jpg","text":"TemporaryFile(/tmp/multipartBody6985431446960897739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108365590,"filename":"image_02112025_01_09_42_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/aeb1a151d3dd5cfe7069e253f1049964.jpg","text":"TemporaryFile(/tmp/multipartBody7165719704410113425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108365590,"filename":"image_02112025_01_09_55_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/2/4ff40031289f3aea5923c5755ed8b5ac.jpg","text":"TemporaryFile(/tmp/multipartBody1021831400204801035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108365590,"filename":"image_02112025_01_09_56_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/2/f9f00f9716e8d97511df53c45f159c2e.jpg","text":"TemporaryFile(/tmp/multipartBody7042198130423203289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108365590,"filename":"image_02112025_01_09_53_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/2/bda31a18513c4c9ae249154d14db5648.jpg","text":"TemporaryFile(/tmp/multipartBody1933921679203747609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108365590,"filename":"image_02112025_01_09_52_6710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/beac1f7ec8aebbca276acfe3ceaac427.jpg","text":"TemporaryFile(/tmp/multipartBody8753956798444073527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108365590,"filename":"image_02112025_01_09_40_1738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871059","file1":"1391871055","file0":"1391871050","file4":"1391871066","file5":"1391871069","file3":"1391871063"},"map_files_photo_id_array":[{"photo_id":"1391871069","filename":"file5"},{"photo_id":"1391871059","filename":"file2"},{"photo_id":"1391871066","filename":"file4"},{"photo_id":"1391871055","filename":"file1"},{"photo_id":"1391871050","filename":"file0"},{"photo_id":"1391871063","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871055":["hashtag1","hashtag2"]},{"1391871066":["hashtag1","hashtag2"]},{"1391871069":["hashtag1","hashtag2"]},{"1391871063":["hashtag1","hashtag2"]},{"1391871059":["hashtag1","hashtag2"]},{"1391871050":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871055, 1391871066, 1391871069, 1391871063, 1391871059, 1391871050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07536792755127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:32:21.857308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_58_1661.jpg', '/home/pi/Desktop/images/02112025/01/10/image_02112025_01_10_04_4052.jpg', '/home/pi/Desktop/images/02112025/01/10/image_02112025_01_10_06_2058.jpg', '/home/pi/Desktop/images/02112025/01/10/image_02112025_01_10_07_1564.jpg', '/home/pi/Desktop/images/02112025/01/10/image_02112025_01_10_11_1517.jpg', '/home/pi/Desktop/images/02112025/01/10/image_02112025_01_10_19_8429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/09/image_02112025_01_09_58_1661.jpg
/home/pi/Desktop/images/02112025/01/10/image_02112025_01_10_04_4052.jpg
/home/pi/Desktop/images/02112025/01/10/image_02112025_01_10_06_2058.jpg
/home/pi/Desktop/images/02112025/01/10/image_02112025_01_10_07_1564.jpg
/home/pi/Desktop/images/02112025/01/10/image_02112025_01_10_11_1517.jpg
/home/pi/Desktop/images/02112025/01/10/image_02112025_01_10_19_8429.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871074","1391871079","1391871072","1391871081","1391871086","1391871071"],"photo_ids_order":["1391871071","1391871072","1391871074","1391871079","1391871081","1391871086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2f86e8cdeb00608248c3f3228bede6c9.jpg","text":"TemporaryFile(/tmp/multipartBody2050402019975988840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108402669,"filename":"image_02112025_01_10_06_2058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9d2841fef9b8e8db0cb8bcd3f1889c96.jpg","text":"TemporaryFile(/tmp/multipartBody3756518929684048677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108402669,"filename":"image_02112025_01_10_07_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/2/1d784bec11c4e9b29984b08654a81027.jpg","text":"TemporaryFile(/tmp/multipartBody8936222688277738220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108402669,"filename":"image_02112025_01_10_04_4052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/68488c19ada8808dbc321d2381465029.jpg","text":"TemporaryFile(/tmp/multipartBody5211961929387991511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108402669,"filename":"image_02112025_01_10_11_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/2/ff67478b2d4179d9d7cb332c16183403.jpg","text":"TemporaryFile(/tmp/multipartBody8384007587897680000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108402669,"filename":"image_02112025_01_10_19_8429.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/73df13e021e96f5f76c7a7e551ba2e88.jpg","text":"TemporaryFile(/tmp/multipartBody2014327611960414198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108402669,"filename":"image_02112025_01_09_58_1661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871074","file1":"1391871072","file0":"1391871071","file4":"1391871081","file5":"1391871086","file3":"1391871079"},"map_files_photo_id_array":[{"photo_id":"1391871086","filename":"file5"},{"photo_id":"1391871074","filename":"file2"},{"photo_id":"1391871081","filename":"file4"},{"photo_id":"1391871072","filename":"file1"},{"photo_id":"1391871071","filename":"file0"},{"photo_id":"1391871079","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871074":["hashtag1","hashtag2"]},{"1391871079":["hashtag1","hashtag2"]},{"1391871072":["hashtag1","hashtag2"]},{"1391871081":["hashtag1","hashtag2"]},{"1391871086":["hashtag1","hashtag2"]},{"1391871071":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871074, 1391871079, 1391871072, 1391871081, 1391871086, 1391871071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82564616203308 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:33:02.936787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/10/image_02112025_01_10_21_1582.jpg', '/home/pi/Desktop/images/02112025/01/10/image_02112025_01_10_22_1699.jpg', '/home/pi/Desktop/images/02112025/01/10/image_02112025_01_10_25_2544.jpg', '/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_12_31270.jpg', '/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_14_1638.jpg', '/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_15_1532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/10/image_02112025_01_10_21_1582.jpg
/home/pi/Desktop/images/02112025/01/10/image_02112025_01_10_22_1699.jpg
/home/pi/Desktop/images/02112025/01/10/image_02112025_01_10_25_2544.jpg
/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_12_31270.jpg
/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_14_1638.jpg
/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_15_1532.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871113","1391871103","1391871106","1391871096","1391871100","1391871126"],"photo_ids_order":["1391871096","1391871100","1391871103","1391871106","1391871113","1391871126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f3f22ca1d477b8649053b302cf49f188.jpg","text":"TemporaryFile(/tmp/multipartBody2619987421775689927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108443846,"filename":"image_02112025_01_11_14_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/de3297d104d26dd2fe083260f02fb552.jpg","text":"TemporaryFile(/tmp/multipartBody8208779721892083453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108443846,"filename":"image_02112025_01_10_25_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/2/12c3da45cba045d01d2a955cb14c29a1.jpg","text":"TemporaryFile(/tmp/multipartBody7413170810929236474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108443846,"filename":"image_02112025_01_11_12_31270.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f5477439d22dc31948f000b186ac01d0.jpg","text":"TemporaryFile(/tmp/multipartBody1570637330898488915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108443846,"filename":"image_02112025_01_10_21_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bf730dd6a2f3b8802c4262fd1d78d630.jpg","text":"TemporaryFile(/tmp/multipartBody2085276116857218850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108443846,"filename":"image_02112025_01_10_22_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/2/6ade06defb17d65b6e4597a5e2a28c6d.jpg","text":"TemporaryFile(/tmp/multipartBody7687046968108497310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108443846,"filename":"image_02112025_01_11_15_1532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871103","file1":"1391871100","file0":"1391871096","file4":"1391871113","file5":"1391871126","file3":"1391871106"},"map_files_photo_id_array":[{"photo_id":"1391871126","filename":"file5"},{"photo_id":"1391871103","filename":"file2"},{"photo_id":"1391871113","filename":"file4"},{"photo_id":"1391871100","filename":"file1"},{"photo_id":"1391871096","filename":"file0"},{"photo_id":"1391871106","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871113":["hashtag1","hashtag2"]},{"1391871103":["hashtag1","hashtag2"]},{"1391871106":["hashtag1","hashtag2"]},{"1391871096":["hashtag1","hashtag2"]},{"1391871100":["hashtag1","hashtag2"]},{"1391871126":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871113, 1391871103, 1391871106, 1391871096, 1391871100, 1391871126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49138951301575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:33:42.176651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_17_1678.jpg', '/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_19_1765.jpg', '/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_22_1677.jpg', '/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_24_1539.jpg', '/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_28_4448.jpg', '/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_30_1699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_17_1678.jpg
/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_19_1765.jpg
/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_22_1677.jpg
/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_24_1539.jpg
/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_28_4448.jpg
/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_30_1699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871134","1391871136","1391871139","1391871132","1391871141","1391871144"],"photo_ids_order":["1391871132","1391871134","1391871136","1391871139","1391871141","1391871144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7d2844cf7d80f40950b22dfaf17944e5.jpg","text":"TemporaryFile(/tmp/multipartBody8894652926559897926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108483008,"filename":"image_02112025_01_11_19_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/2/229819f1aca3aa3f8d84f83f01f524e9.jpg","text":"TemporaryFile(/tmp/multipartBody5238131182806489829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108483008,"filename":"image_02112025_01_11_22_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/2/55b01052f8355fef24204436622d6ea9.jpg","text":"TemporaryFile(/tmp/multipartBody8952070239081780471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108483008,"filename":"image_02112025_01_11_24_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/885e69e6041982463d19ad90b3261823.jpg","text":"TemporaryFile(/tmp/multipartBody1020319394530392261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108483008,"filename":"image_02112025_01_11_17_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/32d6083066b372a15016392fcc55a8d2.jpg","text":"TemporaryFile(/tmp/multipartBody413557070252570773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108483008,"filename":"image_02112025_01_11_28_4448.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0978537f53d38616140c1a1f5821ba71.jpg","text":"TemporaryFile(/tmp/multipartBody8751801636002171153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108483008,"filename":"image_02112025_01_11_30_1699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871136","file1":"1391871134","file0":"1391871132","file4":"1391871141","file5":"1391871144","file3":"1391871139"},"map_files_photo_id_array":[{"photo_id":"1391871144","filename":"file5"},{"photo_id":"1391871136","filename":"file2"},{"photo_id":"1391871141","filename":"file4"},{"photo_id":"1391871134","filename":"file1"},{"photo_id":"1391871132","filename":"file0"},{"photo_id":"1391871139","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871134":["hashtag1","hashtag2"]},{"1391871136":["hashtag1","hashtag2"]},{"1391871139":["hashtag1","hashtag2"]},{"1391871132":["hashtag1","hashtag2"]},{"1391871141":["hashtag1","hashtag2"]},{"1391871144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871134, 1391871136, 1391871139, 1391871132, 1391871141, 1391871144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56589913368225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:34:22.439323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_39_9326.jpg', '/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_41_1557.jpg', '/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_42_1783.jpg', '/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_44_1555.jpg', '/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_45_1531.jpg', '/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_53_7496.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_39_9326.jpg
/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_41_1557.jpg
/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_42_1783.jpg
/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_44_1555.jpg
/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_45_1531.jpg
/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_53_7496.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871155","1391871160","1391871163","1391871150","1391871153","1391871158"],"photo_ids_order":["1391871150","1391871153","1391871155","1391871158","1391871160","1391871163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7a718da5651205e2d07d7671a1a2a3ef.jpg","text":"TemporaryFile(/tmp/multipartBody8519583329699306882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108523301,"filename":"image_02112025_01_11_42_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/2/6b0039920217a91b02b27606d1b84153.jpg","text":"TemporaryFile(/tmp/multipartBody4158153174632480953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108523301,"filename":"image_02112025_01_11_45_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/2/9e6016e2ffe2c7122cb543fc6ba37d69.jpg","text":"TemporaryFile(/tmp/multipartBody923397142677859647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108523301,"filename":"image_02112025_01_11_53_7496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5e6764b367cedbbbbf0e0de53816f3a7.jpg","text":"TemporaryFile(/tmp/multipartBody4797352693952441607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108523301,"filename":"image_02112025_01_11_39_9326.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/25cd6a2ddaeadcb571862dab7228b562.jpg","text":"TemporaryFile(/tmp/multipartBody1484443816575235295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108523301,"filename":"image_02112025_01_11_41_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b10255e4c5cdb98c72232fa6121dc75c.jpg","text":"TemporaryFile(/tmp/multipartBody5846643514559134616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108523301,"filename":"image_02112025_01_11_44_1555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871155","file1":"1391871153","file0":"1391871150","file4":"1391871160","file5":"1391871163","file3":"1391871158"},"map_files_photo_id_array":[{"photo_id":"1391871163","filename":"file5"},{"photo_id":"1391871155","filename":"file2"},{"photo_id":"1391871160","filename":"file4"},{"photo_id":"1391871153","filename":"file1"},{"photo_id":"1391871150","filename":"file0"},{"photo_id":"1391871158","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871155":["hashtag1","hashtag2"]},{"1391871160":["hashtag1","hashtag2"]},{"1391871163":["hashtag1","hashtag2"]},{"1391871150":["hashtag1","hashtag2"]},{"1391871153":["hashtag1","hashtag2"]},{"1391871158":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871155, 1391871160, 1391871163, 1391871150, 1391871153, 1391871158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.8932466506958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:35:03.257137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_56_2587.jpg', '/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_57_1639.jpg', '/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_59_1641.jpg', '/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_01_1740.jpg', '/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_03_1939.jpg', '/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_08_1789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_56_2587.jpg
/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_57_1639.jpg
/home/pi/Desktop/images/02112025/01/11/image_02112025_01_11_59_1641.jpg
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_01_1740.jpg
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_03_1939.jpg
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_08_1789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871173","1391871175","1391871169","1391871178","1391871191","1391871185"],"photo_ids_order":["1391871169","1391871173","1391871175","1391871178","1391871185","1391871191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b9f826025d51d8e3f781687d7433e3c6.jpg","text":"TemporaryFile(/tmp/multipartBody5890537307050702568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108564166,"filename":"image_02112025_01_11_57_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/2/6c7dc03a15ec6abce2ed698e61fc6a85.jpg","text":"TemporaryFile(/tmp/multipartBody1821792953928535213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108564166,"filename":"image_02112025_01_11_59_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/2/a0d961b0b1d72201f69ebb2c9a565b5a.jpg","text":"TemporaryFile(/tmp/multipartBody2556508356118285845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108564166,"filename":"image_02112025_01_11_56_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/2/945d5d725eeaa6ff9fd478f7746fe2d9.jpg","text":"TemporaryFile(/tmp/multipartBody2534539545468970224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108564166,"filename":"image_02112025_01_12_01_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/2/a34c358da223931a9aeb8e57977136e6.jpg","text":"TemporaryFile(/tmp/multipartBody1012497069324650398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108564166,"filename":"image_02112025_01_12_08_1789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0d63f8901330bbc4bccb193a39327874.jpg","text":"TemporaryFile(/tmp/multipartBody7187151802507867351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108564166,"filename":"image_02112025_01_12_03_1939.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871175","file1":"1391871173","file0":"1391871169","file4":"1391871185","file5":"1391871191","file3":"1391871178"},"map_files_photo_id_array":[{"photo_id":"1391871191","filename":"file5"},{"photo_id":"1391871175","filename":"file2"},{"photo_id":"1391871185","filename":"file4"},{"photo_id":"1391871173","filename":"file1"},{"photo_id":"1391871169","filename":"file0"},{"photo_id":"1391871178","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871173":["hashtag1","hashtag2"]},{"1391871175":["hashtag1","hashtag2"]},{"1391871169":["hashtag1","hashtag2"]},{"1391871178":["hashtag1","hashtag2"]},{"1391871191":["hashtag1","hashtag2"]},{"1391871185":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871173, 1391871175, 1391871169, 1391871178, 1391871191, 1391871185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89018130302429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:35:42.637171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_10_1596.jpg', '/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_11_1676.jpg', '/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_19_1558.jpg', '/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_21_1756.jpg', '/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_22_1504.jpg', '/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_24_1608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_10_1596.jpg
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_11_1676.jpg
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_19_1558.jpg
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_21_1756.jpg
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_22_1504.jpg
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_24_1608.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7424559593200684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:36:03.216079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_10_1596.jpg', '/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_11_1676.jpg', '/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_19_1558.jpg', '/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_21_1756.jpg', '/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_22_1504.jpg', '/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_24_1608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_10_1596.jpg
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_11_1676.jpg
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_19_1558.jpg
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_21_1756.jpg
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_22_1504.jpg
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_24_1608.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871233","1391871221","1391871223","1391871228","1391871237","1391871225"],"photo_ids_order":["1391871221","1391871223","1391871225","1391871228","1391871233","1391871237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/519d0cfe1bc433d43c4c5223c3ed1dc6.jpg","text":"TemporaryFile(/tmp/multipartBody6249659156922697871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108623972,"filename":"image_02112025_01_12_22_1504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/82ce5498fbdfa96fe86c951268227bf4.jpg","text":"TemporaryFile(/tmp/multipartBody95413106819409409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108623972,"filename":"image_02112025_01_12_10_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/301a6f96fd66a36ca41cd88dc178aa41.jpg","text":"TemporaryFile(/tmp/multipartBody7693021558086841389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108623972,"filename":"image_02112025_01_12_11_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/2/dc91279689fa1ff0a6312d582c98ae1d.jpg","text":"TemporaryFile(/tmp/multipartBody4765565001534816784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108623972,"filename":"image_02112025_01_12_21_1756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9e1cae0c0ee01f5c319df298040afd36.jpg","text":"TemporaryFile(/tmp/multipartBody1302917512772249091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108623972,"filename":"image_02112025_01_12_24_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/2/fd8dbd2ad8e711c9603c92b70c858e04.jpg","text":"TemporaryFile(/tmp/multipartBody425897878208387583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108623972,"filename":"image_02112025_01_12_19_1558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871225","file1":"1391871223","file0":"1391871221","file4":"1391871233","file5":"1391871237","file3":"1391871228"},"map_files_photo_id_array":[{"photo_id":"1391871237","filename":"file5"},{"photo_id":"1391871225","filename":"file2"},{"photo_id":"1391871233","filename":"file4"},{"photo_id":"1391871223","filename":"file1"},{"photo_id":"1391871221","filename":"file0"},{"photo_id":"1391871228","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871233":["hashtag1","hashtag2"]},{"1391871221":["hashtag1","hashtag2"]},{"1391871223":["hashtag1","hashtag2"]},{"1391871228":["hashtag1","hashtag2"]},{"1391871237":["hashtag1","hashtag2"]},{"1391871225":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871233, 1391871221, 1391871223, 1391871228, 1391871237, 1391871225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46772789955139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:36:42.815578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_25_1599.jpg', '/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_33_7311.jpg', '/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_34_1709.jpg', '/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_36_1709.jpg', '/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_39_2790.jpg', '/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_40_1594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_25_1599.jpg
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_33_7311.jpg
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_34_1709.jpg
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_36_1709.jpg
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_39_2790.jpg
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_40_1594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871251","1391871248","1391871253","1391871246","1391871260","1391871257"],"photo_ids_order":["1391871246","1391871248","1391871251","1391871253","1391871257","1391871260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/759bcc04acebce13cebb699a01c56785.jpg","text":"TemporaryFile(/tmp/multipartBody1078723367332389616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108663815,"filename":"image_02112025_01_12_34_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/2/92a7f217d84c8e98e356ac6f74193e75.jpg","text":"TemporaryFile(/tmp/multipartBody8709294408582688076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108663815,"filename":"image_02112025_01_12_33_7311.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4637a49486e322eced959061ea07f482.jpg","text":"TemporaryFile(/tmp/multipartBody7028086138537548344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108663815,"filename":"image_02112025_01_12_36_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/2/f2d1b559e865b7d1ebd37e0ac8e2e3df.jpg","text":"TemporaryFile(/tmp/multipartBody1790368077016766799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108663815,"filename":"image_02112025_01_12_25_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/2/047a15507d59aa23c08440b56a0010cf.jpg","text":"TemporaryFile(/tmp/multipartBody8961105029270112499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108663815,"filename":"image_02112025_01_12_40_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6687b616ffd22a1d512ed1348eea6cc8.jpg","text":"TemporaryFile(/tmp/multipartBody8568941250151369103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108663815,"filename":"image_02112025_01_12_39_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871251","file1":"1391871248","file0":"1391871246","file4":"1391871257","file5":"1391871260","file3":"1391871253"},"map_files_photo_id_array":[{"photo_id":"1391871260","filename":"file5"},{"photo_id":"1391871251","filename":"file2"},{"photo_id":"1391871257","filename":"file4"},{"photo_id":"1391871248","filename":"file1"},{"photo_id":"1391871246","filename":"file0"},{"photo_id":"1391871253","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871251":["hashtag1","hashtag2"]},{"1391871248":["hashtag1","hashtag2"]},{"1391871253":["hashtag1","hashtag2"]},{"1391871246":["hashtag1","hashtag2"]},{"1391871260":["hashtag1","hashtag2"]},{"1391871257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871251, 1391871248, 1391871253, 1391871246, 1391871260, 1391871257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06828713417053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:37:21.965212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_42_1628.jpg', '/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_45_2537.jpg', '/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_46_1605.jpg', '/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_53_1547.jpg', '/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_55_1566.jpg', '/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_56_1639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_42_1628.jpg
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_45_2537.jpg
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_46_1605.jpg
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_53_1547.jpg
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_55_1566.jpg
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_56_1639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871298","1391871292","1391871271","1391871295","1391871280","1391871301"],"photo_ids_order":["1391871271","1391871280","1391871292","1391871295","1391871298","1391871301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9f9990d9a56824f214d178632ed60142.jpg","text":"TemporaryFile(/tmp/multipartBody2525528458193169402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108702795,"filename":"image_02112025_01_12_55_1566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a11536b51197bac72d5c9bbc70b145e6.jpg","text":"TemporaryFile(/tmp/multipartBody3906459945529099583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108702795,"filename":"image_02112025_01_12_46_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/2/4a2eb8951b9313b2cdb7448da2445053.jpg","text":"TemporaryFile(/tmp/multipartBody7303184523359613837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108702795,"filename":"image_02112025_01_12_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/2/536805e4a84f5c62c0f80ea925c847b3.jpg","text":"TemporaryFile(/tmp/multipartBody475356729337073509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108702795,"filename":"image_02112025_01_12_53_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/2/cdb377490ab47db3e7eed307e12514c8.jpg","text":"TemporaryFile(/tmp/multipartBody6265904303142608631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108702795,"filename":"image_02112025_01_12_45_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/2/68212686c0bdd81aaeeb8bcec4e179f3.jpg","text":"TemporaryFile(/tmp/multipartBody4508959066557617253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108702795,"filename":"image_02112025_01_12_56_1639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871292","file1":"1391871280","file0":"1391871271","file4":"1391871298","file5":"1391871301","file3":"1391871295"},"map_files_photo_id_array":[{"photo_id":"1391871301","filename":"file5"},{"photo_id":"1391871292","filename":"file2"},{"photo_id":"1391871298","filename":"file4"},{"photo_id":"1391871280","filename":"file1"},{"photo_id":"1391871271","filename":"file0"},{"photo_id":"1391871295","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871298":["hashtag1","hashtag2"]},{"1391871292":["hashtag1","hashtag2"]},{"1391871271":["hashtag1","hashtag2"]},{"1391871295":["hashtag1","hashtag2"]},{"1391871280":["hashtag1","hashtag2"]},{"1391871301":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871298, 1391871292, 1391871271, 1391871295, 1391871280, 1391871301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7531681060791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:38:02.630745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_58_1742.jpg', '/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_01_1689.jpg', '/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_05_3666.jpg', '/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_08_1653.jpg', '/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_10_1674.jpg', '/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_12_1759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_58_1742.jpg
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_01_1689.jpg
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_05_3666.jpg
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_08_1653.jpg
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_10_1674.jpg
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_12_1759.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7586092948913574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:38:22.108716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_58_1742.jpg', '/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_01_1689.jpg', '/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_05_3666.jpg', '/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_08_1653.jpg', '/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_10_1674.jpg', '/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_12_1759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/12/image_02112025_01_12_58_1742.jpg
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_01_1689.jpg
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_05_3666.jpg
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_08_1653.jpg
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_10_1674.jpg
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_12_1759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871328","1391871322","1391871325","1391871319","1391871321","1391871324"],"photo_ids_order":["1391871319","1391871321","1391871322","1391871324","1391871325","1391871328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/42edb4a1a0bd53a403d38dd4214d6fcf.jpg","text":"TemporaryFile(/tmp/multipartBody2353966656913095275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108762792,"filename":"image_02112025_01_13_12_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/2/95b5577ab4178f743b62d41c3eccfd67.jpg","text":"TemporaryFile(/tmp/multipartBody7203927241154758110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108762792,"filename":"image_02112025_01_13_05_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/2/8f7d2f7f5a8508ec3b18edf73f8788d9.jpg","text":"TemporaryFile(/tmp/multipartBody6146239327351011243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108762792,"filename":"image_02112025_01_13_10_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/2/9cf9acf0125116457ab676f7e77e0f94.jpg","text":"TemporaryFile(/tmp/multipartBody7741733275735453076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108762792,"filename":"image_02112025_01_12_58_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/2/9eb56d8aadf67d8275b5b3051f3c8ce5.jpg","text":"TemporaryFile(/tmp/multipartBody3929127441616223605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108762792,"filename":"image_02112025_01_13_01_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/2/fab8219c4f912233361f083470ab1277.jpg","text":"TemporaryFile(/tmp/multipartBody670086878372103274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108762792,"filename":"image_02112025_01_13_08_1653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871322","file1":"1391871321","file0":"1391871319","file4":"1391871325","file5":"1391871328","file3":"1391871324"},"map_files_photo_id_array":[{"photo_id":"1391871328","filename":"file5"},{"photo_id":"1391871322","filename":"file2"},{"photo_id":"1391871325","filename":"file4"},{"photo_id":"1391871321","filename":"file1"},{"photo_id":"1391871319","filename":"file0"},{"photo_id":"1391871324","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871328":["hashtag1","hashtag2"]},{"1391871322":["hashtag1","hashtag2"]},{"1391871325":["hashtag1","hashtag2"]},{"1391871319":["hashtag1","hashtag2"]},{"1391871321":["hashtag1","hashtag2"]},{"1391871324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871328, 1391871322, 1391871325, 1391871319, 1391871321, 1391871324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70636773109436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:39:03.322611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_13_1671.jpg', '/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_15_1682.jpg', '/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_17_1668.jpg', '/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_20_1557.jpg', '/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_22_2070.jpg', '/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_24_1584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_13_1671.jpg
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_15_1682.jpg
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_17_1668.jpg
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_20_1557.jpg
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_22_2070.jpg
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_24_1584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871343","1391871337","1391871351","1391871345","1391871342","1391871341"],"photo_ids_order":["1391871337","1391871341","1391871342","1391871343","1391871345","1391871351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8268ccfe4b29d80f70d5a75e3bf16d8b.jpg","text":"TemporaryFile(/tmp/multipartBody949322273445907486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108804308,"filename":"image_02112025_01_13_20_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/407be327023a5722920a9dd206dd3e11.jpg","text":"TemporaryFile(/tmp/multipartBody3997345533545928635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108804308,"filename":"image_02112025_01_13_13_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/2/37e9cfa1ec7d9796f8def42489d34d63.jpg","text":"TemporaryFile(/tmp/multipartBody8173179303050997707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108804308,"filename":"image_02112025_01_13_24_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/2/5733d88241db9be4ebd90a25335a13fe.jpg","text":"TemporaryFile(/tmp/multipartBody3267366165717702263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108804308,"filename":"image_02112025_01_13_22_2070.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8720466cf0aed97b1207d793469b4d6d.jpg","text":"TemporaryFile(/tmp/multipartBody8584186246392740683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108804308,"filename":"image_02112025_01_13_17_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/2/1950367c4d9fa840bfaeb5dabc2ef6b9.jpg","text":"TemporaryFile(/tmp/multipartBody8393396184366911508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108804308,"filename":"image_02112025_01_13_15_1682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871342","file1":"1391871341","file0":"1391871337","file4":"1391871345","file5":"1391871351","file3":"1391871343"},"map_files_photo_id_array":[{"photo_id":"1391871351","filename":"file5"},{"photo_id":"1391871342","filename":"file2"},{"photo_id":"1391871345","filename":"file4"},{"photo_id":"1391871341","filename":"file1"},{"photo_id":"1391871337","filename":"file0"},{"photo_id":"1391871343","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871343":["hashtag1","hashtag2"]},{"1391871337":["hashtag1","hashtag2"]},{"1391871351":["hashtag1","hashtag2"]},{"1391871345":["hashtag1","hashtag2"]},{"1391871342":["hashtag1","hashtag2"]},{"1391871341":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871343, 1391871337, 1391871351, 1391871345, 1391871342, 1391871341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27137327194214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:39:42.281325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_25_1633.jpg', '/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_27_1653.jpg', '/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_28_1593.jpg', '/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_31_2741.jpg', '/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_34_2742.jpg', '/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_40_2811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_25_1633.jpg
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_27_1653.jpg
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_28_1593.jpg
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_31_2741.jpg
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_34_2742.jpg
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_40_2811.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871397","1391871391","1391871394","1391871393","1391871389","1391871383"],"photo_ids_order":["1391871383","1391871389","1391871391","1391871393","1391871394","1391871397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/acdd99f4de7bd759b95c85ed175aa598.jpg","text":"TemporaryFile(/tmp/multipartBody5352242620793716830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108843103,"filename":"image_02112025_01_13_40_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/2/0eb0439ece204acde2d24056b2b87404.jpg","text":"TemporaryFile(/tmp/multipartBody43560887825046964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108843103,"filename":"image_02112025_01_13_28_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/2/492c63aed544a17d7c5e7c215bbb5acb.jpg","text":"TemporaryFile(/tmp/multipartBody6242307724656979067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108843103,"filename":"image_02112025_01_13_34_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/2/2c709d3bc93d3a9ea621be9853b71086.jpg","text":"TemporaryFile(/tmp/multipartBody7208825641123208728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108843103,"filename":"image_02112025_01_13_31_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/2/8e3a9c6114aa03d7fcaa2232218e2b47.jpg","text":"TemporaryFile(/tmp/multipartBody9204610006969309639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108843103,"filename":"image_02112025_01_13_27_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/2/7692349bd2e69dbb95841131c6b04d88.jpg","text":"TemporaryFile(/tmp/multipartBody6676666762251066617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108843103,"filename":"image_02112025_01_13_25_1633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871391","file1":"1391871389","file0":"1391871383","file4":"1391871394","file5":"1391871397","file3":"1391871393"},"map_files_photo_id_array":[{"photo_id":"1391871397","filename":"file5"},{"photo_id":"1391871391","filename":"file2"},{"photo_id":"1391871394","filename":"file4"},{"photo_id":"1391871389","filename":"file1"},{"photo_id":"1391871383","filename":"file0"},{"photo_id":"1391871393","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871397":["hashtag1","hashtag2"]},{"1391871391":["hashtag1","hashtag2"]},{"1391871394":["hashtag1","hashtag2"]},{"1391871393":["hashtag1","hashtag2"]},{"1391871389":["hashtag1","hashtag2"]},{"1391871383":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871397, 1391871391, 1391871394, 1391871393, 1391871389, 1391871383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08071517944336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:40:22.412783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_44_3589.jpg', '/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_46_2594.jpg', '/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_49_2656.jpg', '/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_52_3579.jpg', '/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_55_3015.jpg', '/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_03_7733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_44_3589.jpg
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_46_2594.jpg
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_49_2656.jpg
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_52_3579.jpg
/home/pi/Desktop/images/02112025/01/13/image_02112025_01_13_55_3015.jpg
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_03_7733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871416","1391871403","1391871406","1391871411","1391871414","1391871408"],"photo_ids_order":["1391871403","1391871406","1391871408","1391871411","1391871414","1391871416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/07838e4367b489c13b9fb579bd3c3dea.jpg","text":"TemporaryFile(/tmp/multipartBody969678553669613854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108883182,"filename":"image_02112025_01_14_03_7733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7076dbc452cf9b52fba29086c97f5c43.jpg","text":"TemporaryFile(/tmp/multipartBody4787687875352394814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108883182,"filename":"image_02112025_01_13_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/2/65eb417d6abffcd7c8083023bba85c63.jpg","text":"TemporaryFile(/tmp/multipartBody9166514715025840428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108883182,"filename":"image_02112025_01_13_46_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/2/5d91fb970088f828a7ae315feef0978b.jpg","text":"TemporaryFile(/tmp/multipartBody6927032655858425052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108883182,"filename":"image_02112025_01_13_52_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/2/512786cd920d3d7bfb60d7c4f5c730b2.jpg","text":"TemporaryFile(/tmp/multipartBody3563655387826391594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108883182,"filename":"image_02112025_01_13_55_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/2/6fac109dc504c71664e22db766e03aa4.jpg","text":"TemporaryFile(/tmp/multipartBody8170788846295517080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108883182,"filename":"image_02112025_01_13_49_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871408","file1":"1391871406","file0":"1391871403","file4":"1391871414","file5":"1391871416","file3":"1391871411"},"map_files_photo_id_array":[{"photo_id":"1391871416","filename":"file5"},{"photo_id":"1391871408","filename":"file2"},{"photo_id":"1391871414","filename":"file4"},{"photo_id":"1391871406","filename":"file1"},{"photo_id":"1391871403","filename":"file0"},{"photo_id":"1391871411","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871416":["hashtag1","hashtag2"]},{"1391871403":["hashtag1","hashtag2"]},{"1391871406":["hashtag1","hashtag2"]},{"1391871411":["hashtag1","hashtag2"]},{"1391871414":["hashtag1","hashtag2"]},{"1391871408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871416, 1391871403, 1391871406, 1391871411, 1391871414, 1391871408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.19392371177673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:41:03.392771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_05_1817.jpg', '/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_07_1705.jpg', '/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_08_1686.jpg', '/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_13_2627.jpg', '/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_16_3629.jpg', '/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_19_2651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_05_1817.jpg
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_07_1705.jpg
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_08_1686.jpg
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_13_2627.jpg
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_16_3629.jpg
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_19_2651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871437","1391871422","1391871425","1391871428","1391871424","1391871420"],"photo_ids_order":["1391871420","1391871422","1391871424","1391871425","1391871428","1391871437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e0a9d4f36514fd81c5b354e566a35d11.jpg","text":"TemporaryFile(/tmp/multipartBody5314754442402353752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108924318,"filename":"image_02112025_01_14_19_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/2/9e0e176c282403e089e259bc065ab31d.jpg","text":"TemporaryFile(/tmp/multipartBody268679914001282765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108924318,"filename":"image_02112025_01_14_07_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/2/8619fc97e7ffa1fd3ce4907ae3b54772.jpg","text":"TemporaryFile(/tmp/multipartBody2689598713999319961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108924318,"filename":"image_02112025_01_14_13_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/2/f957f8989c94994d524010e55495682b.jpg","text":"TemporaryFile(/tmp/multipartBody8004338891799331033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108924318,"filename":"image_02112025_01_14_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/2/200539de4408154f2bbf5f5e0bf33722.jpg","text":"TemporaryFile(/tmp/multipartBody696369588623546199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108924318,"filename":"image_02112025_01_14_08_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/2/5d1e11e2dfe03929ea4a4ad156df8246.jpg","text":"TemporaryFile(/tmp/multipartBody2637353160725842503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108924318,"filename":"image_02112025_01_14_05_1817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871424","file1":"1391871422","file0":"1391871420","file4":"1391871428","file5":"1391871437","file3":"1391871425"},"map_files_photo_id_array":[{"photo_id":"1391871437","filename":"file5"},{"photo_id":"1391871424","filename":"file2"},{"photo_id":"1391871428","filename":"file4"},{"photo_id":"1391871422","filename":"file1"},{"photo_id":"1391871420","filename":"file0"},{"photo_id":"1391871425","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871437":["hashtag1","hashtag2"]},{"1391871422":["hashtag1","hashtag2"]},{"1391871425":["hashtag1","hashtag2"]},{"1391871428":["hashtag1","hashtag2"]},{"1391871424":["hashtag1","hashtag2"]},{"1391871420":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871437, 1391871422, 1391871425, 1391871428, 1391871424, 1391871420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.526100635528564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:41:42.711315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_22_2686.jpg', '/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_25_2807.jpg', '/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_28_3713.jpg', '/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_31_2604.jpg', '/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_35_3653.jpg', '/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_37_2591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_22_2686.jpg
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_25_2807.jpg
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_28_3713.jpg
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_31_2604.jpg
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_35_3653.jpg
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_37_2591.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871481","1391871478","1391871475","1391871468","1391871471","1391871465"],"photo_ids_order":["1391871465","1391871468","1391871471","1391871475","1391871478","1391871481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/da74d55b3dc5eb4e74b404e1d8e97b77.jpg","text":"TemporaryFile(/tmp/multipartBody5681984884414480423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108963540,"filename":"image_02112025_01_14_37_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/2/47a297d2d125a88cbe6dca1abc0020e4.jpg","text":"TemporaryFile(/tmp/multipartBody3718419007341602981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108963540,"filename":"image_02112025_01_14_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/2/b8909a7aecc18de32b8aeff2d696d728.jpg","text":"TemporaryFile(/tmp/multipartBody5205258649479199049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108963540,"filename":"image_02112025_01_14_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/2/5c9c373d7d357e6f185fc0800636d50a.jpg","text":"TemporaryFile(/tmp/multipartBody1878175969722254844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108963540,"filename":"image_02112025_01_14_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/2/fa02a03e5417c3154be62da6be5e7cc7.jpg","text":"TemporaryFile(/tmp/multipartBody8109323436545849767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108963540,"filename":"image_02112025_01_14_28_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/2/ce3149a3e79aa937ff3f16496dfcb1a4.jpg","text":"TemporaryFile(/tmp/multipartBody2069485494342091366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762108963540,"filename":"image_02112025_01_14_22_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871471","file1":"1391871468","file0":"1391871465","file4":"1391871478","file5":"1391871481","file3":"1391871475"},"map_files_photo_id_array":[{"photo_id":"1391871481","filename":"file5"},{"photo_id":"1391871471","filename":"file2"},{"photo_id":"1391871478","filename":"file4"},{"photo_id":"1391871468","filename":"file1"},{"photo_id":"1391871465","filename":"file0"},{"photo_id":"1391871475","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871481":["hashtag1","hashtag2"]},{"1391871478":["hashtag1","hashtag2"]},{"1391871475":["hashtag1","hashtag2"]},{"1391871468":["hashtag1","hashtag2"]},{"1391871471":["hashtag1","hashtag2"]},{"1391871465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871481, 1391871478, 1391871475, 1391871468, 1391871471, 1391871465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53730607032776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:42:21.992459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_40_2762.jpg', '/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_46_2758.jpg', '/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_49_2502.jpg', '/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_53_3661.jpg', '/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_55_2665.jpg', '/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_58_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_40_2762.jpg
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_46_2758.jpg
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_49_2502.jpg
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_53_3661.jpg
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_55_2665.jpg
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_58_2590.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7034955024719238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:42:42.053296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_40_2762.jpg', '/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_46_2758.jpg', '/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_49_2502.jpg', '/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_53_3661.jpg', '/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_55_2665.jpg', '/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_58_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_40_2762.jpg
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_46_2758.jpg
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_49_2502.jpg
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_53_3661.jpg
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_55_2665.jpg
/home/pi/Desktop/images/02112025/01/14/image_02112025_01_14_58_2590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871503","1391871506","1391871508","1391871505","1391871507","1391871501"],"photo_ids_order":["1391871501","1391871503","1391871505","1391871506","1391871507","1391871508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/651a835be227ec1f8f227e341406a6f5.jpg","text":"TemporaryFile(/tmp/multipartBody537191538741505464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109022798,"filename":"image_02112025_01_14_46_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/2/25863f8f95a12e3776eb64729b810f4e.jpg","text":"TemporaryFile(/tmp/multipartBody2397542113256270524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109022798,"filename":"image_02112025_01_14_53_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/2/39e398da8577fa2a9107e73ab1b058bc.jpg","text":"TemporaryFile(/tmp/multipartBody916184670237060465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109022798,"filename":"image_02112025_01_14_58_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/2/095eddfc837210925fd2c5c62704c1ae.jpg","text":"TemporaryFile(/tmp/multipartBody5940060884777457578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109022798,"filename":"image_02112025_01_14_49_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/2/a5bee68d27b9964e9b286986dcde913c.jpg","text":"TemporaryFile(/tmp/multipartBody3716932562649326672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109022798,"filename":"image_02112025_01_14_55_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/2/381aefda5e9aa8e6c15069391bf7f69f.jpg","text":"TemporaryFile(/tmp/multipartBody9030186276429957553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109022798,"filename":"image_02112025_01_14_40_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871505","file1":"1391871503","file0":"1391871501","file4":"1391871507","file5":"1391871508","file3":"1391871506"},"map_files_photo_id_array":[{"photo_id":"1391871508","filename":"file5"},{"photo_id":"1391871505","filename":"file2"},{"photo_id":"1391871507","filename":"file4"},{"photo_id":"1391871503","filename":"file1"},{"photo_id":"1391871501","filename":"file0"},{"photo_id":"1391871506","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871503":["hashtag1","hashtag2"]},{"1391871506":["hashtag1","hashtag2"]},{"1391871508":["hashtag1","hashtag2"]},{"1391871505":["hashtag1","hashtag2"]},{"1391871507":["hashtag1","hashtag2"]},{"1391871501":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871503, 1391871506, 1391871508, 1391871505, 1391871507, 1391871501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.608617544174194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:43:22.293501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_02_3755.jpg', '/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_07_2535.jpg', '/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_16_2657.jpg', '/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_19_3623.jpg', '/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_22_2589.jpg', '/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_25_3581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_02_3755.jpg
/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_07_2535.jpg
/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_16_2657.jpg
/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_19_3623.jpg
/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_22_2589.jpg
/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_25_3581.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6970577239990234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:43:42.195759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_02_3755.jpg', '/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_07_2535.jpg', '/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_16_2657.jpg', '/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_19_3623.jpg', '/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_22_2589.jpg', '/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_25_3581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_02_3755.jpg
/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_07_2535.jpg
/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_16_2657.jpg
/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_19_3623.jpg
/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_22_2589.jpg
/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_25_3581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871563","1391871561","1391871570","1391871558","1391871566","1391871554"],"photo_ids_order":["1391871554","1391871558","1391871561","1391871563","1391871566","1391871570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/385ad388d765a5c8487c78b189f40e65.jpg","text":"TemporaryFile(/tmp/multipartBody5650101760893960194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109082910,"filename":"image_02112025_01_15_19_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/2/90f2f4a2b8815bbe5357378c580ce088.jpg","text":"TemporaryFile(/tmp/multipartBody4906810429646778810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109082910,"filename":"image_02112025_01_15_16_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/2/73289a739e3626853944839e1e7ac674.jpg","text":"TemporaryFile(/tmp/multipartBody5715319974240203193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109082910,"filename":"image_02112025_01_15_25_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/2/20a642ecebcc0c372c7663252ebcda3c.jpg","text":"TemporaryFile(/tmp/multipartBody5541794009644265102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109082910,"filename":"image_02112025_01_15_07_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/2/091cd4ad976199d330a99a379db9c863.jpg","text":"TemporaryFile(/tmp/multipartBody8512862812335906688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109082910,"filename":"image_02112025_01_15_22_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/2/4d2659ecc9b094dd5d45d0ee2041d963.jpg","text":"TemporaryFile(/tmp/multipartBody3796334398079177514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109082910,"filename":"image_02112025_01_15_02_3755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871561","file1":"1391871558","file0":"1391871554","file4":"1391871566","file5":"1391871570","file3":"1391871563"},"map_files_photo_id_array":[{"photo_id":"1391871570","filename":"file5"},{"photo_id":"1391871561","filename":"file2"},{"photo_id":"1391871566","filename":"file4"},{"photo_id":"1391871558","filename":"file1"},{"photo_id":"1391871554","filename":"file0"},{"photo_id":"1391871563","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871563":["hashtag1","hashtag2"]},{"1391871561":["hashtag1","hashtag2"]},{"1391871570":["hashtag1","hashtag2"]},{"1391871558":["hashtag1","hashtag2"]},{"1391871566":["hashtag1","hashtag2"]},{"1391871554":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871563, 1391871561, 1391871570, 1391871558, 1391871566, 1391871554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.000391721725464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:44:22.353544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_28_2663.jpg', '/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_31_2666.jpg', '/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_34_3505.jpg', '/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_37_2714.jpg', '/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_43_3724.jpg', '/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_46_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_28_2663.jpg
/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_31_2666.jpg
/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_34_3505.jpg
/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_37_2714.jpg
/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_43_3724.jpg
/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_46_2719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871580","1391871586","1391871591","1391871585","1391871588","1391871584"],"photo_ids_order":["1391871580","1391871584","1391871585","1391871586","1391871588","1391871591"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/77df073fe5feb711ab12794b48fa6f56.jpg","text":"TemporaryFile(/tmp/multipartBody8694467342725080257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109123146,"filename":"image_02112025_01_15_28_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/2/f1548e05e13c7c5f02f967bbda07230c.jpg","text":"TemporaryFile(/tmp/multipartBody4809557648525710444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109123146,"filename":"image_02112025_01_15_37_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/2/b9405e622f6b9d25c22d61b0a0280443.jpg","text":"TemporaryFile(/tmp/multipartBody390915337952769795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109123146,"filename":"image_02112025_01_15_46_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/2/e96813ae98856f0cee675922439f1594.jpg","text":"TemporaryFile(/tmp/multipartBody1059400292611191140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109123146,"filename":"image_02112025_01_15_34_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/2/306c916d26b391fa9e3aab9f0c15e130.jpg","text":"TemporaryFile(/tmp/multipartBody4929588750240130096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109123146,"filename":"image_02112025_01_15_43_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/2/83401051b4de5554f2d8b5989726f039.jpg","text":"TemporaryFile(/tmp/multipartBody2030051571402912379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109123146,"filename":"image_02112025_01_15_31_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871585","file1":"1391871584","file0":"1391871580","file4":"1391871588","file5":"1391871591","file3":"1391871586"},"map_files_photo_id_array":[{"photo_id":"1391871591","filename":"file5"},{"photo_id":"1391871585","filename":"file2"},{"photo_id":"1391871588","filename":"file4"},{"photo_id":"1391871584","filename":"file1"},{"photo_id":"1391871580","filename":"file0"},{"photo_id":"1391871586","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871580":["hashtag1","hashtag2"]},{"1391871586":["hashtag1","hashtag2"]},{"1391871591":["hashtag1","hashtag2"]},{"1391871585":["hashtag1","hashtag2"]},{"1391871588":["hashtag1","hashtag2"]},{"1391871584":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871580, 1391871586, 1391871591, 1391871585, 1391871588, 1391871584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94321894645691 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:45:03.133917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_49_2599.jpg', '/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_52_3671.jpg', '/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_55_2701.jpg', '/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_04_2651.jpg', '/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_07_2634.jpg', '/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_10_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_49_2599.jpg
/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_52_3671.jpg
/home/pi/Desktop/images/02112025/01/15/image_02112025_01_15_55_2701.jpg
/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_04_2651.jpg
/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_07_2634.jpg
/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_10_3613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871605","1391871616","1391871603","1391871606","1391871609","1391871600"],"photo_ids_order":["1391871600","1391871603","1391871605","1391871606","1391871609","1391871616"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a8b8cba4abc4a02f49c1aafc8eaa883f.jpg","text":"TemporaryFile(/tmp/multipartBody1560368050133706614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109164059,"filename":"image_02112025_01_15_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/2/1c536b32104832695f511c241e30dcbf.jpg","text":"TemporaryFile(/tmp/multipartBody4648103215064445710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109164059,"filename":"image_02112025_01_16_10_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/2/6da8ca0133f40db6937abedb4db168da.jpg","text":"TemporaryFile(/tmp/multipartBody6339846412175673981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109164059,"filename":"image_02112025_01_15_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/2/39a2ea021a0d1da72d8f45944282bb8f.jpg","text":"TemporaryFile(/tmp/multipartBody3481133012012664779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109164059,"filename":"image_02112025_01_16_04_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/2/917a9d777f6ee1fd56d23c4e5f7b6eaa.jpg","text":"TemporaryFile(/tmp/multipartBody9191918074014436153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109164059,"filename":"image_02112025_01_16_07_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/2/ad3f7c2e5f77d083e22e439c098aa3c0.jpg","text":"TemporaryFile(/tmp/multipartBody8029968193951988718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109164059,"filename":"image_02112025_01_15_49_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871605","file1":"1391871603","file0":"1391871600","file4":"1391871609","file5":"1391871616","file3":"1391871606"},"map_files_photo_id_array":[{"photo_id":"1391871616","filename":"file5"},{"photo_id":"1391871605","filename":"file2"},{"photo_id":"1391871609","filename":"file4"},{"photo_id":"1391871603","filename":"file1"},{"photo_id":"1391871600","filename":"file0"},{"photo_id":"1391871606","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871605":["hashtag1","hashtag2"]},{"1391871616":["hashtag1","hashtag2"]},{"1391871603":["hashtag1","hashtag2"]},{"1391871606":["hashtag1","hashtag2"]},{"1391871609":["hashtag1","hashtag2"]},{"1391871600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871605, 1391871616, 1391871603, 1391871606, 1391871609, 1391871600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.815513610839844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:45:42.592609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_13_2682.jpg', '/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_16_2660.jpg', '/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_19_3651.jpg', '/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_22_2584.jpg', '/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_25_3566.jpg', '/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_31_2556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_13_2682.jpg
/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_16_2660.jpg
/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_19_3651.jpg
/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_22_2584.jpg
/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_25_3566.jpg
/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_31_2556.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871655","1391871658","1391871643","1391871649","1391871651","1391871647"],"photo_ids_order":["1391871643","1391871647","1391871649","1391871651","1391871655","1391871658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d82f3bbb67e08286ed3cda2625301110.jpg","text":"TemporaryFile(/tmp/multipartBody1603356005103401983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109203427,"filename":"image_02112025_01_16_25_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/2/1b9842d1ca240e3463e5e6a970de8f10.jpg","text":"TemporaryFile(/tmp/multipartBody3722249548731160732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109203427,"filename":"image_02112025_01_16_31_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/2/86ec28a72b2e50d6f719a12b632d0f96.jpg","text":"TemporaryFile(/tmp/multipartBody1428409750770123070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109203427,"filename":"image_02112025_01_16_13_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/2/19f093cf6b69762732361e5d36f97425.jpg","text":"TemporaryFile(/tmp/multipartBody9200594094664228047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109203427,"filename":"image_02112025_01_16_19_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/2/32eca63b53933f2712e02ff411fd3d28.jpg","text":"TemporaryFile(/tmp/multipartBody7735255209071020109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109203427,"filename":"image_02112025_01_16_22_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/2/33cd510a9c112dcd8bf5df255fcb6ad2.jpg","text":"TemporaryFile(/tmp/multipartBody6098066120038124062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109203427,"filename":"image_02112025_01_16_16_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871649","file1":"1391871647","file0":"1391871643","file4":"1391871655","file5":"1391871658","file3":"1391871651"},"map_files_photo_id_array":[{"photo_id":"1391871658","filename":"file5"},{"photo_id":"1391871649","filename":"file2"},{"photo_id":"1391871655","filename":"file4"},{"photo_id":"1391871647","filename":"file1"},{"photo_id":"1391871643","filename":"file0"},{"photo_id":"1391871651","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871655":["hashtag1","hashtag2"]},{"1391871658":["hashtag1","hashtag2"]},{"1391871643":["hashtag1","hashtag2"]},{"1391871649":["hashtag1","hashtag2"]},{"1391871651":["hashtag1","hashtag2"]},{"1391871647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871655, 1391871658, 1391871643, 1391871649, 1391871651, 1391871647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11036491394043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:46:22.727286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_33_2674.jpg', '/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_37_3590.jpg', '/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_40_2780.jpg', '/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_43_2844.jpg', '/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_52_3075.jpg', '/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_57_4847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_33_2674.jpg
/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_37_3590.jpg
/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_40_2780.jpg
/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_43_2844.jpg
/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_52_3075.jpg
/home/pi/Desktop/images/02112025/01/16/image_02112025_01_16_57_4847.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871673","1391871676","1391871679","1391871681","1391871678","1391871677"],"photo_ids_order":["1391871673","1391871676","1391871677","1391871678","1391871679","1391871681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b73938356d083f95eaea358d858802e7.jpg","text":"TemporaryFile(/tmp/multipartBody4103306256611996947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109243529,"filename":"image_02112025_01_16_33_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/2/ffa254f2661dfa2d70fe61837d77998a.jpg","text":"TemporaryFile(/tmp/multipartBody5457981815925724005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109243529,"filename":"image_02112025_01_16_37_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/2/0f2c6aec316754285c57f24f8ba7fdce.jpg","text":"TemporaryFile(/tmp/multipartBody1528299240012186716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109243529,"filename":"image_02112025_01_16_52_3075.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fabae22c31c0cb32f08339a48e1d0de4.jpg","text":"TemporaryFile(/tmp/multipartBody5965586096832701763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109243529,"filename":"image_02112025_01_16_57_4847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1b89ec3664f5382198936c5f5b9cf1e5.jpg","text":"TemporaryFile(/tmp/multipartBody6025664353004813963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109243529,"filename":"image_02112025_01_16_43_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/2/6955cfac0aed89f64eb6ccb0d046e168.jpg","text":"TemporaryFile(/tmp/multipartBody5618057494485241507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109243529,"filename":"image_02112025_01_16_40_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871677","file1":"1391871676","file0":"1391871673","file4":"1391871679","file5":"1391871681","file3":"1391871678"},"map_files_photo_id_array":[{"photo_id":"1391871681","filename":"file5"},{"photo_id":"1391871677","filename":"file2"},{"photo_id":"1391871679","filename":"file4"},{"photo_id":"1391871676","filename":"file1"},{"photo_id":"1391871673","filename":"file0"},{"photo_id":"1391871678","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871673":["hashtag1","hashtag2"]},{"1391871676":["hashtag1","hashtag2"]},{"1391871679":["hashtag1","hashtag2"]},{"1391871681":["hashtag1","hashtag2"]},{"1391871678":["hashtag1","hashtag2"]},{"1391871677":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871673, 1391871676, 1391871679, 1391871681, 1391871678, 1391871677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10772466659546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:47:02.710114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_13_15871.jpg', '/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_16_3085.jpg', '/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_18_1754.jpg', '/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_20_1676.jpg', '/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_21_1715.jpg', '/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_28_6837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_13_15871.jpg
/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_16_3085.jpg
/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_18_1754.jpg
/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_20_1676.jpg
/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_21_1715.jpg
/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_28_6837.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871694","1391871690","1391871693","1391871696","1391871695","1391871698"],"photo_ids_order":["1391871690","1391871693","1391871694","1391871695","1391871696","1391871698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6090b4c40eea025798c0bfabd25d279c.jpg","text":"TemporaryFile(/tmp/multipartBody2764910790379265346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109283604,"filename":"image_02112025_01_17_18_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/2/58c6c56cb0237f6fe51a27af33c30991.jpg","text":"TemporaryFile(/tmp/multipartBody7954568811402597668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109283604,"filename":"image_02112025_01_17_13_15871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/055e3c1a18b979c116e0f159c3cb39c3.jpg","text":"TemporaryFile(/tmp/multipartBody4321711051112118493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109283604,"filename":"image_02112025_01_17_16_3085.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/23a938157ab4aa2e9ced3c81154196b4.jpg","text":"TemporaryFile(/tmp/multipartBody569182135689168465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109283604,"filename":"image_02112025_01_17_21_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/2/45dab362e92a4e483151afb7632d09bd.jpg","text":"TemporaryFile(/tmp/multipartBody4537774837279151456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109283604,"filename":"image_02112025_01_17_20_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/2/624f6e37b17d29eac8068e777e4aab05.jpg","text":"TemporaryFile(/tmp/multipartBody7978651155467900135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109283604,"filename":"image_02112025_01_17_28_6837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871694","file1":"1391871693","file0":"1391871690","file4":"1391871696","file5":"1391871698","file3":"1391871695"},"map_files_photo_id_array":[{"photo_id":"1391871698","filename":"file5"},{"photo_id":"1391871694","filename":"file2"},{"photo_id":"1391871696","filename":"file4"},{"photo_id":"1391871693","filename":"file1"},{"photo_id":"1391871690","filename":"file0"},{"photo_id":"1391871695","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871694":["hashtag1","hashtag2"]},{"1391871690":["hashtag1","hashtag2"]},{"1391871693":["hashtag1","hashtag2"]},{"1391871696":["hashtag1","hashtag2"]},{"1391871695":["hashtag1","hashtag2"]},{"1391871698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871694, 1391871690, 1391871693, 1391871696, 1391871695, 1391871698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31207323074341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:47:42.050662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_30_1652.jpg', '/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_31_1743.jpg', '/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_33_1500.jpg', '/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_35_1853.jpg', '/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_39_3822.jpg', '/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_42_1652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_30_1652.jpg
/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_31_1743.jpg
/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_33_1500.jpg
/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_35_1853.jpg
/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_39_3822.jpg
/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_42_1652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871740","1391871737","1391871730","1391871733","1391871735","1391871738"],"photo_ids_order":["1391871730","1391871733","1391871735","1391871737","1391871738","1391871740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3939565dd189f25a4e650ca0cc708761.jpg","text":"TemporaryFile(/tmp/multipartBody8964820184482999702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109322877,"filename":"image_02112025_01_17_42_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/2/08ae7e8f6aea991764d249a536144ef9.jpg","text":"TemporaryFile(/tmp/multipartBody6256954652963354192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109322877,"filename":"image_02112025_01_17_35_1853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8dd54089b0bf288102f16db646e429d0.jpg","text":"TemporaryFile(/tmp/multipartBody162192080271857705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109322877,"filename":"image_02112025_01_17_30_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/2/b781da6ae81d2f6bb0a03aaf8d9e6bfb.jpg","text":"TemporaryFile(/tmp/multipartBody2787243317392359838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109322877,"filename":"image_02112025_01_17_31_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/2/e80398db0461fe6cd5570f0903fc795e.jpg","text":"TemporaryFile(/tmp/multipartBody2242057911643094871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109322877,"filename":"image_02112025_01_17_33_1500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c12262148ceb8c987ce064d589ae1311.jpg","text":"TemporaryFile(/tmp/multipartBody2096024420467380552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109322877,"filename":"image_02112025_01_17_39_3822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871735","file1":"1391871733","file0":"1391871730","file4":"1391871738","file5":"1391871740","file3":"1391871737"},"map_files_photo_id_array":[{"photo_id":"1391871740","filename":"file5"},{"photo_id":"1391871735","filename":"file2"},{"photo_id":"1391871738","filename":"file4"},{"photo_id":"1391871733","filename":"file1"},{"photo_id":"1391871730","filename":"file0"},{"photo_id":"1391871737","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871740":["hashtag1","hashtag2"]},{"1391871737":["hashtag1","hashtag2"]},{"1391871730":["hashtag1","hashtag2"]},{"1391871733":["hashtag1","hashtag2"]},{"1391871735":["hashtag1","hashtag2"]},{"1391871738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871740, 1391871737, 1391871730, 1391871733, 1391871735, 1391871738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20295453071594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:48:22.278050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_44_1602.jpg', '/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_45_1735.jpg', '/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_49_1675.jpg', '/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_50_1639.jpg', '/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_52_1654.jpg', '/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_55_2793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_44_1602.jpg
/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_45_1735.jpg
/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_49_1675.jpg
/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_50_1639.jpg
/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_52_1654.jpg
/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_55_2793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871754","1391871753","1391871747","1391871750","1391871758","1391871752"],"photo_ids_order":["1391871747","1391871750","1391871752","1391871753","1391871754","1391871758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1e72124ae6c4be6e84e3b916289e4ad9.jpg","text":"TemporaryFile(/tmp/multipartBody2204278219190646451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109363051,"filename":"image_02112025_01_17_52_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/2/ae87dd27b8248ba2b078887a08abc06c.jpg","text":"TemporaryFile(/tmp/multipartBody6757952961612354864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109363051,"filename":"image_02112025_01_17_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/2/835f2cd569783db17329efa3f0bcc01d.jpg","text":"TemporaryFile(/tmp/multipartBody2149715179826321733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109363051,"filename":"image_02112025_01_17_44_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/2/8ff9ba50bad6248b46151d03d8c40385.jpg","text":"TemporaryFile(/tmp/multipartBody3327649516837556811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109363051,"filename":"image_02112025_01_17_45_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3e82cb2b565115284caf04d59d9040c1.jpg","text":"TemporaryFile(/tmp/multipartBody2610807396271362144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109363051,"filename":"image_02112025_01_17_55_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/2/2e52687efdb7510dddc87178c0b27be7.jpg","text":"TemporaryFile(/tmp/multipartBody9179177290563101166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109363051,"filename":"image_02112025_01_17_49_1675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871752","file1":"1391871750","file0":"1391871747","file4":"1391871754","file5":"1391871758","file3":"1391871753"},"map_files_photo_id_array":[{"photo_id":"1391871758","filename":"file5"},{"photo_id":"1391871752","filename":"file2"},{"photo_id":"1391871754","filename":"file4"},{"photo_id":"1391871750","filename":"file1"},{"photo_id":"1391871747","filename":"file0"},{"photo_id":"1391871753","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871754":["hashtag1","hashtag2"]},{"1391871753":["hashtag1","hashtag2"]},{"1391871747":["hashtag1","hashtag2"]},{"1391871750":["hashtag1","hashtag2"]},{"1391871758":["hashtag1","hashtag2"]},{"1391871752":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871754, 1391871753, 1391871747, 1391871750, 1391871758, 1391871752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.184581995010376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:49:03.560438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_57_2714.jpg', '/home/pi/Desktop/images/02112025/01/17/image_02112025_01_18_01_3553.jpg', '/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_06_4720.jpg', '/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_18_3076.jpg', '/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_20_1609.jpg', '/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_21_1646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/17/image_02112025_01_17_57_2714.jpg
/home/pi/Desktop/images/02112025/01/17/image_02112025_01_18_01_3553.jpg
/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_06_4720.jpg
/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_18_3076.jpg
/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_20_1609.jpg
/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_21_1646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871775","1391871778","1391871780","1391871777","1391871776","1391871773"],"photo_ids_order":["1391871773","1391871775","1391871776","1391871777","1391871778","1391871780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/415a8cdd0ed0aa6d3bd7506579e7b0fb.jpg","text":"TemporaryFile(/tmp/multipartBody1827191553487093213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109404506,"filename":"image_02112025_01_18_01_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/2/2035cf4ff4c623cc7efeae815baa99bb.jpg","text":"TemporaryFile(/tmp/multipartBody5496149568150358164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109404506,"filename":"image_02112025_01_18_20_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/2/7173e7322356f40316f0e62c5a370c5d.jpg","text":"TemporaryFile(/tmp/multipartBody6723122034691780730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109404506,"filename":"image_02112025_01_18_21_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/2/30b55358a6b8e9dcd5d063ad3b3d148e.jpg","text":"TemporaryFile(/tmp/multipartBody4812969403759339934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109404506,"filename":"image_02112025_01_18_18_3076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/89a4738c63febf6def14de598de7df1b.jpg","text":"TemporaryFile(/tmp/multipartBody3193029669384558876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109404506,"filename":"image_02112025_01_18_06_4720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/087ba7967a5adea59c3c7351e7a5b07a.jpg","text":"TemporaryFile(/tmp/multipartBody3438676897511395326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109404506,"filename":"image_02112025_01_17_57_2714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871776","file1":"1391871775","file0":"1391871773","file4":"1391871778","file5":"1391871780","file3":"1391871777"},"map_files_photo_id_array":[{"photo_id":"1391871780","filename":"file5"},{"photo_id":"1391871776","filename":"file2"},{"photo_id":"1391871778","filename":"file4"},{"photo_id":"1391871775","filename":"file1"},{"photo_id":"1391871773","filename":"file0"},{"photo_id":"1391871777","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871775":["hashtag1","hashtag2"]},{"1391871778":["hashtag1","hashtag2"]},{"1391871780":["hashtag1","hashtag2"]},{"1391871777":["hashtag1","hashtag2"]},{"1391871776":["hashtag1","hashtag2"]},{"1391871773":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871775, 1391871778, 1391871780, 1391871777, 1391871776, 1391871773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87611413002014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:49:42.602742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_23_1665.jpg', '/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_25_2591.jpg', '/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_27_1572.jpg', '/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_29_1569.jpg', '/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_31_2311.jpg', '/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_33_2557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_23_1665.jpg
/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_25_2591.jpg
/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_27_1572.jpg
/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_29_1569.jpg
/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_31_2311.jpg
/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_33_2557.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871800","1391871796","1391871792","1391871795","1391871789","1391871794"],"photo_ids_order":["1391871789","1391871792","1391871794","1391871795","1391871796","1391871800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/de9e7c8d3b6012ddafc5e51e55a05e62.jpg","text":"TemporaryFile(/tmp/multipartBody4361150836532562732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109443426,"filename":"image_02112025_01_18_33_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/2/6b95fda1b9b6662b291853a74839b3b8.jpg","text":"TemporaryFile(/tmp/multipartBody765325449911095607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109443426,"filename":"image_02112025_01_18_31_2311.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a2d2767554d26ba3d72dd3ff68070b26.jpg","text":"TemporaryFile(/tmp/multipartBody4463029452598112986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109443426,"filename":"image_02112025_01_18_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/2/aa2acbeb9f471cded5dd873ebbca4bec.jpg","text":"TemporaryFile(/tmp/multipartBody2937303824840025460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109443426,"filename":"image_02112025_01_18_29_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3bea39c565f06999e4ab9f319d09af6c.jpg","text":"TemporaryFile(/tmp/multipartBody1530294559519274680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109443426,"filename":"image_02112025_01_18_23_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/2/96053848e629e6b313aed5eeddd4a9da.jpg","text":"TemporaryFile(/tmp/multipartBody4685078924481063279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109443426,"filename":"image_02112025_01_18_27_1572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871794","file1":"1391871792","file0":"1391871789","file4":"1391871796","file5":"1391871800","file3":"1391871795"},"map_files_photo_id_array":[{"photo_id":"1391871800","filename":"file5"},{"photo_id":"1391871794","filename":"file2"},{"photo_id":"1391871796","filename":"file4"},{"photo_id":"1391871792","filename":"file1"},{"photo_id":"1391871789","filename":"file0"},{"photo_id":"1391871795","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871800":["hashtag1","hashtag2"]},{"1391871796":["hashtag1","hashtag2"]},{"1391871792":["hashtag1","hashtag2"]},{"1391871795":["hashtag1","hashtag2"]},{"1391871789":["hashtag1","hashtag2"]},{"1391871794":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871800, 1391871796, 1391871792, 1391871795, 1391871789, 1391871794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45067739486694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:50:22.678997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_37_3743.jpg', '/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_40_2721.jpg', '/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_49_1801.jpg', '/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_50_1614.jpg', '/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_52_1588.jpg', '/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_54_2537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_37_3743.jpg
/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_40_2721.jpg
/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_49_1801.jpg
/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_50_1614.jpg
/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_52_1588.jpg
/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_54_2537.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871812","1391871817","1391871820","1391871814","1391871810","1391871813"],"photo_ids_order":["1391871810","1391871812","1391871813","1391871814","1391871817","1391871820"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d8f4325542711c34869bc37d55dbce82.jpg","text":"TemporaryFile(/tmp/multipartBody7179518392462726791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109485708,"filename":"image_02112025_01_18_40_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/2/d85ca644f21231ec1d2ad72dfc3c476f.jpg","text":"TemporaryFile(/tmp/multipartBody5873139448303791782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109485708,"filename":"image_02112025_01_18_52_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/2/41d9a4800d6a16d2f381f1b161c7727b.jpg","text":"TemporaryFile(/tmp/multipartBody6135978896414600394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109485708,"filename":"image_02112025_01_18_54_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/2/63fe54be0e9b8e1b87c01ed7ab5b2ea4.jpg","text":"TemporaryFile(/tmp/multipartBody4886506127350538448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109485708,"filename":"image_02112025_01_18_50_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/2/a8e510c6be9fd50203072cc1898698e0.jpg","text":"TemporaryFile(/tmp/multipartBody2120618140766255129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109485708,"filename":"image_02112025_01_18_37_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/2/812c6864b302f2eda5aab76a8cd593b3.jpg","text":"TemporaryFile(/tmp/multipartBody3200765477495157936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109485708,"filename":"image_02112025_01_18_49_1801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871813","file1":"1391871812","file0":"1391871810","file4":"1391871817","file5":"1391871820","file3":"1391871814"},"map_files_photo_id_array":[{"photo_id":"1391871820","filename":"file5"},{"photo_id":"1391871813","filename":"file2"},{"photo_id":"1391871817","filename":"file4"},{"photo_id":"1391871812","filename":"file1"},{"photo_id":"1391871810","filename":"file0"},{"photo_id":"1391871814","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871812":["hashtag1","hashtag2"]},{"1391871817":["hashtag1","hashtag2"]},{"1391871820":["hashtag1","hashtag2"]},{"1391871814":["hashtag1","hashtag2"]},{"1391871810":["hashtag1","hashtag2"]},{"1391871813":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871812, 1391871817, 1391871820, 1391871814, 1391871810, 1391871813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68043565750122 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:51:02.515758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_58_3648.jpg', '/home/pi/Desktop/images/02112025/01/19/image_02112025_01_19_01_2581.jpg', '/home/pi/Desktop/images/02112025/01/19/image_02112025_01_19_09_8719.jpg', '/home/pi/Desktop/images/02112025/01/19/image_02112025_01_19_11_1633.jpg', '/home/pi/Desktop/images/02112025/01/19/image_02112025_01_19_13_1545.jpg', '/home/pi/Desktop/images/02112025/01/19/image_02112025_01_19_14_1589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/18/image_02112025_01_18_58_3648.jpg
/home/pi/Desktop/images/02112025/01/19/image_02112025_01_19_01_2581.jpg
/home/pi/Desktop/images/02112025/01/19/image_02112025_01_19_09_8719.jpg
/home/pi/Desktop/images/02112025/01/19/image_02112025_01_19_11_1633.jpg
/home/pi/Desktop/images/02112025/01/19/image_02112025_01_19_13_1545.jpg
/home/pi/Desktop/images/02112025/01/19/image_02112025_01_19_14_1589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871835","1391871844","1391871832","1391871837","1391871842","1391871839"],"photo_ids_order":["1391871832","1391871835","1391871837","1391871839","1391871842","1391871844"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d962960625088e579cadc9430aa693c0.jpg","text":"TemporaryFile(/tmp/multipartBody4602826085618795841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109545746,"filename":"image_02112025_01_19_01_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/2/4029e5400e322f90212a3dd5b57ec7ba.jpg","text":"TemporaryFile(/tmp/multipartBody5024070121005390604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109545746,"filename":"image_02112025_01_19_14_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/2/448d240997ae077a71f1772c17ba0c9f.jpg","text":"TemporaryFile(/tmp/multipartBody8986024105455032086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109545746,"filename":"image_02112025_01_18_58_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/2/bd6368dc5977b47b59abe54666485741.jpg","text":"TemporaryFile(/tmp/multipartBody4970826640256319534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109545746,"filename":"image_02112025_01_19_09_8719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0a79c86a0a729a555d75e4d420091b19.jpg","text":"TemporaryFile(/tmp/multipartBody5764389801736481101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109545746,"filename":"image_02112025_01_19_13_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/2/e0af55710e89fe69d2271b93cd421deb.jpg","text":"TemporaryFile(/tmp/multipartBody1139627219534688706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109545746,"filename":"image_02112025_01_19_11_1633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871837","file1":"1391871835","file0":"1391871832","file4":"1391871842","file5":"1391871844","file3":"1391871839"},"map_files_photo_id_array":[{"photo_id":"1391871844","filename":"file5"},{"photo_id":"1391871837","filename":"file2"},{"photo_id":"1391871842","filename":"file4"},{"photo_id":"1391871835","filename":"file1"},{"photo_id":"1391871832","filename":"file0"},{"photo_id":"1391871839","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871835":["hashtag1","hashtag2"]},{"1391871844":["hashtag1","hashtag2"]},{"1391871832":["hashtag1","hashtag2"]},{"1391871837":["hashtag1","hashtag2"]},{"1391871842":["hashtag1","hashtag2"]},{"1391871839":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871835, 1391871844, 1391871832, 1391871837, 1391871842, 1391871839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.9247305393219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:52:02.798148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/19/image_02112025_01_19_18_4145.jpg', '/home/pi/Desktop/images/02112025/01/19/image_02112025_01_19_27_8908.jpg', '/home/pi/Desktop/images/02112025/01/19/image_02112025_01_19_35_8126.jpg', '/home/pi/Desktop/images/02112025/01/19/image_02112025_01_19_37_1706.jpg', '/home/pi/Desktop/images/02112025/01/19/image_02112025_01_19_58_21380.jpg', '/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_04_5859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/19/image_02112025_01_19_18_4145.jpg
/home/pi/Desktop/images/02112025/01/19/image_02112025_01_19_27_8908.jpg
/home/pi/Desktop/images/02112025/01/19/image_02112025_01_19_35_8126.jpg
/home/pi/Desktop/images/02112025/01/19/image_02112025_01_19_37_1706.jpg
/home/pi/Desktop/images/02112025/01/19/image_02112025_01_19_58_21380.jpg
/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_04_5859.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871868","1391871883","1391871862","1391871856","1391871852","1391871849"],"photo_ids_order":["1391871849","1391871852","1391871856","1391871862","1391871868","1391871883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3a3d908787ee6205ff7b0d8bc6824868.jpg","text":"TemporaryFile(/tmp/multipartBody4568425077545235068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109583810,"filename":"image_02112025_01_19_58_21380.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/56cb78eaecbe8dbdec62e9925db11c44.jpg","text":"TemporaryFile(/tmp/multipartBody6391400451266005244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109583810,"filename":"image_02112025_01_20_04_5859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/88f7e073bf4043a50e90ea5f75f4579d.jpg","text":"TemporaryFile(/tmp/multipartBody7476994904472720949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109583810,"filename":"image_02112025_01_19_37_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1383e70df0dec4f102fa684c60ffbaca.jpg","text":"TemporaryFile(/tmp/multipartBody4649009618588351222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109583810,"filename":"image_02112025_01_19_35_8126.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d7496218de2c4d3595a94afb41a75150.jpg","text":"TemporaryFile(/tmp/multipartBody3051264575046011068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109583810,"filename":"image_02112025_01_19_27_8908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a1dc91b77ba5c99721eb612c60a294b0.jpg","text":"TemporaryFile(/tmp/multipartBody1125594385985815145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109583810,"filename":"image_02112025_01_19_18_4145.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871856","file1":"1391871852","file0":"1391871849","file4":"1391871868","file5":"1391871883","file3":"1391871862"},"map_files_photo_id_array":[{"photo_id":"1391871883","filename":"file5"},{"photo_id":"1391871856","filename":"file2"},{"photo_id":"1391871868","filename":"file4"},{"photo_id":"1391871852","filename":"file1"},{"photo_id":"1391871849","filename":"file0"},{"photo_id":"1391871862","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871868":["hashtag1","hashtag2"]},{"1391871883":["hashtag1","hashtag2"]},{"1391871862":["hashtag1","hashtag2"]},{"1391871856":["hashtag1","hashtag2"]},{"1391871852":["hashtag1","hashtag2"]},{"1391871849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871868, 1391871883, 1391871862, 1391871856, 1391871852, 1391871849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44597768783569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:52:42.322824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_06_1627.jpg', '/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_07_1538.jpg', '/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_09_1602.jpg', '/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_11_1692.jpg', '/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_12_1711.jpg', '/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_14_1641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_06_1627.jpg
/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_07_1538.jpg
/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_09_1602.jpg
/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_11_1692.jpg
/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_12_1711.jpg
/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_14_1641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871897","1391871901","1391871894","1391871900","1391871903","1391871899"],"photo_ids_order":["1391871894","1391871897","1391871899","1391871900","1391871901","1391871903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/80b692687bfad79f4218794f0e944e59.jpg","text":"TemporaryFile(/tmp/multipartBody8475706922974705646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109623091,"filename":"image_02112025_01_20_07_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/2/bf5e57472a05ad9ed09541ac8a1a4245.jpg","text":"TemporaryFile(/tmp/multipartBody4503397354110125861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109623091,"filename":"image_02112025_01_20_12_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/2/8b2f9bb7d7ad3f2d96caf5b14a63344d.jpg","text":"TemporaryFile(/tmp/multipartBody2287352832473613330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109623091,"filename":"image_02112025_01_20_06_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/2/74c2fcee2b94ff2c4f07e28da7c9c724.jpg","text":"TemporaryFile(/tmp/multipartBody2842881590562823803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109623091,"filename":"image_02112025_01_20_11_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/2/b679e0b14767fb8573309ba854b00db6.jpg","text":"TemporaryFile(/tmp/multipartBody6732845707330194876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109623091,"filename":"image_02112025_01_20_14_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/2/45c9182b1d0b78a0ee1c2d1586c8743a.jpg","text":"TemporaryFile(/tmp/multipartBody6845122635179220290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109623091,"filename":"image_02112025_01_20_09_1602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871899","file1":"1391871897","file0":"1391871894","file4":"1391871901","file5":"1391871903","file3":"1391871900"},"map_files_photo_id_array":[{"photo_id":"1391871903","filename":"file5"},{"photo_id":"1391871899","filename":"file2"},{"photo_id":"1391871901","filename":"file4"},{"photo_id":"1391871897","filename":"file1"},{"photo_id":"1391871894","filename":"file0"},{"photo_id":"1391871900","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871897":["hashtag1","hashtag2"]},{"1391871901":["hashtag1","hashtag2"]},{"1391871894":["hashtag1","hashtag2"]},{"1391871900":["hashtag1","hashtag2"]},{"1391871903":["hashtag1","hashtag2"]},{"1391871899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871897, 1391871901, 1391871894, 1391871900, 1391871903, 1391871899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39417266845703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:53:23.203655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_16_1765.jpg', '/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_17_1516.jpg', '/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_19_1617.jpg', '/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_24_1696.jpg', '/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_27_3267.jpg', '/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_29_1626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_16_1765.jpg
/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_17_1516.jpg
/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_19_1617.jpg
/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_24_1696.jpg
/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_27_3267.jpg
/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_29_1626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871925","1391871919","1391871927","1391871921","1391871915","1391871923"],"photo_ids_order":["1391871915","1391871919","1391871921","1391871923","1391871925","1391871927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2cd4f6ed144171ed763971b788610407.jpg","text":"TemporaryFile(/tmp/multipartBody4017073169608168099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109664027,"filename":"image_02112025_01_20_27_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/2/113d2f9e82ed5b4496ad9cea07eb2501.jpg","text":"TemporaryFile(/tmp/multipartBody4719399564528945008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109664027,"filename":"image_02112025_01_20_17_1516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7d19a1cd6fd104c4e930881e5f182374.jpg","text":"TemporaryFile(/tmp/multipartBody2320004075364518006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109664027,"filename":"image_02112025_01_20_29_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/2/4fbec3a1efbc67a41cde0efdbf6d24f3.jpg","text":"TemporaryFile(/tmp/multipartBody6820700818192107261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109664027,"filename":"image_02112025_01_20_19_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/2/4b02158d4ca76ae04306ce4675c01ff5.jpg","text":"TemporaryFile(/tmp/multipartBody932414373410773027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109664027,"filename":"image_02112025_01_20_16_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/2/bd986585cb2188b422563798817e09e4.jpg","text":"TemporaryFile(/tmp/multipartBody4439832239604488848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109664027,"filename":"image_02112025_01_20_24_1696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871921","file1":"1391871919","file0":"1391871915","file4":"1391871925","file5":"1391871927","file3":"1391871923"},"map_files_photo_id_array":[{"photo_id":"1391871927","filename":"file5"},{"photo_id":"1391871921","filename":"file2"},{"photo_id":"1391871925","filename":"file4"},{"photo_id":"1391871919","filename":"file1"},{"photo_id":"1391871915","filename":"file0"},{"photo_id":"1391871923","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871925":["hashtag1","hashtag2"]},{"1391871919":["hashtag1","hashtag2"]},{"1391871927":["hashtag1","hashtag2"]},{"1391871921":["hashtag1","hashtag2"]},{"1391871915":["hashtag1","hashtag2"]},{"1391871923":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871925, 1391871919, 1391871927, 1391871921, 1391871915, 1391871923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.132784843444824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:54:03.117474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_30_1593.jpg', '/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_32_1761.jpg', '/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_34_1521.jpg', '/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_35_1574.jpg', '/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_39_1611.jpg', '/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_43_4043.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_30_1593.jpg
/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_32_1761.jpg
/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_34_1521.jpg
/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_35_1574.jpg
/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_39_1611.jpg
/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_43_4043.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871947","1391871955","1391871934","1391871936","1391871965","1391871938"],"photo_ids_order":["1391871934","1391871936","1391871938","1391871947","1391871955","1391871965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/17ef45d2a190aa4e4ae0dad574cac7aa.jpg","text":"TemporaryFile(/tmp/multipartBody8145914385778677872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109704004,"filename":"image_02112025_01_20_35_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/2/11567f80206aa9bfd24653b6c78414f1.jpg","text":"TemporaryFile(/tmp/multipartBody3784819658176410595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109704004,"filename":"image_02112025_01_20_39_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/2/91def31f5acc11c98f4020f4bda72a8f.jpg","text":"TemporaryFile(/tmp/multipartBody5103536450719149447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109704004,"filename":"image_02112025_01_20_30_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/2/abe14da36d90e795307d1468d91d530f.jpg","text":"TemporaryFile(/tmp/multipartBody7284364793997499400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109704004,"filename":"image_02112025_01_20_32_1761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/73c95ce641346b01ba94155401cd07bc.jpg","text":"TemporaryFile(/tmp/multipartBody2809400116753544230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109704004,"filename":"image_02112025_01_20_43_4043.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d3d8aca0de9041897fdf0c08e495e217.jpg","text":"TemporaryFile(/tmp/multipartBody4307342329948506615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109704004,"filename":"image_02112025_01_20_34_1521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871938","file1":"1391871936","file0":"1391871934","file4":"1391871955","file5":"1391871965","file3":"1391871947"},"map_files_photo_id_array":[{"photo_id":"1391871965","filename":"file5"},{"photo_id":"1391871938","filename":"file2"},{"photo_id":"1391871955","filename":"file4"},{"photo_id":"1391871936","filename":"file1"},{"photo_id":"1391871934","filename":"file0"},{"photo_id":"1391871947","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871947":["hashtag1","hashtag2"]},{"1391871955":["hashtag1","hashtag2"]},{"1391871934":["hashtag1","hashtag2"]},{"1391871936":["hashtag1","hashtag2"]},{"1391871965":["hashtag1","hashtag2"]},{"1391871938":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871947, 1391871955, 1391871934, 1391871936, 1391871965, 1391871938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.863638162612915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:54:42.528915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_44_1825.jpg', '/home/pi/Desktop/images/02112025/01/20/image_02112025_01_21_00_15602.jpg', '/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_02_1514.jpg', '/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_19_1656.jpg', '/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_23_1607.jpg', '/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_24_1564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/20/image_02112025_01_20_44_1825.jpg
/home/pi/Desktop/images/02112025/01/20/image_02112025_01_21_00_15602.jpg
/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_02_1514.jpg
/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_19_1656.jpg
/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_23_1607.jpg
/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_24_1564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391871979","1391871982","1391871976","1391871986","1391871974","1391871971"],"photo_ids_order":["1391871971","1391871974","1391871976","1391871979","1391871982","1391871986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ae6b6d323ac7da8e9ef1a2e1460d3541.jpg","text":"TemporaryFile(/tmp/multipartBody877898490384586453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109743352,"filename":"image_02112025_01_21_19_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/2/f5b7f4704c123146b57452ab5c43de99.jpg","text":"TemporaryFile(/tmp/multipartBody8470301279690342722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109743352,"filename":"image_02112025_01_21_23_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/2/b9b663563e18159cb61a4a50dcaccc08.jpg","text":"TemporaryFile(/tmp/multipartBody4331435491683101808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109743352,"filename":"image_02112025_01_21_02_1514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f22f5a83f51a5402ad9e9b9b4e098501.jpg","text":"TemporaryFile(/tmp/multipartBody7970766111997200118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109743352,"filename":"image_02112025_01_21_24_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/2/0f219a3f8c7b0ad17a9126d44be55374.jpg","text":"TemporaryFile(/tmp/multipartBody852081842297759903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109743352,"filename":"image_02112025_01_21_00_15602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b3313dbb78783355778d6a3dd91364df.jpg","text":"TemporaryFile(/tmp/multipartBody6384543442901224245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109743352,"filename":"image_02112025_01_20_44_1825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391871976","file1":"1391871974","file0":"1391871971","file4":"1391871982","file5":"1391871986","file3":"1391871979"},"map_files_photo_id_array":[{"photo_id":"1391871986","filename":"file5"},{"photo_id":"1391871976","filename":"file2"},{"photo_id":"1391871982","filename":"file4"},{"photo_id":"1391871974","filename":"file1"},{"photo_id":"1391871971","filename":"file0"},{"photo_id":"1391871979","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391871979":["hashtag1","hashtag2"]},{"1391871982":["hashtag1","hashtag2"]},{"1391871976":["hashtag1","hashtag2"]},{"1391871986":["hashtag1","hashtag2"]},{"1391871974":["hashtag1","hashtag2"]},{"1391871971":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391871979, 1391871982, 1391871976, 1391871986, 1391871974, 1391871971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3892126083374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:55:22.683945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_26_1743.jpg', '/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_27_1528.jpg', '/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_29_1618.jpg', '/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_31_1625.jpg', '/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_34_1550.jpg', '/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_36_1827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_26_1743.jpg
/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_27_1528.jpg
/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_29_1618.jpg
/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_31_1625.jpg
/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_34_1550.jpg
/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_36_1827.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391872001","1391871997","1391871999","1391872004","1391872013","1391872007"],"photo_ids_order":["1391871997","1391871999","1391872001","1391872004","1391872007","1391872013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/495a585e5a6ad43da6c801b0a1f2539e.jpg","text":"TemporaryFile(/tmp/multipartBody5629572971298530222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109783475,"filename":"image_02112025_01_21_29_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/2/c7d9fba07fe35829f8ec6c6a1da16fb6.jpg","text":"TemporaryFile(/tmp/multipartBody1065779812005707990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109783475,"filename":"image_02112025_01_21_26_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/2/94aa3a81e9d90568da63f4b4a34ea1c7.jpg","text":"TemporaryFile(/tmp/multipartBody1560256841673536081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109783475,"filename":"image_02112025_01_21_27_1528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e1b528f74993d3b7ca1c7e24dcd8157d.jpg","text":"TemporaryFile(/tmp/multipartBody6104268560304104718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109783475,"filename":"image_02112025_01_21_31_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/2/2e2880ad1dd3cf4b35fba05c6952b338.jpg","text":"TemporaryFile(/tmp/multipartBody5184178721680493817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109783475,"filename":"image_02112025_01_21_36_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/2/6078f7bee4b17a6c1f0cd5dc4da4a404.jpg","text":"TemporaryFile(/tmp/multipartBody2176464907087934567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109783475,"filename":"image_02112025_01_21_34_1550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391872001","file1":"1391871999","file0":"1391871997","file4":"1391872007","file5":"1391872013","file3":"1391872004"},"map_files_photo_id_array":[{"photo_id":"1391872013","filename":"file5"},{"photo_id":"1391872001","filename":"file2"},{"photo_id":"1391872007","filename":"file4"},{"photo_id":"1391871999","filename":"file1"},{"photo_id":"1391871997","filename":"file0"},{"photo_id":"1391872004","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391872001":["hashtag1","hashtag2"]},{"1391871997":["hashtag1","hashtag2"]},{"1391871999":["hashtag1","hashtag2"]},{"1391872004":["hashtag1","hashtag2"]},{"1391872013":["hashtag1","hashtag2"]},{"1391872007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391872001, 1391871997, 1391871999, 1391872004, 1391872013, 1391872007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87704634666443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:56:02.332767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_39_1575.jpg', '/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_41_1624.jpg', '/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_42_1617.jpg', '/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_44_1758.jpg', '/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_45_1577.jpg', '/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_47_1712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_39_1575.jpg
/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_41_1624.jpg
/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_42_1617.jpg
/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_44_1758.jpg
/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_45_1577.jpg
/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_47_1712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391872030","1391872024","1391872027","1391872020","1391872037","1391872034"],"photo_ids_order":["1391872020","1391872024","1391872027","1391872030","1391872034","1391872037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e7b4ae337b30ea7e20ffc20cbea0ef1e.jpg","text":"TemporaryFile(/tmp/multipartBody774666023494310139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109823155,"filename":"image_02112025_01_21_44_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/2/b2a3beaa3636f278b231715c1d83aff7.jpg","text":"TemporaryFile(/tmp/multipartBody6724691686551958975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109823155,"filename":"image_02112025_01_21_41_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/2/73a21281682c3939182258510c98230a.jpg","text":"TemporaryFile(/tmp/multipartBody425815413816456932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109823155,"filename":"image_02112025_01_21_42_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/2/ff5f82b501cdfd739d15150ef1ea3079.jpg","text":"TemporaryFile(/tmp/multipartBody4954875714237246172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109823155,"filename":"image_02112025_01_21_39_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/2/4e1f4af00b00329854f1061a41dcfb2d.jpg","text":"TemporaryFile(/tmp/multipartBody7690475757204803477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109823155,"filename":"image_02112025_01_21_47_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/2/47da66b3a07085d1cd0708241702b72d.jpg","text":"TemporaryFile(/tmp/multipartBody8182188566677521358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109823155,"filename":"image_02112025_01_21_45_1577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391872027","file1":"1391872024","file0":"1391872020","file4":"1391872034","file5":"1391872037","file3":"1391872030"},"map_files_photo_id_array":[{"photo_id":"1391872037","filename":"file5"},{"photo_id":"1391872027","filename":"file2"},{"photo_id":"1391872034","filename":"file4"},{"photo_id":"1391872024","filename":"file1"},{"photo_id":"1391872020","filename":"file0"},{"photo_id":"1391872030","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391872030":["hashtag1","hashtag2"]},{"1391872024":["hashtag1","hashtag2"]},{"1391872027":["hashtag1","hashtag2"]},{"1391872020":["hashtag1","hashtag2"]},{"1391872037":["hashtag1","hashtag2"]},{"1391872034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391872030, 1391872024, 1391872027, 1391872020, 1391872037, 1391872034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84945583343506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:56:42.008095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_49_1688.jpg', '/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_51_1690.jpg', '/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_52_1665.jpg', '/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_54_1682.jpg', '/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_58_3605.jpg', '/home/pi/Desktop/images/02112025/01/21/image_02112025_01_22_00_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_49_1688.jpg
/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_51_1690.jpg
/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_52_1665.jpg
/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_54_1682.jpg
/home/pi/Desktop/images/02112025/01/21/image_02112025_01_21_58_3605.jpg
/home/pi/Desktop/images/02112025/01/21/image_02112025_01_22_00_2640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391872044","1391872047","1391872041","1391872049","1391872040","1391872052"],"photo_ids_order":["1391872040","1391872041","1391872044","1391872047","1391872049","1391872052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e30c962b72141e5032062565ff74289d.jpg","text":"TemporaryFile(/tmp/multipartBody492459937245160790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109862841,"filename":"image_02112025_01_21_52_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/2/88bdd9d7711933ffc6c74e426b0dc803.jpg","text":"TemporaryFile(/tmp/multipartBody8069832090128065931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109862841,"filename":"image_02112025_01_21_54_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/2/1e532996d3e1cb09da57f77f70987961.jpg","text":"TemporaryFile(/tmp/multipartBody5373711496574582735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109862841,"filename":"image_02112025_01_21_51_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/17aa4d1d64cb0f1c64318826f826d4f3.jpg","text":"TemporaryFile(/tmp/multipartBody8317451824206499045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109862841,"filename":"image_02112025_01_21_58_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/2/e674599d7703c3a7a3e7a322fe1f0118.jpg","text":"TemporaryFile(/tmp/multipartBody192711939166328218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109862841,"filename":"image_02112025_01_21_49_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/2/7c6ba313e4dcd42aae1c7144b9180a92.jpg","text":"TemporaryFile(/tmp/multipartBody2996361596548698703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109862841,"filename":"image_02112025_01_22_00_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391872044","file1":"1391872041","file0":"1391872040","file4":"1391872049","file5":"1391872052","file3":"1391872047"},"map_files_photo_id_array":[{"photo_id":"1391872052","filename":"file5"},{"photo_id":"1391872044","filename":"file2"},{"photo_id":"1391872049","filename":"file4"},{"photo_id":"1391872041","filename":"file1"},{"photo_id":"1391872040","filename":"file0"},{"photo_id":"1391872047","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391872044":["hashtag1","hashtag2"]},{"1391872047":["hashtag1","hashtag2"]},{"1391872041":["hashtag1","hashtag2"]},{"1391872049":["hashtag1","hashtag2"]},{"1391872040":["hashtag1","hashtag2"]},{"1391872052":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391872044, 1391872047, 1391872041, 1391872049, 1391872040, 1391872052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78112983703613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 19:57:22.162365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/22/image_02112025_01_22_04_3515.jpg', '/home/pi/Desktop/images/02112025/01/22/image_02112025_01_22_09_2701.jpg', '/home/pi/Desktop/images/02112025/01/22/image_02112025_01_22_13_3627.jpg', '/home/pi/Desktop/images/02112025/01/22/image_02112025_01_22_18_2814.jpg', '/home/pi/Desktop/images/02112025/01/22/image_02112025_01_22_25_3712.jpg', '/home/pi/Desktop/images/02112025/01/22/image_02112025_01_22_27_2523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/22/image_02112025_01_22_04_3515.jpg
/home/pi/Desktop/images/02112025/01/22/image_02112025_01_22_09_2701.jpg
/home/pi/Desktop/images/02112025/01/22/image_02112025_01_22_13_3627.jpg
/home/pi/Desktop/images/02112025/01/22/image_02112025_01_22_18_2814.jpg
/home/pi/Desktop/images/02112025/01/22/image_02112025_01_22_25_3712.jpg
/home/pi/Desktop/images/02112025/01/22/image_02112025_01_22_27_2523.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391872072","1391872075","1391872063","1391872073","1391872067","1391872070"],"photo_ids_order":["1391872063","1391872067","1391872070","1391872072","1391872073","1391872075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f719da5158d3400f355605ecac5963cf.jpg","text":"TemporaryFile(/tmp/multipartBody778388700360045754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109902964,"filename":"image_02112025_01_22_18_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/2/b6767fc406add9d436efb27429780000.jpg","text":"TemporaryFile(/tmp/multipartBody6655394996861398173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109902964,"filename":"image_02112025_01_22_27_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/2/9f2558c7cf6cb8b94d60ea572c71b10f.jpg","text":"TemporaryFile(/tmp/multipartBody6632057371092069743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109902964,"filename":"image_02112025_01_22_04_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/2/1a4e7c988fe6be66e20313a362e582d1.jpg","text":"TemporaryFile(/tmp/multipartBody8959531621279738735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109902964,"filename":"image_02112025_01_22_25_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/2/2e7c90035b5e9ef75361b0d9baf3b602.jpg","text":"TemporaryFile(/tmp/multipartBody1463591141151485628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109902964,"filename":"image_02112025_01_22_09_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/2/335b5025301e1f0d65eaa425f740f087.jpg","text":"TemporaryFile(/tmp/multipartBody9169707535333481031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762109902964,"filename":"image_02112025_01_22_13_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391872070","file1":"1391872067","file0":"1391872063","file4":"1391872073","file5":"1391872075","file3":"1391872072"},"map_files_photo_id_array":[{"photo_id":"1391872075","filename":"file5"},{"photo_id":"1391872070","filename":"file2"},{"photo_id":"1391872073","filename":"file4"},{"photo_id":"1391872067","filename":"file1"},{"photo_id":"1391872063","filename":"file0"},{"photo_id":"1391872072","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391872072":["hashtag1","hashtag2"]},{"1391872075":["hashtag1","hashtag2"]},{"1391872063":["hashtag1","hashtag2"]},{"1391872073":["hashtag1","hashtag2"]},{"1391872067":["hashtag1","hashtag2"]},{"1391872070":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391872072, 1391872075, 1391872063, 1391872073, 1391872067, 1391872070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77704668045044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 19:59:03.360688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/22/image_02112025_01_22_30_2760.jpg', '/home/pi/Desktop/images/02112025/01/22/image_02112025_01_22_39_2686.jpg', '/home/pi/Desktop/images/02112025/01/22/image_02112025_01_22_42_3672.jpg', '/home/pi/Desktop/images/02112025/01/22/image_02112025_01_22_45_2707.jpg', '/home/pi/Desktop/images/02112025/01/22/image_02112025_01_22_48_2776.jpg', '/home/pi/Desktop/images/02112025/01/22/image_02112025_01_22_57_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/22/image_02112025_01_22_30_2760.jpg
/home/pi/Desktop/images/02112025/01/22/image_02112025_01_22_39_2686.jpg
/home/pi/Desktop/images/02112025/01/22/image_02112025_01_22_42_3672.jpg
/home/pi/Desktop/images/02112025/01/22/image_02112025_01_22_45_2707.jpg
/home/pi/Desktop/images/02112025/01/22/image_02112025_01_22_48_2776.jpg
/home/pi/Desktop/images/02112025/01/22/image_02112025_01_22_57_2601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391872741","1391872651","1391872782","1391872590","1391872827","1391872700"],"photo_ids_order":["1391872590","1391872651","1391872700","1391872741","1391872782","1391872827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/43a75b1e56278253fd821c6675589159.jpg","text":"TemporaryFile(/tmp/multipartBody799645511827176664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110004338,"filename":"image_02112025_01_22_45_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/2/dd24d3444815f744e6ce5f0838ff478a.jpg","text":"TemporaryFile(/tmp/multipartBody2383239070212240740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110004338,"filename":"image_02112025_01_22_39_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/2/840abd28ac66fdd2b4b4b2d7b937b0bd.jpg","text":"TemporaryFile(/tmp/multipartBody375980888678396316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110004338,"filename":"image_02112025_01_22_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/2/78fdadd571c841b96aec5e584bb36397.jpg","text":"TemporaryFile(/tmp/multipartBody342530326403798549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110004338,"filename":"image_02112025_01_22_30_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/2/5965ef56795cc20987b41aee4b83208f.jpg","text":"TemporaryFile(/tmp/multipartBody6225230046590160655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110004338,"filename":"image_02112025_01_22_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/2/7f256a8f405a1c69c92cb8b79a5d85ae.jpg","text":"TemporaryFile(/tmp/multipartBody7678052496336039735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110004338,"filename":"image_02112025_01_22_42_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391872700","file1":"1391872651","file0":"1391872590","file4":"1391872782","file5":"1391872827","file3":"1391872741"},"map_files_photo_id_array":[{"photo_id":"1391872827","filename":"file5"},{"photo_id":"1391872700","filename":"file2"},{"photo_id":"1391872782","filename":"file4"},{"photo_id":"1391872651","filename":"file1"},{"photo_id":"1391872590","filename":"file0"},{"photo_id":"1391872741","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391872741":["hashtag1","hashtag2"]},{"1391872651":["hashtag1","hashtag2"]},{"1391872782":["hashtag1","hashtag2"]},{"1391872590":["hashtag1","hashtag2"]},{"1391872827":["hashtag1","hashtag2"]},{"1391872700":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391872741, 1391872651, 1391872782, 1391872590, 1391872827, 1391872700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.807374238967896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 19:59:42.718614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/22/image_02112025_01_23_01_3761.jpg', '/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_03_2647.jpg', '/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_06_2718.jpg', '/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_10_3707.jpg', '/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_12_2556.jpg', '/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_15_2535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/22/image_02112025_01_23_01_3761.jpg
/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_03_2647.jpg
/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_06_2718.jpg
/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_10_3707.jpg
/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_12_2556.jpg
/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_15_2535.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391873110","1391873008","1391872966","1391873043","1391873078","1391873108"],"photo_ids_order":["1391872966","1391873008","1391873043","1391873078","1391873108","1391873110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/62929f33a2e116b5118a0250d16e4830.jpg","text":"TemporaryFile(/tmp/multipartBody4394488533382009480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110043549,"filename":"image_02112025_01_23_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/2/e767322192b226783015f06f06436271.jpg","text":"TemporaryFile(/tmp/multipartBody2204675526462512187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110043549,"filename":"image_02112025_01_23_03_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/2/cc08561542bdcbf83d806371a0134b9e.jpg","text":"TemporaryFile(/tmp/multipartBody7666193667028417138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110043549,"filename":"image_02112025_01_23_01_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/2/a86f8aa0f91e51b68629db1c6cd50b25.jpg","text":"TemporaryFile(/tmp/multipartBody8274255769234975542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110043549,"filename":"image_02112025_01_23_06_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/2/d3c66eaecab662db5438cae1f17312bf.jpg","text":"TemporaryFile(/tmp/multipartBody6285259115543592935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110043549,"filename":"image_02112025_01_23_10_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/2/81d103c0449b29b1a6647cef678fc0c6.jpg","text":"TemporaryFile(/tmp/multipartBody8600939051097024377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110043549,"filename":"image_02112025_01_23_12_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391873043","file1":"1391873008","file0":"1391872966","file4":"1391873108","file5":"1391873110","file3":"1391873078"},"map_files_photo_id_array":[{"photo_id":"1391873110","filename":"file5"},{"photo_id":"1391873043","filename":"file2"},{"photo_id":"1391873108","filename":"file4"},{"photo_id":"1391873008","filename":"file1"},{"photo_id":"1391872966","filename":"file0"},{"photo_id":"1391873078","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391873110":["hashtag1","hashtag2"]},{"1391873008":["hashtag1","hashtag2"]},{"1391872966":["hashtag1","hashtag2"]},{"1391873043":["hashtag1","hashtag2"]},{"1391873078":["hashtag1","hashtag2"]},{"1391873108":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391873110, 1391873008, 1391872966, 1391873043, 1391873078, 1391873108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99397587776184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:00:21.851164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_21_2701.jpg', '/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_24_2668.jpg', '/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_28_3593.jpg', '/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_30_2812.jpg', '/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_33_2697.jpg', '/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_39_3705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_21_2701.jpg
/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_24_2668.jpg
/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_28_3593.jpg
/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_30_2812.jpg
/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_33_2697.jpg
/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_39_3705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391873125","1391873248","1391873209","1391873120","1391873275","1391873170"],"photo_ids_order":["1391873120","1391873125","1391873170","1391873209","1391873248","1391873275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ea440cc7ab35d2554e3cdf2b5157579e.jpg","text":"TemporaryFile(/tmp/multipartBody8688730478704717626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110082618,"filename":"image_02112025_01_23_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/2/d7f6255da6084922d885e847043e1cea.jpg","text":"TemporaryFile(/tmp/multipartBody2711431553169185066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110082618,"filename":"image_02112025_01_23_33_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/2/441ec178dfdb74b1fd6f7e8ab7a5663d.jpg","text":"TemporaryFile(/tmp/multipartBody3024047558658865728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110082618,"filename":"image_02112025_01_23_30_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/2/39d43465d383cd8bcd27dba29c9ecd21.jpg","text":"TemporaryFile(/tmp/multipartBody8994415899079488969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110082618,"filename":"image_02112025_01_23_21_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/2/d9372aa5bcec06a2433624afa128fc65.jpg","text":"TemporaryFile(/tmp/multipartBody8850625378454409903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110082618,"filename":"image_02112025_01_23_39_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/2/802dfb3995fc844c5341c8a0d0af2fdd.jpg","text":"TemporaryFile(/tmp/multipartBody7478025806163555549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110082618,"filename":"image_02112025_01_23_28_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391873170","file1":"1391873125","file0":"1391873120","file4":"1391873248","file5":"1391873275","file3":"1391873209"},"map_files_photo_id_array":[{"photo_id":"1391873275","filename":"file5"},{"photo_id":"1391873170","filename":"file2"},{"photo_id":"1391873248","filename":"file4"},{"photo_id":"1391873125","filename":"file1"},{"photo_id":"1391873120","filename":"file0"},{"photo_id":"1391873209","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391873125":["hashtag1","hashtag2"]},{"1391873248":["hashtag1","hashtag2"]},{"1391873209":["hashtag1","hashtag2"]},{"1391873120":["hashtag1","hashtag2"]},{"1391873275":["hashtag1","hashtag2"]},{"1391873170":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391873125, 1391873248, 1391873209, 1391873120, 1391873275, 1391873170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13805270195007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:01:02.734915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_45_2668.jpg', '/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_51_5964.jpg', '/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_52_1669.jpg', '/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_54_1640.jpg', '/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_58_3584.jpg', '/home/pi/Desktop/images/02112025/01/23/image_02112025_01_24_00_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_45_2668.jpg
/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_51_5964.jpg
/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_52_1669.jpg
/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_54_1640.jpg
/home/pi/Desktop/images/02112025/01/23/image_02112025_01_23_58_3584.jpg
/home/pi/Desktop/images/02112025/01/23/image_02112025_01_24_00_2587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391873344","1391873364","1391873358","1391873361","1391873355","1391873318"],"photo_ids_order":["1391873318","1391873344","1391873355","1391873358","1391873361","1391873364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4eafd71bd3489a0d465eda7a7f8792d5.jpg","text":"TemporaryFile(/tmp/multipartBody5401670717320065268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110123689,"filename":"image_02112025_01_23_51_5964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a01f0f02a46f4ff3f34bd9eca20c0b14.jpg","text":"TemporaryFile(/tmp/multipartBody4340193018293199853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110123689,"filename":"image_02112025_01_24_00_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/2/57d6ea489a62e0894e69ff9fa2d71549.jpg","text":"TemporaryFile(/tmp/multipartBody5228397548657894833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110123689,"filename":"image_02112025_01_23_54_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/2/dfc1b842f63ab56224aa47cdb257af64.jpg","text":"TemporaryFile(/tmp/multipartBody2088677944325174817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110123689,"filename":"image_02112025_01_23_58_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/2/897484093d8583f21ee17a97d3011caa.jpg","text":"TemporaryFile(/tmp/multipartBody3296017185958092470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110123689,"filename":"image_02112025_01_23_52_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/2/38655296fcca169b6852abf74c5b8748.jpg","text":"TemporaryFile(/tmp/multipartBody2271787790170094934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110123689,"filename":"image_02112025_01_23_45_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391873355","file1":"1391873344","file0":"1391873318","file4":"1391873361","file5":"1391873364","file3":"1391873358"},"map_files_photo_id_array":[{"photo_id":"1391873364","filename":"file5"},{"photo_id":"1391873355","filename":"file2"},{"photo_id":"1391873361","filename":"file4"},{"photo_id":"1391873344","filename":"file1"},{"photo_id":"1391873318","filename":"file0"},{"photo_id":"1391873358","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391873344":["hashtag1","hashtag2"]},{"1391873364":["hashtag1","hashtag2"]},{"1391873358":["hashtag1","hashtag2"]},{"1391873361":["hashtag1","hashtag2"]},{"1391873355":["hashtag1","hashtag2"]},{"1391873318":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391873344, 1391873364, 1391873358, 1391873361, 1391873355, 1391873318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.100505352020264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:01:42.144967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_03_2832.jpg', '/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_06_2701.jpg', '/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_09_3605.jpg', '/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_12_2554.jpg', '/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_15_3621.jpg', '/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_18_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_03_2832.jpg
/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_06_2701.jpg
/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_09_3605.jpg
/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_12_2554.jpg
/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_15_3621.jpg
/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_18_2623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391873382","1391873379","1391873388","1391873384","1391873374","1391873377"],"photo_ids_order":["1391873374","1391873377","1391873379","1391873382","1391873384","1391873388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d3171b489dd57b5afe4611187016fe90.jpg","text":"TemporaryFile(/tmp/multipartBody8470611152391294540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110162970,"filename":"image_02112025_01_24_12_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/2/b0d9b750e47678408b3b2b1f9fa141d1.jpg","text":"TemporaryFile(/tmp/multipartBody8798919472188631030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110162970,"filename":"image_02112025_01_24_09_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/2/d6956e1bd3bcfb73e49e7ac817233aab.jpg","text":"TemporaryFile(/tmp/multipartBody6134109242508868939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110162970,"filename":"image_02112025_01_24_18_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/2/36a7f0cb945f75bb7c9e599a7704baac.jpg","text":"TemporaryFile(/tmp/multipartBody8972616727990730506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110162970,"filename":"image_02112025_01_24_15_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/2/23f20829ef9eef01e11fead04dfca495.jpg","text":"TemporaryFile(/tmp/multipartBody4590062720111499594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110162970,"filename":"image_02112025_01_24_03_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/2/45df5ea16be1bc529e148b9531752357.jpg","text":"TemporaryFile(/tmp/multipartBody7307650659009081781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110162970,"filename":"image_02112025_01_24_06_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391873379","file1":"1391873377","file0":"1391873374","file4":"1391873384","file5":"1391873388","file3":"1391873382"},"map_files_photo_id_array":[{"photo_id":"1391873388","filename":"file5"},{"photo_id":"1391873379","filename":"file2"},{"photo_id":"1391873384","filename":"file4"},{"photo_id":"1391873377","filename":"file1"},{"photo_id":"1391873374","filename":"file0"},{"photo_id":"1391873382","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391873382":["hashtag1","hashtag2"]},{"1391873379":["hashtag1","hashtag2"]},{"1391873388":["hashtag1","hashtag2"]},{"1391873384":["hashtag1","hashtag2"]},{"1391873374":["hashtag1","hashtag2"]},{"1391873377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391873382, 1391873379, 1391873388, 1391873384, 1391873374, 1391873377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.153966188430786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:02:22.284557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_21_2684.jpg', '/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_24_3649.jpg', '/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_27_2852.jpg', '/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_30_2620.jpg', '/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_45_3627.jpg', '/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_48_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_21_2684.jpg
/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_24_3649.jpg
/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_27_2852.jpg
/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_30_2620.jpg
/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_45_3627.jpg
/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_48_2713.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7420628070831299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:02:42.355530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_21_2684.jpg', '/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_24_3649.jpg', '/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_27_2852.jpg', '/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_30_2620.jpg', '/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_45_3627.jpg', '/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_48_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_21_2684.jpg
/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_24_3649.jpg
/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_27_2852.jpg
/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_30_2620.jpg
/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_45_3627.jpg
/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_48_2713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391873713","1391873916","1391873873","1391873753","1391873834","1391873794"],"photo_ids_order":["1391873713","1391873753","1391873794","1391873834","1391873873","1391873916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/479e03d19f920ecd872b719dcd8119f5.jpg","text":"TemporaryFile(/tmp/multipartBody9132393952402596345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110223171,"filename":"image_02112025_01_24_21_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/2/101516c8101d8c0667426f371188b160.jpg","text":"TemporaryFile(/tmp/multipartBody6616410552822165562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110223171,"filename":"image_02112025_01_24_48_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/2/fb0ad05375f7c2e10cfa0b13bf86861c.jpg","text":"TemporaryFile(/tmp/multipartBody6649551133742207265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110223171,"filename":"image_02112025_01_24_45_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/2/1e50567ecd7edb5c743ba692921a697d.jpg","text":"TemporaryFile(/tmp/multipartBody3977127251596600876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110223171,"filename":"image_02112025_01_24_24_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/2/1e5de0e4f192462791d50a2a61aed234.jpg","text":"TemporaryFile(/tmp/multipartBody6490983459743716491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110223171,"filename":"image_02112025_01_24_30_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/2/5b6973fd917212978ffe0944f970896f.jpg","text":"TemporaryFile(/tmp/multipartBody90008805001592328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110223171,"filename":"image_02112025_01_24_27_2852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391873794","file1":"1391873753","file0":"1391873713","file4":"1391873873","file5":"1391873916","file3":"1391873834"},"map_files_photo_id_array":[{"photo_id":"1391873916","filename":"file5"},{"photo_id":"1391873794","filename":"file2"},{"photo_id":"1391873873","filename":"file4"},{"photo_id":"1391873753","filename":"file1"},{"photo_id":"1391873713","filename":"file0"},{"photo_id":"1391873834","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391873713":["hashtag1","hashtag2"]},{"1391873916":["hashtag1","hashtag2"]},{"1391873873":["hashtag1","hashtag2"]},{"1391873753":["hashtag1","hashtag2"]},{"1391873834":["hashtag1","hashtag2"]},{"1391873794":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391873713, 1391873916, 1391873873, 1391873753, 1391873834, 1391873794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36288118362427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:03:22.514043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_51_2661.jpg', '/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_54_3731.jpg', '/home/pi/Desktop/images/02112025/01/24/image_02112025_01_25_00_2718.jpg', '/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_03_3778.jpg', '/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_13_3611.jpg', '/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_15_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_51_2661.jpg
/home/pi/Desktop/images/02112025/01/24/image_02112025_01_24_54_3731.jpg
/home/pi/Desktop/images/02112025/01/24/image_02112025_01_25_00_2718.jpg
/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_03_3778.jpg
/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_13_3611.jpg
/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_15_2570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391874214","1391874173","1391874137","1391874251","1391874292","1391874094"],"photo_ids_order":["1391874094","1391874137","1391874173","1391874214","1391874251","1391874292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/29cf36d5dff1b7fc3225de8c36b2d196.jpg","text":"TemporaryFile(/tmp/multipartBody1389904422527014505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110265326,"filename":"image_02112025_01_25_03_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/2/d087df3912e771820f24d8147db0c8db.jpg","text":"TemporaryFile(/tmp/multipartBody2831858532021043816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110265326,"filename":"image_02112025_01_25_00_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/2/0ad5dffcec5a5e501681a009dce2cbf0.jpg","text":"TemporaryFile(/tmp/multipartBody8618731554475665008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110265326,"filename":"image_02112025_01_24_54_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/2/5496842c36313996063a22f8d071c2fb.jpg","text":"TemporaryFile(/tmp/multipartBody1746131959317531169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110265326,"filename":"image_02112025_01_25_13_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/2/16fc44ed0150e8af282d54bba3dfa654.jpg","text":"TemporaryFile(/tmp/multipartBody8527440837970175531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110265326,"filename":"image_02112025_01_25_15_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/2/fd16d83b853d2b51cf320a7c82e48c2f.jpg","text":"TemporaryFile(/tmp/multipartBody6976102544942512077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110265326,"filename":"image_02112025_01_24_51_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391874173","file1":"1391874137","file0":"1391874094","file4":"1391874251","file5":"1391874292","file3":"1391874214"},"map_files_photo_id_array":[{"photo_id":"1391874292","filename":"file5"},{"photo_id":"1391874173","filename":"file2"},{"photo_id":"1391874251","filename":"file4"},{"photo_id":"1391874137","filename":"file1"},{"photo_id":"1391874094","filename":"file0"},{"photo_id":"1391874214","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391874214":["hashtag1","hashtag2"]},{"1391874173":["hashtag1","hashtag2"]},{"1391874137":["hashtag1","hashtag2"]},{"1391874251":["hashtag1","hashtag2"]},{"1391874292":["hashtag1","hashtag2"]},{"1391874094":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391874214, 1391874173, 1391874137, 1391874251, 1391874292, 1391874094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20580077171326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:04:03.259678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_18_2710.jpg', '/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_21_2839.jpg', '/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_24_3596.jpg', '/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_27_2735.jpg', '/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_31_3527.jpg', '/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_33_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_18_2710.jpg
/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_21_2839.jpg
/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_24_3596.jpg
/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_27_2735.jpg
/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_31_3527.jpg
/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_33_2790.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391874594","1391874660","1391874555","1391874516","1391874473","1391874634"],"photo_ids_order":["1391874473","1391874516","1391874555","1391874594","1391874634","1391874660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/15c8024628494b3f76981194816bb87b.jpg","text":"TemporaryFile(/tmp/multipartBody3438100500926181363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110306857,"filename":"image_02112025_01_25_27_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/2/2abe31e5a3d2158d95c8d50f5eded3c0.jpg","text":"TemporaryFile(/tmp/multipartBody130370487754590703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110306857,"filename":"image_02112025_01_25_33_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/2/9e05a749c733a9df57261bb973b24e11.jpg","text":"TemporaryFile(/tmp/multipartBody2762243667730837355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110306857,"filename":"image_02112025_01_25_24_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/2/eb223266ebe9dd57a47369fe381176e1.jpg","text":"TemporaryFile(/tmp/multipartBody5528495796270152573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110306857,"filename":"image_02112025_01_25_21_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/2/e6d520e8d715de6a2087544171b321a8.jpg","text":"TemporaryFile(/tmp/multipartBody8446731725425541697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110306857,"filename":"image_02112025_01_25_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/2/bb071c2059f8d6069a732eebaf75cf0a.jpg","text":"TemporaryFile(/tmp/multipartBody6739992226401723718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110306857,"filename":"image_02112025_01_25_31_3527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391874555","file1":"1391874516","file0":"1391874473","file4":"1391874634","file5":"1391874660","file3":"1391874594"},"map_files_photo_id_array":[{"photo_id":"1391874660","filename":"file5"},{"photo_id":"1391874555","filename":"file2"},{"photo_id":"1391874634","filename":"file4"},{"photo_id":"1391874516","filename":"file1"},{"photo_id":"1391874473","filename":"file0"},{"photo_id":"1391874594","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391874594":["hashtag1","hashtag2"]},{"1391874660":["hashtag1","hashtag2"]},{"1391874555":["hashtag1","hashtag2"]},{"1391874516":["hashtag1","hashtag2"]},{"1391874473":["hashtag1","hashtag2"]},{"1391874634":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391874594, 1391874660, 1391874555, 1391874516, 1391874473, 1391874634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92980933189392 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:04:42.663121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_36_2603.jpg', '/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_39_2808.jpg', '/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_45_2782.jpg', '/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_51_3786.jpg', '/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_54_2616.jpg', '/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_57_2525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_36_2603.jpg
/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_39_2808.jpg
/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_45_2782.jpg
/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_51_3786.jpg
/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_54_2616.jpg
/home/pi/Desktop/images/02112025/01/25/image_02112025_01_25_57_2525.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391874672","1391874675","1391874669","1391874667","1391874682","1391874678"],"photo_ids_order":["1391874667","1391874669","1391874672","1391874675","1391874678","1391874682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7740bac84316ffb20b0d1de97cbc9603.jpg","text":"TemporaryFile(/tmp/multipartBody2809949495815313923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110343524,"filename":"image_02112025_01_25_45_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/2/55c1594851875b358dedc07795f592a9.jpg","text":"TemporaryFile(/tmp/multipartBody8188923200455234172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110343524,"filename":"image_02112025_01_25_51_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/2/e7ac5002f5d1181c824311f6505866f3.jpg","text":"TemporaryFile(/tmp/multipartBody337422990926564467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110343524,"filename":"image_02112025_01_25_39_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/2/eca582a49bf49c9564f98e2436b99fb9.jpg","text":"TemporaryFile(/tmp/multipartBody7912471424758304497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110343524,"filename":"image_02112025_01_25_36_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/2/373ef2478d85bdd762b81b8ff4356060.jpg","text":"TemporaryFile(/tmp/multipartBody7571697625355589961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110343524,"filename":"image_02112025_01_25_57_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/2/31e0cbd351e4d4d121407833a89a0c0b.jpg","text":"TemporaryFile(/tmp/multipartBody5483376775519324631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110343524,"filename":"image_02112025_01_25_54_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391874672","file1":"1391874669","file0":"1391874667","file4":"1391874678","file5":"1391874682","file3":"1391874675"},"map_files_photo_id_array":[{"photo_id":"1391874682","filename":"file5"},{"photo_id":"1391874672","filename":"file2"},{"photo_id":"1391874678","filename":"file4"},{"photo_id":"1391874669","filename":"file1"},{"photo_id":"1391874667","filename":"file0"},{"photo_id":"1391874675","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391874672":["hashtag1","hashtag2"]},{"1391874675":["hashtag1","hashtag2"]},{"1391874669":["hashtag1","hashtag2"]},{"1391874667":["hashtag1","hashtag2"]},{"1391874682":["hashtag1","hashtag2"]},{"1391874678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391874672, 1391874675, 1391874669, 1391874667, 1391874682, 1391874678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71128845214844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:05:21.830013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/25/image_02112025_01_26_00_3663.jpg', '/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_03_2738.jpg', '/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_06_2646.jpg', '/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_08_2830.jpg', '/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_12_3591.jpg', '/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_15_2687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/25/image_02112025_01_26_00_3663.jpg
/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_03_2738.jpg
/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_06_2646.jpg
/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_08_2830.jpg
/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_12_3591.jpg
/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_15_2687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391874695","1391874689","1391874692","1391874685","1391874688","1391874699"],"photo_ids_order":["1391874685","1391874688","1391874689","1391874692","1391874695","1391874699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6c715b252f2c63d2f508e31576c0a589.jpg","text":"TemporaryFile(/tmp/multipartBody2288162546882840802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110382617,"filename":"image_02112025_01_26_12_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/2/888b90b67eb2739681e85ad0faea764c.jpg","text":"TemporaryFile(/tmp/multipartBody3052355883498267545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110382617,"filename":"image_02112025_01_26_06_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/2/f70472ad3d756cfa69e9c4fdf9a4c7af.jpg","text":"TemporaryFile(/tmp/multipartBody7817052342562163622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110382617,"filename":"image_02112025_01_26_08_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/2/e17c89670001d02d1ab71b3e0ebe6441.jpg","text":"TemporaryFile(/tmp/multipartBody5215329487503593723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110382617,"filename":"image_02112025_01_26_00_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/2/86c0b11f09c6173d2941ccc7fd140f76.jpg","text":"TemporaryFile(/tmp/multipartBody9039236990991417342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110382617,"filename":"image_02112025_01_26_03_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/2/eacdacd65c00e26821b8fccf62871221.jpg","text":"TemporaryFile(/tmp/multipartBody5742306416710521876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110382617,"filename":"image_02112025_01_26_15_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391874689","file1":"1391874688","file0":"1391874685","file4":"1391874695","file5":"1391874699","file3":"1391874692"},"map_files_photo_id_array":[{"photo_id":"1391874699","filename":"file5"},{"photo_id":"1391874689","filename":"file2"},{"photo_id":"1391874695","filename":"file4"},{"photo_id":"1391874688","filename":"file1"},{"photo_id":"1391874685","filename":"file0"},{"photo_id":"1391874692","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391874695":["hashtag1","hashtag2"]},{"1391874689":["hashtag1","hashtag2"]},{"1391874692":["hashtag1","hashtag2"]},{"1391874685":["hashtag1","hashtag2"]},{"1391874688":["hashtag1","hashtag2"]},{"1391874699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391874695, 1391874689, 1391874692, 1391874685, 1391874688, 1391874699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21109437942505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:06:02.422423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_18_3636.jpg', '/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_21_2758.jpg', '/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_27_2640.jpg', '/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_30_3772.jpg', '/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_33_2785.jpg', '/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_36_2567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_18_3636.jpg
/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_21_2758.jpg
/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_27_2640.jpg
/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_30_3772.jpg
/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_33_2785.jpg
/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_36_2567.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7565286159515381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:06:22.000761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_18_3636.jpg', '/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_21_2758.jpg', '/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_27_2640.jpg', '/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_30_3772.jpg', '/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_33_2785.jpg', '/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_36_2567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_18_3636.jpg
/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_21_2758.jpg
/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_27_2640.jpg
/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_30_3772.jpg
/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_33_2785.jpg
/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_36_2567.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391874786","1391874942","1391874866","1391874746","1391874904","1391874826"],"photo_ids_order":["1391874746","1391874786","1391874826","1391874866","1391874904","1391874942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fec1445dd7b89c369628ba3c7a30df31.jpg","text":"TemporaryFile(/tmp/multipartBody314505660318284300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110442643,"filename":"image_02112025_01_26_21_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/2/4ab4d8fec47210526d2351e092a9b56b.jpg","text":"TemporaryFile(/tmp/multipartBody7667608525187857921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110442643,"filename":"image_02112025_01_26_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/2/9267fb6493ba8bdd00dfcd6650352bcd.jpg","text":"TemporaryFile(/tmp/multipartBody1432376852733476107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110442643,"filename":"image_02112025_01_26_30_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/2/39106a97cf70594a06531a1f85a35d44.jpg","text":"TemporaryFile(/tmp/multipartBody6802134139914371519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110442643,"filename":"image_02112025_01_26_18_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/2/bd60db783c9e9c87e7bd89e75aaba047.jpg","text":"TemporaryFile(/tmp/multipartBody2270718164678560020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110442643,"filename":"image_02112025_01_26_33_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/2/86c0970f805f8238b3f8aec00911a165.jpg","text":"TemporaryFile(/tmp/multipartBody2493587604591349937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110442643,"filename":"image_02112025_01_26_27_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391874826","file1":"1391874786","file0":"1391874746","file4":"1391874904","file5":"1391874942","file3":"1391874866"},"map_files_photo_id_array":[{"photo_id":"1391874942","filename":"file5"},{"photo_id":"1391874826","filename":"file2"},{"photo_id":"1391874904","filename":"file4"},{"photo_id":"1391874786","filename":"file1"},{"photo_id":"1391874746","filename":"file0"},{"photo_id":"1391874866","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391874786":["hashtag1","hashtag2"]},{"1391874942":["hashtag1","hashtag2"]},{"1391874866":["hashtag1","hashtag2"]},{"1391874746":["hashtag1","hashtag2"]},{"1391874904":["hashtag1","hashtag2"]},{"1391874826":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391874786, 1391874942, 1391874866, 1391874746, 1391874904, 1391874826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.10709023475647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:07:02.838385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_38_2722.jpg', '/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_42_3688.jpg', '/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_45_2704.jpg', '/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_48_2656.jpg', '/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_57_2867.jpg', '/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_06_2502.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_38_2722.jpg
/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_42_3688.jpg
/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_45_2704.jpg
/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_48_2656.jpg
/home/pi/Desktop/images/02112025/01/26/image_02112025_01_26_57_2867.jpg
/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_06_2502.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875298","1391875181","1391875291","1391875141","1391875219","1391875257"],"photo_ids_order":["1391875141","1391875181","1391875219","1391875257","1391875291","1391875298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/180d4cddc22d9838c701e974c83c5a00.jpg","text":"TemporaryFile(/tmp/multipartBody8985261870886172269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110485642,"filename":"image_02112025_01_27_06_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/2/94a935a76e7d0a86a62d64f7651d5459.jpg","text":"TemporaryFile(/tmp/multipartBody197098841986668437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110485642,"filename":"image_02112025_01_26_42_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/2/3a7f52a6987fffb56cb6f8d4593235c0.jpg","text":"TemporaryFile(/tmp/multipartBody598237521378038667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110485642,"filename":"image_02112025_01_26_57_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/2/16543bf1d27316088f67bb2a9e7f37ee.jpg","text":"TemporaryFile(/tmp/multipartBody2105257249896791876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110485642,"filename":"image_02112025_01_26_38_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/2/86af8b6575138887241ce8c59591776e.jpg","text":"TemporaryFile(/tmp/multipartBody4529846114344716998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110485642,"filename":"image_02112025_01_26_45_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/2/068cb84bab1bcb5867e2c3d51ca27be7.jpg","text":"TemporaryFile(/tmp/multipartBody6430237018310883653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110485642,"filename":"image_02112025_01_26_48_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875219","file1":"1391875181","file0":"1391875141","file4":"1391875291","file5":"1391875298","file3":"1391875257"},"map_files_photo_id_array":[{"photo_id":"1391875298","filename":"file5"},{"photo_id":"1391875219","filename":"file2"},{"photo_id":"1391875291","filename":"file4"},{"photo_id":"1391875181","filename":"file1"},{"photo_id":"1391875141","filename":"file0"},{"photo_id":"1391875257","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875298":["hashtag1","hashtag2"]},{"1391875181":["hashtag1","hashtag2"]},{"1391875291":["hashtag1","hashtag2"]},{"1391875141":["hashtag1","hashtag2"]},{"1391875219":["hashtag1","hashtag2"]},{"1391875257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875298, 1391875181, 1391875291, 1391875141, 1391875219, 1391875257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52800989151001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:07:42.315797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_09_3630.jpg', '/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_12_2539.jpg', '/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_14_2639.jpg', '/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_18_3675.jpg', '/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_21_2677.jpg', '/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_26_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_09_3630.jpg
/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_12_2539.jpg
/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_14_2639.jpg
/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_18_3675.jpg
/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_21_2677.jpg
/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_26_2752.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875425","1391875413","1391875379","1391875328","1391875402","1391875341"],"photo_ids_order":["1391875328","1391875341","1391875379","1391875402","1391875413","1391875425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/26772d1cd7e1de771a5f113980290ac7.jpg","text":"TemporaryFile(/tmp/multipartBody7901738511283747265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110523137,"filename":"image_02112025_01_27_26_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/2/851bf246fe047ffce782798a5ee33ec4.jpg","text":"TemporaryFile(/tmp/multipartBody2594495858627077299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110523137,"filename":"image_02112025_01_27_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/2/318f64d2b48910f8167950a8fa3be531.jpg","text":"TemporaryFile(/tmp/multipartBody6603325961839816021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110523137,"filename":"image_02112025_01_27_14_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/2/2906916f4f2c0f037623565df9981ea9.jpg","text":"TemporaryFile(/tmp/multipartBody3834809172103201978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110523137,"filename":"image_02112025_01_27_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/2/17dc5409bc87372ced89c304eb480721.jpg","text":"TemporaryFile(/tmp/multipartBody3379962291378671328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110523137,"filename":"image_02112025_01_27_18_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/2/578d9564d5f1c29c76e387e683704b1a.jpg","text":"TemporaryFile(/tmp/multipartBody8460117337805799387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110523137,"filename":"image_02112025_01_27_12_2539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875379","file1":"1391875341","file0":"1391875328","file4":"1391875413","file5":"1391875425","file3":"1391875402"},"map_files_photo_id_array":[{"photo_id":"1391875425","filename":"file5"},{"photo_id":"1391875379","filename":"file2"},{"photo_id":"1391875413","filename":"file4"},{"photo_id":"1391875341","filename":"file1"},{"photo_id":"1391875328","filename":"file0"},{"photo_id":"1391875402","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875425":["hashtag1","hashtag2"]},{"1391875413":["hashtag1","hashtag2"]},{"1391875379":["hashtag1","hashtag2"]},{"1391875328":["hashtag1","hashtag2"]},{"1391875402":["hashtag1","hashtag2"]},{"1391875341":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875425, 1391875413, 1391875379, 1391875328, 1391875402, 1391875341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.06483697891235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:08:22.473789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_30_3643.jpg', '/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_34_4191.jpg', '/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_36_1715.jpg', '/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_39_2725.jpg', '/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_41_2677.jpg', '/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_45_3770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_30_3643.jpg
/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_34_4191.jpg
/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_36_1715.jpg
/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_39_2725.jpg
/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_41_2677.jpg
/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_45_3770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875443","1391875433","1391875436","1391875435","1391875438","1391875440"],"photo_ids_order":["1391875433","1391875435","1391875436","1391875438","1391875440","1391875443"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/797a89dda5daf6f79034d1825b9554bb.jpg","text":"TemporaryFile(/tmp/multipartBody7109377598863540329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110563246,"filename":"image_02112025_01_27_45_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/2/c6b337417c4a9f6ecd39ca47d6c77a6a.jpg","text":"TemporaryFile(/tmp/multipartBody1960097332144672501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110563246,"filename":"image_02112025_01_27_30_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/2/122a4180a98e5853f8c8cb457dc4b491.jpg","text":"TemporaryFile(/tmp/multipartBody1065364602608896184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110563246,"filename":"image_02112025_01_27_36_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/2/f5d5367738bb18a57d7185ac5293237c.jpg","text":"TemporaryFile(/tmp/multipartBody6111410398249408856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110563246,"filename":"image_02112025_01_27_34_4191.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cbafd0d26c09f1e98270819a649682f8.jpg","text":"TemporaryFile(/tmp/multipartBody5702286851212545276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110563246,"filename":"image_02112025_01_27_39_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/2/70b239116b119e138d7bf4ff97197b93.jpg","text":"TemporaryFile(/tmp/multipartBody2976317727484387606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110563246,"filename":"image_02112025_01_27_41_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875436","file1":"1391875435","file0":"1391875433","file4":"1391875440","file5":"1391875443","file3":"1391875438"},"map_files_photo_id_array":[{"photo_id":"1391875443","filename":"file5"},{"photo_id":"1391875436","filename":"file2"},{"photo_id":"1391875440","filename":"file4"},{"photo_id":"1391875435","filename":"file1"},{"photo_id":"1391875433","filename":"file0"},{"photo_id":"1391875438","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875443":["hashtag1","hashtag2"]},{"1391875433":["hashtag1","hashtag2"]},{"1391875436":["hashtag1","hashtag2"]},{"1391875435":["hashtag1","hashtag2"]},{"1391875438":["hashtag1","hashtag2"]},{"1391875440":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875443, 1391875433, 1391875436, 1391875435, 1391875438, 1391875440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64724516868591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:09:03.589496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_48_2832.jpg', '/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_51_2626.jpg', '/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_03_3682.jpg', '/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_06_2609.jpg', '/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_08_2639.jpg', '/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_12_3634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_48_2832.jpg
/home/pi/Desktop/images/02112025/01/27/image_02112025_01_27_51_2626.jpg
/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_03_3682.jpg
/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_06_2609.jpg
/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_08_2639.jpg
/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_12_3634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875458","1391875454","1391875456","1391875464","1391875461","1391875449"],"photo_ids_order":["1391875449","1391875454","1391875456","1391875458","1391875461","1391875464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/60595876bb2bb5cf5d59e182527f6334.jpg","text":"TemporaryFile(/tmp/multipartBody1305223827274207660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110604503,"filename":"image_02112025_01_28_06_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/2/6b9dd6bce37210065e3601782fcc94c4.jpg","text":"TemporaryFile(/tmp/multipartBody2359111250887417449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110604503,"filename":"image_02112025_01_27_51_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/2/b0b0b71f9bd89494f9b83b6141ba5f1f.jpg","text":"TemporaryFile(/tmp/multipartBody7525166173674366884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110604503,"filename":"image_02112025_01_28_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/2/40fc5ce82e5039a39dba0ae8cf4af6f4.jpg","text":"TemporaryFile(/tmp/multipartBody2822768515911337092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110604503,"filename":"image_02112025_01_28_12_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/2/8de79fb7d827ef502c3416c73908822f.jpg","text":"TemporaryFile(/tmp/multipartBody3032583837511927502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110604503,"filename":"image_02112025_01_28_08_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/2/218e961f74d9c2f80085d9f1a1093c8f.jpg","text":"TemporaryFile(/tmp/multipartBody1315420662945544136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110604503,"filename":"image_02112025_01_27_48_2832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875456","file1":"1391875454","file0":"1391875449","file4":"1391875461","file5":"1391875464","file3":"1391875458"},"map_files_photo_id_array":[{"photo_id":"1391875464","filename":"file5"},{"photo_id":"1391875456","filename":"file2"},{"photo_id":"1391875461","filename":"file4"},{"photo_id":"1391875454","filename":"file1"},{"photo_id":"1391875449","filename":"file0"},{"photo_id":"1391875458","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875458":["hashtag1","hashtag2"]},{"1391875454":["hashtag1","hashtag2"]},{"1391875456":["hashtag1","hashtag2"]},{"1391875464":["hashtag1","hashtag2"]},{"1391875461":["hashtag1","hashtag2"]},{"1391875449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875458, 1391875454, 1391875456, 1391875464, 1391875461, 1391875449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4095184803009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:09:42.610001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_18_3632.jpg', '/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_21_2803.jpg', '/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_24_2575.jpg', '/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_26_2736.jpg', '/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_30_3554.jpg', '/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_33_2750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_18_3632.jpg
/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_21_2803.jpg
/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_24_2575.jpg
/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_26_2736.jpg
/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_30_3554.jpg
/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_33_2750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875472","1391875469","1391875474","1391875477","1391875479","1391875476"],"photo_ids_order":["1391875469","1391875472","1391875474","1391875476","1391875477","1391875479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a8ac66fab7d9564949c1cb771ab7ed22.jpg","text":"TemporaryFile(/tmp/multipartBody6062946473424378716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110643488,"filename":"image_02112025_01_28_21_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/2/dac7a8ff6349de9aa3e3539728d0e617.jpg","text":"TemporaryFile(/tmp/multipartBody9076948637375144407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110643488,"filename":"image_02112025_01_28_18_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/2/82ee6686f67781229b7fdf2de3e99000.jpg","text":"TemporaryFile(/tmp/multipartBody2080324713949036466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110643488,"filename":"image_02112025_01_28_24_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/2/5fe6df9b84790a978595d82fc1308545.jpg","text":"TemporaryFile(/tmp/multipartBody5760610433101974065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110643488,"filename":"image_02112025_01_28_30_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/2/9368738f8a3d7c41d824ce623467d51d.jpg","text":"TemporaryFile(/tmp/multipartBody2101306090735696585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110643488,"filename":"image_02112025_01_28_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/2/1e3ef2edb3b70cb003d42b8be6902dbe.jpg","text":"TemporaryFile(/tmp/multipartBody7753771172259537406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110643488,"filename":"image_02112025_01_28_26_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875474","file1":"1391875472","file0":"1391875469","file4":"1391875477","file5":"1391875479","file3":"1391875476"},"map_files_photo_id_array":[{"photo_id":"1391875479","filename":"file5"},{"photo_id":"1391875474","filename":"file2"},{"photo_id":"1391875477","filename":"file4"},{"photo_id":"1391875472","filename":"file1"},{"photo_id":"1391875469","filename":"file0"},{"photo_id":"1391875476","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875472":["hashtag1","hashtag2"]},{"1391875469":["hashtag1","hashtag2"]},{"1391875474":["hashtag1","hashtag2"]},{"1391875477":["hashtag1","hashtag2"]},{"1391875479":["hashtag1","hashtag2"]},{"1391875476":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875472, 1391875469, 1391875474, 1391875477, 1391875479, 1391875476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47289752960205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:10:22.760706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_35_2664.jpg', '/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_42_2697.jpg', '/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_45_2771.jpg', '/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_47_2805.jpg', '/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_51_3601.jpg', '/home/pi/Desktop/images/02112025/01/28/image_02112025_01_29_00_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_35_2664.jpg
/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_42_2697.jpg
/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_45_2771.jpg
/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_47_2805.jpg
/home/pi/Desktop/images/02112025/01/28/image_02112025_01_28_51_3601.jpg
/home/pi/Desktop/images/02112025/01/28/image_02112025_01_29_00_3651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875493","1391875490","1391875498","1391875502","1391875495","1391875485"],"photo_ids_order":["1391875485","1391875490","1391875493","1391875495","1391875498","1391875502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e838bfe498e166ae5c00cc396e1389c8.jpg","text":"TemporaryFile(/tmp/multipartBody7706910746437071652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110683549,"filename":"image_02112025_01_28_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/2/4582f37571087e2cbef2ba10b37f910c.jpg","text":"TemporaryFile(/tmp/multipartBody4134438809709582925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110683549,"filename":"image_02112025_01_28_42_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/2/3c7b9309505e2e2b75cb5c8f9a31ec6a.jpg","text":"TemporaryFile(/tmp/multipartBody4426985864091361860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110683549,"filename":"image_02112025_01_28_51_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/2/82f0f527bc66dc5997bd674bf39cbd6c.jpg","text":"TemporaryFile(/tmp/multipartBody4572493543058566874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110683549,"filename":"image_02112025_01_29_00_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/2/f47b231d5d215aded4b8f76306932a9a.jpg","text":"TemporaryFile(/tmp/multipartBody473757154744269174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110683549,"filename":"image_02112025_01_28_47_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/2/9543bf50ce36f7ded1f461d78dc5d5fd.jpg","text":"TemporaryFile(/tmp/multipartBody397451074282009280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110683549,"filename":"image_02112025_01_28_35_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875493","file1":"1391875490","file0":"1391875485","file4":"1391875498","file5":"1391875502","file3":"1391875495"},"map_files_photo_id_array":[{"photo_id":"1391875502","filename":"file5"},{"photo_id":"1391875493","filename":"file2"},{"photo_id":"1391875498","filename":"file4"},{"photo_id":"1391875490","filename":"file1"},{"photo_id":"1391875485","filename":"file0"},{"photo_id":"1391875495","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875493":["hashtag1","hashtag2"]},{"1391875490":["hashtag1","hashtag2"]},{"1391875498":["hashtag1","hashtag2"]},{"1391875502":["hashtag1","hashtag2"]},{"1391875495":["hashtag1","hashtag2"]},{"1391875485":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875493, 1391875490, 1391875498, 1391875502, 1391875495, 1391875485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46164011955261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:11:02.673567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_03_2735.jpg', '/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_05_2649.jpg', '/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_09_3557.jpg', '/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_11_2622.jpg', '/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_15_3496.jpg', '/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_18_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_03_2735.jpg
/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_05_2649.jpg
/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_09_3557.jpg
/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_11_2622.jpg
/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_15_3496.jpg
/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_18_2672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875518","1391875512","1391875526","1391875520","1391875522","1391875516"],"photo_ids_order":["1391875512","1391875516","1391875518","1391875520","1391875522","1391875526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fbfffba5d48164fbb1665080bec1a971.jpg","text":"TemporaryFile(/tmp/multipartBody2061378536950647361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110723545,"filename":"image_02112025_01_29_09_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/2/ee2f3dadf7f82db25d0ee828d4bfa2d0.jpg","text":"TemporaryFile(/tmp/multipartBody5257422430580716417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110723545,"filename":"image_02112025_01_29_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/2/38e836866e3d03c0399ee2378c635e4b.jpg","text":"TemporaryFile(/tmp/multipartBody7298233064718392274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110723545,"filename":"image_02112025_01_29_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/2/32014f33eee12d1745162d5c5141cd76.jpg","text":"TemporaryFile(/tmp/multipartBody6493302654424102879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110723545,"filename":"image_02112025_01_29_11_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/2/a620781d9ab3d617557fcbb8c17c8af9.jpg","text":"TemporaryFile(/tmp/multipartBody2708472012918743153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110723545,"filename":"image_02112025_01_29_15_3496.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0391b64d63dc8dcea73c3cae04a31a88.jpg","text":"TemporaryFile(/tmp/multipartBody6345201508418758120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110723545,"filename":"image_02112025_01_29_05_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875518","file1":"1391875516","file0":"1391875512","file4":"1391875522","file5":"1391875526","file3":"1391875520"},"map_files_photo_id_array":[{"photo_id":"1391875526","filename":"file5"},{"photo_id":"1391875518","filename":"file2"},{"photo_id":"1391875522","filename":"file4"},{"photo_id":"1391875516","filename":"file1"},{"photo_id":"1391875512","filename":"file0"},{"photo_id":"1391875520","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875518":["hashtag1","hashtag2"]},{"1391875512":["hashtag1","hashtag2"]},{"1391875526":["hashtag1","hashtag2"]},{"1391875520":["hashtag1","hashtag2"]},{"1391875522":["hashtag1","hashtag2"]},{"1391875516":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875518, 1391875512, 1391875526, 1391875520, 1391875522, 1391875516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.548187494277954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:11:41.975139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_20_2805.jpg', '/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_24_3615.jpg', '/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_27_2696.jpg', '/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_29_2599.jpg', '/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_33_3709.jpg', '/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_36_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_20_2805.jpg
/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_24_3615.jpg
/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_27_2696.jpg
/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_29_2599.jpg
/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_33_3709.jpg
/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_36_2744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875542","1391875536","1391875544","1391875538","1391875540","1391875531"],"photo_ids_order":["1391875531","1391875536","1391875538","1391875540","1391875542","1391875544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/539bf2b412f04f103f1fb8ed57cc88f2.jpg","text":"TemporaryFile(/tmp/multipartBody4145830022999313939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110762773,"filename":"image_02112025_01_29_33_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/2/28138ca9249c97be62e993458cf5c4d0.jpg","text":"TemporaryFile(/tmp/multipartBody8156108868931022886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110762773,"filename":"image_02112025_01_29_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/2/22615e581a31b2674982afd3b83463cb.jpg","text":"TemporaryFile(/tmp/multipartBody4224985311950653788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110762773,"filename":"image_02112025_01_29_36_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/2/7bd88724115fab45874d0fa6b00705a9.jpg","text":"TemporaryFile(/tmp/multipartBody1607824653643797392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110762773,"filename":"image_02112025_01_29_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/2/f9aafcc32a37e06edf10451aac69a812.jpg","text":"TemporaryFile(/tmp/multipartBody6577101227327159509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110762773,"filename":"image_02112025_01_29_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/2/7648ad47939de4808e0a84aaf4d6a486.jpg","text":"TemporaryFile(/tmp/multipartBody3501519347574280390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110762773,"filename":"image_02112025_01_29_20_2805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875538","file1":"1391875536","file0":"1391875531","file4":"1391875542","file5":"1391875544","file3":"1391875540"},"map_files_photo_id_array":[{"photo_id":"1391875544","filename":"file5"},{"photo_id":"1391875538","filename":"file2"},{"photo_id":"1391875542","filename":"file4"},{"photo_id":"1391875536","filename":"file1"},{"photo_id":"1391875531","filename":"file0"},{"photo_id":"1391875540","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875542":["hashtag1","hashtag2"]},{"1391875536":["hashtag1","hashtag2"]},{"1391875544":["hashtag1","hashtag2"]},{"1391875538":["hashtag1","hashtag2"]},{"1391875540":["hashtag1","hashtag2"]},{"1391875531":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875542, 1391875536, 1391875544, 1391875538, 1391875540, 1391875531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.18067669868469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:12:22.140960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_38_2646.jpg', '/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_46_7508.jpg', '/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_58_9959.jpg', '/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_59_1556.jpg', '/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_06_7060.jpg', '/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_08_1577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_38_2646.jpg
/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_46_7508.jpg
/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_58_9959.jpg
/home/pi/Desktop/images/02112025/01/29/image_02112025_01_29_59_1556.jpg
/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_06_7060.jpg
/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_08_1577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875557","1391875550","1391875553","1391875552","1391875561","1391875555"],"photo_ids_order":["1391875550","1391875552","1391875553","1391875555","1391875557","1391875561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/be1a9891420873eb1977e8266e8b26f9.jpg","text":"TemporaryFile(/tmp/multipartBody6439639924777979525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110802928,"filename":"image_02112025_01_30_06_7060.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/488b7355a8f68a5134f0520f26e4733c.jpg","text":"TemporaryFile(/tmp/multipartBody1803999742807903247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110802928,"filename":"image_02112025_01_29_38_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/2/ef7430142209db8a4c7fc42525dc3fce.jpg","text":"TemporaryFile(/tmp/multipartBody8193347011441949686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110802928,"filename":"image_02112025_01_29_58_9959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/24b88141a4deb28b63c4192166bc1a93.jpg","text":"TemporaryFile(/tmp/multipartBody91983118019532931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110802928,"filename":"image_02112025_01_29_46_7508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a508a56635e4fd031cf0897bb6c1ae4d.jpg","text":"TemporaryFile(/tmp/multipartBody7085149422124066557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110802928,"filename":"image_02112025_01_30_08_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/2/d0d85e7ccbe3e21d8d8cae77fa2cc730.jpg","text":"TemporaryFile(/tmp/multipartBody593092616810265494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110802928,"filename":"image_02112025_01_29_59_1556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875553","file1":"1391875552","file0":"1391875550","file4":"1391875557","file5":"1391875561","file3":"1391875555"},"map_files_photo_id_array":[{"photo_id":"1391875561","filename":"file5"},{"photo_id":"1391875553","filename":"file2"},{"photo_id":"1391875557","filename":"file4"},{"photo_id":"1391875552","filename":"file1"},{"photo_id":"1391875550","filename":"file0"},{"photo_id":"1391875555","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875557":["hashtag1","hashtag2"]},{"1391875550":["hashtag1","hashtag2"]},{"1391875553":["hashtag1","hashtag2"]},{"1391875552":["hashtag1","hashtag2"]},{"1391875561":["hashtag1","hashtag2"]},{"1391875555":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875557, 1391875550, 1391875553, 1391875552, 1391875561, 1391875555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.117130517959595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:13:03.059887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_09_1676.jpg', '/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_17_7965.jpg', '/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_23_5864.jpg', '/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_28_1626.jpg', '/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_30_1653.jpg', '/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_31_1581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_09_1676.jpg
/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_17_7965.jpg
/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_23_5864.jpg
/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_28_1626.jpg
/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_30_1653.jpg
/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_31_1581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875580","1391875574","1391875583","1391875576","1391875578","1391875572"],"photo_ids_order":["1391875572","1391875574","1391875576","1391875578","1391875580","1391875583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c2cfd5d3b89b7b56ec4875364e6f246f.jpg","text":"TemporaryFile(/tmp/multipartBody675813358877955257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110843945,"filename":"image_02112025_01_30_30_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/2/18e9595689f2c1840e13990345db6d39.jpg","text":"TemporaryFile(/tmp/multipartBody8316005728200405143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110843945,"filename":"image_02112025_01_30_17_7965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bd62ee52b44e3405875e68d5d0dbee16.jpg","text":"TemporaryFile(/tmp/multipartBody4540899943200200768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110843945,"filename":"image_02112025_01_30_31_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ef6eb1a01440f947bf743205e344e5e2.jpg","text":"TemporaryFile(/tmp/multipartBody5910847315469125419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110843945,"filename":"image_02112025_01_30_23_5864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5a4bdf1ea1dbd0389c7e95261ce3163b.jpg","text":"TemporaryFile(/tmp/multipartBody3587245685640986793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110843945,"filename":"image_02112025_01_30_28_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/2/568d1fa57a3274955cec3c463be5f99d.jpg","text":"TemporaryFile(/tmp/multipartBody448035810804410976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110843945,"filename":"image_02112025_01_30_09_1676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875576","file1":"1391875574","file0":"1391875572","file4":"1391875580","file5":"1391875583","file3":"1391875578"},"map_files_photo_id_array":[{"photo_id":"1391875583","filename":"file5"},{"photo_id":"1391875576","filename":"file2"},{"photo_id":"1391875580","filename":"file4"},{"photo_id":"1391875574","filename":"file1"},{"photo_id":"1391875572","filename":"file0"},{"photo_id":"1391875578","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875580":["hashtag1","hashtag2"]},{"1391875574":["hashtag1","hashtag2"]},{"1391875583":["hashtag1","hashtag2"]},{"1391875576":["hashtag1","hashtag2"]},{"1391875578":["hashtag1","hashtag2"]},{"1391875572":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875580, 1391875574, 1391875583, 1391875576, 1391875578, 1391875572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61756992340088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:13:42.339217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_35_1624.jpg', '/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_36_1635.jpg', '/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_38_1631.jpg', '/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_40_1637.jpg', '/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_47_5914.jpg', '/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_49_1549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_35_1624.jpg
/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_36_1635.jpg
/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_38_1631.jpg
/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_40_1637.jpg
/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_47_5914.jpg
/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_49_1549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875592","1391875595","1391875597","1391875604","1391875600","1391875590"],"photo_ids_order":["1391875590","1391875592","1391875595","1391875597","1391875600","1391875604"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f2e0516010d815705406edcf182a37b1.jpg","text":"TemporaryFile(/tmp/multipartBody9220421618606171024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110883156,"filename":"image_02112025_01_30_36_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/2/c278f6ef0b125ef0833317174c305bea.jpg","text":"TemporaryFile(/tmp/multipartBody2604553702161993885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110883156,"filename":"image_02112025_01_30_38_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/2/afabbbc11272477f8958e6302fc6dde7.jpg","text":"TemporaryFile(/tmp/multipartBody6858253984350728855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110883156,"filename":"image_02112025_01_30_40_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/2/5377122ab85a4d0f6df30dfc8100965b.jpg","text":"TemporaryFile(/tmp/multipartBody4047142844776012876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110883156,"filename":"image_02112025_01_30_49_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/2/e74eb417b204ed011e68509111a9057a.jpg","text":"TemporaryFile(/tmp/multipartBody8796790122166376069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110883156,"filename":"image_02112025_01_30_47_5914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1d36ba122ea5bfb9028f7673aace3050.jpg","text":"TemporaryFile(/tmp/multipartBody3603984390751854217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110883156,"filename":"image_02112025_01_30_35_1624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875595","file1":"1391875592","file0":"1391875590","file4":"1391875600","file5":"1391875604","file3":"1391875597"},"map_files_photo_id_array":[{"photo_id":"1391875604","filename":"file5"},{"photo_id":"1391875595","filename":"file2"},{"photo_id":"1391875600","filename":"file4"},{"photo_id":"1391875592","filename":"file1"},{"photo_id":"1391875590","filename":"file0"},{"photo_id":"1391875597","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875592":["hashtag1","hashtag2"]},{"1391875595":["hashtag1","hashtag2"]},{"1391875597":["hashtag1","hashtag2"]},{"1391875604":["hashtag1","hashtag2"]},{"1391875600":["hashtag1","hashtag2"]},{"1391875590":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875592, 1391875595, 1391875597, 1391875604, 1391875600, 1391875590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31810140609741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:14:22.476259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_50_1551.jpg', '/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_54_1632.jpg', '/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_13_13438.jpg', '/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_26_1776.jpg', '/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_31_4168.jpg', '/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_33_2922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_50_1551.jpg
/home/pi/Desktop/images/02112025/01/30/image_02112025_01_30_54_1632.jpg
/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_13_13438.jpg
/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_26_1776.jpg
/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_31_4168.jpg
/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_33_2922.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875625","1391875622","1391875616","1391875630","1391875618","1391875612"],"photo_ids_order":["1391875612","1391875616","1391875618","1391875622","1391875625","1391875630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/906dfb9251c6991dd6faa5f329ba92cd.jpg","text":"TemporaryFile(/tmp/multipartBody5733260150156453601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110923289,"filename":"image_02112025_01_31_31_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/2/0e80fae27f33567b7509a717d45d1f91.jpg","text":"TemporaryFile(/tmp/multipartBody5549467484842563121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110923289,"filename":"image_02112025_01_31_26_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/2/bded34f85e735ab4030ba1a40172a75a.jpg","text":"TemporaryFile(/tmp/multipartBody6529384155216127925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110923289,"filename":"image_02112025_01_30_54_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/2/cecf041c42ea57ed3ada12824b42524d.jpg","text":"TemporaryFile(/tmp/multipartBody1021337346675206554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110923289,"filename":"image_02112025_01_31_33_2922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5e05c075759fe1b9c4200377f8697d69.jpg","text":"TemporaryFile(/tmp/multipartBody1036349259526234450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110923289,"filename":"image_02112025_01_31_13_13438.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8e5e3d5513939d89163063e9c2151084.jpg","text":"TemporaryFile(/tmp/multipartBody2029865174749918061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110923289,"filename":"image_02112025_01_30_50_1551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875618","file1":"1391875616","file0":"1391875612","file4":"1391875625","file5":"1391875630","file3":"1391875622"},"map_files_photo_id_array":[{"photo_id":"1391875630","filename":"file5"},{"photo_id":"1391875618","filename":"file2"},{"photo_id":"1391875625","filename":"file4"},{"photo_id":"1391875616","filename":"file1"},{"photo_id":"1391875612","filename":"file0"},{"photo_id":"1391875622","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875625":["hashtag1","hashtag2"]},{"1391875622":["hashtag1","hashtag2"]},{"1391875616":["hashtag1","hashtag2"]},{"1391875630":["hashtag1","hashtag2"]},{"1391875618":["hashtag1","hashtag2"]},{"1391875612":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875625, 1391875622, 1391875616, 1391875630, 1391875618, 1391875612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.528990507125854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:15:03.293897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_37_1687.jpg', '/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_38_1616.jpg', '/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_40_1602.jpg', '/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_42_1593.jpg', '/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_43_1693.jpg', '/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_45_1763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_37_1687.jpg
/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_38_1616.jpg
/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_40_1602.jpg
/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_42_1593.jpg
/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_43_1693.jpg
/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_45_1763.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875638","1391875651","1391875654","1391875648","1391875642","1391875645"],"photo_ids_order":["1391875638","1391875642","1391875645","1391875648","1391875651","1391875654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f372f9cb57b38aaa8974c0ee48a37f05.jpg","text":"TemporaryFile(/tmp/multipartBody2315661004510303709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110964170,"filename":"image_02112025_01_31_37_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/2/1f8ce50f0d627585fcd2ce264839f72f.jpg","text":"TemporaryFile(/tmp/multipartBody476744683297945662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110964170,"filename":"image_02112025_01_31_43_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/2/ba41bcc530add1c27ea0ee79fdeef806.jpg","text":"TemporaryFile(/tmp/multipartBody757289923472937012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110964170,"filename":"image_02112025_01_31_45_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/2/2dd3be9123b954f3eab492197663adc1.jpg","text":"TemporaryFile(/tmp/multipartBody4509421444194023778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110964170,"filename":"image_02112025_01_31_42_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/2/2210a79aa9d1644bf5401b435dfdee71.jpg","text":"TemporaryFile(/tmp/multipartBody9020334681313594519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110964170,"filename":"image_02112025_01_31_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/2/70ec446510b06d43cc0167d61bfcaa49.jpg","text":"TemporaryFile(/tmp/multipartBody3328529430160224285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762110964170,"filename":"image_02112025_01_31_40_1602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875645","file1":"1391875642","file0":"1391875638","file4":"1391875651","file5":"1391875654","file3":"1391875648"},"map_files_photo_id_array":[{"photo_id":"1391875654","filename":"file5"},{"photo_id":"1391875645","filename":"file2"},{"photo_id":"1391875651","filename":"file4"},{"photo_id":"1391875642","filename":"file1"},{"photo_id":"1391875638","filename":"file0"},{"photo_id":"1391875648","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875638":["hashtag1","hashtag2"]},{"1391875651":["hashtag1","hashtag2"]},{"1391875654":["hashtag1","hashtag2"]},{"1391875648":["hashtag1","hashtag2"]},{"1391875642":["hashtag1","hashtag2"]},{"1391875645":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875638, 1391875651, 1391875654, 1391875648, 1391875642, 1391875645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03515291213989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:15:42.662945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_47_1589.jpg', '/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_52_1598.jpg', '/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_53_1785.jpg', '/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_55_1674.jpg', '/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_57_1712.jpg', '/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_58_1673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_47_1589.jpg
/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_52_1598.jpg
/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_53_1785.jpg
/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_55_1674.jpg
/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_57_1712.jpg
/home/pi/Desktop/images/02112025/01/31/image_02112025_01_31_58_1673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875667","1391875669","1391875660","1391875663","1391875671","1391875665"],"photo_ids_order":["1391875660","1391875663","1391875665","1391875667","1391875669","1391875671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6242367cfec6e645de64c60481022d3c.jpg","text":"TemporaryFile(/tmp/multipartBody7208956386459495411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111004292,"filename":"image_02112025_01_31_55_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/2/5f0f491013ddc5a0a1ddceeee0e2a266.jpg","text":"TemporaryFile(/tmp/multipartBody240984537300554564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111004292,"filename":"image_02112025_01_31_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/2/ef7881a92e2d785f6697560772ca35b5.jpg","text":"TemporaryFile(/tmp/multipartBody7348968833862207205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111004292,"filename":"image_02112025_01_31_47_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/2/b0a8a4ba186ea9e6ca9025fe7d3ac12b.jpg","text":"TemporaryFile(/tmp/multipartBody7498187339358731214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111004292,"filename":"image_02112025_01_31_52_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/2/43cfed3598dd7d5391a843103012fa70.jpg","text":"TemporaryFile(/tmp/multipartBody5656035589828101038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111004292,"filename":"image_02112025_01_31_58_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/2/eaf59d7a0dcbe31c73c9a80b24b88c45.jpg","text":"TemporaryFile(/tmp/multipartBody3897166234801061259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111004292,"filename":"image_02112025_01_31_53_1785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875665","file1":"1391875663","file0":"1391875660","file4":"1391875669","file5":"1391875671","file3":"1391875667"},"map_files_photo_id_array":[{"photo_id":"1391875671","filename":"file5"},{"photo_id":"1391875665","filename":"file2"},{"photo_id":"1391875669","filename":"file4"},{"photo_id":"1391875663","filename":"file1"},{"photo_id":"1391875660","filename":"file0"},{"photo_id":"1391875667","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875667":["hashtag1","hashtag2"]},{"1391875669":["hashtag1","hashtag2"]},{"1391875660":["hashtag1","hashtag2"]},{"1391875663":["hashtag1","hashtag2"]},{"1391875671":["hashtag1","hashtag2"]},{"1391875665":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875667, 1391875669, 1391875660, 1391875663, 1391875671, 1391875665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28852319717407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:16:21.841591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/31/image_02112025_01_32_00_1694.jpg', '/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_03_1716.jpg', '/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_07_3137.jpg', '/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_10_3407.jpg', '/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_13_2880.jpg', '/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_15_1682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/31/image_02112025_01_32_00_1694.jpg
/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_03_1716.jpg
/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_07_3137.jpg
/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_10_3407.jpg
/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_13_2880.jpg
/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_15_1682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875685","1391875690","1391875687","1391875681","1391875683","1391875677"],"photo_ids_order":["1391875677","1391875681","1391875683","1391875685","1391875687","1391875690"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3ebab675b193da045ce1385ea91ff181.jpg","text":"TemporaryFile(/tmp/multipartBody3108514831653445834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111042625,"filename":"image_02112025_01_32_10_3407.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f5b14f7f9115435a20c2fe212207eac1.jpg","text":"TemporaryFile(/tmp/multipartBody3388792455252748584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111042625,"filename":"image_02112025_01_32_15_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/2/b930e39ccf3078b092f3ef3324f48093.jpg","text":"TemporaryFile(/tmp/multipartBody3635052099370567165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111042625,"filename":"image_02112025_01_32_13_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/2/7948d56aec5ea40ffc0e7c2adc0db920.jpg","text":"TemporaryFile(/tmp/multipartBody8076370014221300572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111042625,"filename":"image_02112025_01_32_03_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2b4dde95912ac53b2b7f13100c9bbcda.jpg","text":"TemporaryFile(/tmp/multipartBody3877013315834894712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111042625,"filename":"image_02112025_01_32_07_3137.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8f72e00051478dda975e3935517aa12b.jpg","text":"TemporaryFile(/tmp/multipartBody8580864756741871932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111042625,"filename":"image_02112025_01_32_00_1694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875683","file1":"1391875681","file0":"1391875677","file4":"1391875687","file5":"1391875690","file3":"1391875685"},"map_files_photo_id_array":[{"photo_id":"1391875690","filename":"file5"},{"photo_id":"1391875683","filename":"file2"},{"photo_id":"1391875687","filename":"file4"},{"photo_id":"1391875681","filename":"file1"},{"photo_id":"1391875677","filename":"file0"},{"photo_id":"1391875685","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875685":["hashtag1","hashtag2"]},{"1391875690":["hashtag1","hashtag2"]},{"1391875687":["hashtag1","hashtag2"]},{"1391875681":["hashtag1","hashtag2"]},{"1391875683":["hashtag1","hashtag2"]},{"1391875677":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875685, 1391875690, 1391875687, 1391875681, 1391875683, 1391875677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.8154182434082 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:17:02.837138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_19_4347.jpg', '/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_21_1645.jpg', '/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_29_2686.jpg', '/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_32_2778.jpg', '/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_39_3697.jpg', '/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_41_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_19_4347.jpg
/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_21_1645.jpg
/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_29_2686.jpg
/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_32_2778.jpg
/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_39_3697.jpg
/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_41_2752.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875699","1391875714","1391875711","1391875705","1391875695","1391875708"],"photo_ids_order":["1391875695","1391875699","1391875705","1391875708","1391875711","1391875714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c76732f081e99542d3b4809dc2a80882.jpg","text":"TemporaryFile(/tmp/multipartBody667953714513748723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111083746,"filename":"image_02112025_01_32_21_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7445d48a68836737a2a52cf98988ee77.jpg","text":"TemporaryFile(/tmp/multipartBody8832126225430097351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111083746,"filename":"image_02112025_01_32_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/2/264d6af98c69957b8ff8e63277e836a9.jpg","text":"TemporaryFile(/tmp/multipartBody2310256037735827387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111083746,"filename":"image_02112025_01_32_39_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/2/7f16f3556a0733a42f67690f90ef1977.jpg","text":"TemporaryFile(/tmp/multipartBody8617652350702056096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111083746,"filename":"image_02112025_01_32_29_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/2/102d80afc3aace525d35c6e325ee171d.jpg","text":"TemporaryFile(/tmp/multipartBody3815297003457478924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111083746,"filename":"image_02112025_01_32_19_4347.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e7cb4784bb0ae367584c5fecc4a419b6.jpg","text":"TemporaryFile(/tmp/multipartBody4520231625868852593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111083746,"filename":"image_02112025_01_32_32_2778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875705","file1":"1391875699","file0":"1391875695","file4":"1391875711","file5":"1391875714","file3":"1391875708"},"map_files_photo_id_array":[{"photo_id":"1391875714","filename":"file5"},{"photo_id":"1391875705","filename":"file2"},{"photo_id":"1391875711","filename":"file4"},{"photo_id":"1391875699","filename":"file1"},{"photo_id":"1391875695","filename":"file0"},{"photo_id":"1391875708","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875699":["hashtag1","hashtag2"]},{"1391875714":["hashtag1","hashtag2"]},{"1391875711":["hashtag1","hashtag2"]},{"1391875705":["hashtag1","hashtag2"]},{"1391875695":["hashtag1","hashtag2"]},{"1391875708":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875699, 1391875714, 1391875711, 1391875705, 1391875695, 1391875708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.543297290802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:17:42.036207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_44_2647.jpg', '/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_48_3778.jpg', '/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_50_2605.jpg', '/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_53_2561.jpg', '/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_57_3619.jpg', '/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_02_2574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_44_2647.jpg
/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_48_3778.jpg
/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_50_2605.jpg
/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_53_2561.jpg
/home/pi/Desktop/images/02112025/01/32/image_02112025_01_32_57_3619.jpg
/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_02_2574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875719","1391875727","1391875732","1391875729","1391875723","1391875725"],"photo_ids_order":["1391875719","1391875723","1391875725","1391875727","1391875729","1391875732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/55e74ce80bd5b65a785a6f14c9f0a8fe.jpg","text":"TemporaryFile(/tmp/multipartBody4327127454414541897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111122862,"filename":"image_02112025_01_32_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/2/41f9b6a1a9db7d7e908693c9053878ae.jpg","text":"TemporaryFile(/tmp/multipartBody6858276784611448406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111122862,"filename":"image_02112025_01_32_53_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/2/245bdaaed8a76095f1d7e856b05de6e7.jpg","text":"TemporaryFile(/tmp/multipartBody3419913460772705913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111122862,"filename":"image_02112025_01_33_02_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/2/f94d1f7bddb9f639e26d6e3ac748ff9e.jpg","text":"TemporaryFile(/tmp/multipartBody8891598119865000997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111122862,"filename":"image_02112025_01_32_57_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/2/175ea0de09d21dbfb7f701f4f2051d00.jpg","text":"TemporaryFile(/tmp/multipartBody7500854166204160494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111122862,"filename":"image_02112025_01_32_48_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/2/16804d67704b6434ff6d7b8ae6dfee4f.jpg","text":"TemporaryFile(/tmp/multipartBody9019343544773800749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111122862,"filename":"image_02112025_01_32_50_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875725","file1":"1391875723","file0":"1391875719","file4":"1391875729","file5":"1391875732","file3":"1391875727"},"map_files_photo_id_array":[{"photo_id":"1391875732","filename":"file5"},{"photo_id":"1391875725","filename":"file2"},{"photo_id":"1391875729","filename":"file4"},{"photo_id":"1391875723","filename":"file1"},{"photo_id":"1391875719","filename":"file0"},{"photo_id":"1391875727","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875719":["hashtag1","hashtag2"]},{"1391875727":["hashtag1","hashtag2"]},{"1391875732":["hashtag1","hashtag2"]},{"1391875729":["hashtag1","hashtag2"]},{"1391875723":["hashtag1","hashtag2"]},{"1391875725":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875719, 1391875727, 1391875732, 1391875729, 1391875723, 1391875725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16889190673828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:18:22.121818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_05_3665.jpg', '/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_08_2585.jpg', '/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_12_3680.jpg', '/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_14_2747.jpg', '/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_17_2621.jpg', '/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_21_3579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_05_3665.jpg
/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_08_2585.jpg
/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_12_3680.jpg
/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_14_2747.jpg
/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_17_2621.jpg
/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_21_3579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875755","1391875749","1391875762","1391875744","1391875758","1391875752"],"photo_ids_order":["1391875744","1391875749","1391875752","1391875755","1391875758","1391875762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0cd5022e5e19a40387db4f89d55f7d9c.jpg","text":"TemporaryFile(/tmp/multipartBody3897452498276304752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111162914,"filename":"image_02112025_01_33_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/2/b23834e48173227d904c3e6144fb388d.jpg","text":"TemporaryFile(/tmp/multipartBody9068684093258022557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111162914,"filename":"image_02112025_01_33_08_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/2/a798f9829cd42aa20b8b70317e08fe06.jpg","text":"TemporaryFile(/tmp/multipartBody2608047222218779057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111162914,"filename":"image_02112025_01_33_21_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/2/57d7fa416bfe7998e58ec74b665baad7.jpg","text":"TemporaryFile(/tmp/multipartBody2160903527795265062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111162914,"filename":"image_02112025_01_33_05_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/2/0458cfa1b4512b53a3842eadb180e4f6.jpg","text":"TemporaryFile(/tmp/multipartBody2631772304937941925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111162914,"filename":"image_02112025_01_33_17_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/2/2ac5109c490fec6304adfef792f519ef.jpg","text":"TemporaryFile(/tmp/multipartBody1590666526854597011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111162914,"filename":"image_02112025_01_33_12_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875752","file1":"1391875749","file0":"1391875744","file4":"1391875758","file5":"1391875762","file3":"1391875755"},"map_files_photo_id_array":[{"photo_id":"1391875762","filename":"file5"},{"photo_id":"1391875752","filename":"file2"},{"photo_id":"1391875758","filename":"file4"},{"photo_id":"1391875749","filename":"file1"},{"photo_id":"1391875744","filename":"file0"},{"photo_id":"1391875755","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875755":["hashtag1","hashtag2"]},{"1391875749":["hashtag1","hashtag2"]},{"1391875762":["hashtag1","hashtag2"]},{"1391875744":["hashtag1","hashtag2"]},{"1391875758":["hashtag1","hashtag2"]},{"1391875752":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875755, 1391875749, 1391875762, 1391875744, 1391875758, 1391875752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30117607116699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:19:03.189292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_29_2757.jpg', '/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_38_2599.jpg', '/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_41_3647.jpg', '/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_44_2640.jpg', '/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_48_3522.jpg', '/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_50_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_29_2757.jpg
/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_38_2599.jpg
/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_41_3647.jpg
/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_44_2640.jpg
/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_48_3522.jpg
/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_50_2637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875775","1391875783","1391875777","1391875780","1391875773","1391875770"],"photo_ids_order":["1391875770","1391875773","1391875775","1391875777","1391875780","1391875783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5313e14312ec66be9ca14514cbb837d8.jpg","text":"TemporaryFile(/tmp/multipartBody1017794180042577997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111204321,"filename":"image_02112025_01_33_41_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/2/fe35b9ca6dec0967adbd65e6731801d4.jpg","text":"TemporaryFile(/tmp/multipartBody1780522806394720032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111204321,"filename":"image_02112025_01_33_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/2/853ed6145144ab56fb8fcbd4f131471c.jpg","text":"TemporaryFile(/tmp/multipartBody4206039258636675883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111204321,"filename":"image_02112025_01_33_44_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/2/b44d9dbeeb057a51782bfde26f6366a5.jpg","text":"TemporaryFile(/tmp/multipartBody3748159932926572204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111204321,"filename":"image_02112025_01_33_48_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/2/1aa6d53577d8b30b60571d0c0a39e3ea.jpg","text":"TemporaryFile(/tmp/multipartBody5482550393618510407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111204321,"filename":"image_02112025_01_33_38_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/2/90bc645da47ae78f5ebb07a297b8ea70.jpg","text":"TemporaryFile(/tmp/multipartBody5891204102163646686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111204321,"filename":"image_02112025_01_33_29_2757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875775","file1":"1391875773","file0":"1391875770","file4":"1391875780","file5":"1391875783","file3":"1391875777"},"map_files_photo_id_array":[{"photo_id":"1391875783","filename":"file5"},{"photo_id":"1391875775","filename":"file2"},{"photo_id":"1391875780","filename":"file4"},{"photo_id":"1391875773","filename":"file1"},{"photo_id":"1391875770","filename":"file0"},{"photo_id":"1391875777","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875775":["hashtag1","hashtag2"]},{"1391875783":["hashtag1","hashtag2"]},{"1391875777":["hashtag1","hashtag2"]},{"1391875780":["hashtag1","hashtag2"]},{"1391875773":["hashtag1","hashtag2"]},{"1391875770":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875775, 1391875783, 1391875777, 1391875780, 1391875773, 1391875770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98100805282593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:19:42.458828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_59_2773.jpg', '/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_02_2822.jpg', '/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_05_2691.jpg', '/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_17_2778.jpg', '/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_20_3600.jpg', '/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_29_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/33/image_02112025_01_33_59_2773.jpg
/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_02_2822.jpg
/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_05_2691.jpg
/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_17_2778.jpg
/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_20_3600.jpg
/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_29_2759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875799","1391875790","1391875796","1391875795","1391875794","1391875788"],"photo_ids_order":["1391875788","1391875790","1391875794","1391875795","1391875796","1391875799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/93edc40413093d575fe2f5a5ecd44732.jpg","text":"TemporaryFile(/tmp/multipartBody123433219805694212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111243280,"filename":"image_02112025_01_34_29_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/2/b5675d8c20458bac3a70e472b364808f.jpg","text":"TemporaryFile(/tmp/multipartBody6270187926554288288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111243280,"filename":"image_02112025_01_34_02_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/2/aa7f9c94336ec99ae201eb4d77753196.jpg","text":"TemporaryFile(/tmp/multipartBody987943379041615363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111243280,"filename":"image_02112025_01_34_20_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/2/2b501b00b5d3715c06699c8a580bebaa.jpg","text":"TemporaryFile(/tmp/multipartBody127928415208400912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111243280,"filename":"image_02112025_01_34_17_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/2/efd904f180a5b44f3e4ffcaa6c7fd2bb.jpg","text":"TemporaryFile(/tmp/multipartBody36395228109426610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111243280,"filename":"image_02112025_01_34_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/2/411171deff9ffe46624a34deaabeaf73.jpg","text":"TemporaryFile(/tmp/multipartBody5279932984101094460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111243280,"filename":"image_02112025_01_33_59_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875794","file1":"1391875790","file0":"1391875788","file4":"1391875796","file5":"1391875799","file3":"1391875795"},"map_files_photo_id_array":[{"photo_id":"1391875799","filename":"file5"},{"photo_id":"1391875794","filename":"file2"},{"photo_id":"1391875796","filename":"file4"},{"photo_id":"1391875790","filename":"file1"},{"photo_id":"1391875788","filename":"file0"},{"photo_id":"1391875795","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875799":["hashtag1","hashtag2"]},{"1391875790":["hashtag1","hashtag2"]},{"1391875796":["hashtag1","hashtag2"]},{"1391875795":["hashtag1","hashtag2"]},{"1391875794":["hashtag1","hashtag2"]},{"1391875788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875799, 1391875790, 1391875796, 1391875795, 1391875794, 1391875788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20831847190857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:20:22.709310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_33_3715.jpg', '/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_35_2612.jpg', '/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_38_2864.jpg', '/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_44_3620.jpg', '/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_47_2758.jpg', '/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_50_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_33_3715.jpg
/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_35_2612.jpg
/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_38_2864.jpg
/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_44_3620.jpg
/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_47_2758.jpg
/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_50_2593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875812","1391875814","1391875813","1391875810","1391875807","1391875818"],"photo_ids_order":["1391875807","1391875810","1391875812","1391875813","1391875814","1391875818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b904869e314fbb925f6309971ab0b12b.jpg","text":"TemporaryFile(/tmp/multipartBody8677269165788171909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111283495,"filename":"image_02112025_01_34_38_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/2/0936283afdaca973ec0e876a7118bd53.jpg","text":"TemporaryFile(/tmp/multipartBody3621837872873213036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111283495,"filename":"image_02112025_01_34_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/2/cc0295fd7346744606600eeae8a570c0.jpg","text":"TemporaryFile(/tmp/multipartBody5215080144953393586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111283495,"filename":"image_02112025_01_34_44_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/2/44b64c919e2ef78b1ef680c717441bfe.jpg","text":"TemporaryFile(/tmp/multipartBody3830127524754068165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111283495,"filename":"image_02112025_01_34_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/2/c2bce4004f025236da4c68432a212d4d.jpg","text":"TemporaryFile(/tmp/multipartBody5448968562559349971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111283495,"filename":"image_02112025_01_34_33_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/2/d33e508f7e8f751b094d8520c07079c9.jpg","text":"TemporaryFile(/tmp/multipartBody7443242298331831351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111283495,"filename":"image_02112025_01_34_50_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875812","file1":"1391875810","file0":"1391875807","file4":"1391875814","file5":"1391875818","file3":"1391875813"},"map_files_photo_id_array":[{"photo_id":"1391875818","filename":"file5"},{"photo_id":"1391875812","filename":"file2"},{"photo_id":"1391875814","filename":"file4"},{"photo_id":"1391875810","filename":"file1"},{"photo_id":"1391875807","filename":"file0"},{"photo_id":"1391875813","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875812":["hashtag1","hashtag2"]},{"1391875814":["hashtag1","hashtag2"]},{"1391875813":["hashtag1","hashtag2"]},{"1391875810":["hashtag1","hashtag2"]},{"1391875807":["hashtag1","hashtag2"]},{"1391875818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875812, 1391875814, 1391875813, 1391875810, 1391875807, 1391875818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.638237714767456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:21:03.843907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_56_2551.jpg', '/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_59_3057.jpg', '/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_02_2728.jpg', '/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_08_1749.jpg', '/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_11_2638.jpg', '/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_14_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_56_2551.jpg
/home/pi/Desktop/images/02112025/01/34/image_02112025_01_34_59_3057.jpg
/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_02_2728.jpg
/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_08_1749.jpg
/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_11_2638.jpg
/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_14_2713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875841","1391875838","1391875834","1391875836","1391875845","1391875830"],"photo_ids_order":["1391875830","1391875834","1391875836","1391875838","1391875841","1391875845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4fc34e3ccbf99b4b8819d4f6b7236ef3.jpg","text":"TemporaryFile(/tmp/multipartBody8950282382039061918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111324720,"filename":"image_02112025_01_35_11_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/2/8cf6e55bd92612eb367d64c6bfc503d0.jpg","text":"TemporaryFile(/tmp/multipartBody5911846835832353988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111324720,"filename":"image_02112025_01_35_08_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/78dcfcbe5b498b03394df9dd6cedf73b.jpg","text":"TemporaryFile(/tmp/multipartBody6383253308651489488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111324720,"filename":"image_02112025_01_34_59_3057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c3d77619872ca8abab3050716d00a868.jpg","text":"TemporaryFile(/tmp/multipartBody6415896081860958061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111324720,"filename":"image_02112025_01_35_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/2/03c63b6ad4ce5d66e2a74fae5239e7a1.jpg","text":"TemporaryFile(/tmp/multipartBody1564159158476575922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111324720,"filename":"image_02112025_01_35_14_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/2/24bd12e60cfd5d88cf87e8510cca67ac.jpg","text":"TemporaryFile(/tmp/multipartBody8020082261635154988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111324720,"filename":"image_02112025_01_34_56_2551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875836","file1":"1391875834","file0":"1391875830","file4":"1391875841","file5":"1391875845","file3":"1391875838"},"map_files_photo_id_array":[{"photo_id":"1391875845","filename":"file5"},{"photo_id":"1391875836","filename":"file2"},{"photo_id":"1391875841","filename":"file4"},{"photo_id":"1391875834","filename":"file1"},{"photo_id":"1391875830","filename":"file0"},{"photo_id":"1391875838","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875841":["hashtag1","hashtag2"]},{"1391875838":["hashtag1","hashtag2"]},{"1391875834":["hashtag1","hashtag2"]},{"1391875836":["hashtag1","hashtag2"]},{"1391875845":["hashtag1","hashtag2"]},{"1391875830":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875841, 1391875838, 1391875834, 1391875836, 1391875845, 1391875830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48056745529175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:21:43.034399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_17_3502.jpg', '/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_20_2653.jpg', '/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_23_3569.jpg', '/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_26_2814.jpg', '/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_29_2545.jpg', '/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_32_2789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_17_3502.jpg
/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_20_2653.jpg
/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_23_3569.jpg
/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_26_2814.jpg
/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_29_2545.jpg
/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_32_2789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875862","1391875859","1391875858","1391875855","1391875860","1391875857"],"photo_ids_order":["1391875855","1391875857","1391875858","1391875859","1391875860","1391875862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4e0015ca16797bc70f5feb1a5cbd2f68.jpg","text":"TemporaryFile(/tmp/multipartBody9129846928426198980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111363891,"filename":"image_02112025_01_35_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/2/40cf35a987e9084d4989a93972da49c3.jpg","text":"TemporaryFile(/tmp/multipartBody1992230283876836507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111363891,"filename":"image_02112025_01_35_26_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/2/b9627af7c7ebab35a145971da39199fb.jpg","text":"TemporaryFile(/tmp/multipartBody2550278432412698308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111363891,"filename":"image_02112025_01_35_23_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/2/e63e2048d97eec1cdf0ad39f9dd90483.jpg","text":"TemporaryFile(/tmp/multipartBody6211667255155306557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111363891,"filename":"image_02112025_01_35_17_3502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/20233b67c62d737f71eac8481a1b3a60.jpg","text":"TemporaryFile(/tmp/multipartBody4180033175380243137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111363891,"filename":"image_02112025_01_35_29_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/2/ad43bffc18de8001eadda4480e589622.jpg","text":"TemporaryFile(/tmp/multipartBody2500340057400381718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111363891,"filename":"image_02112025_01_35_20_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875858","file1":"1391875857","file0":"1391875855","file4":"1391875860","file5":"1391875862","file3":"1391875859"},"map_files_photo_id_array":[{"photo_id":"1391875862","filename":"file5"},{"photo_id":"1391875858","filename":"file2"},{"photo_id":"1391875860","filename":"file4"},{"photo_id":"1391875857","filename":"file1"},{"photo_id":"1391875855","filename":"file0"},{"photo_id":"1391875859","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875862":["hashtag1","hashtag2"]},{"1391875859":["hashtag1","hashtag2"]},{"1391875858":["hashtag1","hashtag2"]},{"1391875855":["hashtag1","hashtag2"]},{"1391875860":["hashtag1","hashtag2"]},{"1391875857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875862, 1391875859, 1391875858, 1391875855, 1391875860, 1391875857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12800717353821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:22:22.185832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_35_3573.jpg', '/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_38_2616.jpg', '/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_41_3562.jpg', '/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_44_2568.jpg', '/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_47_2744.jpg', '/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_50_3777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_35_3573.jpg
/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_38_2616.jpg
/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_41_3562.jpg
/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_44_2568.jpg
/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_47_2744.jpg
/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_50_3777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875883","1391875874","1391875885","1391875887","1391875881","1391875878"],"photo_ids_order":["1391875874","1391875878","1391875881","1391875883","1391875885","1391875887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/27fc9cba6bb3f43b0d43000788ba6852.jpg","text":"TemporaryFile(/tmp/multipartBody5984258666617200307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111403018,"filename":"image_02112025_01_35_44_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/2/806e9cccd1272bf3b06e69ce3a2ab4a2.jpg","text":"TemporaryFile(/tmp/multipartBody1379941258946724627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111403018,"filename":"image_02112025_01_35_35_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/2/a7159b761f73e4d751c7ef0e2c2fc74c.jpg","text":"TemporaryFile(/tmp/multipartBody3712351251061091267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111403018,"filename":"image_02112025_01_35_47_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/2/859d08b96dc15a6c21f08e9c95b21fe9.jpg","text":"TemporaryFile(/tmp/multipartBody1262390640084551268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111403018,"filename":"image_02112025_01_35_50_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/2/73212c222128bd7177d95d511917f508.jpg","text":"TemporaryFile(/tmp/multipartBody8916253279677331885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111403018,"filename":"image_02112025_01_35_41_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/2/7692f56a1f3aea9472539d7382d0c89f.jpg","text":"TemporaryFile(/tmp/multipartBody6937013690400597459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111403018,"filename":"image_02112025_01_35_38_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875881","file1":"1391875878","file0":"1391875874","file4":"1391875885","file5":"1391875887","file3":"1391875883"},"map_files_photo_id_array":[{"photo_id":"1391875887","filename":"file5"},{"photo_id":"1391875881","filename":"file2"},{"photo_id":"1391875885","filename":"file4"},{"photo_id":"1391875878","filename":"file1"},{"photo_id":"1391875874","filename":"file0"},{"photo_id":"1391875883","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875883":["hashtag1","hashtag2"]},{"1391875874":["hashtag1","hashtag2"]},{"1391875885":["hashtag1","hashtag2"]},{"1391875887":["hashtag1","hashtag2"]},{"1391875881":["hashtag1","hashtag2"]},{"1391875878":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875883, 1391875874, 1391875885, 1391875887, 1391875881, 1391875878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08777666091919 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:23:02.960064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_53_2768.jpg', '/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_56_2822.jpg', '/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_59_2666.jpg', '/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_02_3689.jpg', '/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_05_2787.jpg', '/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_08_2551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_53_2768.jpg
/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_56_2822.jpg
/home/pi/Desktop/images/02112025/01/35/image_02112025_01_35_59_2666.jpg
/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_02_3689.jpg
/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_05_2787.jpg
/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_08_2551.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875905","1391875902","1391875892","1391875889","1391875899","1391875896"],"photo_ids_order":["1391875889","1391875892","1391875896","1391875899","1391875902","1391875905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/820b5f521039c2062d06dc4a3fa0b7fa.jpg","text":"TemporaryFile(/tmp/multipartBody4820167405679922352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111443919,"filename":"image_02112025_01_36_08_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/2/4a82ba0615c979f075c33195ea00f88d.jpg","text":"TemporaryFile(/tmp/multipartBody3474192077439893573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111443919,"filename":"image_02112025_01_36_05_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/2/5f1a3455f6111b601684ef127117b3f5.jpg","text":"TemporaryFile(/tmp/multipartBody8123602390900146459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111443919,"filename":"image_02112025_01_35_56_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/2/a0fdd9191f6679fb4a12f68898093398.jpg","text":"TemporaryFile(/tmp/multipartBody5272053576423805318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111443919,"filename":"image_02112025_01_35_53_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/2/8018cd6a16524a910e71527c8ad1167e.jpg","text":"TemporaryFile(/tmp/multipartBody3481699421882139431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111443919,"filename":"image_02112025_01_36_02_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/2/99e614721b89ea31ce8ee3d14a8f9d35.jpg","text":"TemporaryFile(/tmp/multipartBody7716472859935577629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111443919,"filename":"image_02112025_01_35_59_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875896","file1":"1391875892","file0":"1391875889","file4":"1391875902","file5":"1391875905","file3":"1391875899"},"map_files_photo_id_array":[{"photo_id":"1391875905","filename":"file5"},{"photo_id":"1391875896","filename":"file2"},{"photo_id":"1391875902","filename":"file4"},{"photo_id":"1391875892","filename":"file1"},{"photo_id":"1391875889","filename":"file0"},{"photo_id":"1391875899","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875905":["hashtag1","hashtag2"]},{"1391875902":["hashtag1","hashtag2"]},{"1391875892":["hashtag1","hashtag2"]},{"1391875889":["hashtag1","hashtag2"]},{"1391875899":["hashtag1","hashtag2"]},{"1391875896":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875905, 1391875902, 1391875892, 1391875889, 1391875899, 1391875896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.586525440216064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:23:42.387226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_14_3721.jpg', '/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_23_2700.jpg', '/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_26_3708.jpg', '/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_29_2800.jpg', '/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_32_2628.jpg', '/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_35_3621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_14_3721.jpg
/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_23_2700.jpg
/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_26_3708.jpg
/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_29_2800.jpg
/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_32_2628.jpg
/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_35_3621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875911","1391875920","1391875914","1391875908","1391875923","1391875917"],"photo_ids_order":["1391875908","1391875911","1391875914","1391875917","1391875920","1391875923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/492bb11cc71ae0925d2fe228067c1720.jpg","text":"TemporaryFile(/tmp/multipartBody429633950541430295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111483263,"filename":"image_02112025_01_36_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/2/ec2333f4b5dca9b3c4a792ba94940610.jpg","text":"TemporaryFile(/tmp/multipartBody6114149727392651533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111483263,"filename":"image_02112025_01_36_32_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/2/a6618c797f463a2569565100b83a48f1.jpg","text":"TemporaryFile(/tmp/multipartBody3798420995759381410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111483263,"filename":"image_02112025_01_36_26_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/2/d1f5fe54a31404735bf6e6df45b2eb60.jpg","text":"TemporaryFile(/tmp/multipartBody956521460692755462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111483263,"filename":"image_02112025_01_36_14_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/2/66d9a2b4b586ab9b6400b472975386a1.jpg","text":"TemporaryFile(/tmp/multipartBody8468379981229400027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111483263,"filename":"image_02112025_01_36_35_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/2/61798f9040926d5bbbcf06547c85adad.jpg","text":"TemporaryFile(/tmp/multipartBody4263903600883423612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111483263,"filename":"image_02112025_01_36_29_2800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875914","file1":"1391875911","file0":"1391875908","file4":"1391875920","file5":"1391875923","file3":"1391875917"},"map_files_photo_id_array":[{"photo_id":"1391875923","filename":"file5"},{"photo_id":"1391875914","filename":"file2"},{"photo_id":"1391875920","filename":"file4"},{"photo_id":"1391875911","filename":"file1"},{"photo_id":"1391875908","filename":"file0"},{"photo_id":"1391875917","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875911":["hashtag1","hashtag2"]},{"1391875920":["hashtag1","hashtag2"]},{"1391875914":["hashtag1","hashtag2"]},{"1391875908":["hashtag1","hashtag2"]},{"1391875923":["hashtag1","hashtag2"]},{"1391875917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875911, 1391875920, 1391875914, 1391875908, 1391875923, 1391875917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25014662742615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:24:22.558305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_38_2717.jpg', '/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_41_3109.jpg', '/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_47_3674.jpg', '/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_50_2679.jpg', '/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_53_2770.jpg', '/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_55_2586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_38_2717.jpg
/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_41_3109.jpg
/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_47_3674.jpg
/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_50_2679.jpg
/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_53_2770.jpg
/home/pi/Desktop/images/02112025/01/36/image_02112025_01_36_55_2586.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875946","1391875928","1391875931","1391875951","1391875936","1391875941"],"photo_ids_order":["1391875928","1391875931","1391875936","1391875941","1391875946","1391875951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ea9ab541c03fb3ae6c0c33dbb811203c.jpg","text":"TemporaryFile(/tmp/multipartBody856684022648127485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111523344,"filename":"image_02112025_01_36_53_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/2/3b476cf75f722e6a4b6e577e68189de7.jpg","text":"TemporaryFile(/tmp/multipartBody550588222466630656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111523344,"filename":"image_02112025_01_36_38_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/2/648d5190bed055c17d9a09e0053dd124.jpg","text":"TemporaryFile(/tmp/multipartBody3411242511725357893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111523344,"filename":"image_02112025_01_36_41_3109.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5eaee27dca4fa1915b238ca0a51dcda9.jpg","text":"TemporaryFile(/tmp/multipartBody5066557266897290568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111523344,"filename":"image_02112025_01_36_55_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/2/4bc9fcf13b788c30bfb65a0f002c428c.jpg","text":"TemporaryFile(/tmp/multipartBody2410398550963702420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111523344,"filename":"image_02112025_01_36_47_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/2/7a43662ab2de6fbf59c74f5ca0b87d07.jpg","text":"TemporaryFile(/tmp/multipartBody2820574845909510068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111523344,"filename":"image_02112025_01_36_50_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875936","file1":"1391875931","file0":"1391875928","file4":"1391875946","file5":"1391875951","file3":"1391875941"},"map_files_photo_id_array":[{"photo_id":"1391875951","filename":"file5"},{"photo_id":"1391875936","filename":"file2"},{"photo_id":"1391875946","filename":"file4"},{"photo_id":"1391875931","filename":"file1"},{"photo_id":"1391875928","filename":"file0"},{"photo_id":"1391875941","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875946":["hashtag1","hashtag2"]},{"1391875928":["hashtag1","hashtag2"]},{"1391875931":["hashtag1","hashtag2"]},{"1391875951":["hashtag1","hashtag2"]},{"1391875936":["hashtag1","hashtag2"]},{"1391875941":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875946, 1391875928, 1391875931, 1391875951, 1391875936, 1391875941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.398284673690796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:25:02.562814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_02_2624.jpg', '/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_05_3272.jpg', '/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_08_2834.jpg', '/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_11_3498.jpg', '/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_14_2631.jpg', '/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_16_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_02_2624.jpg
/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_05_3272.jpg
/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_08_2834.jpg
/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_11_3498.jpg
/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_14_2631.jpg
/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_16_2595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391875970","1391875961","1391875963","1391875968","1391875962","1391875965"],"photo_ids_order":["1391875961","1391875962","1391875963","1391875965","1391875968","1391875970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6be3ee14da02cef96fd700289e339a86.jpg","text":"TemporaryFile(/tmp/multipartBody5322272146597084037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111566093,"filename":"image_02112025_01_37_16_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/2/d9a260298860f5ce1bfe40b8b58e4bdb.jpg","text":"TemporaryFile(/tmp/multipartBody4092597631124694013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111566093,"filename":"image_02112025_01_37_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/2/7e6f5315ecb1f31027b3023a6c5fa1db.jpg","text":"TemporaryFile(/tmp/multipartBody5351981095763527696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111566093,"filename":"image_02112025_01_37_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/2/5d5f4942792aa2c98f82b41a53b65d97.jpg","text":"TemporaryFile(/tmp/multipartBody1190004214981375350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111566093,"filename":"image_02112025_01_37_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/2/35f089d3d70f579466071293c1fae851.jpg","text":"TemporaryFile(/tmp/multipartBody9053888419128428779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111566093,"filename":"image_02112025_01_37_05_3272.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d4594c74a720bfc97e92a15780b8d9a2.jpg","text":"TemporaryFile(/tmp/multipartBody6982876044882709588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111566093,"filename":"image_02112025_01_37_11_3498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391875963","file1":"1391875962","file0":"1391875961","file4":"1391875968","file5":"1391875970","file3":"1391875965"},"map_files_photo_id_array":[{"photo_id":"1391875970","filename":"file5"},{"photo_id":"1391875963","filename":"file2"},{"photo_id":"1391875968","filename":"file4"},{"photo_id":"1391875962","filename":"file1"},{"photo_id":"1391875961","filename":"file0"},{"photo_id":"1391875965","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391875970":["hashtag1","hashtag2"]},{"1391875961":["hashtag1","hashtag2"]},{"1391875963":["hashtag1","hashtag2"]},{"1391875968":["hashtag1","hashtag2"]},{"1391875962":["hashtag1","hashtag2"]},{"1391875965":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391875970, 1391875961, 1391875963, 1391875968, 1391875962, 1391875965)","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: 82.18254351615906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:26:36.426057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_23_3650.jpg', '/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_26_2620.jpg', '/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_35_2627.jpg', '/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_41_2661.jpg', '/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_43_2559.jpg', '/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_47_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_23_3650.jpg
/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_26_2620.jpg
/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_35_2627.jpg
/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_41_2661.jpg
/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_43_2559.jpg
/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_47_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":["1391876001","1391875998","1391875995","1391876010","1391876004","1391876007"],"photo_ids_order":["1391875995","1391875998","1391876001","1391876004","1391876007","1391876010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9ffbcd2abd2dd03d828a266b7463df68.jpg","text":"TemporaryFile(/tmp/multipartBody6903856797555925516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111657254,"filename":"image_02112025_01_37_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/2/20b68e72a7f767a5be69c8cc3cae595b.jpg","text":"TemporaryFile(/tmp/multipartBody6336961801139678344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111657254,"filename":"image_02112025_01_37_26_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/2/e4cefea8bdc4f220f3e3560880ad9e77.jpg","text":"TemporaryFile(/tmp/multipartBody259751685017956888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111657254,"filename":"image_02112025_01_37_23_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/2/c3d1b2cb641947029e4c276f381fdd7c.jpg","text":"TemporaryFile(/tmp/multipartBody6992365216429492048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111657254,"filename":"image_02112025_01_37_47_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/2/74b46c06b57abbf44496fca6574cb95f.jpg","text":"TemporaryFile(/tmp/multipartBody2137294089367694679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111657254,"filename":"image_02112025_01_37_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/2/06a20904706e45f6ec9304bcd2a59b14.jpg","text":"TemporaryFile(/tmp/multipartBody6012012401468450022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111657254,"filename":"image_02112025_01_37_43_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876001","file1":"1391875998","file0":"1391875995","file4":"1391876007","file5":"1391876010","file3":"1391876004"},"map_files_photo_id_array":[{"photo_id":"1391876010","filename":"file5"},{"photo_id":"1391876001","filename":"file2"},{"photo_id":"1391876007","filename":"file4"},{"photo_id":"1391875998","filename":"file1"},{"photo_id":"1391875995","filename":"file0"},{"photo_id":"1391876004","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876001":["hashtag1","hashtag2"]},{"1391875998":["hashtag1","hashtag2"]},{"1391875995":["hashtag1","hashtag2"]},{"1391876010":["hashtag1","hashtag2"]},{"1391876004":["hashtag1","hashtag2"]},{"1391876007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876001, 1391875998, 1391875995, 1391876010, 1391876004, 1391876007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.410815715789795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:27:22.031528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_50_2711.jpg', '/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_59_2761.jpg', '/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_01_2623.jpg', '/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_07_1653.jpg', '/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_11_3669.jpg', '/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_16_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_50_2711.jpg
/home/pi/Desktop/images/02112025/01/37/image_02112025_01_37_59_2761.jpg
/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_01_2623.jpg
/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_07_1653.jpg
/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_11_3669.jpg
/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_16_2629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876033","1391876027","1391876021","1391876039","1391876030","1391876025"],"photo_ids_order":["1391876021","1391876025","1391876027","1391876030","1391876033","1391876039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6ab8ad87c86e6dd07ff591cb52dc23a3.jpg","text":"TemporaryFile(/tmp/multipartBody1903520369681714547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111702830,"filename":"image_02112025_01_38_11_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/2/78a09c1ac70d12e6912d9b2253272594.jpg","text":"TemporaryFile(/tmp/multipartBody7355954881468439425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111702830,"filename":"image_02112025_01_38_01_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/2/cc27566e05f427888315d9a318dd552b.jpg","text":"TemporaryFile(/tmp/multipartBody2054765273270661200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111702830,"filename":"image_02112025_01_37_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/2/13e04f20e1be836b476075290a53dd6a.jpg","text":"TemporaryFile(/tmp/multipartBody1414642147521972426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111702830,"filename":"image_02112025_01_38_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/2/562250c9cdae2c71a4beaffcb0e495e0.jpg","text":"TemporaryFile(/tmp/multipartBody9037737213148106088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111702830,"filename":"image_02112025_01_38_07_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/2/316c4a261aa32f63549f9fb30132b7b5.jpg","text":"TemporaryFile(/tmp/multipartBody4224573394249091967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111702830,"filename":"image_02112025_01_37_59_2761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876027","file1":"1391876025","file0":"1391876021","file4":"1391876033","file5":"1391876039","file3":"1391876030"},"map_files_photo_id_array":[{"photo_id":"1391876039","filename":"file5"},{"photo_id":"1391876027","filename":"file2"},{"photo_id":"1391876033","filename":"file4"},{"photo_id":"1391876025","filename":"file1"},{"photo_id":"1391876021","filename":"file0"},{"photo_id":"1391876030","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876033":["hashtag1","hashtag2"]},{"1391876027":["hashtag1","hashtag2"]},{"1391876021":["hashtag1","hashtag2"]},{"1391876039":["hashtag1","hashtag2"]},{"1391876030":["hashtag1","hashtag2"]},{"1391876025":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876033, 1391876027, 1391876021, 1391876039, 1391876030, 1391876025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39569449424744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:28:02.679980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_22_2598.jpg', '/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_26_3739.jpg', '/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_29_2551.jpg', '/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_31_2656.jpg', '/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_35_3699.jpg', '/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_41_5739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_22_2598.jpg
/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_26_3739.jpg
/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_29_2551.jpg
/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_31_2656.jpg
/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_35_3699.jpg
/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_41_5739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876060","1391876057","1391876053","1391876067","1391876049","1391876064"],"photo_ids_order":["1391876049","1391876053","1391876057","1391876060","1391876064","1391876067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/69bb58e05043a415d283eb9688f156d1.jpg","text":"TemporaryFile(/tmp/multipartBody1524833954465394750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111743540,"filename":"image_02112025_01_38_31_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/2/8e338400cd76d9f4207243b26e105e84.jpg","text":"TemporaryFile(/tmp/multipartBody5072536598593465530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111743540,"filename":"image_02112025_01_38_29_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/2/259fc767e930b6fa6539f79027a2e3b5.jpg","text":"TemporaryFile(/tmp/multipartBody7543359980525677679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111743540,"filename":"image_02112025_01_38_26_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/2/e0a6cdfdf96de4ec10cf2c984984ddb5.jpg","text":"TemporaryFile(/tmp/multipartBody1392371417849042005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111743540,"filename":"image_02112025_01_38_41_5739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/017dd2e98fe0dae76222a1034882ae74.jpg","text":"TemporaryFile(/tmp/multipartBody1523293093776109256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111743540,"filename":"image_02112025_01_38_22_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/2/d060486b1dbb9f3501a55bd754b29a19.jpg","text":"TemporaryFile(/tmp/multipartBody2570031638407669577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111743540,"filename":"image_02112025_01_38_35_3699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876057","file1":"1391876053","file0":"1391876049","file4":"1391876064","file5":"1391876067","file3":"1391876060"},"map_files_photo_id_array":[{"photo_id":"1391876067","filename":"file5"},{"photo_id":"1391876057","filename":"file2"},{"photo_id":"1391876064","filename":"file4"},{"photo_id":"1391876053","filename":"file1"},{"photo_id":"1391876049","filename":"file0"},{"photo_id":"1391876060","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876060":["hashtag1","hashtag2"]},{"1391876057":["hashtag1","hashtag2"]},{"1391876053":["hashtag1","hashtag2"]},{"1391876067":["hashtag1","hashtag2"]},{"1391876049":["hashtag1","hashtag2"]},{"1391876064":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876060, 1391876057, 1391876053, 1391876067, 1391876049, 1391876064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81179070472717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:28:42.227630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_42_1548.jpg', '/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_44_1776.jpg', '/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_49_2550.jpg', '/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_53_3788.jpg', '/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_56_2693.jpg', '/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_05_1532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_42_1548.jpg
/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_44_1776.jpg
/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_49_2550.jpg
/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_53_3788.jpg
/home/pi/Desktop/images/02112025/01/38/image_02112025_01_38_56_2693.jpg
/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_05_1532.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876090","1391876093","1391876087","1391876083","1391876079","1391876076"],"photo_ids_order":["1391876076","1391876079","1391876083","1391876087","1391876090","1391876093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ef4d741709cc5a099b2164b798172341.jpg","text":"TemporaryFile(/tmp/multipartBody5201003931115191838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111783037,"filename":"image_02112025_01_38_56_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/2/7747262a9484f0efb998286f4fb996d7.jpg","text":"TemporaryFile(/tmp/multipartBody407491642688279818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111783037,"filename":"image_02112025_01_39_05_1532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2a477122bd7d1337c0d929400b91ce69.jpg","text":"TemporaryFile(/tmp/multipartBody1726903410668790340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111783037,"filename":"image_02112025_01_38_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/2/3297a8a5bf8c960f91225b713004750f.jpg","text":"TemporaryFile(/tmp/multipartBody1741735369816961606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111783037,"filename":"image_02112025_01_38_49_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/2/63072d800427cd78e1632a65f0a190b6.jpg","text":"TemporaryFile(/tmp/multipartBody7250099670314040810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111783037,"filename":"image_02112025_01_38_44_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/2/7a76ffecc650665378c2381b03a0b38f.jpg","text":"TemporaryFile(/tmp/multipartBody4738569598250581668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111783037,"filename":"image_02112025_01_38_42_1548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876083","file1":"1391876079","file0":"1391876076","file4":"1391876090","file5":"1391876093","file3":"1391876087"},"map_files_photo_id_array":[{"photo_id":"1391876093","filename":"file5"},{"photo_id":"1391876083","filename":"file2"},{"photo_id":"1391876090","filename":"file4"},{"photo_id":"1391876079","filename":"file1"},{"photo_id":"1391876076","filename":"file0"},{"photo_id":"1391876087","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876090":["hashtag1","hashtag2"]},{"1391876093":["hashtag1","hashtag2"]},{"1391876087":["hashtag1","hashtag2"]},{"1391876083":["hashtag1","hashtag2"]},{"1391876079":["hashtag1","hashtag2"]},{"1391876076":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876090, 1391876093, 1391876087, 1391876083, 1391876079, 1391876076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44132709503174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:29:22.350418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_07_2597.jpg', '/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_11_3555.jpg', '/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_14_2637.jpg', '/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_17_3568.jpg', '/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_21_3610.jpg', '/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_24_3025.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_07_2597.jpg
/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_11_3555.jpg
/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_14_2637.jpg
/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_17_3568.jpg
/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_21_3610.jpg
/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_24_3025.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876099","1391876110","1391876113","1391876107","1391876116","1391876104"],"photo_ids_order":["1391876099","1391876104","1391876107","1391876110","1391876113","1391876116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5fb6a828c52617d8ef0ae00df3d1849d.jpg","text":"TemporaryFile(/tmp/multipartBody4313617770446774652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111823109,"filename":"image_02112025_01_39_07_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/2/8bafd6ba3cca049a65c471d64669e9e1.jpg","text":"TemporaryFile(/tmp/multipartBody4945489971328411907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111823109,"filename":"image_02112025_01_39_17_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/2/d43f100a75451cff8eb8ca7eae5d532b.jpg","text":"TemporaryFile(/tmp/multipartBody5472581108323892294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111823109,"filename":"image_02112025_01_39_21_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/2/1a71be030fe58dfc0afc1c8755f6e164.jpg","text":"TemporaryFile(/tmp/multipartBody7018482706409078563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111823109,"filename":"image_02112025_01_39_14_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/2/3c5c02fc0c46b55ccfd3cd5de871c476.jpg","text":"TemporaryFile(/tmp/multipartBody2131005117847023205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111823109,"filename":"image_02112025_01_39_24_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/2/ae5d122c494c3b18b3a78a468f141e8c.jpg","text":"TemporaryFile(/tmp/multipartBody6301372852664901251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111823109,"filename":"image_02112025_01_39_11_3555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876107","file1":"1391876104","file0":"1391876099","file4":"1391876113","file5":"1391876116","file3":"1391876110"},"map_files_photo_id_array":[{"photo_id":"1391876116","filename":"file5"},{"photo_id":"1391876107","filename":"file2"},{"photo_id":"1391876113","filename":"file4"},{"photo_id":"1391876104","filename":"file1"},{"photo_id":"1391876099","filename":"file0"},{"photo_id":"1391876110","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876099":["hashtag1","hashtag2"]},{"1391876110":["hashtag1","hashtag2"]},{"1391876113":["hashtag1","hashtag2"]},{"1391876107":["hashtag1","hashtag2"]},{"1391876116":["hashtag1","hashtag2"]},{"1391876104":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876099, 1391876110, 1391876113, 1391876107, 1391876116, 1391876104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.413013219833374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:30:03.054375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_26_1792.jpg', '/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_28_2574.jpg', '/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_37_2761.jpg', '/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_41_3668.jpg', '/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_50_3576.jpg', '/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_52_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_26_1792.jpg
/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_28_2574.jpg
/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_37_2761.jpg
/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_41_3668.jpg
/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_50_3576.jpg
/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_52_2728.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.750647783279419 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:30:22.593606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_26_1792.jpg', '/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_28_2574.jpg', '/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_37_2761.jpg', '/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_41_3668.jpg', '/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_50_3576.jpg', '/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_52_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_26_1792.jpg
/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_28_2574.jpg
/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_37_2761.jpg
/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_41_3668.jpg
/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_50_3576.jpg
/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_52_2728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876144","1391876132","1391876141","1391876135","1391876138","1391876128"],"photo_ids_order":["1391876128","1391876132","1391876135","1391876138","1391876141","1391876144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ab6a941d4d937c0544e19bf908e1ad30.jpg","text":"TemporaryFile(/tmp/multipartBody3991930745774858388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111883272,"filename":"image_02112025_01_39_52_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/2/2553731083098a6ab66aa494275c7709.jpg","text":"TemporaryFile(/tmp/multipartBody3156088226684875499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111883272,"filename":"image_02112025_01_39_28_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/2/5e6b73c70e4bd52815aacdf48ab6fe34.jpg","text":"TemporaryFile(/tmp/multipartBody3082057502044959516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111883272,"filename":"image_02112025_01_39_50_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/2/c13a17ede5444664462dfee19ff2e28d.jpg","text":"TemporaryFile(/tmp/multipartBody6588849350678445690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111883272,"filename":"image_02112025_01_39_37_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/2/79db72a769f93d9c00ebd789b29736c3.jpg","text":"TemporaryFile(/tmp/multipartBody3409868080514834844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111883272,"filename":"image_02112025_01_39_41_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/2/ab9414a13a6d8bff19cc85dda48e45cf.jpg","text":"TemporaryFile(/tmp/multipartBody6727613979108883500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111883272,"filename":"image_02112025_01_39_26_1792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876135","file1":"1391876132","file0":"1391876128","file4":"1391876141","file5":"1391876144","file3":"1391876138"},"map_files_photo_id_array":[{"photo_id":"1391876144","filename":"file5"},{"photo_id":"1391876135","filename":"file2"},{"photo_id":"1391876141","filename":"file4"},{"photo_id":"1391876132","filename":"file1"},{"photo_id":"1391876128","filename":"file0"},{"photo_id":"1391876138","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876144":["hashtag1","hashtag2"]},{"1391876132":["hashtag1","hashtag2"]},{"1391876141":["hashtag1","hashtag2"]},{"1391876135":["hashtag1","hashtag2"]},{"1391876138":["hashtag1","hashtag2"]},{"1391876128":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876144, 1391876132, 1391876141, 1391876135, 1391876138, 1391876128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10893940925598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:31:02.453633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_55_2597.jpg', '/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_59_3660.jpg', '/home/pi/Desktop/images/02112025/01/40/image_02112025_01_40_01_2752.jpg', '/home/pi/Desktop/images/02112025/01/40/image_02112025_01_40_08_3590.jpg', '/home/pi/Desktop/images/02112025/01/40/image_02112025_01_40_10_2586.jpg', '/home/pi/Desktop/images/02112025/01/40/image_02112025_01_40_14_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_55_2597.jpg
/home/pi/Desktop/images/02112025/01/39/image_02112025_01_39_59_3660.jpg
/home/pi/Desktop/images/02112025/01/40/image_02112025_01_40_01_2752.jpg
/home/pi/Desktop/images/02112025/01/40/image_02112025_01_40_08_3590.jpg
/home/pi/Desktop/images/02112025/01/40/image_02112025_01_40_10_2586.jpg
/home/pi/Desktop/images/02112025/01/40/image_02112025_01_40_14_3593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876159","1391876153","1391876161","1391876155","1391876149","1391876157"],"photo_ids_order":["1391876149","1391876153","1391876155","1391876157","1391876159","1391876161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f947d6b2be58668932b2dc6f22f0f8c8.jpg","text":"TemporaryFile(/tmp/multipartBody7087235983061786087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111923398,"filename":"image_02112025_01_40_10_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/2/646bffc777a571ce938f208e41dfc3eb.jpg","text":"TemporaryFile(/tmp/multipartBody1439569700346603527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111923398,"filename":"image_02112025_01_39_59_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/2/632d478b9b2304d17d62d82ad95292e2.jpg","text":"TemporaryFile(/tmp/multipartBody4163448981664758825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111923398,"filename":"image_02112025_01_40_14_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/2/57a6ed3552632ac7a5ea5ad1a618fe6e.jpg","text":"TemporaryFile(/tmp/multipartBody2290218567189474292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111923398,"filename":"image_02112025_01_40_01_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/2/993b43683a0bf0341bac717d718bf55a.jpg","text":"TemporaryFile(/tmp/multipartBody3566072787553483100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111923398,"filename":"image_02112025_01_39_55_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/2/57578a132823ccea746918b50beea47f.jpg","text":"TemporaryFile(/tmp/multipartBody1838293798521484054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111923398,"filename":"image_02112025_01_40_08_3590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876155","file1":"1391876153","file0":"1391876149","file4":"1391876159","file5":"1391876161","file3":"1391876157"},"map_files_photo_id_array":[{"photo_id":"1391876161","filename":"file5"},{"photo_id":"1391876155","filename":"file2"},{"photo_id":"1391876159","filename":"file4"},{"photo_id":"1391876153","filename":"file1"},{"photo_id":"1391876149","filename":"file0"},{"photo_id":"1391876157","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876159":["hashtag1","hashtag2"]},{"1391876153":["hashtag1","hashtag2"]},{"1391876161":["hashtag1","hashtag2"]},{"1391876155":["hashtag1","hashtag2"]},{"1391876149":["hashtag1","hashtag2"]},{"1391876157":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876159, 1391876153, 1391876161, 1391876155, 1391876149, 1391876157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91710448265076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:31:41.814995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/40/image_02112025_01_40_17_2844.jpg', '/home/pi/Desktop/images/02112025/01/40/image_02112025_01_40_20_2672.jpg', '/home/pi/Desktop/images/02112025/01/40/image_02112025_01_40_25_5135.jpg', '/home/pi/Desktop/images/02112025/01/40/image_02112025_01_40_26_1552.jpg', '/home/pi/Desktop/images/02112025/01/40/image_02112025_01_40_29_2724.jpg', '/home/pi/Desktop/images/02112025/01/40/image_02112025_01_40_34_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/40/image_02112025_01_40_17_2844.jpg
/home/pi/Desktop/images/02112025/01/40/image_02112025_01_40_20_2672.jpg
/home/pi/Desktop/images/02112025/01/40/image_02112025_01_40_25_5135.jpg
/home/pi/Desktop/images/02112025/01/40/image_02112025_01_40_26_1552.jpg
/home/pi/Desktop/images/02112025/01/40/image_02112025_01_40_29_2724.jpg
/home/pi/Desktop/images/02112025/01/40/image_02112025_01_40_34_2749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876171","1391876174","1391876167","1391876176","1391876178","1391876169"],"photo_ids_order":["1391876167","1391876169","1391876171","1391876174","1391876176","1391876178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c827800e6190ff7d35353905c6775f68.jpg","text":"TemporaryFile(/tmp/multipartBody981197008630508266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111962778,"filename":"image_02112025_01_40_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/2/279e481537c4db44a719848d8a62b76c.jpg","text":"TemporaryFile(/tmp/multipartBody5704488609270240476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111962778,"filename":"image_02112025_01_40_26_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/2/6d58f4b8ee57c956acb897a9b2dc5979.jpg","text":"TemporaryFile(/tmp/multipartBody1509105291507102500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111962778,"filename":"image_02112025_01_40_17_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/2/01ffb696716619f0e276f8e7fd3a3ea3.jpg","text":"TemporaryFile(/tmp/multipartBody902095885737746573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111962778,"filename":"image_02112025_01_40_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/2/1879257dd24f060cdd623d8dc17cb9f6.jpg","text":"TemporaryFile(/tmp/multipartBody955862486388494532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111962778,"filename":"image_02112025_01_40_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/2/8ec5572a3fe725567ad6ee634472f522.jpg","text":"TemporaryFile(/tmp/multipartBody8317630867228786668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762111962778,"filename":"image_02112025_01_40_20_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876171","file1":"1391876169","file0":"1391876167","file4":"1391876176","file5":"1391876178","file3":"1391876174"},"map_files_photo_id_array":[{"photo_id":"1391876178","filename":"file5"},{"photo_id":"1391876171","filename":"file2"},{"photo_id":"1391876176","filename":"file4"},{"photo_id":"1391876169","filename":"file1"},{"photo_id":"1391876167","filename":"file0"},{"photo_id":"1391876174","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876171":["hashtag1","hashtag2"]},{"1391876174":["hashtag1","hashtag2"]},{"1391876167":["hashtag1","hashtag2"]},{"1391876176":["hashtag1","hashtag2"]},{"1391876178":["hashtag1","hashtag2"]},{"1391876169":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876171, 1391876174, 1391876167, 1391876176, 1391876178, 1391876169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74152445793152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:32:21.951919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/41/image_02112025_01_41_35_1687.jpg', '/home/pi/Desktop/images/02112025/01/41/image_02112025_01_41_37_1723.jpg', '/home/pi/Desktop/images/02112025/01/41/image_02112025_01_41_42_1742.jpg', '/home/pi/Desktop/images/02112025/01/41/image_02112025_01_41_47_4577.jpg', '/home/pi/Desktop/images/02112025/01/41/image_02112025_01_41_48_1709.jpg', '/home/pi/Desktop/images/02112025/01/41/image_02112025_01_41_52_4051.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/41/image_02112025_01_41_35_1687.jpg
/home/pi/Desktop/images/02112025/01/41/image_02112025_01_41_37_1723.jpg
/home/pi/Desktop/images/02112025/01/41/image_02112025_01_41_42_1742.jpg
/home/pi/Desktop/images/02112025/01/41/image_02112025_01_41_47_4577.jpg
/home/pi/Desktop/images/02112025/01/41/image_02112025_01_41_48_1709.jpg
/home/pi/Desktop/images/02112025/01/41/image_02112025_01_41_52_4051.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876194","1391876197","1391876199","1391876190","1391876187","1391876202"],"photo_ids_order":["1391876187","1391876190","1391876194","1391876197","1391876199","1391876202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9a4b7480509851d8a0e6f8b21fe204f6.jpg","text":"TemporaryFile(/tmp/multipartBody1987583758379654004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112002755,"filename":"image_02112025_01_41_42_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/2/8c2e4bade4abb41bc28205a58488f139.jpg","text":"TemporaryFile(/tmp/multipartBody6982982121081423650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112002755,"filename":"image_02112025_01_41_47_4577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/810c42c8b87176b591e9112c5a0fb81e.jpg","text":"TemporaryFile(/tmp/multipartBody7978406320312917314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112002755,"filename":"image_02112025_01_41_48_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/2/4fd6a1b6ce555634a2bf9f8296e99a8e.jpg","text":"TemporaryFile(/tmp/multipartBody4847000610941660625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112002755,"filename":"image_02112025_01_41_37_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/2/16c6e19683e0f0fb991af03e7a7493d1.jpg","text":"TemporaryFile(/tmp/multipartBody3118386802246831300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112002755,"filename":"image_02112025_01_41_35_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/2/73572f2a86730628877bd31c8b64fdd4.jpg","text":"TemporaryFile(/tmp/multipartBody9001818036238841076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112002755,"filename":"image_02112025_01_41_52_4051.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876194","file1":"1391876190","file0":"1391876187","file4":"1391876199","file5":"1391876202","file3":"1391876197"},"map_files_photo_id_array":[{"photo_id":"1391876202","filename":"file5"},{"photo_id":"1391876194","filename":"file2"},{"photo_id":"1391876199","filename":"file4"},{"photo_id":"1391876190","filename":"file1"},{"photo_id":"1391876187","filename":"file0"},{"photo_id":"1391876197","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876194":["hashtag1","hashtag2"]},{"1391876197":["hashtag1","hashtag2"]},{"1391876199":["hashtag1","hashtag2"]},{"1391876190":["hashtag1","hashtag2"]},{"1391876187":["hashtag1","hashtag2"]},{"1391876202":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876194, 1391876197, 1391876199, 1391876190, 1391876187, 1391876202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13628435134888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:33:02.880177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/41/image_02112025_01_41_54_1585.jpg', '/home/pi/Desktop/images/02112025/01/41/image_02112025_01_41_58_1796.jpg', '/home/pi/Desktop/images/02112025/01/42/image_02112025_01_42_10_1555.jpg', '/home/pi/Desktop/images/02112025/01/42/image_02112025_01_42_28_2617.jpg', '/home/pi/Desktop/images/02112025/01/42/image_02112025_01_42_31_2727.jpg', '/home/pi/Desktop/images/02112025/01/42/image_02112025_01_42_35_4330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/41/image_02112025_01_41_54_1585.jpg
/home/pi/Desktop/images/02112025/01/41/image_02112025_01_41_58_1796.jpg
/home/pi/Desktop/images/02112025/01/42/image_02112025_01_42_10_1555.jpg
/home/pi/Desktop/images/02112025/01/42/image_02112025_01_42_28_2617.jpg
/home/pi/Desktop/images/02112025/01/42/image_02112025_01_42_31_2727.jpg
/home/pi/Desktop/images/02112025/01/42/image_02112025_01_42_35_4330.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876216","1391876218","1391876212","1391876209","1391876220","1391876214"],"photo_ids_order":["1391876209","1391876212","1391876214","1391876216","1391876218","1391876220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/79c232c86fc01d6b75ba350892c200e9.jpg","text":"TemporaryFile(/tmp/multipartBody1397929299015132867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112046391,"filename":"image_02112025_01_42_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/2/d72ad2fc850ec88f96bd38baa06056aa.jpg","text":"TemporaryFile(/tmp/multipartBody8344077189622045408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112046391,"filename":"image_02112025_01_42_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/2/a718d97ba3e074241041e1d9e0e94239.jpg","text":"TemporaryFile(/tmp/multipartBody1920076363184040486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112046391,"filename":"image_02112025_01_41_58_1796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e224c13304546a82fc49867fc33ac35d.jpg","text":"TemporaryFile(/tmp/multipartBody1461413265266965646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112046391,"filename":"image_02112025_01_41_54_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/2/ae9fe168056f198a45e61caa77f2671f.jpg","text":"TemporaryFile(/tmp/multipartBody6693504386660761750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112046391,"filename":"image_02112025_01_42_35_4330.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1e5796e6d06ef88d3dc0d8472df71a45.jpg","text":"TemporaryFile(/tmp/multipartBody5090241280440328536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112046391,"filename":"image_02112025_01_42_10_1555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876214","file1":"1391876212","file0":"1391876209","file4":"1391876218","file5":"1391876220","file3":"1391876216"},"map_files_photo_id_array":[{"photo_id":"1391876220","filename":"file5"},{"photo_id":"1391876214","filename":"file2"},{"photo_id":"1391876218","filename":"file4"},{"photo_id":"1391876212","filename":"file1"},{"photo_id":"1391876209","filename":"file0"},{"photo_id":"1391876216","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876216":["hashtag1","hashtag2"]},{"1391876218":["hashtag1","hashtag2"]},{"1391876212":["hashtag1","hashtag2"]},{"1391876209":["hashtag1","hashtag2"]},{"1391876220":["hashtag1","hashtag2"]},{"1391876214":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876216, 1391876218, 1391876212, 1391876209, 1391876220, 1391876214)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.91358923912048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:34:03.097137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/42/image_02112025_01_42_40_2790.jpg', '/home/pi/Desktop/images/02112025/01/42/image_02112025_01_42_44_3665.jpg', '/home/pi/Desktop/images/02112025/01/42/image_02112025_01_42_53_3850.jpg', '/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_01_8687.jpg', '/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_06_4978.jpg', '/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_08_1644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/42/image_02112025_01_42_40_2790.jpg
/home/pi/Desktop/images/02112025/01/42/image_02112025_01_42_44_3665.jpg
/home/pi/Desktop/images/02112025/01/42/image_02112025_01_42_53_3850.jpg
/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_01_8687.jpg
/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_06_4978.jpg
/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_08_1644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876236","1391876245","1391876233","1391876241","1391876235","1391876238"],"photo_ids_order":["1391876233","1391876235","1391876236","1391876238","1391876241","1391876245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3b03a616a21816f192439257130b68e2.jpg","text":"TemporaryFile(/tmp/multipartBody5658899303635120972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112103949,"filename":"image_02112025_01_42_53_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/2/a0bca8a58133f044e3d5cd977eaf0a47.jpg","text":"TemporaryFile(/tmp/multipartBody7572929184262229580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112103949,"filename":"image_02112025_01_43_08_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/2/3f53781cefbdb262de7200c516b306e6.jpg","text":"TemporaryFile(/tmp/multipartBody4120879477473891350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112103949,"filename":"image_02112025_01_42_40_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/2/cd1fd9bf5c5c8c0f10c22d33cf187a34.jpg","text":"TemporaryFile(/tmp/multipartBody3473887770993350183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112103949,"filename":"image_02112025_01_43_06_4978.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c7a8b7f678299df2b6262a04310c6887.jpg","text":"TemporaryFile(/tmp/multipartBody5019580488928684789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112103949,"filename":"image_02112025_01_42_44_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/2/d8ed7bbbe1ac83a154d2617900918637.jpg","text":"TemporaryFile(/tmp/multipartBody3757537812767870128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112103949,"filename":"image_02112025_01_43_01_8687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876236","file1":"1391876235","file0":"1391876233","file4":"1391876241","file5":"1391876245","file3":"1391876238"},"map_files_photo_id_array":[{"photo_id":"1391876245","filename":"file5"},{"photo_id":"1391876236","filename":"file2"},{"photo_id":"1391876241","filename":"file4"},{"photo_id":"1391876235","filename":"file1"},{"photo_id":"1391876233","filename":"file0"},{"photo_id":"1391876238","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876236":["hashtag1","hashtag2"]},{"1391876245":["hashtag1","hashtag2"]},{"1391876233":["hashtag1","hashtag2"]},{"1391876241":["hashtag1","hashtag2"]},{"1391876235":["hashtag1","hashtag2"]},{"1391876238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876236, 1391876245, 1391876233, 1391876241, 1391876235, 1391876238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.026089668273926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:34:42.407453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_10_1662.jpg', '/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_11_1607.jpg', '/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_17_1541.jpg', '/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_19_2740.jpg', '/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_22_2543.jpg', '/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_25_2715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_10_1662.jpg
/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_11_1607.jpg
/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_17_1541.jpg
/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_19_2740.jpg
/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_22_2543.jpg
/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_25_2715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876255","1391876266","1391876257","1391876251","1391876259","1391876262"],"photo_ids_order":["1391876251","1391876255","1391876257","1391876259","1391876262","1391876266"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8471db3b118e7c7db724f29018e754e9.jpg","text":"TemporaryFile(/tmp/multipartBody4770615979722082416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112143200,"filename":"image_02112025_01_43_11_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/2/a377acfe3f15870c165b0685b925fbcc.jpg","text":"TemporaryFile(/tmp/multipartBody243613028989909023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112143200,"filename":"image_02112025_01_43_25_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/2/b52a00a48551a38e761d9212eb9af659.jpg","text":"TemporaryFile(/tmp/multipartBody9173137791805576431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112143200,"filename":"image_02112025_01_43_17_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/2/16c5927ec1e985473e4da10178886cfc.jpg","text":"TemporaryFile(/tmp/multipartBody1474895008290808331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112143200,"filename":"image_02112025_01_43_10_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/2/e43d7aca9550fdd49c215e46549fd507.jpg","text":"TemporaryFile(/tmp/multipartBody966900036084821075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112143200,"filename":"image_02112025_01_43_19_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/2/7600c689ac8ec3c33ffd6266c4d7c5d7.jpg","text":"TemporaryFile(/tmp/multipartBody4020764902069120472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112143200,"filename":"image_02112025_01_43_22_2543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876257","file1":"1391876255","file0":"1391876251","file4":"1391876262","file5":"1391876266","file3":"1391876259"},"map_files_photo_id_array":[{"photo_id":"1391876266","filename":"file5"},{"photo_id":"1391876257","filename":"file2"},{"photo_id":"1391876262","filename":"file4"},{"photo_id":"1391876255","filename":"file1"},{"photo_id":"1391876251","filename":"file0"},{"photo_id":"1391876259","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876255":["hashtag1","hashtag2"]},{"1391876266":["hashtag1","hashtag2"]},{"1391876257":["hashtag1","hashtag2"]},{"1391876251":["hashtag1","hashtag2"]},{"1391876259":["hashtag1","hashtag2"]},{"1391876262":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876255, 1391876266, 1391876257, 1391876251, 1391876259, 1391876262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63864350318909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:35:22.535422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_28_3746.jpg', '/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_31_2884.jpg', '/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_34_2638.jpg', '/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_40_2793.jpg', '/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_43_2722.jpg', '/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_48_4468.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_28_3746.jpg
/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_31_2884.jpg
/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_34_2638.jpg
/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_40_2793.jpg
/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_43_2722.jpg
/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_48_4468.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876276","1391876279","1391876284","1391876281","1391876283","1391876286"],"photo_ids_order":["1391876276","1391876279","1391876281","1391876283","1391876284","1391876286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/77d0c127fd6431d7208b401aec4ee416.jpg","text":"TemporaryFile(/tmp/multipartBody5918266748665445952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112183276,"filename":"image_02112025_01_43_28_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/2/63aae4f77625984459aea0eeaae92a21.jpg","text":"TemporaryFile(/tmp/multipartBody7656676293718380454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112183276,"filename":"image_02112025_01_43_31_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/2/c28216407ff1ab7216a3b86d75578b95.jpg","text":"TemporaryFile(/tmp/multipartBody6812658129652076030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112183276,"filename":"image_02112025_01_43_43_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/2/ce9b81af77ea1f9833074713a823d8d1.jpg","text":"TemporaryFile(/tmp/multipartBody654875356964587621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112183276,"filename":"image_02112025_01_43_34_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/2/06c01d42f0409d457c0332138cd159a6.jpg","text":"TemporaryFile(/tmp/multipartBody4884976409932516777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112183276,"filename":"image_02112025_01_43_40_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/2/6191d27937eecaaa39212cd500b8d3f5.jpg","text":"TemporaryFile(/tmp/multipartBody8936693776540868717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112183276,"filename":"image_02112025_01_43_48_4468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876281","file1":"1391876279","file0":"1391876276","file4":"1391876284","file5":"1391876286","file3":"1391876283"},"map_files_photo_id_array":[{"photo_id":"1391876286","filename":"file5"},{"photo_id":"1391876281","filename":"file2"},{"photo_id":"1391876284","filename":"file4"},{"photo_id":"1391876279","filename":"file1"},{"photo_id":"1391876276","filename":"file0"},{"photo_id":"1391876283","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876276":["hashtag1","hashtag2"]},{"1391876279":["hashtag1","hashtag2"]},{"1391876284":["hashtag1","hashtag2"]},{"1391876281":["hashtag1","hashtag2"]},{"1391876283":["hashtag1","hashtag2"]},{"1391876286":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876276, 1391876279, 1391876284, 1391876281, 1391876283, 1391876286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90063524246216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:36:03.232446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_49_1602.jpg', '/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_52_2801.jpg', '/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_58_2740.jpg', '/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_03_4872.jpg', '/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_05_1653.jpg', '/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_08_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_49_1602.jpg
/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_52_2801.jpg
/home/pi/Desktop/images/02112025/01/43/image_02112025_01_43_58_2740.jpg
/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_03_4872.jpg
/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_05_1653.jpg
/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_08_2646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876300","1391876302","1391876295","1391876298","1391876301","1391876304"],"photo_ids_order":["1391876295","1391876298","1391876300","1391876301","1391876302","1391876304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d0969983679e182d28a3540ebadd06ea.jpg","text":"TemporaryFile(/tmp/multipartBody2194163203066006542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112224156,"filename":"image_02112025_01_43_58_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/2/a4ffdbc63f1e61cc74ab9b7a05d2f4f7.jpg","text":"TemporaryFile(/tmp/multipartBody2438126985523347899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112224156,"filename":"image_02112025_01_44_05_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/2/84bb7d52331cf50124fff825379abc13.jpg","text":"TemporaryFile(/tmp/multipartBody2964800550630368928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112224156,"filename":"image_02112025_01_43_49_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/2/b365098d851014796d5752abd219f9be.jpg","text":"TemporaryFile(/tmp/multipartBody1670458604451002320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112224156,"filename":"image_02112025_01_43_52_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/2/692195fe53061d33dfef548f55731b21.jpg","text":"TemporaryFile(/tmp/multipartBody2003955056876317268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112224156,"filename":"image_02112025_01_44_03_4872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7c0b23f99fb180e69d2e0598ba5cb792.jpg","text":"TemporaryFile(/tmp/multipartBody5297872171197990155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112224156,"filename":"image_02112025_01_44_08_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876300","file1":"1391876298","file0":"1391876295","file4":"1391876302","file5":"1391876304","file3":"1391876301"},"map_files_photo_id_array":[{"photo_id":"1391876304","filename":"file5"},{"photo_id":"1391876300","filename":"file2"},{"photo_id":"1391876302","filename":"file4"},{"photo_id":"1391876298","filename":"file1"},{"photo_id":"1391876295","filename":"file0"},{"photo_id":"1391876301","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876300":["hashtag1","hashtag2"]},{"1391876302":["hashtag1","hashtag2"]},{"1391876295":["hashtag1","hashtag2"]},{"1391876298":["hashtag1","hashtag2"]},{"1391876301":["hashtag1","hashtag2"]},{"1391876304":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876300, 1391876302, 1391876295, 1391876298, 1391876301, 1391876304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.322965145111084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:36:42.741213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_13_2864.jpg', '/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_16_2638.jpg', '/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_19_3743.jpg', '/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_22_2678.jpg', '/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_25_2673.jpg', '/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_31_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_13_2864.jpg
/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_16_2638.jpg
/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_19_3743.jpg
/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_22_2678.jpg
/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_25_2673.jpg
/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_31_2561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876318","1391876315","1391876320","1391876317","1391876313","1391876316"],"photo_ids_order":["1391876313","1391876315","1391876316","1391876317","1391876318","1391876320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/99d63dece0d033d6ac819606b5fe6b1d.jpg","text":"TemporaryFile(/tmp/multipartBody8572534186521394732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112263565,"filename":"image_02112025_01_44_25_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/2/8f6fae2e7c9132a89540bd00970538e3.jpg","text":"TemporaryFile(/tmp/multipartBody3503018739672497632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112263565,"filename":"image_02112025_01_44_16_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/2/86ce8048b8474ac4d35e8929e3187591.jpg","text":"TemporaryFile(/tmp/multipartBody2965090518961825397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112263565,"filename":"image_02112025_01_44_31_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/2/5935894ea4836eec435b55a3e6ac8847.jpg","text":"TemporaryFile(/tmp/multipartBody4404307506133221505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112263565,"filename":"image_02112025_01_44_22_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/2/bdd6c5ed6a46e429598891868a622f08.jpg","text":"TemporaryFile(/tmp/multipartBody8965976925898645605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112263565,"filename":"image_02112025_01_44_13_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/2/51d95e511d45c4aba89c6605e2a15905.jpg","text":"TemporaryFile(/tmp/multipartBody8004342036653505692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112263565,"filename":"image_02112025_01_44_19_3743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876316","file1":"1391876315","file0":"1391876313","file4":"1391876318","file5":"1391876320","file3":"1391876317"},"map_files_photo_id_array":[{"photo_id":"1391876320","filename":"file5"},{"photo_id":"1391876316","filename":"file2"},{"photo_id":"1391876318","filename":"file4"},{"photo_id":"1391876315","filename":"file1"},{"photo_id":"1391876313","filename":"file0"},{"photo_id":"1391876317","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876318":["hashtag1","hashtag2"]},{"1391876315":["hashtag1","hashtag2"]},{"1391876320":["hashtag1","hashtag2"]},{"1391876317":["hashtag1","hashtag2"]},{"1391876313":["hashtag1","hashtag2"]},{"1391876316":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876318, 1391876315, 1391876320, 1391876317, 1391876313, 1391876316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82734680175781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:37:21.909265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_34_2836.jpg', '/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_37_3705.jpg', '/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_40_2616.jpg', '/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_43_2777.jpg', '/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_49_2719.jpg', '/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_52_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_34_2836.jpg
/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_37_3705.jpg
/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_40_2616.jpg
/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_43_2777.jpg
/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_49_2719.jpg
/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_52_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876336","1391876339","1391876335","1391876331","1391876334","1391876337"],"photo_ids_order":["1391876331","1391876334","1391876335","1391876336","1391876337","1391876339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a872314905761e90f7bf737729976e34.jpg","text":"TemporaryFile(/tmp/multipartBody2500113129405243147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112302708,"filename":"image_02112025_01_44_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/2/07c97e9799437060b27d26c1f837254e.jpg","text":"TemporaryFile(/tmp/multipartBody5488979462345940646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112302708,"filename":"image_02112025_01_44_52_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/2/f7bcc8f93d719f50c6777013a3f19656.jpg","text":"TemporaryFile(/tmp/multipartBody992031370260647821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112302708,"filename":"image_02112025_01_44_40_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/2/23b4be3a5113e0bf6e4f8d08759540b5.jpg","text":"TemporaryFile(/tmp/multipartBody6287443225337966708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112302708,"filename":"image_02112025_01_44_34_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/2/26e5bcf332d2f3ef762b085751dfc7a3.jpg","text":"TemporaryFile(/tmp/multipartBody4264298341291928826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112302708,"filename":"image_02112025_01_44_37_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/2/6140ef8a8e9f0637636909e46d4d4025.jpg","text":"TemporaryFile(/tmp/multipartBody8464627882757570198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112302708,"filename":"image_02112025_01_44_49_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876335","file1":"1391876334","file0":"1391876331","file4":"1391876337","file5":"1391876339","file3":"1391876336"},"map_files_photo_id_array":[{"photo_id":"1391876339","filename":"file5"},{"photo_id":"1391876335","filename":"file2"},{"photo_id":"1391876337","filename":"file4"},{"photo_id":"1391876334","filename":"file1"},{"photo_id":"1391876331","filename":"file0"},{"photo_id":"1391876336","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876336":["hashtag1","hashtag2"]},{"1391876339":["hashtag1","hashtag2"]},{"1391876335":["hashtag1","hashtag2"]},{"1391876331":["hashtag1","hashtag2"]},{"1391876334":["hashtag1","hashtag2"]},{"1391876337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876336, 1391876339, 1391876335, 1391876331, 1391876334, 1391876337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.592827796936035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:38:02.292594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 20:38:21.826612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_55_2776.jpg', '/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_58_3743.jpg', '/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_01_2650.jpg', '/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_04_3001.jpg', '/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_07_2622.jpg', '/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_10_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_55_2776.jpg
/home/pi/Desktop/images/02112025/01/44/image_02112025_01_44_58_3743.jpg
/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_01_2650.jpg
/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_04_3001.jpg
/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_07_2622.jpg
/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_10_3675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876369","1391876363","1391876365","1391876358","1391876367","1391876361"],"photo_ids_order":["1391876358","1391876361","1391876363","1391876365","1391876367","1391876369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cf81584fe866e89c9c6a01a92ff33bfd.jpg","text":"TemporaryFile(/tmp/multipartBody7916753896976204732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112362549,"filename":"image_02112025_01_45_10_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/2/e31ea86ffd3a4e8f77e72d91aa001ba0.jpg","text":"TemporaryFile(/tmp/multipartBody6155323474543635387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112362549,"filename":"image_02112025_01_45_01_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/2/19f2905213a98429e9f33502716e3dc5.jpg","text":"TemporaryFile(/tmp/multipartBody6696156408136672335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112362549,"filename":"image_02112025_01_45_04_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/2/ef970c156e6487f4f0cd40c318fd4f9d.jpg","text":"TemporaryFile(/tmp/multipartBody2270658460598240958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112362549,"filename":"image_02112025_01_44_55_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/2/3e682bd7eaf5498acfb8eda2dabfa62a.jpg","text":"TemporaryFile(/tmp/multipartBody4134047646848820602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112362549,"filename":"image_02112025_01_45_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/2/3e37ef3b1a197af14c76cd20e9a6b88f.jpg","text":"TemporaryFile(/tmp/multipartBody2422513789434601939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112362549,"filename":"image_02112025_01_44_58_3743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876363","file1":"1391876361","file0":"1391876358","file4":"1391876367","file5":"1391876369","file3":"1391876365"},"map_files_photo_id_array":[{"photo_id":"1391876369","filename":"file5"},{"photo_id":"1391876363","filename":"file2"},{"photo_id":"1391876367","filename":"file4"},{"photo_id":"1391876361","filename":"file1"},{"photo_id":"1391876358","filename":"file0"},{"photo_id":"1391876365","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876369":["hashtag1","hashtag2"]},{"1391876363":["hashtag1","hashtag2"]},{"1391876365":["hashtag1","hashtag2"]},{"1391876358":["hashtag1","hashtag2"]},{"1391876367":["hashtag1","hashtag2"]},{"1391876361":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876369, 1391876363, 1391876365, 1391876358, 1391876367, 1391876361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17278504371643 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:39:02.656036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_13_2755.jpg', '/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_22_2926.jpg', '/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_25_2678.jpg', '/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_28_2743.jpg', '/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_31_3740.jpg', '/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_34_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_13_2755.jpg
/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_22_2926.jpg
/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_25_2678.jpg
/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_28_2743.jpg
/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_31_3740.jpg
/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_34_2617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876389","1391876382","1391876391","1391876390","1391876393","1391876387"],"photo_ids_order":["1391876382","1391876387","1391876389","1391876390","1391876391","1391876393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ee711b2cc9df404114abdaa8db3c3e73.jpg","text":"TemporaryFile(/tmp/multipartBody1514976943161092039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112403801,"filename":"image_02112025_01_45_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/2/7c22f711a7bca0cca2b53c535b831d43.jpg","text":"TemporaryFile(/tmp/multipartBody127801884024613139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112403801,"filename":"image_02112025_01_45_13_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/2/438eb0cd8a70995bc3edcc8a0ff14601.jpg","text":"TemporaryFile(/tmp/multipartBody1124111021667503676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112403801,"filename":"image_02112025_01_45_31_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/2/a3a58920ed09c71047b0679645806f2a.jpg","text":"TemporaryFile(/tmp/multipartBody8042351377885080228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112403801,"filename":"image_02112025_01_45_28_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/2/74de14620bbcc8e8bc30360d244af9f8.jpg","text":"TemporaryFile(/tmp/multipartBody7259702664959145628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112403801,"filename":"image_02112025_01_45_34_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/2/2edc6cbed24c8e8df4779247f49e8f70.jpg","text":"TemporaryFile(/tmp/multipartBody3707065772640637059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112403801,"filename":"image_02112025_01_45_22_2926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876389","file1":"1391876387","file0":"1391876382","file4":"1391876391","file5":"1391876393","file3":"1391876390"},"map_files_photo_id_array":[{"photo_id":"1391876393","filename":"file5"},{"photo_id":"1391876389","filename":"file2"},{"photo_id":"1391876391","filename":"file4"},{"photo_id":"1391876387","filename":"file1"},{"photo_id":"1391876382","filename":"file0"},{"photo_id":"1391876390","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876389":["hashtag1","hashtag2"]},{"1391876382":["hashtag1","hashtag2"]},{"1391876391":["hashtag1","hashtag2"]},{"1391876390":["hashtag1","hashtag2"]},{"1391876393":["hashtag1","hashtag2"]},{"1391876387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876389, 1391876382, 1391876391, 1391876390, 1391876393, 1391876387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36219024658203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:39:41.975580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_37_2749.jpg', '/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_44_7108.jpg', '/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_46_1691.jpg', '/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_47_1491.jpg', '/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_49_1640.jpg', '/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_52_3517.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_37_2749.jpg
/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_44_7108.jpg
/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_46_1691.jpg
/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_47_1491.jpg
/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_49_1640.jpg
/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_52_3517.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876406","1391876405","1391876408","1391876401","1391876404","1391876403"],"photo_ids_order":["1391876401","1391876403","1391876404","1391876405","1391876406","1391876408"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/23ccbb68f2e8de56a56eac76a39c2263.jpg","text":"TemporaryFile(/tmp/multipartBody3417673197522078262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112442824,"filename":"image_02112025_01_45_49_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/2/938445b24d72673a8f860dc8815c7909.jpg","text":"TemporaryFile(/tmp/multipartBody6886281688858626639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112442824,"filename":"image_02112025_01_45_47_1491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ae02341fe6a101b8767d10689473f664.jpg","text":"TemporaryFile(/tmp/multipartBody4964147538807567790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112442824,"filename":"image_02112025_01_45_52_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/2/e75bec2ec55f48f6225c2d768d005e1a.jpg","text":"TemporaryFile(/tmp/multipartBody659254808024936732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112442824,"filename":"image_02112025_01_45_37_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/2/8b9144299a2e193859a30fa20324c738.jpg","text":"TemporaryFile(/tmp/multipartBody2404024762886005228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112442824,"filename":"image_02112025_01_45_46_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/2/65b9db131f605ab085efebc2ddfb36a7.jpg","text":"TemporaryFile(/tmp/multipartBody1153079866870834711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112442824,"filename":"image_02112025_01_45_44_7108.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876404","file1":"1391876403","file0":"1391876401","file4":"1391876406","file5":"1391876408","file3":"1391876405"},"map_files_photo_id_array":[{"photo_id":"1391876408","filename":"file5"},{"photo_id":"1391876404","filename":"file2"},{"photo_id":"1391876406","filename":"file4"},{"photo_id":"1391876403","filename":"file1"},{"photo_id":"1391876401","filename":"file0"},{"photo_id":"1391876405","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876406":["hashtag1","hashtag2"]},{"1391876405":["hashtag1","hashtag2"]},{"1391876408":["hashtag1","hashtag2"]},{"1391876401":["hashtag1","hashtag2"]},{"1391876404":["hashtag1","hashtag2"]},{"1391876403":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876406, 1391876405, 1391876408, 1391876401, 1391876404, 1391876403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34902262687683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:40:22.070807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_58_3538.jpg', '/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_01_2955.jpg', '/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_07_2688.jpg', '/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_10_2801.jpg', '/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_13_3789.jpg', '/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_16_2501.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/45/image_02112025_01_45_58_3538.jpg
/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_01_2955.jpg
/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_07_2688.jpg
/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_10_2801.jpg
/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_13_3789.jpg
/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_16_2501.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876420","1391876425","1391876430","1391876433","1391876427","1391876436"],"photo_ids_order":["1391876420","1391876425","1391876427","1391876430","1391876433","1391876436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9d1210c81361aeb91beea575f9f8b90f.jpg","text":"TemporaryFile(/tmp/multipartBody7320305418096070677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112482861,"filename":"image_02112025_01_45_58_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/2/d14e34b5af568cf9b5ce10fd82a93e2d.jpg","text":"TemporaryFile(/tmp/multipartBody2068242663921968101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112482861,"filename":"image_02112025_01_46_01_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/2/594021b29840aab81d7c15c19889d809.jpg","text":"TemporaryFile(/tmp/multipartBody2732093852717080877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112482861,"filename":"image_02112025_01_46_10_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/2/acb6a3e21a56caf88bacf8cea00d2537.jpg","text":"TemporaryFile(/tmp/multipartBody8692374596675176468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112482861,"filename":"image_02112025_01_46_13_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/2/6eea870dfb35cd10463b6f712d05bd8a.jpg","text":"TemporaryFile(/tmp/multipartBody1974142215756152960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112482861,"filename":"image_02112025_01_46_07_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/2/3d9ffc2a5fc937cd63af378870ec6619.jpg","text":"TemporaryFile(/tmp/multipartBody6697830620424221259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112482861,"filename":"image_02112025_01_46_16_2501.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876427","file1":"1391876425","file0":"1391876420","file4":"1391876433","file5":"1391876436","file3":"1391876430"},"map_files_photo_id_array":[{"photo_id":"1391876436","filename":"file5"},{"photo_id":"1391876427","filename":"file2"},{"photo_id":"1391876433","filename":"file4"},{"photo_id":"1391876425","filename":"file1"},{"photo_id":"1391876420","filename":"file0"},{"photo_id":"1391876430","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876420":["hashtag1","hashtag2"]},{"1391876425":["hashtag1","hashtag2"]},{"1391876430":["hashtag1","hashtag2"]},{"1391876433":["hashtag1","hashtag2"]},{"1391876427":["hashtag1","hashtag2"]},{"1391876436":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876420, 1391876425, 1391876430, 1391876433, 1391876427, 1391876436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30727696418762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:41:03.124600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_18_2623.jpg', '/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_22_3678.jpg', '/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_27_2629.jpg', '/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_31_3712.jpg', '/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_34_2704.jpg', '/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_49_2860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_18_2623.jpg
/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_22_3678.jpg
/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_27_2629.jpg
/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_31_3712.jpg
/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_34_2704.jpg
/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_49_2860.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876456","1391876447","1391876452","1391876449","1391876445","1391876442"],"photo_ids_order":["1391876442","1391876445","1391876447","1391876449","1391876452","1391876456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e6b4759479966beda75ab67762ce1147.jpg","text":"TemporaryFile(/tmp/multipartBody7368692414462724816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112524026,"filename":"image_02112025_01_46_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/2/de773a209be59077ec84881acea747ee.jpg","text":"TemporaryFile(/tmp/multipartBody5830853216209944666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112524026,"filename":"image_02112025_01_46_27_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/2/d9465f0824874b8ca9b3dcb083314428.jpg","text":"TemporaryFile(/tmp/multipartBody7170575655476624118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112524026,"filename":"image_02112025_01_46_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/2/e7d1b2f0f08a26c67305f162b0249838.jpg","text":"TemporaryFile(/tmp/multipartBody1591531606518860259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112524026,"filename":"image_02112025_01_46_31_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/2/c6a73518d2b020d5944563dc16813514.jpg","text":"TemporaryFile(/tmp/multipartBody1177352642558219232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112524026,"filename":"image_02112025_01_46_22_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/2/904d6254d3e02fda6f60b2adba9729e0.jpg","text":"TemporaryFile(/tmp/multipartBody8865026074409110268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112524026,"filename":"image_02112025_01_46_18_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876447","file1":"1391876445","file0":"1391876442","file4":"1391876452","file5":"1391876456","file3":"1391876449"},"map_files_photo_id_array":[{"photo_id":"1391876456","filename":"file5"},{"photo_id":"1391876447","filename":"file2"},{"photo_id":"1391876452","filename":"file4"},{"photo_id":"1391876445","filename":"file1"},{"photo_id":"1391876442","filename":"file0"},{"photo_id":"1391876449","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876456":["hashtag1","hashtag2"]},{"1391876447":["hashtag1","hashtag2"]},{"1391876452":["hashtag1","hashtag2"]},{"1391876449":["hashtag1","hashtag2"]},{"1391876445":["hashtag1","hashtag2"]},{"1391876442":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876456, 1391876447, 1391876452, 1391876449, 1391876445, 1391876442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67187190055847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:41:42.395711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_52_3712.jpg', '/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_55_2723.jpg', '/home/pi/Desktop/images/02112025/01/46/image_02112025_01_47_01_3590.jpg', '/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_04_2706.jpg', '/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_13_2698.jpg', '/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_16_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_52_3712.jpg
/home/pi/Desktop/images/02112025/01/46/image_02112025_01_46_55_2723.jpg
/home/pi/Desktop/images/02112025/01/46/image_02112025_01_47_01_3590.jpg
/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_04_2706.jpg
/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_13_2698.jpg
/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_16_2688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876468","1391876470","1391876476","1391876463","1391876472","1391876466"],"photo_ids_order":["1391876463","1391876466","1391876468","1391876470","1391876472","1391876476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4660ff924d7a98442ba3446799d5ead1.jpg","text":"TemporaryFile(/tmp/multipartBody3152447108196022802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112563210,"filename":"image_02112025_01_47_01_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/2/b5f63025c89f0a4cda686e26946670ff.jpg","text":"TemporaryFile(/tmp/multipartBody6650648555033808637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112563210,"filename":"image_02112025_01_47_04_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/2/35fa2f56139afb261d25f2bd6ac91007.jpg","text":"TemporaryFile(/tmp/multipartBody4201954778595118569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112563210,"filename":"image_02112025_01_47_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/2/f18fedc182730c2874e5b443f375cd62.jpg","text":"TemporaryFile(/tmp/multipartBody2255416207893216325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112563210,"filename":"image_02112025_01_46_52_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/2/c82bc1f6ca8ef6481bb80ef777e0c0af.jpg","text":"TemporaryFile(/tmp/multipartBody2429098640920872197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112563210,"filename":"image_02112025_01_47_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/2/d69d5d194ccc90c1d4b19ef0021dae57.jpg","text":"TemporaryFile(/tmp/multipartBody4007836753304496149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112563210,"filename":"image_02112025_01_46_55_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876468","file1":"1391876466","file0":"1391876463","file4":"1391876472","file5":"1391876476","file3":"1391876470"},"map_files_photo_id_array":[{"photo_id":"1391876476","filename":"file5"},{"photo_id":"1391876468","filename":"file2"},{"photo_id":"1391876472","filename":"file4"},{"photo_id":"1391876466","filename":"file1"},{"photo_id":"1391876463","filename":"file0"},{"photo_id":"1391876470","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876468":["hashtag1","hashtag2"]},{"1391876470":["hashtag1","hashtag2"]},{"1391876476":["hashtag1","hashtag2"]},{"1391876463":["hashtag1","hashtag2"]},{"1391876472":["hashtag1","hashtag2"]},{"1391876466":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876468, 1391876470, 1391876476, 1391876463, 1391876472, 1391876466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15773367881775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:42:22.503534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_22_2674.jpg', '/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_25_2640.jpg', '/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_28_3404.jpg', '/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_33_5468.jpg', '/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_35_1589.jpg', '/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_40_3522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_22_2674.jpg
/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_25_2640.jpg
/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_28_3404.jpg
/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_33_5468.jpg
/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_35_1589.jpg
/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_40_3522.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876495","1391876489","1391876493","1391876498","1391876502","1391876492"],"photo_ids_order":["1391876489","1391876492","1391876493","1391876495","1391876498","1391876502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/59ef49cfb481086265df62c425a5f137.jpg","text":"TemporaryFile(/tmp/multipartBody5679146535816706628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112603303,"filename":"image_02112025_01_47_33_5468.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/66e7c4a845ebaefaae9410d4c7fa9531.jpg","text":"TemporaryFile(/tmp/multipartBody8630885318166070680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112603303,"filename":"image_02112025_01_47_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/2/cebf893880e70895e630a3896b8582c0.jpg","text":"TemporaryFile(/tmp/multipartBody4037207623357041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112603303,"filename":"image_02112025_01_47_28_3404.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b6be6d3aeaf90dcf6e13751a5085e3b6.jpg","text":"TemporaryFile(/tmp/multipartBody710536473607191227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112603303,"filename":"image_02112025_01_47_35_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/2/404e4cce853563feb6ba20372889280f.jpg","text":"TemporaryFile(/tmp/multipartBody7166445089178622549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112603303,"filename":"image_02112025_01_47_40_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/2/850fede37c99fd935e16106eb9972e78.jpg","text":"TemporaryFile(/tmp/multipartBody3850306070008779400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112603303,"filename":"image_02112025_01_47_25_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876493","file1":"1391876492","file0":"1391876489","file4":"1391876498","file5":"1391876502","file3":"1391876495"},"map_files_photo_id_array":[{"photo_id":"1391876502","filename":"file5"},{"photo_id":"1391876493","filename":"file2"},{"photo_id":"1391876498","filename":"file4"},{"photo_id":"1391876492","filename":"file1"},{"photo_id":"1391876489","filename":"file0"},{"photo_id":"1391876495","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876495":["hashtag1","hashtag2"]},{"1391876489":["hashtag1","hashtag2"]},{"1391876493":["hashtag1","hashtag2"]},{"1391876498":["hashtag1","hashtag2"]},{"1391876502":["hashtag1","hashtag2"]},{"1391876492":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876495, 1391876489, 1391876493, 1391876498, 1391876502, 1391876492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.03871512413025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:43:03.376845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_43_2687.jpg', '/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_46_2680.jpg', '/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_48_2636.jpg', '/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_52_3676.jpg', '/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_55_2734.jpg', '/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_58_3521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_43_2687.jpg
/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_46_2680.jpg
/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_48_2636.jpg
/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_52_3676.jpg
/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_55_2734.jpg
/home/pi/Desktop/images/02112025/01/47/image_02112025_01_47_58_3521.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876510","1391876513","1391876507","1391876515","1391876520","1391876517"],"photo_ids_order":["1391876507","1391876510","1391876513","1391876515","1391876517","1391876520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bb555dd53fee535d6d61d5a5b7a0508b.jpg","text":"TemporaryFile(/tmp/multipartBody4526610580402704948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112644293,"filename":"image_02112025_01_47_46_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/2/0a810d9dc87c79ae3bd9b135da4d9615.jpg","text":"TemporaryFile(/tmp/multipartBody2153064451438899248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112644293,"filename":"image_02112025_01_47_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/2/a7b6ae57b638e317879f22717791d775.jpg","text":"TemporaryFile(/tmp/multipartBody1244912829116596567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112644293,"filename":"image_02112025_01_47_43_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/2/9fa6a6602df84f632fa615a217b5a261.jpg","text":"TemporaryFile(/tmp/multipartBody417196083670696444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112644293,"filename":"image_02112025_01_47_52_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/2/55e09e45f3f45babf6c23e80b0a2b0ba.jpg","text":"TemporaryFile(/tmp/multipartBody1252902315549549614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112644293,"filename":"image_02112025_01_47_58_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/2/756b33edef3bd45fccb69a9c47cd0654.jpg","text":"TemporaryFile(/tmp/multipartBody1289656594582842764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112644293,"filename":"image_02112025_01_47_55_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876513","file1":"1391876510","file0":"1391876507","file4":"1391876517","file5":"1391876520","file3":"1391876515"},"map_files_photo_id_array":[{"photo_id":"1391876520","filename":"file5"},{"photo_id":"1391876513","filename":"file2"},{"photo_id":"1391876517","filename":"file4"},{"photo_id":"1391876510","filename":"file1"},{"photo_id":"1391876507","filename":"file0"},{"photo_id":"1391876515","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876510":["hashtag1","hashtag2"]},{"1391876513":["hashtag1","hashtag2"]},{"1391876507":["hashtag1","hashtag2"]},{"1391876515":["hashtag1","hashtag2"]},{"1391876520":["hashtag1","hashtag2"]},{"1391876517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876510, 1391876513, 1391876507, 1391876515, 1391876520, 1391876517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77960705757141 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:43:42.710996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/48/image_02112025_01_48_01_2725.jpg', '/home/pi/Desktop/images/02112025/01/48/image_02112025_01_48_04_2614.jpg', '/home/pi/Desktop/images/02112025/01/48/image_02112025_01_48_06_2794.jpg', '/home/pi/Desktop/images/02112025/01/48/image_02112025_01_48_13_2525.jpg', '/home/pi/Desktop/images/02112025/01/48/image_02112025_01_48_15_2706.jpg', '/home/pi/Desktop/images/02112025/01/48/image_02112025_01_48_22_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/48/image_02112025_01_48_01_2725.jpg
/home/pi/Desktop/images/02112025/01/48/image_02112025_01_48_04_2614.jpg
/home/pi/Desktop/images/02112025/01/48/image_02112025_01_48_06_2794.jpg
/home/pi/Desktop/images/02112025/01/48/image_02112025_01_48_13_2525.jpg
/home/pi/Desktop/images/02112025/01/48/image_02112025_01_48_15_2706.jpg
/home/pi/Desktop/images/02112025/01/48/image_02112025_01_48_22_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876531","1391876533","1391876538","1391876526","1391876535","1391876529"],"photo_ids_order":["1391876526","1391876529","1391876531","1391876533","1391876535","1391876538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1b19a07682aca2ebf38999e21be78223.jpg","text":"TemporaryFile(/tmp/multipartBody6084016291832822111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112683543,"filename":"image_02112025_01_48_06_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/2/faeda79c8eef3922bf9ccd34b313a8c5.jpg","text":"TemporaryFile(/tmp/multipartBody7188158573737210618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112683543,"filename":"image_02112025_01_48_13_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/2/506765ef3cdc0173049e9fb2b2d127a7.jpg","text":"TemporaryFile(/tmp/multipartBody1384530540934758480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112683543,"filename":"image_02112025_01_48_22_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/2/ca85f1c3f2015fe46e37e863262821ed.jpg","text":"TemporaryFile(/tmp/multipartBody7862513165094653796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112683543,"filename":"image_02112025_01_48_01_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/2/38aa70c2ae81886b1039c6286d648c5e.jpg","text":"TemporaryFile(/tmp/multipartBody4956050762131705772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112683543,"filename":"image_02112025_01_48_15_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/2/86e63f4d9b912cc9934cc762273fefe3.jpg","text":"TemporaryFile(/tmp/multipartBody6959257260494665492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112683543,"filename":"image_02112025_01_48_04_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876531","file1":"1391876529","file0":"1391876526","file4":"1391876535","file5":"1391876538","file3":"1391876533"},"map_files_photo_id_array":[{"photo_id":"1391876538","filename":"file5"},{"photo_id":"1391876531","filename":"file2"},{"photo_id":"1391876535","filename":"file4"},{"photo_id":"1391876529","filename":"file1"},{"photo_id":"1391876526","filename":"file0"},{"photo_id":"1391876533","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876531":["hashtag1","hashtag2"]},{"1391876533":["hashtag1","hashtag2"]},{"1391876538":["hashtag1","hashtag2"]},{"1391876526":["hashtag1","hashtag2"]},{"1391876535":["hashtag1","hashtag2"]},{"1391876529":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876531, 1391876533, 1391876538, 1391876526, 1391876535, 1391876529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.57602524757385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:44:21.980695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/48/image_02112025_01_48_39_14677.jpg', '/home/pi/Desktop/images/02112025/01/48/image_02112025_01_48_57_17856.jpg', '/home/pi/Desktop/images/02112025/01/48/image_02112025_01_48_59_1534.jpg', '/home/pi/Desktop/images/02112025/01/48/image_02112025_01_49_00_1659.jpg', '/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_02_1788.jpg', '/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_04_1592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/48/image_02112025_01_48_39_14677.jpg
/home/pi/Desktop/images/02112025/01/48/image_02112025_01_48_57_17856.jpg
/home/pi/Desktop/images/02112025/01/48/image_02112025_01_48_59_1534.jpg
/home/pi/Desktop/images/02112025/01/48/image_02112025_01_49_00_1659.jpg
/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_02_1788.jpg
/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_04_1592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876561","1391876549","1391876558","1391876546","1391876554","1391876557"],"photo_ids_order":["1391876546","1391876549","1391876554","1391876557","1391876558","1391876561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5a632ea861177c6fa383811a2853c8da.jpg","text":"TemporaryFile(/tmp/multipartBody3500651957400305576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112722784,"filename":"image_02112025_01_49_04_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/2/9260182bfd69abb574d8ea897d12af4b.jpg","text":"TemporaryFile(/tmp/multipartBody493501434952819583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112722784,"filename":"image_02112025_01_48_57_17856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4144c64e0f2fb989cd1efcaec3c87779.jpg","text":"TemporaryFile(/tmp/multipartBody1743302653073588301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112722784,"filename":"image_02112025_01_49_02_1788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/31a2b6a7c962ed6900565f5be0cdf91a.jpg","text":"TemporaryFile(/tmp/multipartBody1592023190069405373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112722784,"filename":"image_02112025_01_48_39_14677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3af5a0baa26d5990977ef079b8043164.jpg","text":"TemporaryFile(/tmp/multipartBody3386096636608661751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112722784,"filename":"image_02112025_01_48_59_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/2/4f020b8234db628674fb90508039b5da.jpg","text":"TemporaryFile(/tmp/multipartBody5752758471981624227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112722784,"filename":"image_02112025_01_49_00_1659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876554","file1":"1391876549","file0":"1391876546","file4":"1391876558","file5":"1391876561","file3":"1391876557"},"map_files_photo_id_array":[{"photo_id":"1391876561","filename":"file5"},{"photo_id":"1391876554","filename":"file2"},{"photo_id":"1391876558","filename":"file4"},{"photo_id":"1391876549","filename":"file1"},{"photo_id":"1391876546","filename":"file0"},{"photo_id":"1391876557","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876561":["hashtag1","hashtag2"]},{"1391876549":["hashtag1","hashtag2"]},{"1391876558":["hashtag1","hashtag2"]},{"1391876546":["hashtag1","hashtag2"]},{"1391876554":["hashtag1","hashtag2"]},{"1391876557":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876561, 1391876549, 1391876558, 1391876546, 1391876554, 1391876557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93879294395447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:45:02.793243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_05_1655.jpg', '/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_07_1817.jpg', '/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_10_1612.jpg', '/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_14_1838.jpg', '/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_17_1630.jpg', '/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_20_1565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_05_1655.jpg
/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_07_1817.jpg
/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_10_1612.jpg
/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_14_1838.jpg
/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_17_1630.jpg
/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_20_1565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876581","1391876584","1391876586","1391876574","1391876577","1391876579"],"photo_ids_order":["1391876574","1391876577","1391876579","1391876581","1391876584","1391876586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a7d2ebf1138f28fa9daece2e029a5110.jpg","text":"TemporaryFile(/tmp/multipartBody7172505533151013947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112766613,"filename":"image_02112025_01_49_14_1838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/593fe75bf74970f88b52ec4131b2758d.jpg","text":"TemporaryFile(/tmp/multipartBody7315174698573849588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112766613,"filename":"image_02112025_01_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/2/3322b54284c02cb35300d40466f15f3c.jpg","text":"TemporaryFile(/tmp/multipartBody3052179511973093710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112766613,"filename":"image_02112025_01_49_20_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/2/f8a6429a177d0e6e36f7717d3f1050fe.jpg","text":"TemporaryFile(/tmp/multipartBody5294170737905188723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112766613,"filename":"image_02112025_01_49_05_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/2/c91d92d12b5105fec8a34a0257f115b0.jpg","text":"TemporaryFile(/tmp/multipartBody7700011147735458804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112766613,"filename":"image_02112025_01_49_07_1817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/36f459e47b5c756b97619edfea6a29f4.jpg","text":"TemporaryFile(/tmp/multipartBody8927554314819844577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112766613,"filename":"image_02112025_01_49_10_1612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876579","file1":"1391876577","file0":"1391876574","file4":"1391876584","file5":"1391876586","file3":"1391876581"},"map_files_photo_id_array":[{"photo_id":"1391876586","filename":"file5"},{"photo_id":"1391876579","filename":"file2"},{"photo_id":"1391876584","filename":"file4"},{"photo_id":"1391876577","filename":"file1"},{"photo_id":"1391876574","filename":"file0"},{"photo_id":"1391876581","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876581":["hashtag1","hashtag2"]},{"1391876584":["hashtag1","hashtag2"]},{"1391876586":["hashtag1","hashtag2"]},{"1391876574":["hashtag1","hashtag2"]},{"1391876577":["hashtag1","hashtag2"]},{"1391876579":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876581, 1391876584, 1391876586, 1391876574, 1391876577, 1391876579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44705033302307 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:45:42.078591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_23_1599.jpg', '/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_25_1640.jpg', '/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_50_25343.jpg', '/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_52_1598.jpg', '/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_54_1670.jpg', '/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_58_3123.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_23_1599.jpg
/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_25_1640.jpg
/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_50_25343.jpg
/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_52_1598.jpg
/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_54_1670.jpg
/home/pi/Desktop/images/02112025/01/49/image_02112025_01_49_58_3123.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876594","1391876603","1391876606","1391876609","1391876600","1391876598"],"photo_ids_order":["1391876594","1391876598","1391876600","1391876603","1391876606","1391876609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/beafcdcbe243690e8721aa6baad86ac5.jpg","text":"TemporaryFile(/tmp/multipartBody5443113379111376879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112802952,"filename":"image_02112025_01_49_23_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/2/b478e26c848ad4e0d0f50728a6a950b4.jpg","text":"TemporaryFile(/tmp/multipartBody5810635659264770264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112802952,"filename":"image_02112025_01_49_52_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/2/231bb694effa66ec1af53749758b6cef.jpg","text":"TemporaryFile(/tmp/multipartBody7707024606901106555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112802952,"filename":"image_02112025_01_49_54_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/2/b653cb08ba67482ee18fb7cb5fc72008.jpg","text":"TemporaryFile(/tmp/multipartBody6715899346809960586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112802952,"filename":"image_02112025_01_49_58_3123.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2be1e1af9ab791344ef9f358f71f384b.jpg","text":"TemporaryFile(/tmp/multipartBody6567642841472232138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112802952,"filename":"image_02112025_01_49_50_25343.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bf77a14d19f340ca7687286bde259836.jpg","text":"TemporaryFile(/tmp/multipartBody1005490928068606619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112802952,"filename":"image_02112025_01_49_25_1640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876600","file1":"1391876598","file0":"1391876594","file4":"1391876606","file5":"1391876609","file3":"1391876603"},"map_files_photo_id_array":[{"photo_id":"1391876609","filename":"file5"},{"photo_id":"1391876600","filename":"file2"},{"photo_id":"1391876606","filename":"file4"},{"photo_id":"1391876598","filename":"file1"},{"photo_id":"1391876594","filename":"file0"},{"photo_id":"1391876603","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876594":["hashtag1","hashtag2"]},{"1391876603":["hashtag1","hashtag2"]},{"1391876606":["hashtag1","hashtag2"]},{"1391876609":["hashtag1","hashtag2"]},{"1391876600":["hashtag1","hashtag2"]},{"1391876598":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876594, 1391876603, 1391876606, 1391876609, 1391876600, 1391876598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3884494304657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:46:22.201756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/49/image_02112025_01_50_00_1556.jpg', '/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_02_1587.jpg', '/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_03_1706.jpg', '/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_07_1721.jpg', '/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_10_2745.jpg', '/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_11_1733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/49/image_02112025_01_50_00_1556.jpg
/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_02_1587.jpg
/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_03_1706.jpg
/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_07_1721.jpg
/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_10_2745.jpg
/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_11_1733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876621","1391876624","1391876618","1391876626","1391876620","1391876622"],"photo_ids_order":["1391876618","1391876620","1391876621","1391876622","1391876624","1391876626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b909463c46617424ecdd45b60968b233.jpg","text":"TemporaryFile(/tmp/multipartBody7195969157332771112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112847761,"filename":"image_02112025_01_50_03_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/40c4d13b7bdbbef25b02b779dced6971.jpg","text":"TemporaryFile(/tmp/multipartBody2210957888859404985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112847761,"filename":"image_02112025_01_50_10_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/2/b2a2d5a6211c76fdad245d23f9441f5f.jpg","text":"TemporaryFile(/tmp/multipartBody8920763743858166139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112847761,"filename":"image_02112025_01_50_00_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/2/2f61fb38be598d6e9829f205d4cbc7d0.jpg","text":"TemporaryFile(/tmp/multipartBody3703293265549126205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112847761,"filename":"image_02112025_01_50_11_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/2/9dfb661f2cca08ab4878116a4440f25a.jpg","text":"TemporaryFile(/tmp/multipartBody7395410491747395142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112847761,"filename":"image_02112025_01_50_02_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/2/98f4b908ec77aeb8a4a9dd9e275a233b.jpg","text":"TemporaryFile(/tmp/multipartBody1148718572044297429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112847761,"filename":"image_02112025_01_50_07_1721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876621","file1":"1391876620","file0":"1391876618","file4":"1391876624","file5":"1391876626","file3":"1391876622"},"map_files_photo_id_array":[{"photo_id":"1391876626","filename":"file5"},{"photo_id":"1391876621","filename":"file2"},{"photo_id":"1391876624","filename":"file4"},{"photo_id":"1391876620","filename":"file1"},{"photo_id":"1391876618","filename":"file0"},{"photo_id":"1391876622","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876621":["hashtag1","hashtag2"]},{"1391876624":["hashtag1","hashtag2"]},{"1391876618":["hashtag1","hashtag2"]},{"1391876626":["hashtag1","hashtag2"]},{"1391876620":["hashtag1","hashtag2"]},{"1391876622":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876621, 1391876624, 1391876618, 1391876626, 1391876620, 1391876622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.76179766654968 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-02 20:47:22.414291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_13_1642.jpg', '/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_15_1617.jpg', '/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_16_1662.jpg', '/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_18_1657.jpg', '/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_20_1850.jpg', '/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_21_1524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_13_1642.jpg
/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_15_1617.jpg
/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_16_1662.jpg
/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_18_1657.jpg
/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_20_1850.jpg
/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_21_1524.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876648","1391876644","1391876655","1391876643","1391876652","1391876646"],"photo_ids_order":["1391876643","1391876644","1391876646","1391876648","1391876652","1391876655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f236870032456550cbed04a598431b96.jpg","text":"TemporaryFile(/tmp/multipartBody1612914731762304006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112906201,"filename":"image_02112025_01_50_18_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/2/9ec0d2db501ffb1b53708fc71bb8dbb7.jpg","text":"TemporaryFile(/tmp/multipartBody6147684096796025285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112906201,"filename":"image_02112025_01_50_15_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/2/95eb89730ab471f62bc07959a1ef9e7a.jpg","text":"TemporaryFile(/tmp/multipartBody5810783640576417369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112906201,"filename":"image_02112025_01_50_21_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/2/d2706648e19a75c851018b7f3430b643.jpg","text":"TemporaryFile(/tmp/multipartBody2144975803418366612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112906201,"filename":"image_02112025_01_50_13_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/2/1966cef160ed6fa535a020167223f00d.jpg","text":"TemporaryFile(/tmp/multipartBody1954976817700122361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112906201,"filename":"image_02112025_01_50_20_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/2/b534638a8a326a9d1efee7b7b2a154c1.jpg","text":"TemporaryFile(/tmp/multipartBody5148065315222281683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112906201,"filename":"image_02112025_01_50_16_1662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876646","file1":"1391876644","file0":"1391876643","file4":"1391876652","file5":"1391876655","file3":"1391876648"},"map_files_photo_id_array":[{"photo_id":"1391876655","filename":"file5"},{"photo_id":"1391876646","filename":"file2"},{"photo_id":"1391876652","filename":"file4"},{"photo_id":"1391876644","filename":"file1"},{"photo_id":"1391876643","filename":"file0"},{"photo_id":"1391876648","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876648":["hashtag1","hashtag2"]},{"1391876644":["hashtag1","hashtag2"]},{"1391876655":["hashtag1","hashtag2"]},{"1391876643":["hashtag1","hashtag2"]},{"1391876652":["hashtag1","hashtag2"]},{"1391876646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876648, 1391876644, 1391876655, 1391876643, 1391876652, 1391876646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38885283470154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:48:03.091775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_23_1580.jpg', '/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_24_1596.jpg', '/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_26_1555.jpg', '/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_28_1658.jpg', '/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_30_2639.jpg', '/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_55_18689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_23_1580.jpg
/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_24_1596.jpg
/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_26_1555.jpg
/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_28_1658.jpg
/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_30_2639.jpg
/home/pi/Desktop/images/02112025/01/50/image_02112025_01_50_55_18689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876663","1391876662","1391876665","1391876659","1391876667","1391876661"],"photo_ids_order":["1391876659","1391876661","1391876662","1391876663","1391876665","1391876667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d7a7c9006b3a1f8a7a899473df1299e1.jpg","text":"TemporaryFile(/tmp/multipartBody6706760051548258406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112943953,"filename":"image_02112025_01_50_28_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/2/ffde190a515dddb4d49eb00e1999ab60.jpg","text":"TemporaryFile(/tmp/multipartBody1877762932433883082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112943953,"filename":"image_02112025_01_50_26_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/2/0704f064c50b7cd53a77cb5e2ea20f88.jpg","text":"TemporaryFile(/tmp/multipartBody549566125653948933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112943953,"filename":"image_02112025_01_50_30_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/2/23dc31ddc46d4852a2c3da17f0addae9.jpg","text":"TemporaryFile(/tmp/multipartBody7738730208242997092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112943953,"filename":"image_02112025_01_50_23_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e5d3a4205af47bc50f2ee2a0c6d07aee.jpg","text":"TemporaryFile(/tmp/multipartBody6214251622727775735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112943953,"filename":"image_02112025_01_50_55_18689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/565153bd7d30565fe0e64fe39cfbb297.jpg","text":"TemporaryFile(/tmp/multipartBody3605277252114593677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112943953,"filename":"image_02112025_01_50_24_1596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876662","file1":"1391876661","file0":"1391876659","file4":"1391876665","file5":"1391876667","file3":"1391876663"},"map_files_photo_id_array":[{"photo_id":"1391876667","filename":"file5"},{"photo_id":"1391876662","filename":"file2"},{"photo_id":"1391876665","filename":"file4"},{"photo_id":"1391876661","filename":"file1"},{"photo_id":"1391876659","filename":"file0"},{"photo_id":"1391876663","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876663":["hashtag1","hashtag2"]},{"1391876662":["hashtag1","hashtag2"]},{"1391876665":["hashtag1","hashtag2"]},{"1391876659":["hashtag1","hashtag2"]},{"1391876667":["hashtag1","hashtag2"]},{"1391876661":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876663, 1391876662, 1391876665, 1391876659, 1391876667, 1391876661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85805082321167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:48:42.732908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_07_12026.jpg', '/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_24_1666.jpg', '/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_26_1643.jpg', '/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_28_1809.jpg', '/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_29_1704.jpg', '/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_33_1701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_07_12026.jpg
/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_24_1666.jpg
/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_26_1643.jpg
/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_28_1809.jpg
/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_29_1704.jpg
/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_33_1701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876681","1391876683","1391876685","1391876676","1391876679","1391876684"],"photo_ids_order":["1391876676","1391876679","1391876681","1391876683","1391876684","1391876685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/261e525b37cb7ef5364472d62524f814.jpg","text":"TemporaryFile(/tmp/multipartBody4424236541911974775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112983554,"filename":"image_02112025_01_51_26_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/2/99c9cf22623444f98b663edcea13fae0.jpg","text":"TemporaryFile(/tmp/multipartBody2674332845871687958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112983554,"filename":"image_02112025_01_51_28_1809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5b3216fa723df65b6d45508aa4dfd7bb.jpg","text":"TemporaryFile(/tmp/multipartBody8827332010011282574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112983554,"filename":"image_02112025_01_51_33_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/29d30191704581d86c287a706dffe364.jpg","text":"TemporaryFile(/tmp/multipartBody2491674905695661497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112983554,"filename":"image_02112025_01_51_07_12026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/303410db49cde4ca8769a545a2c90b41.jpg","text":"TemporaryFile(/tmp/multipartBody4921184192745111091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112983554,"filename":"image_02112025_01_51_24_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/2/a274d43ba8c74d154a5e60cdfcd5f58b.jpg","text":"TemporaryFile(/tmp/multipartBody6544658485057166480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762112983554,"filename":"image_02112025_01_51_29_1704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876681","file1":"1391876679","file0":"1391876676","file4":"1391876684","file5":"1391876685","file3":"1391876683"},"map_files_photo_id_array":[{"photo_id":"1391876685","filename":"file5"},{"photo_id":"1391876681","filename":"file2"},{"photo_id":"1391876684","filename":"file4"},{"photo_id":"1391876679","filename":"file1"},{"photo_id":"1391876676","filename":"file0"},{"photo_id":"1391876683","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876681":["hashtag1","hashtag2"]},{"1391876683":["hashtag1","hashtag2"]},{"1391876685":["hashtag1","hashtag2"]},{"1391876676":["hashtag1","hashtag2"]},{"1391876679":["hashtag1","hashtag2"]},{"1391876684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876681, 1391876683, 1391876685, 1391876676, 1391876679, 1391876684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02661728858948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:49:22.017569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_35_1820.jpg', '/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_36_1588.jpg', '/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_39_1602.jpg', '/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_41_1533.jpg', '/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_44_1636.jpg', '/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_46_1637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_35_1820.jpg
/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_36_1588.jpg
/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_39_1602.jpg
/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_41_1533.jpg
/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_44_1636.jpg
/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_46_1637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876693","1391876705","1391876708","1391876703","1391876696","1391876699"],"photo_ids_order":["1391876693","1391876696","1391876699","1391876703","1391876705","1391876708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2bee5444e0bb99d5ce971dafb1ec94e8.jpg","text":"TemporaryFile(/tmp/multipartBody3521526868510335021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113022812,"filename":"image_02112025_01_51_35_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/2/b73abb9e0fc8fd7d43296590c5a93c42.jpg","text":"TemporaryFile(/tmp/multipartBody7449573330891177956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113022812,"filename":"image_02112025_01_51_44_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/2/bc377283403eb31c713cbdd2a4efcb32.jpg","text":"TemporaryFile(/tmp/multipartBody6180580203425840220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113022812,"filename":"image_02112025_01_51_46_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/2/72827be1836419c5dae61129ad06d804.jpg","text":"TemporaryFile(/tmp/multipartBody5650084564814772435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113022812,"filename":"image_02112025_01_51_41_1533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a6ce304a3d2e26f85e447adc95260071.jpg","text":"TemporaryFile(/tmp/multipartBody8603880467472563848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113022812,"filename":"image_02112025_01_51_36_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/2/89d9575578b9b199f19aae69da242bdd.jpg","text":"TemporaryFile(/tmp/multipartBody4095760782615909929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113022812,"filename":"image_02112025_01_51_39_1602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876699","file1":"1391876696","file0":"1391876693","file4":"1391876705","file5":"1391876708","file3":"1391876703"},"map_files_photo_id_array":[{"photo_id":"1391876708","filename":"file5"},{"photo_id":"1391876699","filename":"file2"},{"photo_id":"1391876705","filename":"file4"},{"photo_id":"1391876696","filename":"file1"},{"photo_id":"1391876693","filename":"file0"},{"photo_id":"1391876703","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876693":["hashtag1","hashtag2"]},{"1391876705":["hashtag1","hashtag2"]},{"1391876708":["hashtag1","hashtag2"]},{"1391876703":["hashtag1","hashtag2"]},{"1391876696":["hashtag1","hashtag2"]},{"1391876699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876693, 1391876705, 1391876708, 1391876703, 1391876696, 1391876699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70608186721802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:50:02.511472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_48_1663.jpg', '/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_51_1899.jpg', '/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_53_1659.jpg', '/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_54_1659.jpg', '/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_58_1525.jpg', '/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_06_3010.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_48_1663.jpg
/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_51_1899.jpg
/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_53_1659.jpg
/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_54_1659.jpg
/home/pi/Desktop/images/02112025/01/51/image_02112025_01_51_58_1525.jpg
/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_06_3010.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876720","1391876714","1391876717","1391876726","1391876722","1391876724"],"photo_ids_order":["1391876714","1391876717","1391876720","1391876722","1391876724","1391876726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/502656389975902bf640c466dcdaed2e.jpg","text":"TemporaryFile(/tmp/multipartBody3937785404999298617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113063359,"filename":"image_02112025_01_51_53_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/2/23eaf3bfd16fc631b15898ebf8235129.jpg","text":"TemporaryFile(/tmp/multipartBody4771045995296703862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113063359,"filename":"image_02112025_01_51_48_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bda1e72ac74348a926cc0ae63a99aade.jpg","text":"TemporaryFile(/tmp/multipartBody3235682898068394423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113063359,"filename":"image_02112025_01_51_51_1899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cd2c88679b340a2f3b30b16e83a3d06b.jpg","text":"TemporaryFile(/tmp/multipartBody8118239272934888963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113063359,"filename":"image_02112025_01_53_06_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/2/6943805493152e1b130fa237ee65e1f4.jpg","text":"TemporaryFile(/tmp/multipartBody7416861854064222657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113063359,"filename":"image_02112025_01_51_54_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/2/638358dffa0d9b58c3014b353e4d1f58.jpg","text":"TemporaryFile(/tmp/multipartBody4126747844352298331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113063359,"filename":"image_02112025_01_51_58_1525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876720","file1":"1391876717","file0":"1391876714","file4":"1391876724","file5":"1391876726","file3":"1391876722"},"map_files_photo_id_array":[{"photo_id":"1391876726","filename":"file5"},{"photo_id":"1391876720","filename":"file2"},{"photo_id":"1391876724","filename":"file4"},{"photo_id":"1391876717","filename":"file1"},{"photo_id":"1391876714","filename":"file0"},{"photo_id":"1391876722","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876720":["hashtag1","hashtag2"]},{"1391876714":["hashtag1","hashtag2"]},{"1391876717":["hashtag1","hashtag2"]},{"1391876726":["hashtag1","hashtag2"]},{"1391876722":["hashtag1","hashtag2"]},{"1391876724":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876720, 1391876714, 1391876717, 1391876726, 1391876722, 1391876724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73801898956299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:50:42.087850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_13_2673.jpg', '/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_15_2805.jpg', '/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_19_3516.jpg', '/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_22_2606.jpg', '/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_25_3706.jpg', '/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_28_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_13_2673.jpg
/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_15_2805.jpg
/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_19_3516.jpg
/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_22_2606.jpg
/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_25_3706.jpg
/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_28_2624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876732","1391876735","1391876738","1391876740","1391876742","1391876745"],"photo_ids_order":["1391876732","1391876735","1391876738","1391876740","1391876742","1391876745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/368e72f71392d386146c99ad5641be3c.jpg","text":"TemporaryFile(/tmp/multipartBody6474252434533639197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113102918,"filename":"image_02112025_01_53_13_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/2/8365c44fb133c7531efa2eeb5dfcca1d.jpg","text":"TemporaryFile(/tmp/multipartBody4604450550430481222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113102918,"filename":"image_02112025_01_53_15_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/2/adbcebceac8fa21bc37cac1ed8b86f1d.jpg","text":"TemporaryFile(/tmp/multipartBody8981192762223787561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113102918,"filename":"image_02112025_01_53_19_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/2/980ef13437e1525bdc9c563eaa533e20.jpg","text":"TemporaryFile(/tmp/multipartBody5730241476422816643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113102918,"filename":"image_02112025_01_53_22_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/2/9802e30ce5f508ee35704b4706857fbb.jpg","text":"TemporaryFile(/tmp/multipartBody4810308559247042161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113102918,"filename":"image_02112025_01_53_25_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/2/a26bac32007122222916df7c085a7274.jpg","text":"TemporaryFile(/tmp/multipartBody717906591766449687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113102918,"filename":"image_02112025_01_53_28_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876738","file1":"1391876735","file0":"1391876732","file4":"1391876742","file5":"1391876745","file3":"1391876740"},"map_files_photo_id_array":[{"photo_id":"1391876745","filename":"file5"},{"photo_id":"1391876738","filename":"file2"},{"photo_id":"1391876742","filename":"file4"},{"photo_id":"1391876735","filename":"file1"},{"photo_id":"1391876732","filename":"file0"},{"photo_id":"1391876740","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876732":["hashtag1","hashtag2"]},{"1391876735":["hashtag1","hashtag2"]},{"1391876738":["hashtag1","hashtag2"]},{"1391876740":["hashtag1","hashtag2"]},{"1391876742":["hashtag1","hashtag2"]},{"1391876745":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876732, 1391876735, 1391876738, 1391876740, 1391876742, 1391876745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55248665809631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:51:22.206318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_39_10962.jpg', '/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_42_3019.jpg', '/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_47_1600.jpg', '/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_48_1653.jpg', '/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_52_1741.jpg', '/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_54_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_39_10962.jpg
/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_42_3019.jpg
/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_47_1600.jpg
/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_48_1653.jpg
/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_52_1741.jpg
/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_54_2634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876771","1391876774","1391876762","1391876756","1391876776","1391876767"],"photo_ids_order":["1391876756","1391876762","1391876767","1391876771","1391876774","1391876776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/09d05a00715cc72020c6220681091ebd.jpg","text":"TemporaryFile(/tmp/multipartBody2687253305464079706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113142993,"filename":"image_02112025_01_53_48_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/2/ca920b3df58c3bec03ab1ae4bc548f9a.jpg","text":"TemporaryFile(/tmp/multipartBody7913943938262237657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113142993,"filename":"image_02112025_01_53_52_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/2/1f3d8221b37f00f5d1764348db58afbb.jpg","text":"TemporaryFile(/tmp/multipartBody6641737950626338826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113142993,"filename":"image_02112025_01_53_42_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/eb8c49fea670cfde0f610b4a789513a2.jpg","text":"TemporaryFile(/tmp/multipartBody452102060986330327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113142993,"filename":"image_02112025_01_53_39_10962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/639746c18d95a7b19349230e3aeb4549.jpg","text":"TemporaryFile(/tmp/multipartBody1256705123808690480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113142993,"filename":"image_02112025_01_53_54_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/2/bfa749498b9f152720c95eb9de430a72.jpg","text":"TemporaryFile(/tmp/multipartBody1651096807182835573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113142993,"filename":"image_02112025_01_53_47_1600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876767","file1":"1391876762","file0":"1391876756","file4":"1391876774","file5":"1391876776","file3":"1391876771"},"map_files_photo_id_array":[{"photo_id":"1391876776","filename":"file5"},{"photo_id":"1391876767","filename":"file2"},{"photo_id":"1391876774","filename":"file4"},{"photo_id":"1391876762","filename":"file1"},{"photo_id":"1391876756","filename":"file0"},{"photo_id":"1391876771","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876771":["hashtag1","hashtag2"]},{"1391876774":["hashtag1","hashtag2"]},{"1391876762":["hashtag1","hashtag2"]},{"1391876756":["hashtag1","hashtag2"]},{"1391876776":["hashtag1","hashtag2"]},{"1391876767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876771, 1391876774, 1391876762, 1391876756, 1391876776, 1391876767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17953872680664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:52:02.855441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_58_3568.jpg', '/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_01_2715.jpg', '/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_04_3560.jpg', '/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_07_2823.jpg', '/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_10_2723.jpg', '/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_16_3648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/53/image_02112025_01_53_58_3568.jpg
/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_01_2715.jpg
/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_04_3560.jpg
/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_07_2823.jpg
/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_10_2723.jpg
/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_16_3648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876786","1391876780","1391876791","1391876800","1391876796","1391876783"],"photo_ids_order":["1391876780","1391876783","1391876786","1391876791","1391876796","1391876800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1645f0924b63c1eb8ca3b60bffecc83c.jpg","text":"TemporaryFile(/tmp/multipartBody3095537241294431423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113186349,"filename":"image_02112025_01_54_04_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/2/04b8059422ff748bf73f522918746504.jpg","text":"TemporaryFile(/tmp/multipartBody535441494048476896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113186349,"filename":"image_02112025_01_53_58_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/2/d154a709b3dca6d7a83a4a51fcd9ecbf.jpg","text":"TemporaryFile(/tmp/multipartBody4353855012744394049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113186349,"filename":"image_02112025_01_54_07_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/2/e444a09bfb02c02b31cc6d5e9949e3e7.jpg","text":"TemporaryFile(/tmp/multipartBody2652935261508883375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113186349,"filename":"image_02112025_01_54_16_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/2/f3b3e01d39c2aac96544f94c22d681f8.jpg","text":"TemporaryFile(/tmp/multipartBody5222996757451250098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113186349,"filename":"image_02112025_01_54_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/2/4486667bc96658982cb222d7032f84f8.jpg","text":"TemporaryFile(/tmp/multipartBody897900490013090296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113186349,"filename":"image_02112025_01_54_01_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876786","file1":"1391876783","file0":"1391876780","file4":"1391876796","file5":"1391876800","file3":"1391876791"},"map_files_photo_id_array":[{"photo_id":"1391876800","filename":"file5"},{"photo_id":"1391876786","filename":"file2"},{"photo_id":"1391876796","filename":"file4"},{"photo_id":"1391876783","filename":"file1"},{"photo_id":"1391876780","filename":"file0"},{"photo_id":"1391876791","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876786":["hashtag1","hashtag2"]},{"1391876780":["hashtag1","hashtag2"]},{"1391876791":["hashtag1","hashtag2"]},{"1391876800":["hashtag1","hashtag2"]},{"1391876796":["hashtag1","hashtag2"]},{"1391876783":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876786, 1391876780, 1391876791, 1391876800, 1391876796, 1391876783)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.94969940185547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:53:03.173583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_19_2656.jpg', '/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_21_2744.jpg', '/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_25_3735.jpg', '/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_28_2669.jpg', '/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_31_2779.jpg', '/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_34_3584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_19_2656.jpg
/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_21_2744.jpg
/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_25_3735.jpg
/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_28_2669.jpg
/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_31_2779.jpg
/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_34_3584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876821","1391876835","1391876829","1391876817","1391876832","1391876826"],"photo_ids_order":["1391876817","1391876821","1391876826","1391876829","1391876832","1391876835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/73a5a5cc00c429c1afb17618421de69c.jpg","text":"TemporaryFile(/tmp/multipartBody3454449983138043684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113244090,"filename":"image_02112025_01_54_21_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/2/783da3da8896725f0dda4aa6fea80e24.jpg","text":"TemporaryFile(/tmp/multipartBody3879632751678801268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113244090,"filename":"image_02112025_01_54_34_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/2/3ca2fee704244cb767e4cd22542b8a96.jpg","text":"TemporaryFile(/tmp/multipartBody8710652828820594912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113244090,"filename":"image_02112025_01_54_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/2/6b338d2b941e0480bdae6c3fcaae32c3.jpg","text":"TemporaryFile(/tmp/multipartBody4584917235022462915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113244090,"filename":"image_02112025_01_54_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/2/36541414071ab53407d74cabcca65be0.jpg","text":"TemporaryFile(/tmp/multipartBody8522347733957336928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113244090,"filename":"image_02112025_01_54_31_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/2/17f84f70e4b95f57a117fd8aa2d182b2.jpg","text":"TemporaryFile(/tmp/multipartBody2907682175919231807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113244090,"filename":"image_02112025_01_54_25_3735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876826","file1":"1391876821","file0":"1391876817","file4":"1391876832","file5":"1391876835","file3":"1391876829"},"map_files_photo_id_array":[{"photo_id":"1391876835","filename":"file5"},{"photo_id":"1391876826","filename":"file2"},{"photo_id":"1391876832","filename":"file4"},{"photo_id":"1391876821","filename":"file1"},{"photo_id":"1391876817","filename":"file0"},{"photo_id":"1391876829","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876821":["hashtag1","hashtag2"]},{"1391876835":["hashtag1","hashtag2"]},{"1391876829":["hashtag1","hashtag2"]},{"1391876817":["hashtag1","hashtag2"]},{"1391876832":["hashtag1","hashtag2"]},{"1391876826":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876821, 1391876835, 1391876829, 1391876817, 1391876832, 1391876826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.120352029800415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:53:42.711243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_37_2661.jpg', '/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_39_2532.jpg', '/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_46_2684.jpg', '/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_59_1707.jpg', '/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_01_1599.jpg', '/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_03_1833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_37_2661.jpg
/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_39_2532.jpg
/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_46_2684.jpg
/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_59_1707.jpg
/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_01_1599.jpg
/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_03_1833.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7471082210540771 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:54:02.606691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_37_2661.jpg', '/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_39_2532.jpg', '/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_46_2684.jpg', '/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_59_1707.jpg', '/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_01_1599.jpg', '/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_03_1833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_37_2661.jpg
/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_39_2532.jpg
/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_46_2684.jpg
/home/pi/Desktop/images/02112025/01/54/image_02112025_01_54_59_1707.jpg
/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_01_1599.jpg
/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_03_1833.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876858","1391876860","1391876865","1391876862","1391876856","1391876859"],"photo_ids_order":["1391876856","1391876858","1391876859","1391876860","1391876862","1391876865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2d117f046b6fac5b77cb46345f876b97.jpg","text":"TemporaryFile(/tmp/multipartBody139640229685691671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113303413,"filename":"image_02112025_01_54_39_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/2/3cf41e7366ced4b5bf9caa44f289262c.jpg","text":"TemporaryFile(/tmp/multipartBody2113847075003115384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113303413,"filename":"image_02112025_01_54_59_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/2/fcacc8525758fcbba8f945b775764178.jpg","text":"TemporaryFile(/tmp/multipartBody6340049376555989590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113303413,"filename":"image_02112025_01_55_03_1833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/631504409d77dc4e0901ff99c9293d4b.jpg","text":"TemporaryFile(/tmp/multipartBody3919349845596152666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113303413,"filename":"image_02112025_01_55_01_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/2/4e19812d8ef36f6cd63e6cef018e007e.jpg","text":"TemporaryFile(/tmp/multipartBody8025354216642287013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113303413,"filename":"image_02112025_01_54_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/2/27bf2bcd28061c0a95b65ab915cc1a55.jpg","text":"TemporaryFile(/tmp/multipartBody2541242339859643794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113303413,"filename":"image_02112025_01_54_46_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876859","file1":"1391876858","file0":"1391876856","file4":"1391876862","file5":"1391876865","file3":"1391876860"},"map_files_photo_id_array":[{"photo_id":"1391876865","filename":"file5"},{"photo_id":"1391876859","filename":"file2"},{"photo_id":"1391876862","filename":"file4"},{"photo_id":"1391876858","filename":"file1"},{"photo_id":"1391876856","filename":"file0"},{"photo_id":"1391876860","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876858":["hashtag1","hashtag2"]},{"1391876860":["hashtag1","hashtag2"]},{"1391876865":["hashtag1","hashtag2"]},{"1391876862":["hashtag1","hashtag2"]},{"1391876856":["hashtag1","hashtag2"]},{"1391876859":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876858, 1391876860, 1391876865, 1391876862, 1391876856, 1391876859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07859444618225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:54:41.960731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_04_1605.jpg', '/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_06_1765.jpg', '/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_10_2554.jpg', '/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_15_2816.jpg', '/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_18_2718.jpg', '/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_22_3711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_04_1605.jpg
/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_06_1765.jpg
/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_10_2554.jpg
/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_15_2816.jpg
/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_18_2718.jpg
/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_22_3711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876885","1391876872","1391876878","1391876880","1391876874","1391876876"],"photo_ids_order":["1391876872","1391876874","1391876876","1391876878","1391876880","1391876885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5564a3fcc72a70132b29773d2883f9e5.jpg","text":"TemporaryFile(/tmp/multipartBody5801501511355339373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113342944,"filename":"image_02112025_01_55_22_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/2/b21ab5cbeaf999f96afc59628a03e29e.jpg","text":"TemporaryFile(/tmp/multipartBody2123694962513193022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113342944,"filename":"image_02112025_01_55_04_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/2/dace1fc9a835dfd7498c859b37e39208.jpg","text":"TemporaryFile(/tmp/multipartBody5549658464329799784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113342944,"filename":"image_02112025_01_55_15_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/2/a4a17bc860a5e93e80a974926e60b3b5.jpg","text":"TemporaryFile(/tmp/multipartBody9009340113442424030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113342944,"filename":"image_02112025_01_55_18_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/2/ca38dfbb0b260b1c44d2181817e66b13.jpg","text":"TemporaryFile(/tmp/multipartBody5721717222396506962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113342944,"filename":"image_02112025_01_55_06_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/2/755a5c24a0a03d3a40c0c94a85ee218c.jpg","text":"TemporaryFile(/tmp/multipartBody1226434364469907562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113342944,"filename":"image_02112025_01_55_10_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876876","file1":"1391876874","file0":"1391876872","file4":"1391876880","file5":"1391876885","file3":"1391876878"},"map_files_photo_id_array":[{"photo_id":"1391876885","filename":"file5"},{"photo_id":"1391876876","filename":"file2"},{"photo_id":"1391876880","filename":"file4"},{"photo_id":"1391876874","filename":"file1"},{"photo_id":"1391876872","filename":"file0"},{"photo_id":"1391876878","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876885":["hashtag1","hashtag2"]},{"1391876872":["hashtag1","hashtag2"]},{"1391876878":["hashtag1","hashtag2"]},{"1391876880":["hashtag1","hashtag2"]},{"1391876874":["hashtag1","hashtag2"]},{"1391876876":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876885, 1391876872, 1391876878, 1391876880, 1391876874, 1391876876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64026856422424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:55:21.998056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_25_2716.jpg', '/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_31_3627.jpg', '/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_40_2790.jpg', '/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_43_2691.jpg', '/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_45_2571.jpg', '/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_49_3615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_25_2716.jpg
/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_31_3627.jpg
/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_40_2790.jpg
/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_43_2691.jpg
/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_45_2571.jpg
/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_49_3615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876900","1391876893","1391876908","1391876895","1391876904","1391876897"],"photo_ids_order":["1391876893","1391876895","1391876897","1391876900","1391876904","1391876908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8ffffb3f972a840930908d395ef552d6.jpg","text":"TemporaryFile(/tmp/multipartBody3456292115330252345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113382784,"filename":"image_02112025_01_55_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/2/38751122accdf12223040b4eae8407be.jpg","text":"TemporaryFile(/tmp/multipartBody7127062483600594530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113382784,"filename":"image_02112025_01_55_25_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/2/e7eff3b1f9dd20c1a82440b65ed2ce02.jpg","text":"TemporaryFile(/tmp/multipartBody8293333650758093592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113382784,"filename":"image_02112025_01_55_49_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/2/2ea1fb49e8b3e811883c152ef9b12bbb.jpg","text":"TemporaryFile(/tmp/multipartBody2818166005627463179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113382784,"filename":"image_02112025_01_55_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/2/c6e84b994767470df696e48db27412d4.jpg","text":"TemporaryFile(/tmp/multipartBody8294849408821965794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113382784,"filename":"image_02112025_01_55_45_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/2/84de442dff991d9f926b9134a0f25b22.jpg","text":"TemporaryFile(/tmp/multipartBody868687249347928284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113382784,"filename":"image_02112025_01_55_40_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876897","file1":"1391876895","file0":"1391876893","file4":"1391876904","file5":"1391876908","file3":"1391876900"},"map_files_photo_id_array":[{"photo_id":"1391876908","filename":"file5"},{"photo_id":"1391876897","filename":"file2"},{"photo_id":"1391876904","filename":"file4"},{"photo_id":"1391876895","filename":"file1"},{"photo_id":"1391876893","filename":"file0"},{"photo_id":"1391876900","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876900":["hashtag1","hashtag2"]},{"1391876893":["hashtag1","hashtag2"]},{"1391876908":["hashtag1","hashtag2"]},{"1391876895":["hashtag1","hashtag2"]},{"1391876904":["hashtag1","hashtag2"]},{"1391876897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876900, 1391876893, 1391876908, 1391876895, 1391876904, 1391876897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.19680404663086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:56:02.781595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_51_2778.jpg', '/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_54_2689.jpg', '/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_58_3655.jpg', '/home/pi/Desktop/images/02112025/01/56/image_02112025_01_56_10_2744.jpg', '/home/pi/Desktop/images/02112025/01/56/image_02112025_01_56_12_2658.jpg', '/home/pi/Desktop/images/02112025/01/56/image_02112025_01_56_16_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_51_2778.jpg
/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_54_2689.jpg
/home/pi/Desktop/images/02112025/01/55/image_02112025_01_55_58_3655.jpg
/home/pi/Desktop/images/02112025/01/56/image_02112025_01_56_10_2744.jpg
/home/pi/Desktop/images/02112025/01/56/image_02112025_01_56_12_2658.jpg
/home/pi/Desktop/images/02112025/01/56/image_02112025_01_56_16_3675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876921","1391876917","1391876926","1391876929","1391876914","1391876919"],"photo_ids_order":["1391876914","1391876917","1391876919","1391876921","1391876926","1391876929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/31680d0dff54cdf4bc8477d50a20d75e.jpg","text":"TemporaryFile(/tmp/multipartBody6418342796772352553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113423704,"filename":"image_02112025_01_56_10_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/2/0133caec2ee57df12e56c7e522e53b14.jpg","text":"TemporaryFile(/tmp/multipartBody3781693335412717593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113423704,"filename":"image_02112025_01_55_54_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/2/bcec90ebff5f55b9159ee51edd9c5387.jpg","text":"TemporaryFile(/tmp/multipartBody3629363828554266007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113423704,"filename":"image_02112025_01_56_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/2/19315e4566e993bf719d333bfc2fb740.jpg","text":"TemporaryFile(/tmp/multipartBody7873627360066933016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113423704,"filename":"image_02112025_01_56_16_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/2/9c9ccbdddcba1d3aed0a6e8e8775aaa7.jpg","text":"TemporaryFile(/tmp/multipartBody8604766417431634181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113423704,"filename":"image_02112025_01_55_51_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/2/4df0e7bc6c3438b103be71f564eb9268.jpg","text":"TemporaryFile(/tmp/multipartBody1621122747600389607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113423704,"filename":"image_02112025_01_55_58_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876919","file1":"1391876917","file0":"1391876914","file4":"1391876926","file5":"1391876929","file3":"1391876921"},"map_files_photo_id_array":[{"photo_id":"1391876929","filename":"file5"},{"photo_id":"1391876919","filename":"file2"},{"photo_id":"1391876926","filename":"file4"},{"photo_id":"1391876917","filename":"file1"},{"photo_id":"1391876914","filename":"file0"},{"photo_id":"1391876921","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876921":["hashtag1","hashtag2"]},{"1391876917":["hashtag1","hashtag2"]},{"1391876926":["hashtag1","hashtag2"]},{"1391876929":["hashtag1","hashtag2"]},{"1391876914":["hashtag1","hashtag2"]},{"1391876919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876921, 1391876917, 1391876926, 1391876929, 1391876914, 1391876919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.161720514297485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:56:42.208678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/56/image_02112025_01_56_19_2691.jpg', '/home/pi/Desktop/images/02112025/01/56/image_02112025_01_56_21_2575.jpg', '/home/pi/Desktop/images/02112025/01/56/image_02112025_01_56_25_3615.jpg', '/home/pi/Desktop/images/02112025/01/56/image_02112025_01_56_30_2724.jpg', '/home/pi/Desktop/images/02112025/01/56/image_02112025_01_56_36_2553.jpg', '/home/pi/Desktop/images/02112025/01/56/image_02112025_01_56_39_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/56/image_02112025_01_56_19_2691.jpg
/home/pi/Desktop/images/02112025/01/56/image_02112025_01_56_21_2575.jpg
/home/pi/Desktop/images/02112025/01/56/image_02112025_01_56_25_3615.jpg
/home/pi/Desktop/images/02112025/01/56/image_02112025_01_56_30_2724.jpg
/home/pi/Desktop/images/02112025/01/56/image_02112025_01_56_36_2553.jpg
/home/pi/Desktop/images/02112025/01/56/image_02112025_01_56_39_2724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876942","1391876950","1391876944","1391876946","1391876940","1391876937"],"photo_ids_order":["1391876937","1391876940","1391876942","1391876944","1391876946","1391876950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/41e7dcb18adfd84e856718d2be6fb625.jpg","text":"TemporaryFile(/tmp/multipartBody7735222753135172667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113463078,"filename":"image_02112025_01_56_25_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/2/1bc910c834456bfc042d11980b0612a0.jpg","text":"TemporaryFile(/tmp/multipartBody3804904992487630890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113463078,"filename":"image_02112025_01_56_39_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/2/3270b87683e755ddc3c93522690129e9.jpg","text":"TemporaryFile(/tmp/multipartBody1819203255667736733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113463078,"filename":"image_02112025_01_56_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/2/e6818c0e6597400d91c0efdbeeb5d634.jpg","text":"TemporaryFile(/tmp/multipartBody2966870368432791981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113463078,"filename":"image_02112025_01_56_36_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/2/564240f0d3f0da816225dc8fadea4eac.jpg","text":"TemporaryFile(/tmp/multipartBody2648687482442642109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113463078,"filename":"image_02112025_01_56_21_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/2/b4b261cc13711133b8506f38cdaa6ab4.jpg","text":"TemporaryFile(/tmp/multipartBody4506902061219301491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113463078,"filename":"image_02112025_01_56_19_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876942","file1":"1391876940","file0":"1391876937","file4":"1391876946","file5":"1391876950","file3":"1391876944"},"map_files_photo_id_array":[{"photo_id":"1391876950","filename":"file5"},{"photo_id":"1391876942","filename":"file2"},{"photo_id":"1391876946","filename":"file4"},{"photo_id":"1391876940","filename":"file1"},{"photo_id":"1391876937","filename":"file0"},{"photo_id":"1391876944","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876942":["hashtag1","hashtag2"]},{"1391876950":["hashtag1","hashtag2"]},{"1391876944":["hashtag1","hashtag2"]},{"1391876946":["hashtag1","hashtag2"]},{"1391876940":["hashtag1","hashtag2"]},{"1391876937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876942, 1391876950, 1391876944, 1391876946, 1391876940, 1391876937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.532455921173096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 20:57:22.364472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/57/image_02112025_01_57_06_2484.jpg', '/home/pi/Desktop/images/02112025/01/57/image_02112025_01_57_10_3636.jpg', '/home/pi/Desktop/images/02112025/01/57/image_02112025_01_57_12_2613.jpg', '/home/pi/Desktop/images/02112025/01/57/image_02112025_01_57_19_3659.jpg', '/home/pi/Desktop/images/02112025/01/57/image_02112025_01_57_21_2610.jpg', '/home/pi/Desktop/images/02112025/01/57/image_02112025_01_57_34_3666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/57/image_02112025_01_57_06_2484.jpg
/home/pi/Desktop/images/02112025/01/57/image_02112025_01_57_10_3636.jpg
/home/pi/Desktop/images/02112025/01/57/image_02112025_01_57_12_2613.jpg
/home/pi/Desktop/images/02112025/01/57/image_02112025_01_57_19_3659.jpg
/home/pi/Desktop/images/02112025/01/57/image_02112025_01_57_21_2610.jpg
/home/pi/Desktop/images/02112025/01/57/image_02112025_01_57_34_3666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391876963","1391876966","1391876956","1391876959","1391876958","1391876961"],"photo_ids_order":["1391876956","1391876958","1391876959","1391876961","1391876963","1391876966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/00bf69a83daff6312317a8c19734521a.jpg","text":"TemporaryFile(/tmp/multipartBody6135604172206370109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113503154,"filename":"image_02112025_01_57_21_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/2/e0bed111967f7546a55a84875d346626.jpg","text":"TemporaryFile(/tmp/multipartBody4521423738263255170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113503154,"filename":"image_02112025_01_57_34_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/2/359ed61491dca335a63a9c86abbf44ee.jpg","text":"TemporaryFile(/tmp/multipartBody8494339968406857888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113503154,"filename":"image_02112025_01_57_06_2484.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/47803f0e9436d95291342fd53e428d72.jpg","text":"TemporaryFile(/tmp/multipartBody3295264402972295690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113503154,"filename":"image_02112025_01_57_12_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/2/82efdce95e1aebd57d4598f0c9139933.jpg","text":"TemporaryFile(/tmp/multipartBody8198826337811551039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113503154,"filename":"image_02112025_01_57_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/2/786ff41c2b4fee2ef74cb1419919562c.jpg","text":"TemporaryFile(/tmp/multipartBody7109704312465061841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113503154,"filename":"image_02112025_01_57_19_3659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391876959","file1":"1391876958","file0":"1391876956","file4":"1391876963","file5":"1391876966","file3":"1391876961"},"map_files_photo_id_array":[{"photo_id":"1391876966","filename":"file5"},{"photo_id":"1391876959","filename":"file2"},{"photo_id":"1391876963","filename":"file4"},{"photo_id":"1391876958","filename":"file1"},{"photo_id":"1391876956","filename":"file0"},{"photo_id":"1391876961","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391876963":["hashtag1","hashtag2"]},{"1391876966":["hashtag1","hashtag2"]},{"1391876956":["hashtag1","hashtag2"]},{"1391876959":["hashtag1","hashtag2"]},{"1391876958":["hashtag1","hashtag2"]},{"1391876961":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391876963, 1391876966, 1391876956, 1391876959, 1391876958, 1391876961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64779043197632 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 20:59:03.444486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/57/image_02112025_01_57_43_3541.jpg', '/home/pi/Desktop/images/02112025/01/57/image_02112025_01_57_48_2671.jpg', '/home/pi/Desktop/images/02112025/01/57/image_02112025_01_57_51_3564.jpg', '/home/pi/Desktop/images/02112025/01/57/image_02112025_01_57_54_2771.jpg', '/home/pi/Desktop/images/02112025/01/57/image_02112025_01_58_00_2887.jpg', '/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_04_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/57/image_02112025_01_57_43_3541.jpg
/home/pi/Desktop/images/02112025/01/57/image_02112025_01_57_48_2671.jpg
/home/pi/Desktop/images/02112025/01/57/image_02112025_01_57_51_3564.jpg
/home/pi/Desktop/images/02112025/01/57/image_02112025_01_57_54_2771.jpg
/home/pi/Desktop/images/02112025/01/57/image_02112025_01_58_00_2887.jpg
/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_04_3597.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391877521","1391877292","1391877439","1391877253","1391877355","1391877210"],"photo_ids_order":["1391877210","1391877253","1391877292","1391877355","1391877439","1391877521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f1cfaa75256b07f073240894f49f36d4.jpg","text":"TemporaryFile(/tmp/multipartBody2131870300718629233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113604329,"filename":"image_02112025_01_58_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/2/bf2ed2a6dc145abe199c06bd421543e5.jpg","text":"TemporaryFile(/tmp/multipartBody4940739721281551715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113604329,"filename":"image_02112025_01_57_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/2/f8db74673d15addbcd65c21e9bfecdf1.jpg","text":"TemporaryFile(/tmp/multipartBody1914753541970946456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113604329,"filename":"image_02112025_01_58_00_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/2/3bba0ad05cbb782a5206df9f3cdbca58.jpg","text":"TemporaryFile(/tmp/multipartBody3945158983751296870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113604329,"filename":"image_02112025_01_57_48_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/2/8d3eee4f9d383cd9b495507a642a5927.jpg","text":"TemporaryFile(/tmp/multipartBody4362480696349057410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113604329,"filename":"image_02112025_01_57_54_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/2/d20cf16d7a853e3b3a9d5a6dd0b52665.jpg","text":"TemporaryFile(/tmp/multipartBody8544440422506993668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113604329,"filename":"image_02112025_01_57_43_3541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391877292","file1":"1391877253","file0":"1391877210","file4":"1391877439","file5":"1391877521","file3":"1391877355"},"map_files_photo_id_array":[{"photo_id":"1391877521","filename":"file5"},{"photo_id":"1391877292","filename":"file2"},{"photo_id":"1391877439","filename":"file4"},{"photo_id":"1391877253","filename":"file1"},{"photo_id":"1391877210","filename":"file0"},{"photo_id":"1391877355","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391877521":["hashtag1","hashtag2"]},{"1391877292":["hashtag1","hashtag2"]},{"1391877439":["hashtag1","hashtag2"]},{"1391877253":["hashtag1","hashtag2"]},{"1391877355":["hashtag1","hashtag2"]},{"1391877210":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391877521, 1391877292, 1391877439, 1391877253, 1391877355, 1391877210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.711315393447876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 20:59:42.712643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_06_2649.jpg', '/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_09_2821.jpg', '/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_13_3703.jpg', '/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_15_2630.jpg', '/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_18_2925.jpg', '/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_31_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_06_2649.jpg
/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_09_2821.jpg
/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_13_3703.jpg
/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_15_2630.jpg
/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_18_2925.jpg
/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_31_3612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391877908","1391877829","1391877751","1391877984","1391877708","1391877962"],"photo_ids_order":["1391877708","1391877751","1391877829","1391877908","1391877962","1391877984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0c76159945abf6c05760c117d3b8cd76.jpg","text":"TemporaryFile(/tmp/multipartBody3594704627262990004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113643562,"filename":"image_02112025_01_58_15_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/2/39800c340c431b41f0e6497d726648a8.jpg","text":"TemporaryFile(/tmp/multipartBody6015340646219880789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113643562,"filename":"image_02112025_01_58_13_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/2/dc4a1f334319132cc969c1de07a5861c.jpg","text":"TemporaryFile(/tmp/multipartBody6132699575581841978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113643562,"filename":"image_02112025_01_58_09_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/2/cb587a8145364839f4d68821337dfa86.jpg","text":"TemporaryFile(/tmp/multipartBody7516438979634441753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113643562,"filename":"image_02112025_01_58_31_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/2/c58996168636e88f334aa06ebcca027a.jpg","text":"TemporaryFile(/tmp/multipartBody1553373213896341258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113643562,"filename":"image_02112025_01_58_06_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/2/9bb8b5703d738c47a49af662584666c1.jpg","text":"TemporaryFile(/tmp/multipartBody8160679166570185417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113643562,"filename":"image_02112025_01_58_18_2925.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391877829","file1":"1391877751","file0":"1391877708","file4":"1391877962","file5":"1391877984","file3":"1391877908"},"map_files_photo_id_array":[{"photo_id":"1391877984","filename":"file5"},{"photo_id":"1391877829","filename":"file2"},{"photo_id":"1391877962","filename":"file4"},{"photo_id":"1391877751","filename":"file1"},{"photo_id":"1391877708","filename":"file0"},{"photo_id":"1391877908","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391877908":["hashtag1","hashtag2"]},{"1391877829":["hashtag1","hashtag2"]},{"1391877751":["hashtag1","hashtag2"]},{"1391877984":["hashtag1","hashtag2"]},{"1391877708":["hashtag1","hashtag2"]},{"1391877962":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391877908, 1391877829, 1391877751, 1391877984, 1391877708, 1391877962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.765132427215576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 21:00:21.952625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_33_2557.jpg', '/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_40_3683.jpg', '/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_42_2713.jpg', '/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_49_3763.jpg', '/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_52_2875.jpg', '/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_54_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_33_2557.jpg
/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_40_3683.jpg
/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_42_2713.jpg
/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_49_3763.jpg
/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_52_2875.jpg
/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_54_2600.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7062172889709473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:00:41.985856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_33_2557.jpg', '/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_40_3683.jpg', '/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_42_2713.jpg', '/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_49_3763.jpg', '/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_52_2875.jpg', '/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_54_2600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_33_2557.jpg
/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_40_3683.jpg
/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_42_2713.jpg
/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_49_3763.jpg
/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_52_2875.jpg
/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_54_2600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391878198","1391878123","1391878239","1391878172","1391878163","1391878195"],"photo_ids_order":["1391878123","1391878163","1391878172","1391878195","1391878198","1391878239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cb48544ac3511b67fd87c361641d54c5.jpg","text":"TemporaryFile(/tmp/multipartBody2930222987905434850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113702699,"filename":"image_02112025_01_58_52_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/2/8f1413c0d96c3050253ac9c7458e2800.jpg","text":"TemporaryFile(/tmp/multipartBody6310297522725220989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113702699,"filename":"image_02112025_01_58_33_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/2/49ad6dfcf92ba06df3d24489ccad41a1.jpg","text":"TemporaryFile(/tmp/multipartBody6158175774368006407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113702699,"filename":"image_02112025_01_58_54_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/2/7ef1ae5ec251d6b4fc499dd23295eedd.jpg","text":"TemporaryFile(/tmp/multipartBody71131621530445717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113702699,"filename":"image_02112025_01_58_42_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/2/fd92e6fa1111c290fa49d9ee564e6dda.jpg","text":"TemporaryFile(/tmp/multipartBody1055253037474053092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113702699,"filename":"image_02112025_01_58_40_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/2/956ec7fa70db8629e93ff1f3c59dd799.jpg","text":"TemporaryFile(/tmp/multipartBody8000083219135368856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113702699,"filename":"image_02112025_01_58_49_3763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391878172","file1":"1391878163","file0":"1391878123","file4":"1391878198","file5":"1391878239","file3":"1391878195"},"map_files_photo_id_array":[{"photo_id":"1391878239","filename":"file5"},{"photo_id":"1391878172","filename":"file2"},{"photo_id":"1391878198","filename":"file4"},{"photo_id":"1391878163","filename":"file1"},{"photo_id":"1391878123","filename":"file0"},{"photo_id":"1391878195","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391878198":["hashtag1","hashtag2"]},{"1391878123":["hashtag1","hashtag2"]},{"1391878239":["hashtag1","hashtag2"]},{"1391878172":["hashtag1","hashtag2"]},{"1391878163":["hashtag1","hashtag2"]},{"1391878195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391878198, 1391878123, 1391878239, 1391878172, 1391878163, 1391878195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.616655111312866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 21:01:22.193973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_57_2826.jpg', '/home/pi/Desktop/images/02112025/01/58/image_02112025_01_59_01_3543.jpg', '/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_03_2798.jpg', '/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_06_2551.jpg', '/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_10_3726.jpg', '/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_12_2606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/58/image_02112025_01_58_57_2826.jpg
/home/pi/Desktop/images/02112025/01/58/image_02112025_01_59_01_3543.jpg
/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_03_2798.jpg
/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_06_2551.jpg
/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_10_3726.jpg
/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_12_2606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391878606","1391878416","1391878568","1391878454","1391878529","1391878492"],"photo_ids_order":["1391878416","1391878454","1391878492","1391878529","1391878568","1391878606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/88d6df12f421b2060f1a5cc6ec2ede89.jpg","text":"TemporaryFile(/tmp/multipartBody418579120497942824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113743082,"filename":"image_02112025_01_59_12_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/2/37a7a481b1cba128c7c0448cb0d01cc7.jpg","text":"TemporaryFile(/tmp/multipartBody3791455074438462324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113743082,"filename":"image_02112025_01_58_57_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/2/1f2439d8a60d4f0d35a2ede2e93c67b6.jpg","text":"TemporaryFile(/tmp/multipartBody7898537426730415496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113743082,"filename":"image_02112025_01_59_10_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/2/f7414ceb869f20bd800b7e61267589ef.jpg","text":"TemporaryFile(/tmp/multipartBody6049218862371343450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113743082,"filename":"image_02112025_01_59_01_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/2/7f49bf55595f4e0def18bca9ab06e617.jpg","text":"TemporaryFile(/tmp/multipartBody6175885765257771717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113743082,"filename":"image_02112025_01_59_06_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/2/6b0c3f0c47594c1bf0bfdbaaf93c358d.jpg","text":"TemporaryFile(/tmp/multipartBody1691454947055550353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113743082,"filename":"image_02112025_01_59_03_2798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391878492","file1":"1391878454","file0":"1391878416","file4":"1391878568","file5":"1391878606","file3":"1391878529"},"map_files_photo_id_array":[{"photo_id":"1391878606","filename":"file5"},{"photo_id":"1391878492","filename":"file2"},{"photo_id":"1391878568","filename":"file4"},{"photo_id":"1391878454","filename":"file1"},{"photo_id":"1391878416","filename":"file0"},{"photo_id":"1391878529","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391878606":["hashtag1","hashtag2"]},{"1391878416":["hashtag1","hashtag2"]},{"1391878568":["hashtag1","hashtag2"]},{"1391878454":["hashtag1","hashtag2"]},{"1391878529":["hashtag1","hashtag2"]},{"1391878492":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391878606, 1391878416, 1391878568, 1391878454, 1391878529, 1391878492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62609505653381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 21:02:02.716564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_15_2649.jpg', '/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_18_3618.jpg', '/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_21_2665.jpg', '/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_28_3735.jpg', '/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_30_2692.jpg', '/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_33_2559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_15_2649.jpg
/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_18_3618.jpg
/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_21_2665.jpg
/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_28_3735.jpg
/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_30_2692.jpg
/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_33_2559.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391878954","1391878770","1391878809","1391878880","1391878916","1391878844"],"photo_ids_order":["1391878770","1391878809","1391878844","1391878880","1391878916","1391878954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ec77e982875b15ca91be7719adf130cd.jpg","text":"TemporaryFile(/tmp/multipartBody8948103961673859213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113783555,"filename":"image_02112025_01_59_33_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/2/4e63810800c5f7990463592afd9f0e93.jpg","text":"TemporaryFile(/tmp/multipartBody5274335668314846395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113783555,"filename":"image_02112025_01_59_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/2/011c564e53edc570f32cc12d4ec74089.jpg","text":"TemporaryFile(/tmp/multipartBody302985260981805930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113783555,"filename":"image_02112025_01_59_18_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/2/a4f246b197388d120a01667cb5930b68.jpg","text":"TemporaryFile(/tmp/multipartBody5862264305060263061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113783555,"filename":"image_02112025_01_59_28_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/2/b8c89b47535f2a547bd18dbcc356fce6.jpg","text":"TemporaryFile(/tmp/multipartBody5823058383395548969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113783555,"filename":"image_02112025_01_59_30_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/2/85dc2453ce839d286557492bad35bd9b.jpg","text":"TemporaryFile(/tmp/multipartBody8381319659428520199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113783555,"filename":"image_02112025_01_59_21_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391878844","file1":"1391878809","file0":"1391878770","file4":"1391878916","file5":"1391878954","file3":"1391878880"},"map_files_photo_id_array":[{"photo_id":"1391878954","filename":"file5"},{"photo_id":"1391878844","filename":"file2"},{"photo_id":"1391878916","filename":"file4"},{"photo_id":"1391878809","filename":"file1"},{"photo_id":"1391878770","filename":"file0"},{"photo_id":"1391878880","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391878954":["hashtag1","hashtag2"]},{"1391878770":["hashtag1","hashtag2"]},{"1391878809":["hashtag1","hashtag2"]},{"1391878880":["hashtag1","hashtag2"]},{"1391878916":["hashtag1","hashtag2"]},{"1391878844":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391878954, 1391878770, 1391878809, 1391878880, 1391878916, 1391878844)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 60.479403495788574 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-02 21:03:23.831507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_37_3741.jpg', '/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_39_2732.jpg', '/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_42_2737.jpg', '/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_45_2700.jpg', '/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_48_3675.jpg', '/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_51_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_37_3741.jpg
/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_39_2732.jpg
/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_42_2737.jpg
/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_45_2700.jpg
/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_48_3675.jpg
/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_51_2676.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":["1391879459","1391879470","1391879464","1391879473","1391879467","1391879461"],"photo_ids_order":["1391879459","1391879461","1391879464","1391879467","1391879470","1391879473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a73061a0dea48bacc566073ece1243d2.jpg","text":"TemporaryFile(/tmp/multipartBody2349662272362435555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113868840,"filename":"image_02112025_01_59_37_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/2/6f3e282ccccf20679cbdb61b52f4d1eb.jpg","text":"TemporaryFile(/tmp/multipartBody6877831466486526602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113868840,"filename":"image_02112025_01_59_48_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/2/43303c44178a6f60d459d5bc3ffc8fe9.jpg","text":"TemporaryFile(/tmp/multipartBody2350326880256834030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113868840,"filename":"image_02112025_01_59_42_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/2/d991482f2c2d6de55696937445950be1.jpg","text":"TemporaryFile(/tmp/multipartBody8820602872400545967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113868840,"filename":"image_02112025_01_59_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/2/4a2580ecbc04765cd21b3bb9080c9940.jpg","text":"TemporaryFile(/tmp/multipartBody4319921545960474182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113868840,"filename":"image_02112025_01_59_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/2/9f1b0a50e33c2ae0761579aab3c5f097.jpg","text":"TemporaryFile(/tmp/multipartBody2914831708849988434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113868840,"filename":"image_02112025_01_59_39_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391879464","file1":"1391879461","file0":"1391879459","file4":"1391879470","file5":"1391879473","file3":"1391879467"},"map_files_photo_id_array":[{"photo_id":"1391879473","filename":"file5"},{"photo_id":"1391879464","filename":"file2"},{"photo_id":"1391879470","filename":"file4"},{"photo_id":"1391879461","filename":"file1"},{"photo_id":"1391879459","filename":"file0"},{"photo_id":"1391879467","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391879459":["hashtag1","hashtag2"]},{"1391879470":["hashtag1","hashtag2"]},{"1391879464":["hashtag1","hashtag2"]},{"1391879473":["hashtag1","hashtag2"]},{"1391879467":["hashtag1","hashtag2"]},{"1391879461":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391879459, 1391879470, 1391879464, 1391879473, 1391879467, 1391879461)","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 = 1391879464 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02112025/01/59/image_02112025_01_59_42_2737.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 71.15687870979309 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:04:50.115010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_06_3033.jpg', '/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_23_16942.jpg', '/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_26_1563.jpg', '/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_28_1597.jpg', '/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_30_1545.jpg', '/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_31_1723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_06_3033.jpg
/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_23_16942.jpg
/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_26_1563.jpg
/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_28_1597.jpg
/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_30_1545.jpg
/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_31_1723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391879515","1391879500","1391879503","1391879506","1391879511","1391879546"],"photo_ids_order":["1391879500","1391879503","1391879506","1391879511","1391879515","1391879546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/94ef0aaa3c4b4fb8abd1fbe5d41206ca.jpg","text":"TemporaryFile(/tmp/multipartBody6798088536395233171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113953003,"filename":"image_02112025_02_00_30_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/2/5979dd904ffdad2c3ed0f694603910f4.jpg","text":"TemporaryFile(/tmp/multipartBody6107833086908973740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113953003,"filename":"image_02112025_02_00_06_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/2/057c64d7a8873c69298f98a2ea5a92aa.jpg","text":"TemporaryFile(/tmp/multipartBody8106277550055428250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113953003,"filename":"image_02112025_02_00_23_16942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bc4e77f09c70c286edb7c9427d740456.jpg","text":"TemporaryFile(/tmp/multipartBody5342519870873461600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113953003,"filename":"image_02112025_02_00_26_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/2/cc2da6bb47f00aed6c582713a59c6b0c.jpg","text":"TemporaryFile(/tmp/multipartBody8832850486988182720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113953003,"filename":"image_02112025_02_00_28_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/20c3b703822c16e7cf3fc6894f5093ec.jpg","text":"TemporaryFile(/tmp/multipartBody2211519124755142803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762113953003,"filename":"image_02112025_02_00_31_1723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391879506","file1":"1391879503","file0":"1391879500","file4":"1391879515","file5":"1391879546","file3":"1391879511"},"map_files_photo_id_array":[{"photo_id":"1391879546","filename":"file5"},{"photo_id":"1391879506","filename":"file2"},{"photo_id":"1391879515","filename":"file4"},{"photo_id":"1391879503","filename":"file1"},{"photo_id":"1391879500","filename":"file0"},{"photo_id":"1391879511","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391879515":["hashtag1","hashtag2"]},{"1391879500":["hashtag1","hashtag2"]},{"1391879503":["hashtag1","hashtag2"]},{"1391879506":["hashtag1","hashtag2"]},{"1391879511":["hashtag1","hashtag2"]},{"1391879546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391879515, 1391879500, 1391879503, 1391879506, 1391879511, 1391879546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85851073265076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:05:42.364587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_33_1547.jpg', '/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_34_1461.jpg', '/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_36_1497.jpg', '/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_37_1480.jpg', '/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_39_1684.jpg', '/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_42_2860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_33_1547.jpg
/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_34_1461.jpg
/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_36_1497.jpg
/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_37_1480.jpg
/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_39_1684.jpg
/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_42_2860.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391879973","1391879934","1391879820","1391879897","1391879858","1391879782"],"photo_ids_order":["1391879782","1391879820","1391879858","1391879897","1391879934","1391879973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a9cbd72fe62fa659997880bd05c7db9c.jpg","text":"TemporaryFile(/tmp/multipartBody5893475774224543132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114003104,"filename":"image_02112025_02_00_42_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/2/c1b9861ce5342c27987382e8be84b705.jpg","text":"TemporaryFile(/tmp/multipartBody4422150011901783401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114003104,"filename":"image_02112025_02_00_39_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/2/38cadfad0d449b002ea5c1b53584dd32.jpg","text":"TemporaryFile(/tmp/multipartBody6721137213010420503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114003104,"filename":"image_02112025_02_00_34_1461.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9773adc2035209132d1924ffb6a423e2.jpg","text":"TemporaryFile(/tmp/multipartBody8278834628964109880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114003104,"filename":"image_02112025_02_00_37_1480.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f9586c0663d7ee1f1a2c1d608c3e1739.jpg","text":"TemporaryFile(/tmp/multipartBody9014966768854372259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114003104,"filename":"image_02112025_02_00_36_1497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/caf6894e2b79e20d87a5eb111d9a5ef8.jpg","text":"TemporaryFile(/tmp/multipartBody6691952539591972335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114003104,"filename":"image_02112025_02_00_33_1547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391879858","file1":"1391879820","file0":"1391879782","file4":"1391879934","file5":"1391879973","file3":"1391879897"},"map_files_photo_id_array":[{"photo_id":"1391879973","filename":"file5"},{"photo_id":"1391879858","filename":"file2"},{"photo_id":"1391879934","filename":"file4"},{"photo_id":"1391879820","filename":"file1"},{"photo_id":"1391879782","filename":"file0"},{"photo_id":"1391879897","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391879973":["hashtag1","hashtag2"]},{"1391879934":["hashtag1","hashtag2"]},{"1391879820":["hashtag1","hashtag2"]},{"1391879897":["hashtag1","hashtag2"]},{"1391879858":["hashtag1","hashtag2"]},{"1391879782":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391879973, 1391879934, 1391879820, 1391879897, 1391879858, 1391879782)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 59.32573175430298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:06:42.488597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_45_3683.jpg', '/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_51_2688.jpg', '/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_57_6001.jpg', '/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_01_2707.jpg', '/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_03_1716.jpg', '/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_06_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_45_3683.jpg
/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_51_2688.jpg
/home/pi/Desktop/images/02112025/02/00/image_02112025_02_00_57_6001.jpg
/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_01_2707.jpg
/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_03_1716.jpg
/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_06_3696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391880130","1391880208","1391880168","1391880206","1391880200","1391880178"],"photo_ids_order":["1391880130","1391880168","1391880178","1391880200","1391880206","1391880208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f154e79cdaedba962fe9fd5e7fc92c8d.jpg","text":"TemporaryFile(/tmp/multipartBody6203791006782084544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114063341,"filename":"image_02112025_02_00_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/2/e5d1dbbd6c81f423356eef1dce09c861.jpg","text":"TemporaryFile(/tmp/multipartBody3621730848727200607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114063341,"filename":"image_02112025_02_01_06_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/2/38cfb99ec711730fcefd5668e50d04a0.jpg","text":"TemporaryFile(/tmp/multipartBody6483174687974943928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114063341,"filename":"image_02112025_02_00_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/2/5b99477dfb08fe019f4df6b99c978c4f.jpg","text":"TemporaryFile(/tmp/multipartBody8163616679576502347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114063341,"filename":"image_02112025_02_01_03_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5fb721f37fad55cf91c5f0cabfd709ca.jpg","text":"TemporaryFile(/tmp/multipartBody2077799403238831190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114063341,"filename":"image_02112025_02_01_01_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/2/ba69e8e1322a0070fa9434027893de1e.jpg","text":"TemporaryFile(/tmp/multipartBody7511382848258458486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114063341,"filename":"image_02112025_02_00_57_6001.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391880178","file1":"1391880168","file0":"1391880130","file4":"1391880206","file5":"1391880208","file3":"1391880200"},"map_files_photo_id_array":[{"photo_id":"1391880208","filename":"file5"},{"photo_id":"1391880178","filename":"file2"},{"photo_id":"1391880206","filename":"file4"},{"photo_id":"1391880168","filename":"file1"},{"photo_id":"1391880130","filename":"file0"},{"photo_id":"1391880200","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391880130":["hashtag1","hashtag2"]},{"1391880208":["hashtag1","hashtag2"]},{"1391880168":["hashtag1","hashtag2"]},{"1391880206":["hashtag1","hashtag2"]},{"1391880200":["hashtag1","hashtag2"]},{"1391880178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391880130, 1391880208, 1391880168, 1391880206, 1391880200, 1391880178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43249797821045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 21:07:22.709244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_09_2641.jpg', '/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_12_2562.jpg', '/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_15_3779.jpg', '/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_18_2747.jpg', '/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_21_2761.jpg', '/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_24_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_09_2641.jpg
/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_12_2562.jpg
/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_15_3779.jpg
/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_18_2747.jpg
/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_21_2761.jpg
/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_24_2725.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391880220","1391880226","1391880222","1391880216","1391880230","1391880224"],"photo_ids_order":["1391880216","1391880220","1391880222","1391880224","1391880226","1391880230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1295afaecc9f041b49a729a4f29911f7.jpg","text":"TemporaryFile(/tmp/multipartBody6817294126268061127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114103579,"filename":"image_02112025_02_01_12_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/2/ce815a77026cee0973efed8b479c9c6d.jpg","text":"TemporaryFile(/tmp/multipartBody1689243885325203925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114103579,"filename":"image_02112025_02_01_21_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/2/1c3f908fabe08981af3a81fd831211df.jpg","text":"TemporaryFile(/tmp/multipartBody4490291041605431820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114103579,"filename":"image_02112025_02_01_15_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/2/339af835fda83e3de474298ed276a4f4.jpg","text":"TemporaryFile(/tmp/multipartBody8402357392599789253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114103579,"filename":"image_02112025_02_01_09_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/2/82585bc03bed2347555f8d2e2943ba6d.jpg","text":"TemporaryFile(/tmp/multipartBody9069876124235491317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114103579,"filename":"image_02112025_02_01_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/2/db7780589c1f20f34bfa9b3c8bb96c3b.jpg","text":"TemporaryFile(/tmp/multipartBody9069236627878714743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114103579,"filename":"image_02112025_02_01_18_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391880222","file1":"1391880220","file0":"1391880216","file4":"1391880226","file5":"1391880230","file3":"1391880224"},"map_files_photo_id_array":[{"photo_id":"1391880230","filename":"file5"},{"photo_id":"1391880222","filename":"file2"},{"photo_id":"1391880226","filename":"file4"},{"photo_id":"1391880220","filename":"file1"},{"photo_id":"1391880216","filename":"file0"},{"photo_id":"1391880224","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391880220":["hashtag1","hashtag2"]},{"1391880226":["hashtag1","hashtag2"]},{"1391880222":["hashtag1","hashtag2"]},{"1391880216":["hashtag1","hashtag2"]},{"1391880230":["hashtag1","hashtag2"]},{"1391880224":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391880220, 1391880226, 1391880222, 1391880216, 1391880230, 1391880224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59630036354065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 21:08:02.382926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_27_3669.jpg', '/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_33_2644.jpg', '/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_36_2600.jpg', '/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_39_3677.jpg', '/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_42_2649.jpg', '/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_48_2926.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_27_3669.jpg
/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_33_2644.jpg
/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_36_2600.jpg
/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_39_3677.jpg
/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_42_2649.jpg
/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_48_2926.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391880247","1391880244","1391880246","1391880240","1391880242","1391880245"],"photo_ids_order":["1391880240","1391880242","1391880244","1391880245","1391880246","1391880247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d5c84242ff6b38141ff2b3d940625f65.jpg","text":"TemporaryFile(/tmp/multipartBody3447391229889576379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114143224,"filename":"image_02112025_02_01_48_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/2/b95d2d32061d5f0a0e688320634bc2f5.jpg","text":"TemporaryFile(/tmp/multipartBody9029958123706487936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114143224,"filename":"image_02112025_02_01_36_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/2/d668c26f06eb17d159f46e08a1f15ca0.jpg","text":"TemporaryFile(/tmp/multipartBody6310198550301434147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114143224,"filename":"image_02112025_02_01_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/2/85d7efe24efe7bcb929d65cd9cb4c338.jpg","text":"TemporaryFile(/tmp/multipartBody2735778179112803314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114143224,"filename":"image_02112025_02_01_27_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/2/f4ce27a1b568f04d6aa950ae47a9162c.jpg","text":"TemporaryFile(/tmp/multipartBody5605694172941565298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114143224,"filename":"image_02112025_02_01_33_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/2/52adeb0fa13a93db6d54619cc1c1a1f8.jpg","text":"TemporaryFile(/tmp/multipartBody1330047061857189069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114143224,"filename":"image_02112025_02_01_39_3677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391880244","file1":"1391880242","file0":"1391880240","file4":"1391880246","file5":"1391880247","file3":"1391880245"},"map_files_photo_id_array":[{"photo_id":"1391880247","filename":"file5"},{"photo_id":"1391880244","filename":"file2"},{"photo_id":"1391880246","filename":"file4"},{"photo_id":"1391880242","filename":"file1"},{"photo_id":"1391880240","filename":"file0"},{"photo_id":"1391880245","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391880247":["hashtag1","hashtag2"]},{"1391880244":["hashtag1","hashtag2"]},{"1391880246":["hashtag1","hashtag2"]},{"1391880240":["hashtag1","hashtag2"]},{"1391880242":["hashtag1","hashtag2"]},{"1391880245":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391880247, 1391880244, 1391880246, 1391880240, 1391880242, 1391880245)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.03076672554016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 21:09:02.768249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_51_2875.jpg', '/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_54_2709.jpg', '/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_57_2745.jpg', '/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_03_2628.jpg', '/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_06_2758.jpg', '/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_09_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_51_2875.jpg
/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_54_2709.jpg
/home/pi/Desktop/images/02112025/02/01/image_02112025_02_01_57_2745.jpg
/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_03_2628.jpg
/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_06_2758.jpg
/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_09_2676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1391880306","1391880309","1391880300","1391880303","1391880293","1391880296"],"photo_ids_order":["1391880293","1391880296","1391880300","1391880303","1391880306","1391880309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4e69263e3f55297ae4f6cb87375dc58b.jpg","text":"TemporaryFile(/tmp/multipartBody8372195627360572623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114262897,"filename":"image_02112025_02_02_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/2/57eda7acda531cf3ac007599f3ea85e3.jpg","text":"TemporaryFile(/tmp/multipartBody4892565609910956343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114262897,"filename":"image_02112025_02_02_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/2/407f460dedac78375cab50d3bbc2c9eb.jpg","text":"TemporaryFile(/tmp/multipartBody2143037972995021946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114262897,"filename":"image_02112025_02_01_57_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/2/23150ffdda22d8d367c40957e664f2cd.jpg","text":"TemporaryFile(/tmp/multipartBody185041466594270472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114262897,"filename":"image_02112025_02_02_03_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/2/d8da5f75e42fef734b5a36d26a66e44d.jpg","text":"TemporaryFile(/tmp/multipartBody2424658686103480692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114262897,"filename":"image_02112025_02_01_51_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/2/4203eca28b70ed68259b17e814c4f5c2.jpg","text":"TemporaryFile(/tmp/multipartBody3738712968407974018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114262897,"filename":"image_02112025_02_01_54_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391880300","file1":"1391880296","file0":"1391880293","file4":"1391880306","file5":"1391880309","file3":"1391880303"},"map_files_photo_id_array":[{"photo_id":"1391880309","filename":"file5"},{"photo_id":"1391880300","filename":"file2"},{"photo_id":"1391880306","filename":"file4"},{"photo_id":"1391880296","filename":"file1"},{"photo_id":"1391880293","filename":"file0"},{"photo_id":"1391880303","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391880306":["hashtag1","hashtag2"]},{"1391880309":["hashtag1","hashtag2"]},{"1391880300":["hashtag1","hashtag2"]},{"1391880303":["hashtag1","hashtag2"]},{"1391880293":["hashtag1","hashtag2"]},{"1391880296":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391880306, 1391880309, 1391880300, 1391880303, 1391880293, 1391880296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 110.88231992721558 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 21:11:05.337261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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
 val : 1 : upload photos already in processing! 
2025-11-02 21:12:06.290329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 21:12:25.821925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_12_3680.jpg', '/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_15_2510.jpg', '/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_17_2803.jpg', '/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_27_2671.jpg', '/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_30_3563.jpg', '/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_33_2814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_12_3680.jpg
/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_15_2510.jpg
/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_17_2803.jpg
/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_27_2671.jpg
/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_30_3563.jpg
/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_33_2814.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391880358","1391880361","1391880355","1391880363","1391880357","1391880359"],"photo_ids_order":["1391880355","1391880357","1391880358","1391880359","1391880361","1391880363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/359ac01793a19d638ed16f01175b6212.jpg","text":"TemporaryFile(/tmp/multipartBody4326669266776225769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114406622,"filename":"image_02112025_02_02_17_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/2/981f1dd4c3430cf152bd779b48cd72b0.jpg","text":"TemporaryFile(/tmp/multipartBody36279912088829383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114406622,"filename":"image_02112025_02_02_30_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/2/00be75e60e6f2e176eaff3a3a46f47a6.jpg","text":"TemporaryFile(/tmp/multipartBody1023757982464417396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114406622,"filename":"image_02112025_02_02_12_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/2/bbf114a9f7a5a64665bbd02bbf973e34.jpg","text":"TemporaryFile(/tmp/multipartBody6433921393664058274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114406622,"filename":"image_02112025_02_02_33_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/2/8a24f4f4d9254794d9888df164f42d79.jpg","text":"TemporaryFile(/tmp/multipartBody8702886669783983385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114406622,"filename":"image_02112025_02_02_15_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/2/8f388617308cea0a805d668a88d88624.jpg","text":"TemporaryFile(/tmp/multipartBody6815584468551978131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114406622,"filename":"image_02112025_02_02_27_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391880358","file1":"1391880357","file0":"1391880355","file4":"1391880361","file5":"1391880363","file3":"1391880359"},"map_files_photo_id_array":[{"photo_id":"1391880363","filename":"file5"},{"photo_id":"1391880358","filename":"file2"},{"photo_id":"1391880361","filename":"file4"},{"photo_id":"1391880357","filename":"file1"},{"photo_id":"1391880355","filename":"file0"},{"photo_id":"1391880359","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391880358":["hashtag1","hashtag2"]},{"1391880361":["hashtag1","hashtag2"]},{"1391880355":["hashtag1","hashtag2"]},{"1391880363":["hashtag1","hashtag2"]},{"1391880357":["hashtag1","hashtag2"]},{"1391880359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391880358, 1391880361, 1391880355, 1391880363, 1391880357, 1391880359)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 36.960693359375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 21:13:22.737434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_36_2736.jpg', '/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_51_2690.jpg', '/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_54_2603.jpg', '/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_57_3719.jpg', '/home/pi/Desktop/images/02112025/02/02/image_02112025_02_03_00_2736.jpg', '/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_03_2803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_36_2736.jpg
/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_51_2690.jpg
/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_54_2603.jpg
/home/pi/Desktop/images/02112025/02/02/image_02112025_02_02_57_3719.jpg
/home/pi/Desktop/images/02112025/02/02/image_02112025_02_03_00_2736.jpg
/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_03_2803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391880390","1391880387","1391880378","1391880383","1391880380","1391880394"],"photo_ids_order":["1391880378","1391880380","1391880383","1391880387","1391880390","1391880394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/dbde45c3e2b41484a68e15195d2907b5.jpg","text":"TemporaryFile(/tmp/multipartBody7441099750973072779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114463528,"filename":"image_02112025_02_03_00_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/2/41cd4645776f4f650cde4f7cb12253bf.jpg","text":"TemporaryFile(/tmp/multipartBody7065559114158688946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114463528,"filename":"image_02112025_02_02_57_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/2/532784025a095b96d8c414860d7730b0.jpg","text":"TemporaryFile(/tmp/multipartBody9118243435575294014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114463528,"filename":"image_02112025_02_02_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/2/c3fae6b160db79e3e59bb73c98014030.jpg","text":"TemporaryFile(/tmp/multipartBody7773469542595803324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114463528,"filename":"image_02112025_02_02_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/2/5f5c9038e18984ed2fd67032a0768d1d.jpg","text":"TemporaryFile(/tmp/multipartBody799602309150910495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114463528,"filename":"image_02112025_02_02_51_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/2/09ff3a574626ce28374c88b6e8be8ec4.jpg","text":"TemporaryFile(/tmp/multipartBody8696462805733782515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114463528,"filename":"image_02112025_02_03_03_2803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391880383","file1":"1391880380","file0":"1391880378","file4":"1391880390","file5":"1391880394","file3":"1391880387"},"map_files_photo_id_array":[{"photo_id":"1391880394","filename":"file5"},{"photo_id":"1391880383","filename":"file2"},{"photo_id":"1391880390","filename":"file4"},{"photo_id":"1391880380","filename":"file1"},{"photo_id":"1391880378","filename":"file0"},{"photo_id":"1391880387","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391880390":["hashtag1","hashtag2"]},{"1391880387":["hashtag1","hashtag2"]},{"1391880378":["hashtag1","hashtag2"]},{"1391880383":["hashtag1","hashtag2"]},{"1391880380":["hashtag1","hashtag2"]},{"1391880394":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391880390, 1391880387, 1391880378, 1391880383, 1391880380, 1391880394)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.0097918510437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 21:14:28.361032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_14_2653.jpg', '/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_18_3654.jpg', '/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_21_2812.jpg', '/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_24_2702.jpg', '/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_30_2666.jpg', '/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_36_3572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_14_2653.jpg
/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_18_3654.jpg
/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_21_2812.jpg
/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_24_2702.jpg
/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_30_2666.jpg
/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_36_3572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391880427","1391880429","1391880420","1391880422","1391880431","1391880425"],"photo_ids_order":["1391880420","1391880422","1391880425","1391880427","1391880429","1391880431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ce3f2c76530a5704527e44a4d9447f3c.jpg","text":"TemporaryFile(/tmp/multipartBody1900968774374856259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114560687,"filename":"image_02112025_02_03_24_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/2/863e21d611211f1371ca9ea465ae6b5f.jpg","text":"TemporaryFile(/tmp/multipartBody5188398045136569598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114560687,"filename":"image_02112025_02_03_30_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/2/cccd703bd8cc17b5380857a52a6297b0.jpg","text":"TemporaryFile(/tmp/multipartBody7591729467757579694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114560687,"filename":"image_02112025_02_03_14_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/2/1f66c50f94e0e5dfc0967304573629fa.jpg","text":"TemporaryFile(/tmp/multipartBody4743946383657780534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114560687,"filename":"image_02112025_02_03_18_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/2/0e83d5c4c6a91311c290780f6b61eb73.jpg","text":"TemporaryFile(/tmp/multipartBody7497107086531412324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114560687,"filename":"image_02112025_02_03_36_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/2/6cd23cd2aaaae4cae811fa755cd6deac.jpg","text":"TemporaryFile(/tmp/multipartBody3465674382333995426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114560687,"filename":"image_02112025_02_03_21_2812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391880425","file1":"1391880422","file0":"1391880420","file4":"1391880429","file5":"1391880431","file3":"1391880427"},"map_files_photo_id_array":[{"photo_id":"1391880431","filename":"file5"},{"photo_id":"1391880425","filename":"file2"},{"photo_id":"1391880429","filename":"file4"},{"photo_id":"1391880422","filename":"file1"},{"photo_id":"1391880420","filename":"file0"},{"photo_id":"1391880427","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391880427":["hashtag1","hashtag2"]},{"1391880429":["hashtag1","hashtag2"]},{"1391880420":["hashtag1","hashtag2"]},{"1391880422":["hashtag1","hashtag2"]},{"1391880431":["hashtag1","hashtag2"]},{"1391880425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391880427, 1391880429, 1391880420, 1391880422, 1391880431, 1391880425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.96358251571655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:15:42.028524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_39_2680.jpg', '/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_41_2613.jpg', '/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_45_3736.jpg', '/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_51_2801.jpg', '/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_54_3670.jpg', '/home/pi/Desktop/images/02112025/02/03/image_02112025_02_04_00_2816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_39_2680.jpg
/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_41_2613.jpg
/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_45_3736.jpg
/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_51_2801.jpg
/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_54_3670.jpg
/home/pi/Desktop/images/02112025/02/03/image_02112025_02_04_00_2816.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7157940864562988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 21:16:02.667717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_39_2680.jpg', '/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_41_2613.jpg', '/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_45_3736.jpg', '/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_51_2801.jpg', '/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_54_3670.jpg', '/home/pi/Desktop/images/02112025/02/03/image_02112025_02_04_00_2816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_39_2680.jpg
/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_41_2613.jpg
/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_45_3736.jpg
/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_51_2801.jpg
/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_54_3670.jpg
/home/pi/Desktop/images/02112025/02/03/image_02112025_02_04_00_2816.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391880463","1391880457","1391880460","1391880454","1391880450","1391880452"],"photo_ids_order":["1391880450","1391880452","1391880454","1391880457","1391880460","1391880463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2d22cde1863ddd5affaab2fbd8669da3.jpg","text":"TemporaryFile(/tmp/multipartBody1038681836142859440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114625313,"filename":"image_02112025_02_04_00_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/2/d04a2c95a73ac5dc5eb3a820f9081975.jpg","text":"TemporaryFile(/tmp/multipartBody1592292228201394761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114625313,"filename":"image_02112025_02_03_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/2/588047c7efaa2d48ae9958e8e73d7815.jpg","text":"TemporaryFile(/tmp/multipartBody1756727978289735626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114625313,"filename":"image_02112025_02_03_54_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/2/386ef74e4462985c52f7ffc219e21784.jpg","text":"TemporaryFile(/tmp/multipartBody2672045738740559507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114625313,"filename":"image_02112025_02_03_45_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/2/7800f67df38923e29d653b6a0b32d835.jpg","text":"TemporaryFile(/tmp/multipartBody3521738842298531491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114625313,"filename":"image_02112025_02_03_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/2/91d2e87a6b3c82616d931d04ded1be10.jpg","text":"TemporaryFile(/tmp/multipartBody8789673459051572935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114625313,"filename":"image_02112025_02_03_41_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391880454","file1":"1391880452","file0":"1391880450","file4":"1391880460","file5":"1391880463","file3":"1391880457"},"map_files_photo_id_array":[{"photo_id":"1391880463","filename":"file5"},{"photo_id":"1391880454","filename":"file2"},{"photo_id":"1391880460","filename":"file4"},{"photo_id":"1391880452","filename":"file1"},{"photo_id":"1391880450","filename":"file0"},{"photo_id":"1391880457","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391880463":["hashtag1","hashtag2"]},{"1391880457":["hashtag1","hashtag2"]},{"1391880460":["hashtag1","hashtag2"]},{"1391880454":["hashtag1","hashtag2"]},{"1391880450":["hashtag1","hashtag2"]},{"1391880452":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391880463, 1391880457, 1391880460, 1391880454, 1391880450, 1391880452)","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 = 1391880454 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02112025/02/03/image_02112025_02_03_45_3736.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 83.48641324043274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:17:42.174515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_02_2739.jpg', '/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_06_3646.jpg', '/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_09_2749.jpg', '/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_12_2731.jpg', '/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_18_3711.jpg', '/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_21_2793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_02_2739.jpg
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_06_3646.jpg
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_09_2749.jpg
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_12_2731.jpg
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_18_3711.jpg
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_21_2793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391880514","1391880522","1391880516","1391880519","1391880510","1391880512"],"photo_ids_order":["1391880510","1391880512","1391880514","1391880516","1391880519","1391880522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ef09ba0cb4e91a5cea97ccc2a0c49dc9.jpg","text":"TemporaryFile(/tmp/multipartBody3226767003070398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114790632,"filename":"image_02112025_02_04_09_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/2/c03c81beafa05cc12e269307f60dd200.jpg","text":"TemporaryFile(/tmp/multipartBody1034702086013081922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114790632,"filename":"image_02112025_02_04_21_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/2/4bd23e1582bd498f7c91ed99ab549afc.jpg","text":"TemporaryFile(/tmp/multipartBody1814439235037766904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114790632,"filename":"image_02112025_02_04_12_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/2/05b6ceb6ae3feec740b24f58958b5aac.jpg","text":"TemporaryFile(/tmp/multipartBody1948261224301009095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114790632,"filename":"image_02112025_02_04_18_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/2/69c4ecab16e4053744dd908e23441113.jpg","text":"TemporaryFile(/tmp/multipartBody6738218493188536573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114790632,"filename":"image_02112025_02_04_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/2/1f3ef7ad790e0517ffd5478d8d228ba1.jpg","text":"TemporaryFile(/tmp/multipartBody8811699863124872068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114790632,"filename":"image_02112025_02_04_06_3646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391880514","file1":"1391880512","file0":"1391880510","file4":"1391880519","file5":"1391880522","file3":"1391880516"},"map_files_photo_id_array":[{"photo_id":"1391880522","filename":"file5"},{"photo_id":"1391880514","filename":"file2"},{"photo_id":"1391880519","filename":"file4"},{"photo_id":"1391880512","filename":"file1"},{"photo_id":"1391880510","filename":"file0"},{"photo_id":"1391880516","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391880514":["hashtag1","hashtag2"]},{"1391880522":["hashtag1","hashtag2"]},{"1391880516":["hashtag1","hashtag2"]},{"1391880519":["hashtag1","hashtag2"]},{"1391880510":["hashtag1","hashtag2"]},{"1391880512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391880514, 1391880522, 1391880516, 1391880519, 1391880510, 1391880512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 102.45903253555298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:19:42.202089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_23_2579.jpg', '/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_27_3740.jpg', '/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_33_2791.jpg', '/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_36_3562.jpg', '/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_39_2654.jpg', '/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_41_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_23_2579.jpg
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_27_3740.jpg
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_33_2791.jpg
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_36_3562.jpg
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_39_2654.jpg
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_41_2681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391880541","1391880535","1391880537","1391880531","1391880539","1391880533"],"photo_ids_order":["1391880531","1391880533","1391880535","1391880537","1391880539","1391880541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9eb7a60283402fd1fe35318c4fe0e27d.jpg","text":"TemporaryFile(/tmp/multipartBody536735640905486443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114843022,"filename":"image_02112025_02_04_41_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/2/8d3665507e985ec3520f3d184a555328.jpg","text":"TemporaryFile(/tmp/multipartBody3563573788725995734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114843022,"filename":"image_02112025_02_04_33_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/2/65628a7939ac226385a267f9427f22e0.jpg","text":"TemporaryFile(/tmp/multipartBody4922657338643161426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114843022,"filename":"image_02112025_02_04_36_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/2/b2c87191bbfd66bd98a163933ef7e63f.jpg","text":"TemporaryFile(/tmp/multipartBody4502069306490964691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114843022,"filename":"image_02112025_02_04_23_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/2/e69d26e7ba3b37bead8fadaad7bfcdca.jpg","text":"TemporaryFile(/tmp/multipartBody2038991205004992616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114843022,"filename":"image_02112025_02_04_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/2/6803f11eb33c4335b73b6edd4d866114.jpg","text":"TemporaryFile(/tmp/multipartBody7248589305480307271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762114843022,"filename":"image_02112025_02_04_27_3740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391880535","file1":"1391880533","file0":"1391880531","file4":"1391880539","file5":"1391880541","file3":"1391880537"},"map_files_photo_id_array":[{"photo_id":"1391880541","filename":"file5"},{"photo_id":"1391880535","filename":"file2"},{"photo_id":"1391880539","filename":"file4"},{"photo_id":"1391880533","filename":"file1"},{"photo_id":"1391880531","filename":"file0"},{"photo_id":"1391880537","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391880541":["hashtag1","hashtag2"]},{"1391880535":["hashtag1","hashtag2"]},{"1391880537":["hashtag1","hashtag2"]},{"1391880531":["hashtag1","hashtag2"]},{"1391880539":["hashtag1","hashtag2"]},{"1391880533":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391880541, 1391880535, 1391880537, 1391880531, 1391880539, 1391880533)","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 = 1391880535 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_33_2791.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1391880535 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_33_2791.jpg";
uploaded 6 photos
time to upload: 64.51181745529175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 21:21:16.610859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 21:21:37.007828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 21:22:03.231387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 21:22:22.788491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_23_2579.jpg', '/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_27_3740.jpg', '/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_33_2791.jpg', '/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_36_3562.jpg', '/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_39_2654.jpg', '/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_41_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_23_2579.jpg
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_27_3740.jpg
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_33_2791.jpg
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_36_3562.jpg
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_39_2654.jpg
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_41_2681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391880610","1391880604","1391880606","1391880599","1391880608","1391880602"],"photo_ids_order":["1391880599","1391880602","1391880604","1391880606","1391880608","1391880610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/52795b4c8cf0858dfe7c65494321da63.jpg","text":"TemporaryFile(/tmp/multipartBody4440247514086687200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115003459,"filename":"image_02112025_02_04_41_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/2/27f573d53d6a97d431a5a46bd89628d8.jpg","text":"TemporaryFile(/tmp/multipartBody3538570289433748717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115003459,"filename":"image_02112025_02_04_33_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/2/14bda2a92ef6956d85e6ec8a9b396e35.jpg","text":"TemporaryFile(/tmp/multipartBody1775356697434082388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115003459,"filename":"image_02112025_02_04_36_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/2/124ba57ad80831bfe275ee532a97dda9.jpg","text":"TemporaryFile(/tmp/multipartBody3795492883312242334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115003459,"filename":"image_02112025_02_04_23_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/2/b324e03120cc1bf110d14f834575c8d5.jpg","text":"TemporaryFile(/tmp/multipartBody9198184029295000567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115003459,"filename":"image_02112025_02_04_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/2/80f160bf04fd7373fbae0e102556739e.jpg","text":"TemporaryFile(/tmp/multipartBody3201937185070404995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115003459,"filename":"image_02112025_02_04_27_3740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391880604","file1":"1391880602","file0":"1391880599","file4":"1391880608","file5":"1391880610","file3":"1391880606"},"map_files_photo_id_array":[{"photo_id":"1391880610","filename":"file5"},{"photo_id":"1391880604","filename":"file2"},{"photo_id":"1391880608","filename":"file4"},{"photo_id":"1391880602","filename":"file1"},{"photo_id":"1391880599","filename":"file0"},{"photo_id":"1391880606","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391880610":["hashtag1","hashtag2"]},{"1391880604":["hashtag1","hashtag2"]},{"1391880606":["hashtag1","hashtag2"]},{"1391880599":["hashtag1","hashtag2"]},{"1391880608":["hashtag1","hashtag2"]},{"1391880602":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391880610, 1391880604, 1391880606, 1391880599, 1391880608, 1391880602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33960437774658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 21:23:02.559414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 21:23:21.809945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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
 val : 1 : upload photos already in processing! 
2025-11-02 21:23:57.550124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 21:24:22.690763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_45_3580.jpg', '/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_48_2659.jpg', '/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_50_2691.jpg', '/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_57_2693.jpg', '/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_59_2756.jpg', '/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_03_3637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_45_3580.jpg
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_48_2659.jpg
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_50_2691.jpg
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_57_2693.jpg
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_59_2756.jpg
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_03_3637.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8494763374328613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:24:44.832310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 21:25:16.652410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 21:25:45.415731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_45_3580.jpg', '/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_48_2659.jpg', '/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_50_2691.jpg', '/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_57_2693.jpg', '/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_59_2756.jpg', '/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_03_3637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_45_3580.jpg
 val : 1 : upload photos already in processing! 
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_48_2659.jpg
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_50_2691.jpg
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_57_2693.jpg
/home/pi/Desktop/images/02112025/02/04/image_02112025_02_04_59_2756.jpg
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_03_3637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391880696","1391880700","1391880687","1391880692","1391880680","1391880683"],"photo_ids_order":["1391880680","1391880683","1391880687","1391880692","1391880696","1391880700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/530e09c02e4d49461411f18384a1470a.jpg","text":"TemporaryFile(/tmp/multipartBody3692519964406283548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115216816,"filename":"image_02112025_02_04_59_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/2/ebaaa1749a893a3f0c32bce96254b450.jpg","text":"TemporaryFile(/tmp/multipartBody4553791475785802612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115216816,"filename":"image_02112025_02_05_03_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/2/fdc23843bdab62041cf6ab35304e7de1.jpg","text":"TemporaryFile(/tmp/multipartBody3466483327476370724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115216816,"filename":"image_02112025_02_04_50_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/2/293841843cdf3921fb7b9900bb18db0b.jpg","text":"TemporaryFile(/tmp/multipartBody6824950337711003773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115216816,"filename":"image_02112025_02_04_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/2/3688077b2dbb56615063ab3efbfa43f3.jpg","text":"TemporaryFile(/tmp/multipartBody612112601362769531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115216816,"filename":"image_02112025_02_04_45_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/2/c1def583ab5a2e6f61290590625093c6.jpg","text":"TemporaryFile(/tmp/multipartBody6223398497029742004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115216816,"filename":"image_02112025_02_04_48_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391880687","file1":"1391880683","file0":"1391880680","file4":"1391880696","file5":"1391880700","file3":"1391880692"},"map_files_photo_id_array":[{"photo_id":"1391880700","filename":"file5"},{"photo_id":"1391880687","filename":"file2"},{"photo_id":"1391880696","filename":"file4"},{"photo_id":"1391880683","filename":"file1"},{"photo_id":"1391880680","filename":"file0"},{"photo_id":"1391880692","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391880696":["hashtag1","hashtag2"]},{"1391880700":["hashtag1","hashtag2"]},{"1391880687":["hashtag1","hashtag2"]},{"1391880692":["hashtag1","hashtag2"]},{"1391880680":["hashtag1","hashtag2"]},{"1391880683":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391880696, 1391880700, 1391880687, 1391880692, 1391880680, 1391880683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.757142543792725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:26:42.916875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_06_2831.jpg', '/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_09_2868.jpg', '/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_18_2588.jpg', '/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_21_2946.jpg', '/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_23_2636.jpg', '/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_30_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_06_2831.jpg
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_09_2868.jpg
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_18_2588.jpg
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_21_2946.jpg
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_23_2636.jpg
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_30_2709.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7763395309448242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 21:27:02.730678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_06_2831.jpg', '/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_09_2868.jpg', '/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_18_2588.jpg', '/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_21_2946.jpg', '/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_23_2636.jpg', '/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_30_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_06_2831.jpg
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_09_2868.jpg
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_18_2588.jpg
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_21_2946.jpg
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_23_2636.jpg
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_30_2709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391880721","1391880724","1391880727","1391880732","1391880729","1391880726"],"photo_ids_order":["1391880721","1391880724","1391880726","1391880727","1391880729","1391880732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1e09d9712fe49ebd66b3cad6f83ffd5e.jpg","text":"TemporaryFile(/tmp/multipartBody8794370692483189072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115283515,"filename":"image_02112025_02_05_06_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/2/67dad9bf599738af98d7c145ce2f9f18.jpg","text":"TemporaryFile(/tmp/multipartBody9142362410659789026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115283515,"filename":"image_02112025_02_05_09_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/2/fdc0b95116bc1822e2e108f8e23e081d.jpg","text":"TemporaryFile(/tmp/multipartBody4364140307996134564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115283515,"filename":"image_02112025_02_05_21_2946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c625d382cdbb2521bd8e6a739c9c0ce8.jpg","text":"TemporaryFile(/tmp/multipartBody9119134392422566401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115283515,"filename":"image_02112025_02_05_30_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/2/2bebdc585702285f338cafe1aac0437b.jpg","text":"TemporaryFile(/tmp/multipartBody7529703622591896003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115283515,"filename":"image_02112025_02_05_23_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/2/c72a5124042a92067d78b6e3b0ac1a7e.jpg","text":"TemporaryFile(/tmp/multipartBody1348987941089469050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115283515,"filename":"image_02112025_02_05_18_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391880726","file1":"1391880724","file0":"1391880721","file4":"1391880729","file5":"1391880732","file3":"1391880727"},"map_files_photo_id_array":[{"photo_id":"1391880732","filename":"file5"},{"photo_id":"1391880726","filename":"file2"},{"photo_id":"1391880729","filename":"file4"},{"photo_id":"1391880724","filename":"file1"},{"photo_id":"1391880721","filename":"file0"},{"photo_id":"1391880727","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391880721":["hashtag1","hashtag2"]},{"1391880724":["hashtag1","hashtag2"]},{"1391880727":["hashtag1","hashtag2"]},{"1391880732":["hashtag1","hashtag2"]},{"1391880729":["hashtag1","hashtag2"]},{"1391880726":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391880721, 1391880724, 1391880727, 1391880732, 1391880729, 1391880726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91282820701599 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:27:42.195551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_32_2881.jpg', '/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_36_3682.jpg', '/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_44_2642.jpg', '/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_48_3823.jpg', '/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_51_2660.jpg', '/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_53_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_32_2881.jpg
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_36_3682.jpg
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_44_2642.jpg
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_48_3823.jpg
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_51_2660.jpg
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_53_2582.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 9.264151096343994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 21:28:02.726700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 21:28:22.384692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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
 val : 1 : upload photos already in processing! 
2025-11-02 21:29:04.478397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 21:29:24.290145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 21:29:44.364685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_32_2881.jpg', '/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_36_3682.jpg', '/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_44_2642.jpg', '/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_48_3823.jpg', '/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_51_2660.jpg', '/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_53_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_32_2881.jpg
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_36_3682.jpg
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_44_2642.jpg
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_48_3823.jpg
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_51_2660.jpg
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_53_2582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391880805","1391880795","1391880792","1391880807","1391880797","1391880809"],"photo_ids_order":["1391880792","1391880795","1391880797","1391880805","1391880807","1391880809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0ba8131dd81dcb67c59ef3c4f89d2750.jpg","text":"TemporaryFile(/tmp/multipartBody3280383850088441681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115445083,"filename":"image_02112025_02_05_48_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/2/b7c686c73056281415b862a21ec5cfb8.jpg","text":"TemporaryFile(/tmp/multipartBody2340050933710940126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115445083,"filename":"image_02112025_02_05_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/2/87533388f7c50bc2eedce1acefa21316.jpg","text":"TemporaryFile(/tmp/multipartBody2954750371425859759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115445083,"filename":"image_02112025_02_05_32_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/2/a2f87316cab09f97ca20d355b6510fca.jpg","text":"TemporaryFile(/tmp/multipartBody6691005179801688081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115445083,"filename":"image_02112025_02_05_51_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/2/09822581f576f337607589dbfdbaf1fa.jpg","text":"TemporaryFile(/tmp/multipartBody4893919863103402186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115445083,"filename":"image_02112025_02_05_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/2/d04ec808d73cc127df69212e61e5e9db.jpg","text":"TemporaryFile(/tmp/multipartBody2673052717998890361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115445083,"filename":"image_02112025_02_05_53_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391880797","file1":"1391880795","file0":"1391880792","file4":"1391880807","file5":"1391880809","file3":"1391880805"},"map_files_photo_id_array":[{"photo_id":"1391880809","filename":"file5"},{"photo_id":"1391880797","filename":"file2"},{"photo_id":"1391880807","filename":"file4"},{"photo_id":"1391880795","filename":"file1"},{"photo_id":"1391880792","filename":"file0"},{"photo_id":"1391880805","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391880805":["hashtag1","hashtag2"]},{"1391880795":["hashtag1","hashtag2"]},{"1391880792":["hashtag1","hashtag2"]},{"1391880807":["hashtag1","hashtag2"]},{"1391880797":["hashtag1","hashtag2"]},{"1391880809":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391880805, 1391880795, 1391880792, 1391880807, 1391880797, 1391880809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.4199948310852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 21:31:02.652006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_57_3546.jpg', '/home/pi/Desktop/images/02112025/02/06/image_02112025_02_06_06_3627.jpg', '/home/pi/Desktop/images/02112025/02/06/image_02112025_02_06_09_2740.jpg', '/home/pi/Desktop/images/02112025/02/06/image_02112025_02_06_11_2645.jpg', '/home/pi/Desktop/images/02112025/02/06/image_02112025_02_06_15_3564.jpg', '/home/pi/Desktop/images/02112025/02/06/image_02112025_02_06_17_2539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/05/image_02112025_02_05_57_3546.jpg
/home/pi/Desktop/images/02112025/02/06/image_02112025_02_06_06_3627.jpg
/home/pi/Desktop/images/02112025/02/06/image_02112025_02_06_09_2740.jpg
/home/pi/Desktop/images/02112025/02/06/image_02112025_02_06_11_2645.jpg
/home/pi/Desktop/images/02112025/02/06/image_02112025_02_06_15_3564.jpg
/home/pi/Desktop/images/02112025/02/06/image_02112025_02_06_17_2539.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391880823","1391880825","1391880830","1391880824","1391880827","1391880821"],"photo_ids_order":["1391880821","1391880823","1391880824","1391880825","1391880827","1391880830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/15a3a4d4d309aa3f54f97608e017463c.jpg","text":"TemporaryFile(/tmp/multipartBody4708729233565271193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115523543,"filename":"image_02112025_02_06_06_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/2/3a3a198a122c589f16b8753213c40ec0.jpg","text":"TemporaryFile(/tmp/multipartBody1409078340765118402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115523543,"filename":"image_02112025_02_06_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/2/eac39cc29f77c9e9fd174f4f3e31fa1f.jpg","text":"TemporaryFile(/tmp/multipartBody2620181009330623016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115523543,"filename":"image_02112025_02_06_17_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/2/cc41f00ba9d44c4a0f31afdbf4817647.jpg","text":"TemporaryFile(/tmp/multipartBody2331985679491618269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115523543,"filename":"image_02112025_02_06_09_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/2/12c22c884c5db0dea5478e9bfeccef5d.jpg","text":"TemporaryFile(/tmp/multipartBody7906091981288540435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115523543,"filename":"image_02112025_02_06_15_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/2/e15e42ed8205e0a5a1822273da89c356.jpg","text":"TemporaryFile(/tmp/multipartBody4400877114370499003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115523543,"filename":"image_02112025_02_05_57_3546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391880824","file1":"1391880823","file0":"1391880821","file4":"1391880827","file5":"1391880830","file3":"1391880825"},"map_files_photo_id_array":[{"photo_id":"1391880830","filename":"file5"},{"photo_id":"1391880824","filename":"file2"},{"photo_id":"1391880827","filename":"file4"},{"photo_id":"1391880823","filename":"file1"},{"photo_id":"1391880821","filename":"file0"},{"photo_id":"1391880825","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391880823":["hashtag1","hashtag2"]},{"1391880825":["hashtag1","hashtag2"]},{"1391880830":["hashtag1","hashtag2"]},{"1391880824":["hashtag1","hashtag2"]},{"1391880827":["hashtag1","hashtag2"]},{"1391880821":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391880823, 1391880825, 1391880830, 1391880824, 1391880827, 1391880821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.458131313323975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:31:42.014806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/06/image_02112025_02_06_21_3731.jpg', '/home/pi/Desktop/images/02112025/02/06/image_02112025_02_06_24_2755.jpg', '/home/pi/Desktop/images/02112025/02/06/image_02112025_02_06_26_2572.jpg', '/home/pi/Desktop/images/02112025/02/06/image_02112025_02_06_30_3642.jpg', '/home/pi/Desktop/images/02112025/02/06/image_02112025_02_07_00_1732.jpg', '/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_03_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/06/image_02112025_02_06_21_3731.jpg
/home/pi/Desktop/images/02112025/02/06/image_02112025_02_06_24_2755.jpg
/home/pi/Desktop/images/02112025/02/06/image_02112025_02_06_26_2572.jpg
/home/pi/Desktop/images/02112025/02/06/image_02112025_02_06_30_3642.jpg
/home/pi/Desktop/images/02112025/02/06/image_02112025_02_07_00_1732.jpg
/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_03_2631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391880844","1391880846","1391880849","1391880840","1391880837","1391880842"],"photo_ids_order":["1391880837","1391880840","1391880842","1391880844","1391880846","1391880849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0acd9c9e5c84772c68add9544d28f8fc.jpg","text":"TemporaryFile(/tmp/multipartBody35978655671214046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115562848,"filename":"image_02112025_02_06_30_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/2/de752881f7742236398f3ad7b002abbc.jpg","text":"TemporaryFile(/tmp/multipartBody3289701837259402999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115562848,"filename":"image_02112025_02_07_00_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/2/1095df0f1acaa0930b53d48ae3b31a79.jpg","text":"TemporaryFile(/tmp/multipartBody1824549326396226660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115562848,"filename":"image_02112025_02_07_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/2/d957cccf51de4315526207c00d017687.jpg","text":"TemporaryFile(/tmp/multipartBody3653512008897991616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115562848,"filename":"image_02112025_02_06_24_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/2/8b304d335f226b15660a44bd92a6d376.jpg","text":"TemporaryFile(/tmp/multipartBody1651254226670725676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115562848,"filename":"image_02112025_02_06_21_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/2/18772f241dd413b57e08ad21f12173ea.jpg","text":"TemporaryFile(/tmp/multipartBody5455326285502995277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115562848,"filename":"image_02112025_02_06_26_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391880842","file1":"1391880840","file0":"1391880837","file4":"1391880846","file5":"1391880849","file3":"1391880844"},"map_files_photo_id_array":[{"photo_id":"1391880849","filename":"file5"},{"photo_id":"1391880842","filename":"file2"},{"photo_id":"1391880846","filename":"file4"},{"photo_id":"1391880840","filename":"file1"},{"photo_id":"1391880837","filename":"file0"},{"photo_id":"1391880844","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391880844":["hashtag1","hashtag2"]},{"1391880846":["hashtag1","hashtag2"]},{"1391880849":["hashtag1","hashtag2"]},{"1391880840":["hashtag1","hashtag2"]},{"1391880837":["hashtag1","hashtag2"]},{"1391880842":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391880844, 1391880846, 1391880849, 1391880840, 1391880837, 1391880842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48974847793579 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 21:32:22.112857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_05_2616.jpg', '/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_09_3646.jpg', '/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_12_2715.jpg', '/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_14_2647.jpg', '/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_21_3690.jpg', '/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_26_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_05_2616.jpg
/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_09_3646.jpg
/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_12_2715.jpg
/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_14_2647.jpg
/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_21_3690.jpg
/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_26_2580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391880862","1391880867","1391880860","1391880863","1391880871","1391880865"],"photo_ids_order":["1391880860","1391880862","1391880863","1391880865","1391880867","1391880871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5d971861a992fd47b22d0cca03af2b84.jpg","text":"TemporaryFile(/tmp/multipartBody7955290307497704493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115602930,"filename":"image_02112025_02_07_09_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/2/d922950d9bc227cbef03fa334d59b9ef.jpg","text":"TemporaryFile(/tmp/multipartBody3621361336979732388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115602930,"filename":"image_02112025_02_07_21_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/2/3218529f215b182a077879e3c833b506.jpg","text":"TemporaryFile(/tmp/multipartBody7744025702890147919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115602930,"filename":"image_02112025_02_07_05_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/2/5467f92d7f6e64615cb5fc5eacd68511.jpg","text":"TemporaryFile(/tmp/multipartBody7089654046611084569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115602930,"filename":"image_02112025_02_07_12_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/2/634386de624e789f04cf4d6342365330.jpg","text":"TemporaryFile(/tmp/multipartBody4040422764921874000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115602930,"filename":"image_02112025_02_07_26_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/2/ea0e826b87485c058b8850da7d5eb600.jpg","text":"TemporaryFile(/tmp/multipartBody3789424655093345801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115602930,"filename":"image_02112025_02_07_14_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391880863","file1":"1391880862","file0":"1391880860","file4":"1391880867","file5":"1391880871","file3":"1391880865"},"map_files_photo_id_array":[{"photo_id":"1391880871","filename":"file5"},{"photo_id":"1391880863","filename":"file2"},{"photo_id":"1391880867","filename":"file4"},{"photo_id":"1391880862","filename":"file1"},{"photo_id":"1391880860","filename":"file0"},{"photo_id":"1391880865","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391880862":["hashtag1","hashtag2"]},{"1391880867":["hashtag1","hashtag2"]},{"1391880860":["hashtag1","hashtag2"]},{"1391880863":["hashtag1","hashtag2"]},{"1391880871":["hashtag1","hashtag2"]},{"1391880865":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391880862, 1391880867, 1391880860, 1391880863, 1391880871, 1391880865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7668879032135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 21:33:02.978123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_30_3687.jpg', '/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_34_4314.jpg', '/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_36_1755.jpg', '/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_38_2746.jpg', '/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_41_2478.jpg', '/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_45_3702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_30_3687.jpg
/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_34_4314.jpg
/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_36_1755.jpg
/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_38_2746.jpg
/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_41_2478.jpg
/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_45_3702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391880888","1391880885","1391880879","1391880890","1391880884","1391880886"],"photo_ids_order":["1391880879","1391880884","1391880885","1391880886","1391880888","1391880890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1084d37da8603ca9604a7d600a69a010.jpg","text":"TemporaryFile(/tmp/multipartBody5121286722750357333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115644946,"filename":"image_02112025_02_07_41_2478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/66996b42f4a61ad37df29d673444a75b.jpg","text":"TemporaryFile(/tmp/multipartBody4002528452273726375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115644946,"filename":"image_02112025_02_07_36_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/2/3f2f0b882cadcbef705df5c2b18a9184.jpg","text":"TemporaryFile(/tmp/multipartBody7859335104799268785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115644946,"filename":"image_02112025_02_07_30_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/2/0f3bbd2da9bc35218049557e53f631df.jpg","text":"TemporaryFile(/tmp/multipartBody2694982347819037396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115644946,"filename":"image_02112025_02_07_45_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/2/3361c91e7e83a5b03f5bd275412bafa4.jpg","text":"TemporaryFile(/tmp/multipartBody3730278490622811393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115644946,"filename":"image_02112025_02_07_34_4314.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5f2e0184daaebae8bd87c7d6da618a88.jpg","text":"TemporaryFile(/tmp/multipartBody4565419793317276663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115644946,"filename":"image_02112025_02_07_38_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391880885","file1":"1391880884","file0":"1391880879","file4":"1391880888","file5":"1391880890","file3":"1391880886"},"map_files_photo_id_array":[{"photo_id":"1391880890","filename":"file5"},{"photo_id":"1391880885","filename":"file2"},{"photo_id":"1391880888","filename":"file4"},{"photo_id":"1391880884","filename":"file1"},{"photo_id":"1391880879","filename":"file0"},{"photo_id":"1391880886","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391880888":["hashtag1","hashtag2"]},{"1391880885":["hashtag1","hashtag2"]},{"1391880879":["hashtag1","hashtag2"]},{"1391880890":["hashtag1","hashtag2"]},{"1391880884":["hashtag1","hashtag2"]},{"1391880886":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391880888, 1391880885, 1391880879, 1391880890, 1391880884, 1391880886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.538153409957886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:33:42.378694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_47_2533.jpg', '/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_51_3611.jpg', '/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_54_2760.jpg', '/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_56_2568.jpg', '/home/pi/Desktop/images/02112025/02/07/image_02112025_02_08_00_3680.jpg', '/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_02_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_47_2533.jpg
/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_51_3611.jpg
/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_54_2760.jpg
/home/pi/Desktop/images/02112025/02/07/image_02112025_02_07_56_2568.jpg
/home/pi/Desktop/images/02112025/02/07/image_02112025_02_08_00_3680.jpg
/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_02_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391880910","1391880906","1391880899","1391880896","1391880914","1391880902"],"photo_ids_order":["1391880896","1391880899","1391880902","1391880906","1391880910","1391880914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6ca5d1062f21d3639122b256d4065158.jpg","text":"TemporaryFile(/tmp/multipartBody1670437532206257694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115683237,"filename":"image_02112025_02_08_00_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/2/019262b2e271e55ea6f05a676ffa16d2.jpg","text":"TemporaryFile(/tmp/multipartBody6131078029604161980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115683237,"filename":"image_02112025_02_07_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/2/6e0a31a1a560fe7107d65fa5090ad473.jpg","text":"TemporaryFile(/tmp/multipartBody5420120920991679381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115683237,"filename":"image_02112025_02_07_51_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/2/dc7eb4801c13003b2e20b99b7d7536f9.jpg","text":"TemporaryFile(/tmp/multipartBody7780708554557517544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115683237,"filename":"image_02112025_02_07_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/2/486d2921276f0f2c9f368dce9898dcff.jpg","text":"TemporaryFile(/tmp/multipartBody3895687850121696265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115683237,"filename":"image_02112025_02_08_02_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/2/6f73d61d01ea3a4631ab8791c97ca5af.jpg","text":"TemporaryFile(/tmp/multipartBody2725363498789769688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115683237,"filename":"image_02112025_02_07_54_2760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391880902","file1":"1391880899","file0":"1391880896","file4":"1391880910","file5":"1391880914","file3":"1391880906"},"map_files_photo_id_array":[{"photo_id":"1391880914","filename":"file5"},{"photo_id":"1391880902","filename":"file2"},{"photo_id":"1391880910","filename":"file4"},{"photo_id":"1391880899","filename":"file1"},{"photo_id":"1391880896","filename":"file0"},{"photo_id":"1391880906","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391880910":["hashtag1","hashtag2"]},{"1391880906":["hashtag1","hashtag2"]},{"1391880899":["hashtag1","hashtag2"]},{"1391880896":["hashtag1","hashtag2"]},{"1391880914":["hashtag1","hashtag2"]},{"1391880902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391880910, 1391880906, 1391880899, 1391880896, 1391880914, 1391880902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73030161857605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 21:34:22.496870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_09_3643.jpg', '/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_14_2594.jpg', '/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_17_3661.jpg', '/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_26_2644.jpg', '/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_29_2625.jpg', '/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_33_3786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_09_3643.jpg
/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_14_2594.jpg
/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_17_3661.jpg
/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_26_2644.jpg
/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_29_2625.jpg
/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_33_3786.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7497918605804443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:34:42.555059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_09_3643.jpg', '/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_14_2594.jpg', '/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_17_3661.jpg', '/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_26_2644.jpg', '/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_29_2625.jpg', '/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_33_3786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_09_3643.jpg
/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_14_2594.jpg
/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_17_3661.jpg
/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_26_2644.jpg
/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_29_2625.jpg
/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_33_3786.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391880943","1391880942","1391880945","1391880936","1391880944","1391880947"],"photo_ids_order":["1391880936","1391880942","1391880943","1391880944","1391880945","1391880947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7806cfb7b2b59dee6ced561039ba6849.jpg","text":"TemporaryFile(/tmp/multipartBody3083141950696557551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115743302,"filename":"image_02112025_02_08_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/2/4697e7953808fbed95d961eb209f0a54.jpg","text":"TemporaryFile(/tmp/multipartBody8356867619870643959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115743302,"filename":"image_02112025_02_08_14_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/2/aae9628f26119319d4ad88ee9a41886f.jpg","text":"TemporaryFile(/tmp/multipartBody7818721105359292631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115743302,"filename":"image_02112025_02_08_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/2/2f2ae15faf31c72b9e097d7082a41f1a.jpg","text":"TemporaryFile(/tmp/multipartBody2099480746755122390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115743302,"filename":"image_02112025_02_08_09_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/2/9d03b84380f4bd07a1684ac975dacbdd.jpg","text":"TemporaryFile(/tmp/multipartBody5336931077209483872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115743302,"filename":"image_02112025_02_08_26_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/2/6c49c644ff9d47cbcd608096ed70c389.jpg","text":"TemporaryFile(/tmp/multipartBody4809354471704590781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115743302,"filename":"image_02112025_02_08_33_3786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391880943","file1":"1391880942","file0":"1391880936","file4":"1391880945","file5":"1391880947","file3":"1391880944"},"map_files_photo_id_array":[{"photo_id":"1391880947","filename":"file5"},{"photo_id":"1391880943","filename":"file2"},{"photo_id":"1391880945","filename":"file4"},{"photo_id":"1391880942","filename":"file1"},{"photo_id":"1391880936","filename":"file0"},{"photo_id":"1391880944","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391880943":["hashtag1","hashtag2"]},{"1391880942":["hashtag1","hashtag2"]},{"1391880945":["hashtag1","hashtag2"]},{"1391880936":["hashtag1","hashtag2"]},{"1391880944":["hashtag1","hashtag2"]},{"1391880947":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391880943, 1391880942, 1391880945, 1391880936, 1391880944, 1391880947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25326871871948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 21:35:22.692899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_35_2662.jpg', '/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_38_2590.jpg', '/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_45_3706.jpg', '/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_53_2708.jpg', '/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_57_3720.jpg', '/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_59_2488.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_35_2662.jpg
/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_38_2590.jpg
/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_45_3706.jpg
/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_53_2708.jpg
/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_57_3720.jpg
/home/pi/Desktop/images/02112025/02/08/image_02112025_02_08_59_2488.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391880961","1391880960","1391880963","1391880957","1391880966","1391880962"],"photo_ids_order":["1391880957","1391880960","1391880961","1391880962","1391880963","1391880966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7b1a07995ea1a3a5e435e83fb4cb613a.jpg","text":"TemporaryFile(/tmp/multipartBody2746168184751636945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115783475,"filename":"image_02112025_02_08_45_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/2/a21bd041f1a62433619894c93d04c608.jpg","text":"TemporaryFile(/tmp/multipartBody5215129315205329257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115783475,"filename":"image_02112025_02_08_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/2/7e771ce9af9ea867fef0e5ed388cdae3.jpg","text":"TemporaryFile(/tmp/multipartBody5532809301376445453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115783475,"filename":"image_02112025_02_08_57_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/2/f0c1f8673f2958ba5461851c85b0cf3f.jpg","text":"TemporaryFile(/tmp/multipartBody872317026648792605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115783475,"filename":"image_02112025_02_08_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/2/e1d36433f4a167af9cbd3662b7ed0f38.jpg","text":"TemporaryFile(/tmp/multipartBody4715046370580901324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115783475,"filename":"image_02112025_02_08_59_2488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6fa2882b819b7808e71e65fa372d7787.jpg","text":"TemporaryFile(/tmp/multipartBody3655004909236474039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115783475,"filename":"image_02112025_02_08_53_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391880961","file1":"1391880960","file0":"1391880957","file4":"1391880963","file5":"1391880966","file3":"1391880962"},"map_files_photo_id_array":[{"photo_id":"1391880966","filename":"file5"},{"photo_id":"1391880961","filename":"file2"},{"photo_id":"1391880963","filename":"file4"},{"photo_id":"1391880960","filename":"file1"},{"photo_id":"1391880957","filename":"file0"},{"photo_id":"1391880962","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391880961":["hashtag1","hashtag2"]},{"1391880960":["hashtag1","hashtag2"]},{"1391880963":["hashtag1","hashtag2"]},{"1391880957":["hashtag1","hashtag2"]},{"1391880966":["hashtag1","hashtag2"]},{"1391880962":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391880961, 1391880960, 1391880963, 1391880957, 1391880966, 1391880962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.789538860321045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 21:36:02.389913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_03_3642.jpg', '/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_08_2599.jpg', '/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_12_3675.jpg', '/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_23_2630.jpg', '/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_26_2651.jpg', '/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_29_3574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_03_3642.jpg
/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_08_2599.jpg
/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_12_3675.jpg
/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_23_2630.jpg
/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_26_2651.jpg
/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_29_3574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391880993","1391880975","1391880986","1391880989","1391880983","1391880979"],"photo_ids_order":["1391880975","1391880979","1391880983","1391880986","1391880989","1391880993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a1aae5cc404a4fa95b6e954e0e353f15.jpg","text":"TemporaryFile(/tmp/multipartBody6906454153229016538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115824681,"filename":"image_02112025_02_09_29_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/2/85734e5fcbf0928555be0e3cdc992eab.jpg","text":"TemporaryFile(/tmp/multipartBody3323596870668335179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115824681,"filename":"image_02112025_02_09_03_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/2/baa0428b5e744ad600c50185334452d4.jpg","text":"TemporaryFile(/tmp/multipartBody9216006115121130929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115824681,"filename":"image_02112025_02_09_23_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/2/578576eebbf1339bb64e931f6a04ac10.jpg","text":"TemporaryFile(/tmp/multipartBody3542108611589119311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115824681,"filename":"image_02112025_02_09_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/2/edc768b5caa7ab907df0e48d4abae432.jpg","text":"TemporaryFile(/tmp/multipartBody1518653342466634504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115824681,"filename":"image_02112025_02_09_12_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/2/8744e0449dab646204fbedbdb04e0442.jpg","text":"TemporaryFile(/tmp/multipartBody3742317000369299673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115824681,"filename":"image_02112025_02_09_08_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391880983","file1":"1391880979","file0":"1391880975","file4":"1391880989","file5":"1391880993","file3":"1391880986"},"map_files_photo_id_array":[{"photo_id":"1391880993","filename":"file5"},{"photo_id":"1391880983","filename":"file2"},{"photo_id":"1391880989","filename":"file4"},{"photo_id":"1391880979","filename":"file1"},{"photo_id":"1391880975","filename":"file0"},{"photo_id":"1391880986","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391880993":["hashtag1","hashtag2"]},{"1391880975":["hashtag1","hashtag2"]},{"1391880986":["hashtag1","hashtag2"]},{"1391880989":["hashtag1","hashtag2"]},{"1391880983":["hashtag1","hashtag2"]},{"1391880979":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391880993, 1391880975, 1391880986, 1391880989, 1391880983, 1391880979)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.346532344818115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 21:37:02.917567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_32_2696.jpg', '/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_38_3579.jpg', '/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_41_2747.jpg', '/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_45_3569.jpg', '/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_47_2633.jpg', '/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_50_2681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_32_2696.jpg
/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_38_3579.jpg
/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_41_2747.jpg
/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_45_3569.jpg
/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_47_2633.jpg
/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_50_2681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881015","1391881009","1391881012","1391881005","1391881002","1391881007"],"photo_ids_order":["1391881002","1391881005","1391881007","1391881009","1391881012","1391881015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/74ee60da668c7c534d1418b3ffde7d8a.jpg","text":"TemporaryFile(/tmp/multipartBody4414802636408442346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115883847,"filename":"image_02112025_02_09_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/2/5c70c17f86cd864260552c1272808629.jpg","text":"TemporaryFile(/tmp/multipartBody1021495359680325829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115883847,"filename":"image_02112025_02_09_45_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/2/5c3348ff548b52c824a151995c8938d9.jpg","text":"TemporaryFile(/tmp/multipartBody7302675541459578169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115883847,"filename":"image_02112025_02_09_47_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/2/0f6b71017c6a584795613b18381ca4d2.jpg","text":"TemporaryFile(/tmp/multipartBody743085712379198021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115883847,"filename":"image_02112025_02_09_38_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/2/fce972ed0c9eb855de191be73fa17d94.jpg","text":"TemporaryFile(/tmp/multipartBody818561311083521975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115883847,"filename":"image_02112025_02_09_32_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/2/46512e51f359b6157ccaf4d2aac79e0d.jpg","text":"TemporaryFile(/tmp/multipartBody432063000581977654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115883847,"filename":"image_02112025_02_09_41_2747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881007","file1":"1391881005","file0":"1391881002","file4":"1391881012","file5":"1391881015","file3":"1391881009"},"map_files_photo_id_array":[{"photo_id":"1391881015","filename":"file5"},{"photo_id":"1391881007","filename":"file2"},{"photo_id":"1391881012","filename":"file4"},{"photo_id":"1391881005","filename":"file1"},{"photo_id":"1391881002","filename":"file0"},{"photo_id":"1391881009","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881015":["hashtag1","hashtag2"]},{"1391881009":["hashtag1","hashtag2"]},{"1391881012":["hashtag1","hashtag2"]},{"1391881005":["hashtag1","hashtag2"]},{"1391881002":["hashtag1","hashtag2"]},{"1391881007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881015, 1391881009, 1391881012, 1391881005, 1391881002, 1391881007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.280752420425415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:37:42.158835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_56_2559.jpg', '/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_59_2632.jpg', '/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_02_3708.jpg', '/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_11_3508.jpg', '/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_14_2580.jpg', '/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_17_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_56_2559.jpg
/home/pi/Desktop/images/02112025/02/09/image_02112025_02_09_59_2632.jpg
/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_02_3708.jpg
/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_11_3508.jpg
/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_14_2580.jpg
/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_17_2781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881021","1391881030","1391881018","1391881023","1391881033","1391881027"],"photo_ids_order":["1391881018","1391881021","1391881023","1391881027","1391881030","1391881033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9ec4ebc0d1770b91dcc1dc609ab5ac9c.jpg","text":"TemporaryFile(/tmp/multipartBody4019704127881616061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115923014,"filename":"image_02112025_02_09_59_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/2/4b3c8eec23a09b8da05c6cb89b87198e.jpg","text":"TemporaryFile(/tmp/multipartBody4369844310101700870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115923014,"filename":"image_02112025_02_10_14_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/2/406b7562f18aff5f4f91a08a892e19a7.jpg","text":"TemporaryFile(/tmp/multipartBody2267709832863700125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115923014,"filename":"image_02112025_02_09_56_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/2/12665629fcf71d82196d87467a11ef84.jpg","text":"TemporaryFile(/tmp/multipartBody4765221773430448887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115923014,"filename":"image_02112025_02_10_02_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/2/62ec5a576c75a7ef7380d4e410e4266f.jpg","text":"TemporaryFile(/tmp/multipartBody1253694478788323788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115923014,"filename":"image_02112025_02_10_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/2/2a29e7473da31d485a9228163c2d27e9.jpg","text":"TemporaryFile(/tmp/multipartBody6884145318067832566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115923014,"filename":"image_02112025_02_10_11_3508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881023","file1":"1391881021","file0":"1391881018","file4":"1391881030","file5":"1391881033","file3":"1391881027"},"map_files_photo_id_array":[{"photo_id":"1391881033","filename":"file5"},{"photo_id":"1391881023","filename":"file2"},{"photo_id":"1391881030","filename":"file4"},{"photo_id":"1391881021","filename":"file1"},{"photo_id":"1391881018","filename":"file0"},{"photo_id":"1391881027","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881021":["hashtag1","hashtag2"]},{"1391881030":["hashtag1","hashtag2"]},{"1391881018":["hashtag1","hashtag2"]},{"1391881023":["hashtag1","hashtag2"]},{"1391881033":["hashtag1","hashtag2"]},{"1391881027":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881021, 1391881030, 1391881018, 1391881023, 1391881033, 1391881027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66016864776611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 21:38:22.388080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_20_3633.jpg', '/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_23_2729.jpg', '/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_26_2746.jpg', '/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_29_3537.jpg', '/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_32_2716.jpg', '/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_35_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_20_3633.jpg
/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_23_2729.jpg
/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_26_2746.jpg
/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_29_3537.jpg
/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_32_2716.jpg
/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_35_2633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881056","1391881041","1391881044","1391881052","1391881049","1391881045"],"photo_ids_order":["1391881041","1391881044","1391881045","1391881049","1391881052","1391881056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5f3749a044c5856c1598caf70f45eeb9.jpg","text":"TemporaryFile(/tmp/multipartBody2754830824131998523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115963197,"filename":"image_02112025_02_10_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/2/de7978c93e19832dc6b8b805b8ddd97d.jpg","text":"TemporaryFile(/tmp/multipartBody2484439861198888912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115963197,"filename":"image_02112025_02_10_20_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/2/38085fed21d3871d41c885710acee07f.jpg","text":"TemporaryFile(/tmp/multipartBody6000340337477313300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115963197,"filename":"image_02112025_02_10_23_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/2/b71997a37970c73fabe768a4eaae71f0.jpg","text":"TemporaryFile(/tmp/multipartBody7267943092996334249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115963197,"filename":"image_02112025_02_10_32_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/2/3c057743db6bf3fde2c093425e51f0ea.jpg","text":"TemporaryFile(/tmp/multipartBody6395549238506650419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115963197,"filename":"image_02112025_02_10_29_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/2/dd595db373a302a207e32c1905843026.jpg","text":"TemporaryFile(/tmp/multipartBody8600953925183287663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762115963197,"filename":"image_02112025_02_10_26_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881045","file1":"1391881044","file0":"1391881041","file4":"1391881052","file5":"1391881056","file3":"1391881049"},"map_files_photo_id_array":[{"photo_id":"1391881056","filename":"file5"},{"photo_id":"1391881045","filename":"file2"},{"photo_id":"1391881052","filename":"file4"},{"photo_id":"1391881044","filename":"file1"},{"photo_id":"1391881041","filename":"file0"},{"photo_id":"1391881049","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881056":["hashtag1","hashtag2"]},{"1391881041":["hashtag1","hashtag2"]},{"1391881044":["hashtag1","hashtag2"]},{"1391881052":["hashtag1","hashtag2"]},{"1391881049":["hashtag1","hashtag2"]},{"1391881045":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881056, 1391881041, 1391881044, 1391881052, 1391881049, 1391881045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.953688859939575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 21:39:03.359765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_38_3598.jpg', '/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_41_2600.jpg', '/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_47_2591.jpg', '/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_56_2678.jpg', '/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_59_2771.jpg', '/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_02_2820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_38_3598.jpg
/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_41_2600.jpg
/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_47_2591.jpg
/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_56_2678.jpg
/home/pi/Desktop/images/02112025/02/10/image_02112025_02_10_59_2771.jpg
/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_02_2820.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881074","1391881068","1391881077","1391881071","1391881064","1391881072"],"photo_ids_order":["1391881064","1391881068","1391881071","1391881072","1391881074","1391881077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4d32b23011fc6ad467e935cbd5fbe19c.jpg","text":"TemporaryFile(/tmp/multipartBody6957862170248185663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116004417,"filename":"image_02112025_02_10_59_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/2/06924eb2282611edb21c814e51cff551.jpg","text":"TemporaryFile(/tmp/multipartBody3058113501951804162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116004417,"filename":"image_02112025_02_10_41_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/2/8c294b8bf3a70cc46df5f22ae1294daf.jpg","text":"TemporaryFile(/tmp/multipartBody736661837753435105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116004417,"filename":"image_02112025_02_11_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/2/62258e31ec15fb88049c559b0f7831c5.jpg","text":"TemporaryFile(/tmp/multipartBody4599741094634057718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116004417,"filename":"image_02112025_02_10_47_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/2/4504d8598c44b261e81b3e78f2b00435.jpg","text":"TemporaryFile(/tmp/multipartBody1254566296786329069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116004417,"filename":"image_02112025_02_10_38_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/2/56e8ed0a571687086a6c85c1c13459e8.jpg","text":"TemporaryFile(/tmp/multipartBody1021667264689164427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116004417,"filename":"image_02112025_02_10_56_2678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881071","file1":"1391881068","file0":"1391881064","file4":"1391881074","file5":"1391881077","file3":"1391881072"},"map_files_photo_id_array":[{"photo_id":"1391881077","filename":"file5"},{"photo_id":"1391881071","filename":"file2"},{"photo_id":"1391881074","filename":"file4"},{"photo_id":"1391881068","filename":"file1"},{"photo_id":"1391881064","filename":"file0"},{"photo_id":"1391881072","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881074":["hashtag1","hashtag2"]},{"1391881068":["hashtag1","hashtag2"]},{"1391881077":["hashtag1","hashtag2"]},{"1391881071":["hashtag1","hashtag2"]},{"1391881064":["hashtag1","hashtag2"]},{"1391881072":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881074, 1391881068, 1391881077, 1391881071, 1391881064, 1391881072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16077542304993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:39:42.529198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_05_3725.jpg', '/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_08_2751.jpg', '/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_14_2735.jpg', '/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_17_3616.jpg', '/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_20_2681.jpg', '/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_23_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_05_3725.jpg
/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_08_2751.jpg
/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_14_2735.jpg
/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_17_3616.jpg
/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_20_2681.jpg
/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_23_2764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881097","1391881094","1391881081","1391881090","1391881084","1391881087"],"photo_ids_order":["1391881081","1391881084","1391881087","1391881090","1391881094","1391881097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d12c64bdff29d1b960384c2f30e69299.jpg","text":"TemporaryFile(/tmp/multipartBody5364663955142489235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116043321,"filename":"image_02112025_02_11_23_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/2/011b3148828aefda7917af8f53c80183.jpg","text":"TemporaryFile(/tmp/multipartBody7962136897006539507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116043321,"filename":"image_02112025_02_11_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/2/a5adf4da5b1e95d0e88afbf97181928d.jpg","text":"TemporaryFile(/tmp/multipartBody6226352126437964348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116043321,"filename":"image_02112025_02_11_05_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/2/a47df705607c8d7b116333cbc54899c8.jpg","text":"TemporaryFile(/tmp/multipartBody1063340587602132802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116043321,"filename":"image_02112025_02_11_17_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/2/db5bc431e31fe44389283376ada7ee1b.jpg","text":"TemporaryFile(/tmp/multipartBody6095713432358011786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116043321,"filename":"image_02112025_02_11_08_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/2/4b22fc00453f1fc423612c9c790e28b3.jpg","text":"TemporaryFile(/tmp/multipartBody5445219630085656045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116043321,"filename":"image_02112025_02_11_14_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881087","file1":"1391881084","file0":"1391881081","file4":"1391881094","file5":"1391881097","file3":"1391881090"},"map_files_photo_id_array":[{"photo_id":"1391881097","filename":"file5"},{"photo_id":"1391881087","filename":"file2"},{"photo_id":"1391881094","filename":"file4"},{"photo_id":"1391881084","filename":"file1"},{"photo_id":"1391881081","filename":"file0"},{"photo_id":"1391881090","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881097":["hashtag1","hashtag2"]},{"1391881094":["hashtag1","hashtag2"]},{"1391881081":["hashtag1","hashtag2"]},{"1391881090":["hashtag1","hashtag2"]},{"1391881084":["hashtag1","hashtag2"]},{"1391881087":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881097, 1391881094, 1391881081, 1391881090, 1391881084, 1391881087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.688557147979736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 21:40:22.704434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_26_3660.jpg', '/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_29_2624.jpg', '/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_38_2587.jpg', '/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_44_3732.jpg', '/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_47_2669.jpg', '/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_50_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_26_3660.jpg
/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_29_2624.jpg
/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_38_2587.jpg
/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_44_3732.jpg
/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_47_2669.jpg
/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_50_2697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881102","1391881110","1391881104","1391881113","1391881116","1391881106"],"photo_ids_order":["1391881102","1391881104","1391881106","1391881110","1391881113","1391881116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2f79fd08535b8f37fcbcab0b6c5c588a.jpg","text":"TemporaryFile(/tmp/multipartBody5554712598090928477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116083497,"filename":"image_02112025_02_11_26_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/2/7f2e4b2967b1afa1021442b5dc20130a.jpg","text":"TemporaryFile(/tmp/multipartBody8650552686592597313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116083497,"filename":"image_02112025_02_11_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/2/8332acff8461d3aedf7107c04f2805cd.jpg","text":"TemporaryFile(/tmp/multipartBody4814554522601925632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116083497,"filename":"image_02112025_02_11_29_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/2/cbcfc74d711cc0fe8aa918a85f5e33d0.jpg","text":"TemporaryFile(/tmp/multipartBody293362155524920344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116083497,"filename":"image_02112025_02_11_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/2/43cacf659f256adc7152752201e742c4.jpg","text":"TemporaryFile(/tmp/multipartBody2365500297381773891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116083497,"filename":"image_02112025_02_11_50_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/2/c01cf8c98d08d3c500f82cdfa3025d57.jpg","text":"TemporaryFile(/tmp/multipartBody8265854334618840727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116083497,"filename":"image_02112025_02_11_38_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881106","file1":"1391881104","file0":"1391881102","file4":"1391881113","file5":"1391881116","file3":"1391881110"},"map_files_photo_id_array":[{"photo_id":"1391881116","filename":"file5"},{"photo_id":"1391881106","filename":"file2"},{"photo_id":"1391881113","filename":"file4"},{"photo_id":"1391881104","filename":"file1"},{"photo_id":"1391881102","filename":"file0"},{"photo_id":"1391881110","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881102":["hashtag1","hashtag2"]},{"1391881110":["hashtag1","hashtag2"]},{"1391881104":["hashtag1","hashtag2"]},{"1391881113":["hashtag1","hashtag2"]},{"1391881116":["hashtag1","hashtag2"]},{"1391881106":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881102, 1391881110, 1391881104, 1391881113, 1391881116, 1391881106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33226728439331 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 21:41:02.782717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_53_3740.jpg', '/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_56_2739.jpg', '/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_59_2720.jpg', '/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_02_2594.jpg', '/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_05_3588.jpg', '/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_08_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_53_3740.jpg
/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_56_2739.jpg
/home/pi/Desktop/images/02112025/02/11/image_02112025_02_11_59_2720.jpg
/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_02_2594.jpg
/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_05_3588.jpg
/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_08_2722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881120","1391881123","1391881117","1391881128","1391881136","1391881132"],"photo_ids_order":["1391881117","1391881120","1391881123","1391881128","1391881132","1391881136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/574b7aa28104b4006a10b0651759283e.jpg","text":"TemporaryFile(/tmp/multipartBody4878928789395264071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116123719,"filename":"image_02112025_02_11_56_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/2/74a0cf03dfb0a953f9d4f5d79dd5f97f.jpg","text":"TemporaryFile(/tmp/multipartBody675796446967569393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116123719,"filename":"image_02112025_02_11_59_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/2/9db534344152161551b603b5faf44985.jpg","text":"TemporaryFile(/tmp/multipartBody729406665412002120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116123719,"filename":"image_02112025_02_11_53_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/2/1b1bd7b99dcac4c6f807f29ab6df4ef8.jpg","text":"TemporaryFile(/tmp/multipartBody1667004835254557160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116123719,"filename":"image_02112025_02_12_02_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/2/bdc8a125d1319d337b10c0d2d482106f.jpg","text":"TemporaryFile(/tmp/multipartBody1730984068438154818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116123719,"filename":"image_02112025_02_12_08_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/2/0225b8583d7503c2972df4d33c39af95.jpg","text":"TemporaryFile(/tmp/multipartBody6550428647977950932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116123719,"filename":"image_02112025_02_12_05_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881123","file1":"1391881120","file0":"1391881117","file4":"1391881132","file5":"1391881136","file3":"1391881128"},"map_files_photo_id_array":[{"photo_id":"1391881136","filename":"file5"},{"photo_id":"1391881123","filename":"file2"},{"photo_id":"1391881132","filename":"file4"},{"photo_id":"1391881120","filename":"file1"},{"photo_id":"1391881117","filename":"file0"},{"photo_id":"1391881128","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881120":["hashtag1","hashtag2"]},{"1391881123":["hashtag1","hashtag2"]},{"1391881117":["hashtag1","hashtag2"]},{"1391881128":["hashtag1","hashtag2"]},{"1391881136":["hashtag1","hashtag2"]},{"1391881132":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881120, 1391881123, 1391881117, 1391881128, 1391881136, 1391881132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.045488119125366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:41:42.038999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_11_2676.jpg', '/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_14_3740.jpg', '/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_17_2717.jpg', '/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_20_2762.jpg', '/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_22_2752.jpg', '/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_26_3716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_11_2676.jpg
/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_14_3740.jpg
/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_17_2717.jpg
/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_20_2762.jpg
/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_22_2752.jpg
/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_26_3716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881155","1391881158","1391881151","1391881148","1391881139","1391881144"],"photo_ids_order":["1391881139","1391881144","1391881148","1391881151","1391881155","1391881158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e8a907fcef00ebf51d72f03ff7ebebf2.jpg","text":"TemporaryFile(/tmp/multipartBody3693236854075179733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116162861,"filename":"image_02112025_02_12_22_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/2/304aee47b83014de2400750ad27cd2d9.jpg","text":"TemporaryFile(/tmp/multipartBody347071805005734090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116162861,"filename":"image_02112025_02_12_26_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/2/311929b840cfcb051bb1b28f10049bdf.jpg","text":"TemporaryFile(/tmp/multipartBody6740392131120929954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116162861,"filename":"image_02112025_02_12_20_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/2/866f66240ba98823a97dec7183b824b8.jpg","text":"TemporaryFile(/tmp/multipartBody573521009101199873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116162861,"filename":"image_02112025_02_12_17_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/2/a9f7bcec769f8e91dfba6f4491fd4689.jpg","text":"TemporaryFile(/tmp/multipartBody8258158034795293420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116162861,"filename":"image_02112025_02_12_11_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/2/239bc020f030bc1d16f5119a21d7d036.jpg","text":"TemporaryFile(/tmp/multipartBody8857822694659462777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116162861,"filename":"image_02112025_02_12_14_3740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881148","file1":"1391881144","file0":"1391881139","file4":"1391881155","file5":"1391881158","file3":"1391881151"},"map_files_photo_id_array":[{"photo_id":"1391881158","filename":"file5"},{"photo_id":"1391881148","filename":"file2"},{"photo_id":"1391881155","filename":"file4"},{"photo_id":"1391881144","filename":"file1"},{"photo_id":"1391881139","filename":"file0"},{"photo_id":"1391881151","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881155":["hashtag1","hashtag2"]},{"1391881158":["hashtag1","hashtag2"]},{"1391881151":["hashtag1","hashtag2"]},{"1391881148":["hashtag1","hashtag2"]},{"1391881139":["hashtag1","hashtag2"]},{"1391881144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881155, 1391881158, 1391881151, 1391881148, 1391881139, 1391881144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12994313240051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 21:42:22.215231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_29_2610.jpg', '/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_35_2671.jpg', '/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_40_2556.jpg', '/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_44_3806.jpg', '/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_47_2604.jpg', '/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_49_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_29_2610.jpg
/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_35_2671.jpg
/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_40_2556.jpg
/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_44_3806.jpg
/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_47_2604.jpg
/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_49_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881167","1391881164","1391881172","1391881181","1391881175","1391881169"],"photo_ids_order":["1391881164","1391881167","1391881169","1391881172","1391881175","1391881181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4262d331a7430798c3372dc200c1e3f9.jpg","text":"TemporaryFile(/tmp/multipartBody6586038134897487222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116203004,"filename":"image_02112025_02_12_35_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/2/fb1f62011dfe5f35f90fdefbe5b6f63b.jpg","text":"TemporaryFile(/tmp/multipartBody7154702590113973261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116203004,"filename":"image_02112025_02_12_29_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/2/3ecd551032d0f9db4d13afc042e8b34d.jpg","text":"TemporaryFile(/tmp/multipartBody4260935528622424182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116203004,"filename":"image_02112025_02_12_44_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/2/59da3b237da2a53f8571ebbb76fcaf7e.jpg","text":"TemporaryFile(/tmp/multipartBody4962665286403483087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116203004,"filename":"image_02112025_02_12_49_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/2/c19f419777b1d41f26457ea5fbe05a6e.jpg","text":"TemporaryFile(/tmp/multipartBody8613229290252094595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116203004,"filename":"image_02112025_02_12_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/2/e7f9da14b82214770053efc507c0b137.jpg","text":"TemporaryFile(/tmp/multipartBody5972871291697170492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116203004,"filename":"image_02112025_02_12_40_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881169","file1":"1391881167","file0":"1391881164","file4":"1391881175","file5":"1391881181","file3":"1391881172"},"map_files_photo_id_array":[{"photo_id":"1391881181","filename":"file5"},{"photo_id":"1391881169","filename":"file2"},{"photo_id":"1391881175","filename":"file4"},{"photo_id":"1391881167","filename":"file1"},{"photo_id":"1391881164","filename":"file0"},{"photo_id":"1391881172","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881167":["hashtag1","hashtag2"]},{"1391881164":["hashtag1","hashtag2"]},{"1391881172":["hashtag1","hashtag2"]},{"1391881181":["hashtag1","hashtag2"]},{"1391881175":["hashtag1","hashtag2"]},{"1391881169":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881167, 1391881164, 1391881172, 1391881181, 1391881175, 1391881169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8031542301178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 21:43:03.101585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_53_3671.jpg', '/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_56_2620.jpg', '/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_59_3616.jpg', '/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_02_2746.jpg', '/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_05_2585.jpg', '/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_07_2812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_53_3671.jpg
/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_56_2620.jpg
/home/pi/Desktop/images/02112025/02/12/image_02112025_02_12_59_3616.jpg
/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_02_2746.jpg
/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_05_2585.jpg
/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_07_2812.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881191","1391881193","1391881192","1391881195","1391881189","1391881198"],"photo_ids_order":["1391881189","1391881191","1391881192","1391881193","1391881195","1391881198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0650a84291dd08a21b2aed07d504c1cb.jpg","text":"TemporaryFile(/tmp/multipartBody1478191934727037746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116244014,"filename":"image_02112025_02_12_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/2/ed92763a7b7218a0fce147c25adc25a9.jpg","text":"TemporaryFile(/tmp/multipartBody6156880685619132691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116244014,"filename":"image_02112025_02_13_02_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/2/8da8d31330aede41bd1778db31a21792.jpg","text":"TemporaryFile(/tmp/multipartBody7347721614696054852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116244014,"filename":"image_02112025_02_12_59_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/2/3873556196d190ebd8dee8adfb24bea4.jpg","text":"TemporaryFile(/tmp/multipartBody7363428806125750272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116244014,"filename":"image_02112025_02_13_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/2/2f1e99973d509b4f8d84fdff5cb6a623.jpg","text":"TemporaryFile(/tmp/multipartBody4303823427904108665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116244014,"filename":"image_02112025_02_12_53_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/2/7c645f5081b117a1e745385dba68227e.jpg","text":"TemporaryFile(/tmp/multipartBody7469139015964210262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116244014,"filename":"image_02112025_02_13_07_2812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881192","file1":"1391881191","file0":"1391881189","file4":"1391881195","file5":"1391881198","file3":"1391881193"},"map_files_photo_id_array":[{"photo_id":"1391881198","filename":"file5"},{"photo_id":"1391881192","filename":"file2"},{"photo_id":"1391881195","filename":"file4"},{"photo_id":"1391881191","filename":"file1"},{"photo_id":"1391881189","filename":"file0"},{"photo_id":"1391881193","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881191":["hashtag1","hashtag2"]},{"1391881193":["hashtag1","hashtag2"]},{"1391881192":["hashtag1","hashtag2"]},{"1391881195":["hashtag1","hashtag2"]},{"1391881189":["hashtag1","hashtag2"]},{"1391881198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881191, 1391881193, 1391881192, 1391881195, 1391881189, 1391881198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21102738380432 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:43:42.400081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_11_3799.jpg', '/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_14_2573.jpg', '/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_23_2682.jpg', '/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_26_2604.jpg', '/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_29_3676.jpg', '/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_32_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_11_3799.jpg
/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_14_2573.jpg
/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_23_2682.jpg
/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_26_2604.jpg
/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_29_3676.jpg
/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_32_2614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881212","1391881214","1391881205","1391881208","1391881219","1391881210"],"photo_ids_order":["1391881205","1391881208","1391881210","1391881212","1391881214","1391881219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0372e9cbb613f414086cdf6b8d83dd97.jpg","text":"TemporaryFile(/tmp/multipartBody618655313840812620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116283224,"filename":"image_02112025_02_13_26_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/2/b9f81b86c5318843880b39cb1d8d5ad3.jpg","text":"TemporaryFile(/tmp/multipartBody7358495494275103601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116283224,"filename":"image_02112025_02_13_29_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/2/e76c11e982f1c78f8a7f006630635b65.jpg","text":"TemporaryFile(/tmp/multipartBody984655171929273160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116283224,"filename":"image_02112025_02_13_11_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/2/08516311af1396574611d3e100977fc8.jpg","text":"TemporaryFile(/tmp/multipartBody1931217087100367609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116283224,"filename":"image_02112025_02_13_14_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/2/a506dfc44d6c3774c39b5c8a1a286f24.jpg","text":"TemporaryFile(/tmp/multipartBody7324458577851894548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116283224,"filename":"image_02112025_02_13_32_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/2/b23e95b4ecbe0d786d45208351dbc5e8.jpg","text":"TemporaryFile(/tmp/multipartBody6677278348091132838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116283224,"filename":"image_02112025_02_13_23_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881210","file1":"1391881208","file0":"1391881205","file4":"1391881214","file5":"1391881219","file3":"1391881212"},"map_files_photo_id_array":[{"photo_id":"1391881219","filename":"file5"},{"photo_id":"1391881210","filename":"file2"},{"photo_id":"1391881214","filename":"file4"},{"photo_id":"1391881208","filename":"file1"},{"photo_id":"1391881205","filename":"file0"},{"photo_id":"1391881212","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881212":["hashtag1","hashtag2"]},{"1391881214":["hashtag1","hashtag2"]},{"1391881205":["hashtag1","hashtag2"]},{"1391881208":["hashtag1","hashtag2"]},{"1391881219":["hashtag1","hashtag2"]},{"1391881210":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881212, 1391881214, 1391881205, 1391881208, 1391881219, 1391881210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25687575340271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 21:44:22.589097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_35_2676.jpg', '/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_38_3519.jpg', '/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_41_2509.jpg', '/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_44_3689.jpg', '/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_47_2680.jpg', '/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_50_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_35_2676.jpg
/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_38_3519.jpg
/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_41_2509.jpg
/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_44_3689.jpg
/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_47_2680.jpg
/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_50_2674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881240","1391881234","1391881228","1391881236","1391881230","1391881232"],"photo_ids_order":["1391881228","1391881230","1391881232","1391881234","1391881236","1391881240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/afc28e1160e807ddd7584f0e6f74477f.jpg","text":"TemporaryFile(/tmp/multipartBody4955531102802214580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116323366,"filename":"image_02112025_02_13_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/2/6cddd1ecb61c3f6e83dcad6cb15d09cb.jpg","text":"TemporaryFile(/tmp/multipartBody8897599304215231231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116323366,"filename":"image_02112025_02_13_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/2/98e43c21bcde5240fd5825b83cc6bfa8.jpg","text":"TemporaryFile(/tmp/multipartBody1792971329240475859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116323366,"filename":"image_02112025_02_13_35_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/2/a5d3e526f12ec865924ace3936cffd9e.jpg","text":"TemporaryFile(/tmp/multipartBody9207580003802608399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116323366,"filename":"image_02112025_02_13_47_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/2/27d73877041ed372544ed584a7359b0b.jpg","text":"TemporaryFile(/tmp/multipartBody1667168303990028613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116323366,"filename":"image_02112025_02_13_38_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/2/54d62f0b9c6a5fe272c380526cad69de.jpg","text":"TemporaryFile(/tmp/multipartBody5889886047031224347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116323366,"filename":"image_02112025_02_13_41_2509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881232","file1":"1391881230","file0":"1391881228","file4":"1391881236","file5":"1391881240","file3":"1391881234"},"map_files_photo_id_array":[{"photo_id":"1391881240","filename":"file5"},{"photo_id":"1391881232","filename":"file2"},{"photo_id":"1391881236","filename":"file4"},{"photo_id":"1391881230","filename":"file1"},{"photo_id":"1391881228","filename":"file0"},{"photo_id":"1391881234","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881240":["hashtag1","hashtag2"]},{"1391881234":["hashtag1","hashtag2"]},{"1391881228":["hashtag1","hashtag2"]},{"1391881236":["hashtag1","hashtag2"]},{"1391881230":["hashtag1","hashtag2"]},{"1391881232":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881240, 1391881234, 1391881228, 1391881236, 1391881230, 1391881232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20427989959717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 21:45:03.380016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_53_3652.jpg', '/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_56_2880.jpg', '/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_59_2596.jpg', '/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_10_2686.jpg', '/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_14_3584.jpg', '/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_16_2539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_53_3652.jpg
/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_56_2880.jpg
/home/pi/Desktop/images/02112025/02/13/image_02112025_02_13_59_2596.jpg
/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_10_2686.jpg
/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_14_3584.jpg
/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_16_2539.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881249","1391881254","1391881259","1391881256","1391881252","1391881246"],"photo_ids_order":["1391881246","1391881249","1391881252","1391881254","1391881256","1391881259"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9b0fcc39286884882f164f6f342e61ef.jpg","text":"TemporaryFile(/tmp/multipartBody4813095924452611688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116364289,"filename":"image_02112025_02_13_56_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/2/eb345a3e7fbfeb1e55f3ccfc5246313e.jpg","text":"TemporaryFile(/tmp/multipartBody5564593029308003126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116364289,"filename":"image_02112025_02_14_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/2/dd3c0e1874f52fc0d1d8462049af97b0.jpg","text":"TemporaryFile(/tmp/multipartBody1254941806308188986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116364289,"filename":"image_02112025_02_14_16_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/2/c094b4b975867d7a2f38b4041d8b93ae.jpg","text":"TemporaryFile(/tmp/multipartBody5463779788367427544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116364289,"filename":"image_02112025_02_14_14_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/2/4ac5eb5a9bcc7401f64a212f155e0917.jpg","text":"TemporaryFile(/tmp/multipartBody1859809096038968976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116364289,"filename":"image_02112025_02_13_59_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/2/d0a533648ed0346cc19ff0cc59ee06b4.jpg","text":"TemporaryFile(/tmp/multipartBody450880311466001582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116364289,"filename":"image_02112025_02_13_53_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881252","file1":"1391881249","file0":"1391881246","file4":"1391881256","file5":"1391881259","file3":"1391881254"},"map_files_photo_id_array":[{"photo_id":"1391881259","filename":"file5"},{"photo_id":"1391881252","filename":"file2"},{"photo_id":"1391881256","filename":"file4"},{"photo_id":"1391881249","filename":"file1"},{"photo_id":"1391881246","filename":"file0"},{"photo_id":"1391881254","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881249":["hashtag1","hashtag2"]},{"1391881254":["hashtag1","hashtag2"]},{"1391881259":["hashtag1","hashtag2"]},{"1391881256":["hashtag1","hashtag2"]},{"1391881252":["hashtag1","hashtag2"]},{"1391881246":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881249, 1391881254, 1391881259, 1391881256, 1391881252, 1391881246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08466386795044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:45:42.797840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_20_3557.jpg', '/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_23_2631.jpg', '/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_25_2827.jpg', '/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_29_3619.jpg', '/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_34_2706.jpg', '/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_38_3573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_20_3557.jpg
/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_23_2631.jpg
/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_25_2827.jpg
/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_29_3619.jpg
/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_34_2706.jpg
/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_38_3573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881281","1391881275","1391881269","1391881277","1391881273","1391881279"],"photo_ids_order":["1391881269","1391881273","1391881275","1391881277","1391881279","1391881281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/238bbccc8dfb31c10ffe3ab2cb0fe069.jpg","text":"TemporaryFile(/tmp/multipartBody6386196201845266789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116403637,"filename":"image_02112025_02_14_38_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/2/b34704e709d506860ed38e7f4b771dcf.jpg","text":"TemporaryFile(/tmp/multipartBody6961695163831665830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116403637,"filename":"image_02112025_02_14_25_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/2/895b16f4f7005678421bfdc7ef5f8952.jpg","text":"TemporaryFile(/tmp/multipartBody552032115284497631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116403637,"filename":"image_02112025_02_14_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/2/38f7a7b19a383f311d91d24753397462.jpg","text":"TemporaryFile(/tmp/multipartBody1106054411142468318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116403637,"filename":"image_02112025_02_14_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/2/3b41845c3d59bbfc638dc5b21197c0e4.jpg","text":"TemporaryFile(/tmp/multipartBody4085193532219731968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116403637,"filename":"image_02112025_02_14_23_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/2/1b1b8ff432ec0919fa848dcd8b23b796.jpg","text":"TemporaryFile(/tmp/multipartBody7003769585281352219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116403637,"filename":"image_02112025_02_14_34_2706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881275","file1":"1391881273","file0":"1391881269","file4":"1391881279","file5":"1391881281","file3":"1391881277"},"map_files_photo_id_array":[{"photo_id":"1391881281","filename":"file5"},{"photo_id":"1391881275","filename":"file2"},{"photo_id":"1391881279","filename":"file4"},{"photo_id":"1391881273","filename":"file1"},{"photo_id":"1391881269","filename":"file0"},{"photo_id":"1391881277","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881281":["hashtag1","hashtag2"]},{"1391881275":["hashtag1","hashtag2"]},{"1391881269":["hashtag1","hashtag2"]},{"1391881277":["hashtag1","hashtag2"]},{"1391881273":["hashtag1","hashtag2"]},{"1391881279":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881281, 1391881275, 1391881269, 1391881277, 1391881273, 1391881279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54615783691406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 21:46:22.014901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_40_2508.jpg', '/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_44_3654.jpg', '/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_47_2673.jpg', '/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_49_2686.jpg', '/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_56_3673.jpg', '/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_59_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_40_2508.jpg
/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_44_3654.jpg
/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_47_2673.jpg
/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_49_2686.jpg
/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_56_3673.jpg
/home/pi/Desktop/images/02112025/02/14/image_02112025_02_14_59_2732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881300","1391881295","1391881298","1391881301","1391881291","1391881304"],"photo_ids_order":["1391881291","1391881295","1391881298","1391881300","1391881301","1391881304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b65f6c7aba708cb8cc6a9d50cfec0387.jpg","text":"TemporaryFile(/tmp/multipartBody3643480384043563611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116442814,"filename":"image_02112025_02_14_49_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/2/4d13b87a87abcfd67cd38ea2ab40e882.jpg","text":"TemporaryFile(/tmp/multipartBody6258845681097265301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116442814,"filename":"image_02112025_02_14_44_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/2/03320d60e36334b421f860105d3c9eeb.jpg","text":"TemporaryFile(/tmp/multipartBody5514257350538176831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116442814,"filename":"image_02112025_02_14_47_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/2/c998d20950b9fc2c04105cba58271bef.jpg","text":"TemporaryFile(/tmp/multipartBody4794402154416249174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116442814,"filename":"image_02112025_02_14_56_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/2/d1b8534e1640b6eb6cb5f3efbc83500e.jpg","text":"TemporaryFile(/tmp/multipartBody7308561863380269173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116442814,"filename":"image_02112025_02_14_40_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/2/5f6aa1fcce1ba84bf6ec2a2cc261fbf6.jpg","text":"TemporaryFile(/tmp/multipartBody4812421292534659054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116442814,"filename":"image_02112025_02_14_59_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881298","file1":"1391881295","file0":"1391881291","file4":"1391881301","file5":"1391881304","file3":"1391881300"},"map_files_photo_id_array":[{"photo_id":"1391881304","filename":"file5"},{"photo_id":"1391881298","filename":"file2"},{"photo_id":"1391881301","filename":"file4"},{"photo_id":"1391881295","filename":"file1"},{"photo_id":"1391881291","filename":"file0"},{"photo_id":"1391881300","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881300":["hashtag1","hashtag2"]},{"1391881295":["hashtag1","hashtag2"]},{"1391881298":["hashtag1","hashtag2"]},{"1391881301":["hashtag1","hashtag2"]},{"1391881291":["hashtag1","hashtag2"]},{"1391881304":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881300, 1391881295, 1391881298, 1391881301, 1391881291, 1391881304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.165594816207886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 21:47:02.836602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_01_2616.jpg', '/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_05_3606.jpg', '/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_07_2684.jpg', '/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_11_3583.jpg', '/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_14_2582.jpg', '/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_16_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_01_2616.jpg
/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_05_3606.jpg
/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_07_2684.jpg
/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_11_3583.jpg
/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_14_2582.jpg
/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_16_2628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881321","1391881315","1391881320","1391881322","1391881324","1391881318"],"photo_ids_order":["1391881315","1391881318","1391881320","1391881321","1391881322","1391881324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2dd4139c3871e4779f1ebe45a731322b.jpg","text":"TemporaryFile(/tmp/multipartBody3838012162165937360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116483765,"filename":"image_02112025_02_15_11_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/2/570d2ed726e750e5dce147bf19f254ad.jpg","text":"TemporaryFile(/tmp/multipartBody8031568844865537862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116483765,"filename":"image_02112025_02_15_01_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/2/c3400e20a0acbe6a368fd312b3e0165c.jpg","text":"TemporaryFile(/tmp/multipartBody4013238669153902434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116483765,"filename":"image_02112025_02_15_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/2/4034ff3b1cf7d79452c67822b9e1aba3.jpg","text":"TemporaryFile(/tmp/multipartBody5744768068943111651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116483765,"filename":"image_02112025_02_15_14_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/2/40dc2e1e807b8754c0311c36b3f300bb.jpg","text":"TemporaryFile(/tmp/multipartBody6826357379380802593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116483765,"filename":"image_02112025_02_15_16_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/2/68115fed305883e19088589bb9a36cc7.jpg","text":"TemporaryFile(/tmp/multipartBody5726538042737890656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116483765,"filename":"image_02112025_02_15_05_3606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881320","file1":"1391881318","file0":"1391881315","file4":"1391881322","file5":"1391881324","file3":"1391881321"},"map_files_photo_id_array":[{"photo_id":"1391881324","filename":"file5"},{"photo_id":"1391881320","filename":"file2"},{"photo_id":"1391881322","filename":"file4"},{"photo_id":"1391881318","filename":"file1"},{"photo_id":"1391881315","filename":"file0"},{"photo_id":"1391881321","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881321":["hashtag1","hashtag2"]},{"1391881315":["hashtag1","hashtag2"]},{"1391881320":["hashtag1","hashtag2"]},{"1391881322":["hashtag1","hashtag2"]},{"1391881324":["hashtag1","hashtag2"]},{"1391881318":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881321, 1391881315, 1391881320, 1391881322, 1391881324, 1391881318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99612069129944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:47:42.230379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_20_3710.jpg', '/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_23_2647.jpg', '/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_25_2593.jpg', '/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_28_2954.jpg', '/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_32_3561.jpg', '/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_37_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_20_3710.jpg
/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_23_2647.jpg
/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_25_2593.jpg
/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_28_2954.jpg
/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_32_3561.jpg
/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_37_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881348","1391881344","1391881346","1391881342","1391881336","1391881345"],"photo_ids_order":["1391881336","1391881342","1391881344","1391881345","1391881346","1391881348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2746a11639e31b849fabe0d3d94646ca.jpg","text":"TemporaryFile(/tmp/multipartBody2959844155606426367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116523054,"filename":"image_02112025_02_15_37_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/2/0071ca7f90ec43d403fb498cc6311317.jpg","text":"TemporaryFile(/tmp/multipartBody240780645104336806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116523054,"filename":"image_02112025_02_15_25_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/2/c0749266ff5c352777dfe7deb0e3abca.jpg","text":"TemporaryFile(/tmp/multipartBody3618941698463705383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116523054,"filename":"image_02112025_02_15_32_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/2/8b5e836d9bf5762cbc9983e9a62edb36.jpg","text":"TemporaryFile(/tmp/multipartBody8074032100011863221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116523054,"filename":"image_02112025_02_15_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/2/8608c0b940e9b223dfcce00916ebd11f.jpg","text":"TemporaryFile(/tmp/multipartBody6716182380831002974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116523054,"filename":"image_02112025_02_15_20_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/2/134ccff752062f46795a3ba10de33074.jpg","text":"TemporaryFile(/tmp/multipartBody8193998614080843743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116523054,"filename":"image_02112025_02_15_28_2954.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881344","file1":"1391881342","file0":"1391881336","file4":"1391881346","file5":"1391881348","file3":"1391881345"},"map_files_photo_id_array":[{"photo_id":"1391881348","filename":"file5"},{"photo_id":"1391881344","filename":"file2"},{"photo_id":"1391881346","filename":"file4"},{"photo_id":"1391881342","filename":"file1"},{"photo_id":"1391881336","filename":"file0"},{"photo_id":"1391881345","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881348":["hashtag1","hashtag2"]},{"1391881344":["hashtag1","hashtag2"]},{"1391881346":["hashtag1","hashtag2"]},{"1391881342":["hashtag1","hashtag2"]},{"1391881336":["hashtag1","hashtag2"]},{"1391881345":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881348, 1391881344, 1391881346, 1391881342, 1391881336, 1391881345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23789191246033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 21:48:22.332568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_41_3704.jpg', '/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_43_2649.jpg', '/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_46_2725.jpg', '/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_50_3782.jpg', '/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_52_2082.jpg', '/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_56_3644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_41_3704.jpg
/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_43_2649.jpg
/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_46_2725.jpg
/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_50_3782.jpg
/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_52_2082.jpg
/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_56_3644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881359","1391881361","1391881364","1391881355","1391881360","1391881357"],"photo_ids_order":["1391881355","1391881357","1391881359","1391881360","1391881361","1391881364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9d9c5bff7b472457ece70e2a6d0b5b5b.jpg","text":"TemporaryFile(/tmp/multipartBody8168921981686758809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116563114,"filename":"image_02112025_02_15_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/2/1754987c8f94e2f571b0fb7234812b67.jpg","text":"TemporaryFile(/tmp/multipartBody5096680348897052033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116563114,"filename":"image_02112025_02_15_52_2082.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6218a0d751d763283f852d920b241430.jpg","text":"TemporaryFile(/tmp/multipartBody6770982355802870568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116563114,"filename":"image_02112025_02_15_56_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/2/8ebf588e2dc72f39d9b3da505813e0c7.jpg","text":"TemporaryFile(/tmp/multipartBody3425817247807652443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116563114,"filename":"image_02112025_02_15_41_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/2/0ef19816539ee82a0c22afc58df4da24.jpg","text":"TemporaryFile(/tmp/multipartBody6885957533594429437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116563114,"filename":"image_02112025_02_15_50_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/2/3ae41786f2f123bc1ee8112e15ccaad4.jpg","text":"TemporaryFile(/tmp/multipartBody6723745065937518857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116563114,"filename":"image_02112025_02_15_43_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881359","file1":"1391881357","file0":"1391881355","file4":"1391881361","file5":"1391881364","file3":"1391881360"},"map_files_photo_id_array":[{"photo_id":"1391881364","filename":"file5"},{"photo_id":"1391881359","filename":"file2"},{"photo_id":"1391881361","filename":"file4"},{"photo_id":"1391881357","filename":"file1"},{"photo_id":"1391881355","filename":"file0"},{"photo_id":"1391881360","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881359":["hashtag1","hashtag2"]},{"1391881361":["hashtag1","hashtag2"]},{"1391881364":["hashtag1","hashtag2"]},{"1391881355":["hashtag1","hashtag2"]},{"1391881360":["hashtag1","hashtag2"]},{"1391881357":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881359, 1391881361, 1391881364, 1391881355, 1391881360, 1391881357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.962318658828735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 21:49:03.500686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_58_2605.jpg', '/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_02_3661.jpg', '/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_05_2680.jpg', '/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_07_2613.jpg', '/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_11_3551.jpg', '/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_14_2737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/15/image_02112025_02_15_58_2605.jpg
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_02_3661.jpg
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_05_2680.jpg
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_07_2613.jpg
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_11_3551.jpg
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_14_2737.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881383","1391881386","1391881389","1391881382","1391881376","1391881379"],"photo_ids_order":["1391881376","1391881379","1391881382","1391881383","1391881386","1391881389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e820e99d3ade024e222aeefe9c10a4fd.jpg","text":"TemporaryFile(/tmp/multipartBody7863026392011304596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116605995,"filename":"image_02112025_02_16_07_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/2/d6c6127d046d2019cd32ad413849641a.jpg","text":"TemporaryFile(/tmp/multipartBody5003143522121646270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116605995,"filename":"image_02112025_02_16_11_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/2/152886f719b57d5bf0e74309b791d044.jpg","text":"TemporaryFile(/tmp/multipartBody226475169472352214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116605995,"filename":"image_02112025_02_16_14_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/2/c39dd4cee3194ac8e702d531592c32e7.jpg","text":"TemporaryFile(/tmp/multipartBody5481820015170619606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116605995,"filename":"image_02112025_02_16_05_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/2/35acb722ffffcf7fb4d4e1a6a228b143.jpg","text":"TemporaryFile(/tmp/multipartBody2587602434589654734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116605995,"filename":"image_02112025_02_15_58_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/2/d03f255cc0f4a69881b92dee9d34bd43.jpg","text":"TemporaryFile(/tmp/multipartBody6206591050131204981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116605995,"filename":"image_02112025_02_16_02_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881382","file1":"1391881379","file0":"1391881376","file4":"1391881386","file5":"1391881389","file3":"1391881383"},"map_files_photo_id_array":[{"photo_id":"1391881389","filename":"file5"},{"photo_id":"1391881382","filename":"file2"},{"photo_id":"1391881386","filename":"file4"},{"photo_id":"1391881379","filename":"file1"},{"photo_id":"1391881376","filename":"file0"},{"photo_id":"1391881383","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881383":["hashtag1","hashtag2"]},{"1391881386":["hashtag1","hashtag2"]},{"1391881389":["hashtag1","hashtag2"]},{"1391881382":["hashtag1","hashtag2"]},{"1391881376":["hashtag1","hashtag2"]},{"1391881379":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881383, 1391881386, 1391881389, 1391881382, 1391881376, 1391881379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48378038406372 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:49:42.699975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_16_2666.jpg', '/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_20_3528.jpg', '/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_22_2671.jpg', '/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_25_2566.jpg', '/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_29_3625.jpg', '/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_31_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_16_2666.jpg
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_20_3528.jpg
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_22_2671.jpg
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_25_2566.jpg
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_29_3625.jpg
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_31_2627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881411","1391881402","1391881404","1391881397","1391881406","1391881403"],"photo_ids_order":["1391881397","1391881402","1391881403","1391881404","1391881406","1391881411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/74736a0a0af1ccbda1c1e49f601038e9.jpg","text":"TemporaryFile(/tmp/multipartBody5206222489682779836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116643526,"filename":"image_02112025_02_16_31_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/2/1cff81f02209375254e454f12f353880.jpg","text":"TemporaryFile(/tmp/multipartBody2594359932266976125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116643526,"filename":"image_02112025_02_16_20_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/2/debc4f20f7517b8b730667906c64f549.jpg","text":"TemporaryFile(/tmp/multipartBody5800063351131522687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116643526,"filename":"image_02112025_02_16_25_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/2/05fc3a7104852f840ce0c3554592867a.jpg","text":"TemporaryFile(/tmp/multipartBody5526350300790653024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116643526,"filename":"image_02112025_02_16_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/2/b11d6fbe36f7dedde96535c2fea82d44.jpg","text":"TemporaryFile(/tmp/multipartBody5371586341245822996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116643526,"filename":"image_02112025_02_16_29_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/2/d98534b3b8a50bc5a748442d6d70e922.jpg","text":"TemporaryFile(/tmp/multipartBody2876599266792608390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116643526,"filename":"image_02112025_02_16_22_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881403","file1":"1391881402","file0":"1391881397","file4":"1391881406","file5":"1391881411","file3":"1391881404"},"map_files_photo_id_array":[{"photo_id":"1391881411","filename":"file5"},{"photo_id":"1391881403","filename":"file2"},{"photo_id":"1391881406","filename":"file4"},{"photo_id":"1391881402","filename":"file1"},{"photo_id":"1391881397","filename":"file0"},{"photo_id":"1391881404","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881411":["hashtag1","hashtag2"]},{"1391881402":["hashtag1","hashtag2"]},{"1391881404":["hashtag1","hashtag2"]},{"1391881397":["hashtag1","hashtag2"]},{"1391881406":["hashtag1","hashtag2"]},{"1391881403":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881411, 1391881402, 1391881404, 1391881397, 1391881406, 1391881403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90524625778198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 21:50:21.816500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_35_3669.jpg', '/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_38_2792.jpg', '/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_40_2677.jpg', '/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_43_2801.jpg', '/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_47_3698.jpg', '/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_50_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_35_3669.jpg
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_38_2792.jpg
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_40_2677.jpg
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_43_2801.jpg
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_47_3698.jpg
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_50_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: 0.6989831924438477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:50:41.872632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_35_3669.jpg', '/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_38_2792.jpg', '/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_40_2677.jpg', '/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_43_2801.jpg', '/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_47_3698.jpg', '/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_50_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_35_3669.jpg
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_38_2792.jpg
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_40_2677.jpg
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_43_2801.jpg
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_47_3698.jpg
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_50_2705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881442","1391881439","1391881430","1391881433","1391881427","1391881436"],"photo_ids_order":["1391881427","1391881430","1391881433","1391881436","1391881439","1391881442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/12fbffb1e25f24d32aa9ab79a2406fa2.jpg","text":"TemporaryFile(/tmp/multipartBody620799212454298450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116702625,"filename":"image_02112025_02_16_50_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/2/842825049eed4849827bd0de442ae814.jpg","text":"TemporaryFile(/tmp/multipartBody22796163861575954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116702625,"filename":"image_02112025_02_16_47_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/2/d06b3abf9f5b1dd0fd433c9df4a6011e.jpg","text":"TemporaryFile(/tmp/multipartBody8111183375725156619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116702625,"filename":"image_02112025_02_16_38_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/2/ed95ed602001abd914bb946c50c5b6be.jpg","text":"TemporaryFile(/tmp/multipartBody8403864344286561094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116702625,"filename":"image_02112025_02_16_40_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/2/fa57edccb170c84c730fe275bc92a1c9.jpg","text":"TemporaryFile(/tmp/multipartBody7498845825383941145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116702625,"filename":"image_02112025_02_16_35_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/2/25ae34b6fa723c8b63287427c4dcaef3.jpg","text":"TemporaryFile(/tmp/multipartBody9021693471436276521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116702625,"filename":"image_02112025_02_16_43_2801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881433","file1":"1391881430","file0":"1391881427","file4":"1391881439","file5":"1391881442","file3":"1391881436"},"map_files_photo_id_array":[{"photo_id":"1391881442","filename":"file5"},{"photo_id":"1391881433","filename":"file2"},{"photo_id":"1391881439","filename":"file4"},{"photo_id":"1391881430","filename":"file1"},{"photo_id":"1391881427","filename":"file0"},{"photo_id":"1391881436","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881442":["hashtag1","hashtag2"]},{"1391881439":["hashtag1","hashtag2"]},{"1391881430":["hashtag1","hashtag2"]},{"1391881433":["hashtag1","hashtag2"]},{"1391881427":["hashtag1","hashtag2"]},{"1391881436":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881442, 1391881439, 1391881430, 1391881433, 1391881427, 1391881436)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.413655281066895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:51:42.035622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_52_2548.jpg', '/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_56_3617.jpg', '/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_58_2620.jpg', '/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_01_2700.jpg', '/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_05_3619.jpg', '/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_07_2785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_52_2548.jpg
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_56_3617.jpg
/home/pi/Desktop/images/02112025/02/16/image_02112025_02_16_58_2620.jpg
/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_01_2700.jpg
/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_05_3619.jpg
/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_07_2785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881461","1391881457","1391881472","1391881468","1391881453","1391881465"],"photo_ids_order":["1391881453","1391881457","1391881461","1391881465","1391881468","1391881472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/13bd825a381f01bc6c021e4690536127.jpg","text":"TemporaryFile(/tmp/multipartBody6344263977793536455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116762953,"filename":"image_02112025_02_16_58_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/2/0059f2434b8987d833484dcd29665341.jpg","text":"TemporaryFile(/tmp/multipartBody2740214904027746491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116762953,"filename":"image_02112025_02_16_56_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/2/4d2f53eaf906906be40a78020887f4b3.jpg","text":"TemporaryFile(/tmp/multipartBody4227040080413006652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116762953,"filename":"image_02112025_02_17_07_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/2/bd4e90b19a27394a5f3a0d157e3d25db.jpg","text":"TemporaryFile(/tmp/multipartBody6807523285252131639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116762953,"filename":"image_02112025_02_17_05_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/2/30c98a3544832de447f67f0186b40100.jpg","text":"TemporaryFile(/tmp/multipartBody255041944335495103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116762953,"filename":"image_02112025_02_16_52_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/2/cb9f7759f99a3af5b0be43f99b4b7cf9.jpg","text":"TemporaryFile(/tmp/multipartBody6358886500746766961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116762953,"filename":"image_02112025_02_17_01_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881461","file1":"1391881457","file0":"1391881453","file4":"1391881468","file5":"1391881472","file3":"1391881465"},"map_files_photo_id_array":[{"photo_id":"1391881472","filename":"file5"},{"photo_id":"1391881461","filename":"file2"},{"photo_id":"1391881468","filename":"file4"},{"photo_id":"1391881457","filename":"file1"},{"photo_id":"1391881453","filename":"file0"},{"photo_id":"1391881465","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881461":["hashtag1","hashtag2"]},{"1391881457":["hashtag1","hashtag2"]},{"1391881472":["hashtag1","hashtag2"]},{"1391881468":["hashtag1","hashtag2"]},{"1391881453":["hashtag1","hashtag2"]},{"1391881465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881461, 1391881457, 1391881472, 1391881468, 1391881453, 1391881465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.119035720825195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 21:52:22.162388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_10_2664.jpg', '/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_14_3600.jpg', '/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_17_2830.jpg', '/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_23_3670.jpg', '/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_25_2561.jpg', '/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_28_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_10_2664.jpg
/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_14_3600.jpg
/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_17_2830.jpg
/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_23_3670.jpg
/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_25_2561.jpg
/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_28_2634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881491","1391881488","1391881481","1391881484","1391881486","1391881483"],"photo_ids_order":["1391881481","1391881483","1391881484","1391881486","1391881488","1391881491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/08d0ab5be20bf82cc7c9d6ceb7b8c517.jpg","text":"TemporaryFile(/tmp/multipartBody2260018019414487144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116802974,"filename":"image_02112025_02_17_28_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/2/bff70c2e0fc078972a7339b72e9a5fe5.jpg","text":"TemporaryFile(/tmp/multipartBody3040813000876481995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116802974,"filename":"image_02112025_02_17_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/2/2661e481493c84d2a835b7cb1ebf4f1c.jpg","text":"TemporaryFile(/tmp/multipartBody4324566773734920392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116802974,"filename":"image_02112025_02_17_10_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/2/4a5b161c47dfcf3fa729fe7d6afd9dff.jpg","text":"TemporaryFile(/tmp/multipartBody3698698928890423397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116802974,"filename":"image_02112025_02_17_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/2/9f679a8b28ef9f231577d32d3f35e3b6.jpg","text":"TemporaryFile(/tmp/multipartBody2479191848085387154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116802974,"filename":"image_02112025_02_17_23_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/2/f4223a770bb8f366706c26b11aa0e1cc.jpg","text":"TemporaryFile(/tmp/multipartBody381986459849853600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116802974,"filename":"image_02112025_02_17_14_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881484","file1":"1391881483","file0":"1391881481","file4":"1391881488","file5":"1391881491","file3":"1391881486"},"map_files_photo_id_array":[{"photo_id":"1391881491","filename":"file5"},{"photo_id":"1391881484","filename":"file2"},{"photo_id":"1391881488","filename":"file4"},{"photo_id":"1391881483","filename":"file1"},{"photo_id":"1391881481","filename":"file0"},{"photo_id":"1391881486","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881491":["hashtag1","hashtag2"]},{"1391881488":["hashtag1","hashtag2"]},{"1391881481":["hashtag1","hashtag2"]},{"1391881484":["hashtag1","hashtag2"]},{"1391881486":["hashtag1","hashtag2"]},{"1391881483":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881491, 1391881488, 1391881481, 1391881484, 1391881486, 1391881483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11229228973389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 21:53:03.201640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_32_3669.jpg', '/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_34_2621.jpg', '/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_37_2787.jpg', '/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_41_3728.jpg', '/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_43_2628.jpg', '/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_46_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_32_3669.jpg
/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_34_2621.jpg
/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_37_2787.jpg
/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_41_3728.jpg
/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_43_2628.jpg
/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_46_2610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881510","1391881507","1391881501","1391881520","1391881514","1391881517"],"photo_ids_order":["1391881501","1391881507","1391881510","1391881514","1391881517","1391881520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3936f1af118f7ef71af5ebe7158d1eee.jpg","text":"TemporaryFile(/tmp/multipartBody7015056779030828592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116844165,"filename":"image_02112025_02_17_37_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/2/ba8c6cd9c2570fcac6e1fd7fdaeb8a70.jpg","text":"TemporaryFile(/tmp/multipartBody5073755782726867952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116844165,"filename":"image_02112025_02_17_34_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/2/d7328eb906fd64b8ad307a09ee8c82f0.jpg","text":"TemporaryFile(/tmp/multipartBody7742393309621919427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116844165,"filename":"image_02112025_02_17_32_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/2/87c62ea46145bca76fbf928986df33c2.jpg","text":"TemporaryFile(/tmp/multipartBody2083735033558879935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116844165,"filename":"image_02112025_02_17_46_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/2/52164c0c33275f99d7a4e3c62bec91eb.jpg","text":"TemporaryFile(/tmp/multipartBody1292239847410369930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116844165,"filename":"image_02112025_02_17_41_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/2/1e11f833fcd3bdf37f0077454346d818.jpg","text":"TemporaryFile(/tmp/multipartBody7919756855234544640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116844165,"filename":"image_02112025_02_17_43_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881510","file1":"1391881507","file0":"1391881501","file4":"1391881517","file5":"1391881520","file3":"1391881514"},"map_files_photo_id_array":[{"photo_id":"1391881520","filename":"file5"},{"photo_id":"1391881510","filename":"file2"},{"photo_id":"1391881517","filename":"file4"},{"photo_id":"1391881507","filename":"file1"},{"photo_id":"1391881501","filename":"file0"},{"photo_id":"1391881514","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881510":["hashtag1","hashtag2"]},{"1391881507":["hashtag1","hashtag2"]},{"1391881501":["hashtag1","hashtag2"]},{"1391881520":["hashtag1","hashtag2"]},{"1391881514":["hashtag1","hashtag2"]},{"1391881517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881510, 1391881507, 1391881501, 1391881520, 1391881514, 1391881517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74249005317688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:53:42.456851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_50_3688.jpg', '/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_52_2627.jpg', '/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_55_2671.jpg', '/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_59_3775.jpg', '/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_01_2637.jpg', '/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_04_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_50_3688.jpg
/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_52_2627.jpg
/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_55_2671.jpg
/home/pi/Desktop/images/02112025/02/17/image_02112025_02_17_59_3775.jpg
/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_01_2637.jpg
/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_04_2713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881531","1391881524","1391881532","1391881526","1391881529","1391881537"],"photo_ids_order":["1391881524","1391881526","1391881529","1391881531","1391881532","1391881537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b96826f1213ca6c6e2ec16398283136f.jpg","text":"TemporaryFile(/tmp/multipartBody7414761440778274286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116883315,"filename":"image_02112025_02_17_59_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/615864497bf148463a5e7b3010d4240f.jpg","text":"TemporaryFile(/tmp/multipartBody8977749125068345831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116883315,"filename":"image_02112025_02_17_50_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/2/953b296794f8fdd40918041315d6a9dc.jpg","text":"TemporaryFile(/tmp/multipartBody4146898537893125089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116883315,"filename":"image_02112025_02_18_01_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/2/2a11292294c26e67c4bd0e9eb554e972.jpg","text":"TemporaryFile(/tmp/multipartBody2010554450624096612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116883315,"filename":"image_02112025_02_17_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/2/411506e22c8b39a0f45d8f7c18865552.jpg","text":"TemporaryFile(/tmp/multipartBody3772661326218033527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116883315,"filename":"image_02112025_02_17_55_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/2/b09972f358753ef061b8fde870823f97.jpg","text":"TemporaryFile(/tmp/multipartBody9053770326435384778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116883315,"filename":"image_02112025_02_18_04_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881529","file1":"1391881526","file0":"1391881524","file4":"1391881532","file5":"1391881537","file3":"1391881531"},"map_files_photo_id_array":[{"photo_id":"1391881537","filename":"file5"},{"photo_id":"1391881529","filename":"file2"},{"photo_id":"1391881532","filename":"file4"},{"photo_id":"1391881526","filename":"file1"},{"photo_id":"1391881524","filename":"file0"},{"photo_id":"1391881531","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881531":["hashtag1","hashtag2"]},{"1391881524":["hashtag1","hashtag2"]},{"1391881532":["hashtag1","hashtag2"]},{"1391881526":["hashtag1","hashtag2"]},{"1391881529":["hashtag1","hashtag2"]},{"1391881537":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881531, 1391881524, 1391881532, 1391881526, 1391881529, 1391881537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.630805253982544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 21:54:22.692000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_08_3596.jpg', '/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_10_2680.jpg', '/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_13_2740.jpg', '/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_16_2616.jpg', '/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_20_3722.jpg', '/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_22_2566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_08_3596.jpg
/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_10_2680.jpg
/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_13_2740.jpg
/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_16_2616.jpg
/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_20_3722.jpg
/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_22_2566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881546","1391881551","1391881560","1391881554","1391881556","1391881549"],"photo_ids_order":["1391881546","1391881549","1391881551","1391881554","1391881556","1391881560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/aa1b7265b8cca4fde4a827b9498d33da.jpg","text":"TemporaryFile(/tmp/multipartBody708230482266805731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116923489,"filename":"image_02112025_02_18_08_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/2/a6f9e7d97010063f9f9475461774a2b4.jpg","text":"TemporaryFile(/tmp/multipartBody8038815003895103973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116923489,"filename":"image_02112025_02_18_13_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/2/15f4392750f6d8572f62ad06c7a59f12.jpg","text":"TemporaryFile(/tmp/multipartBody202515586449061410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116923489,"filename":"image_02112025_02_18_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/2/05ad70f221749796441974f4302cb020.jpg","text":"TemporaryFile(/tmp/multipartBody2880468929169820970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116923489,"filename":"image_02112025_02_18_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/2/68671a256425f808bea84aef0d793d3f.jpg","text":"TemporaryFile(/tmp/multipartBody5004269564617102498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116923489,"filename":"image_02112025_02_18_20_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/2/6cf87976f37d6be289645bd38fe0d300.jpg","text":"TemporaryFile(/tmp/multipartBody1338511321621028570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116923489,"filename":"image_02112025_02_18_10_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881551","file1":"1391881549","file0":"1391881546","file4":"1391881556","file5":"1391881560","file3":"1391881554"},"map_files_photo_id_array":[{"photo_id":"1391881560","filename":"file5"},{"photo_id":"1391881551","filename":"file2"},{"photo_id":"1391881556","filename":"file4"},{"photo_id":"1391881549","filename":"file1"},{"photo_id":"1391881546","filename":"file0"},{"photo_id":"1391881554","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881546":["hashtag1","hashtag2"]},{"1391881551":["hashtag1","hashtag2"]},{"1391881560":["hashtag1","hashtag2"]},{"1391881554":["hashtag1","hashtag2"]},{"1391881556":["hashtag1","hashtag2"]},{"1391881549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881546, 1391881551, 1391881560, 1391881554, 1391881556, 1391881549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.502639055252075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 21:55:03.556377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_25_2766.jpg', '/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_31_2616.jpg', '/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_44_3521.jpg', '/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_46_2674.jpg', '/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_49_2770.jpg', '/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_53_3683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_25_2766.jpg
/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_31_2616.jpg
/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_44_3521.jpg
/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_46_2674.jpg
/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_49_2770.jpg
/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_53_3683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881574","1391881568","1391881571","1391881565","1391881579","1391881576"],"photo_ids_order":["1391881565","1391881568","1391881571","1391881574","1391881576","1391881579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/92f77fc85cb013c42e872832126ed569.jpg","text":"TemporaryFile(/tmp/multipartBody7481710362728024951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116964456,"filename":"image_02112025_02_18_46_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/2/2c07dedb1a8c2e57f79a86aa858cc362.jpg","text":"TemporaryFile(/tmp/multipartBody5886294107901302363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116964456,"filename":"image_02112025_02_18_31_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/2/14ba0a3eecfd10a2ddb883915c1d6a6f.jpg","text":"TemporaryFile(/tmp/multipartBody7082377701427499756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116964456,"filename":"image_02112025_02_18_44_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/2/b9ee639a2cfbd9fae6c1b6b434a9a331.jpg","text":"TemporaryFile(/tmp/multipartBody1634150339371053395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116964456,"filename":"image_02112025_02_18_25_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/2/f64c606e4fb8782c94026f87113cf07f.jpg","text":"TemporaryFile(/tmp/multipartBody6137885626408014088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116964456,"filename":"image_02112025_02_18_53_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/2/eb37b5a569394bd5cafe096b84893bd8.jpg","text":"TemporaryFile(/tmp/multipartBody3061007622401759369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762116964456,"filename":"image_02112025_02_18_49_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881571","file1":"1391881568","file0":"1391881565","file4":"1391881576","file5":"1391881579","file3":"1391881574"},"map_files_photo_id_array":[{"photo_id":"1391881579","filename":"file5"},{"photo_id":"1391881571","filename":"file2"},{"photo_id":"1391881576","filename":"file4"},{"photo_id":"1391881568","filename":"file1"},{"photo_id":"1391881565","filename":"file0"},{"photo_id":"1391881574","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881574":["hashtag1","hashtag2"]},{"1391881568":["hashtag1","hashtag2"]},{"1391881571":["hashtag1","hashtag2"]},{"1391881565":["hashtag1","hashtag2"]},{"1391881579":["hashtag1","hashtag2"]},{"1391881576":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881574, 1391881568, 1391881571, 1391881565, 1391881579, 1391881576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66762661933899 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:55:42.852049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_55_2605.jpg', '/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_58_2735.jpg', '/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_07_2715.jpg', '/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_10_2696.jpg', '/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_14_3784.jpg', '/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_16_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_55_2605.jpg
/home/pi/Desktop/images/02112025/02/18/image_02112025_02_18_58_2735.jpg
/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_07_2715.jpg
/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_10_2696.jpg
/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_14_3784.jpg
/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_16_2640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881596","1391881600","1391881598","1391881591","1391881594","1391881588"],"photo_ids_order":["1391881588","1391881591","1391881594","1391881596","1391881598","1391881600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b78c47a4a5f33f33e99a261cf4d6d2b5.jpg","text":"TemporaryFile(/tmp/multipartBody2666923249451818250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117003676,"filename":"image_02112025_02_19_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/2/905edec1757d39d08ede2ea65e2d94a1.jpg","text":"TemporaryFile(/tmp/multipartBody2673345630428783944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117003676,"filename":"image_02112025_02_19_16_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/2/a4e720e1f659f9f51018cc1caca9cb2b.jpg","text":"TemporaryFile(/tmp/multipartBody1919700732294619455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117003676,"filename":"image_02112025_02_19_14_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/2/cc58dd750fe4ea0b7bd1e99506aa7d7e.jpg","text":"TemporaryFile(/tmp/multipartBody4089820339050258915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117003676,"filename":"image_02112025_02_18_58_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/2/eb6472b4be500c31755e3d3dd5a48eec.jpg","text":"TemporaryFile(/tmp/multipartBody1950634474221654031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117003676,"filename":"image_02112025_02_19_07_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/2/9c7aec52e8e91ec3d45e1aff0dea4a76.jpg","text":"TemporaryFile(/tmp/multipartBody6325746699236379192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117003676,"filename":"image_02112025_02_18_55_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881594","file1":"1391881591","file0":"1391881588","file4":"1391881598","file5":"1391881600","file3":"1391881596"},"map_files_photo_id_array":[{"photo_id":"1391881600","filename":"file5"},{"photo_id":"1391881594","filename":"file2"},{"photo_id":"1391881598","filename":"file4"},{"photo_id":"1391881591","filename":"file1"},{"photo_id":"1391881588","filename":"file0"},{"photo_id":"1391881596","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881596":["hashtag1","hashtag2"]},{"1391881600":["hashtag1","hashtag2"]},{"1391881598":["hashtag1","hashtag2"]},{"1391881591":["hashtag1","hashtag2"]},{"1391881594":["hashtag1","hashtag2"]},{"1391881588":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881596, 1391881600, 1391881598, 1391881591, 1391881594, 1391881588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.44576644897461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 21:56:21.909658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_23_3710.jpg', '/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_25_2554.jpg', '/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_31_2699.jpg', '/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_34_3651.jpg', '/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_37_2831.jpg', '/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_40_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_23_3710.jpg
/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_25_2554.jpg
/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_31_2699.jpg
/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_34_3651.jpg
/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_37_2831.jpg
/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_40_2650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881629","1391881623","1391881617","1391881619","1391881613","1391881621"],"photo_ids_order":["1391881613","1391881617","1391881619","1391881621","1391881623","1391881629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/78795f529b2d4ea223ba1bdabb94bc15.jpg","text":"TemporaryFile(/tmp/multipartBody1166797455221697509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117042709,"filename":"image_02112025_02_19_40_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/2/4c7eec5348248369dff923c1180e4cf6.jpg","text":"TemporaryFile(/tmp/multipartBody7097647664132341342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117042709,"filename":"image_02112025_02_19_37_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/2/d635ed68095d1ce5d7e641035d42106d.jpg","text":"TemporaryFile(/tmp/multipartBody8565405147316271330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117042709,"filename":"image_02112025_02_19_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/2/76db77d6fb7f24566e8eca97006e7020.jpg","text":"TemporaryFile(/tmp/multipartBody1542256512189074234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117042709,"filename":"image_02112025_02_19_31_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/2/0fdebe29f9717cd44c8d5c25825bb108.jpg","text":"TemporaryFile(/tmp/multipartBody3648044941971879427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117042709,"filename":"image_02112025_02_19_23_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/2/75a3e53713a02221cf4ecb6eb9ebb9a4.jpg","text":"TemporaryFile(/tmp/multipartBody500270593099137497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117042709,"filename":"image_02112025_02_19_34_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881619","file1":"1391881617","file0":"1391881613","file4":"1391881623","file5":"1391881629","file3":"1391881621"},"map_files_photo_id_array":[{"photo_id":"1391881629","filename":"file5"},{"photo_id":"1391881619","filename":"file2"},{"photo_id":"1391881623","filename":"file4"},{"photo_id":"1391881617","filename":"file1"},{"photo_id":"1391881613","filename":"file0"},{"photo_id":"1391881621","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881629":["hashtag1","hashtag2"]},{"1391881623":["hashtag1","hashtag2"]},{"1391881617":["hashtag1","hashtag2"]},{"1391881619":["hashtag1","hashtag2"]},{"1391881613":["hashtag1","hashtag2"]},{"1391881621":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881629, 1391881623, 1391881617, 1391881619, 1391881613, 1391881621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02095651626587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 21:57:02.923032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_44_3568.jpg', '/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_49_2851.jpg', '/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_58_8818.jpg', '/home/pi/Desktop/images/02112025/02/19/image_02112025_02_20_00_1689.jpg', '/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_01_1661.jpg', '/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_05_2130.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_44_3568.jpg
/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_49_2851.jpg
/home/pi/Desktop/images/02112025/02/19/image_02112025_02_19_58_8818.jpg
/home/pi/Desktop/images/02112025/02/19/image_02112025_02_20_00_1689.jpg
/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_01_1661.jpg
/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_05_2130.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881639","1391881644","1391881646","1391881651","1391881654","1391881642"],"photo_ids_order":["1391881639","1391881642","1391881644","1391881646","1391881651","1391881654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/28d8b7ad3130706681d0476a5ec6df39.jpg","text":"TemporaryFile(/tmp/multipartBody8802493961075552590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117083832,"filename":"image_02112025_02_19_44_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/2/94085c33772744e3caf964849cf794b4.jpg","text":"TemporaryFile(/tmp/multipartBody3043035977726109535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117083832,"filename":"image_02112025_02_19_58_8818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1906babadaad8560720b144c6556ada7.jpg","text":"TemporaryFile(/tmp/multipartBody2865845063816469126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117083832,"filename":"image_02112025_02_20_00_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/2/1207e5ebe60a2da7680888cac861b122.jpg","text":"TemporaryFile(/tmp/multipartBody1594100091847728151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117083832,"filename":"image_02112025_02_20_01_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/2/575fb41f6e3207c2cf4e138b84220f7a.jpg","text":"TemporaryFile(/tmp/multipartBody5829121132200079445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117083832,"filename":"image_02112025_02_20_05_2130.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cf4469c38876ab2b23ff69e3fd40c599.jpg","text":"TemporaryFile(/tmp/multipartBody2272868249766486191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117083832,"filename":"image_02112025_02_19_49_2851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881644","file1":"1391881642","file0":"1391881639","file4":"1391881651","file5":"1391881654","file3":"1391881646"},"map_files_photo_id_array":[{"photo_id":"1391881654","filename":"file5"},{"photo_id":"1391881644","filename":"file2"},{"photo_id":"1391881651","filename":"file4"},{"photo_id":"1391881642","filename":"file1"},{"photo_id":"1391881639","filename":"file0"},{"photo_id":"1391881646","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881639":["hashtag1","hashtag2"]},{"1391881644":["hashtag1","hashtag2"]},{"1391881646":["hashtag1","hashtag2"]},{"1391881651":["hashtag1","hashtag2"]},{"1391881654":["hashtag1","hashtag2"]},{"1391881642":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881639, 1391881644, 1391881646, 1391881651, 1391881654, 1391881642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43542528152466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:57:42.239761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_07_1671.jpg', '/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_11_3729.jpg', '/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_13_2729.jpg', '/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_19_2731.jpg', '/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_22_2871.jpg', '/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_26_3767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_07_1671.jpg
/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_11_3729.jpg
/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_13_2729.jpg
/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_19_2731.jpg
/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_22_2871.jpg
/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_26_3767.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881677","1391881673","1391881663","1391881666","1391881669","1391881660"],"photo_ids_order":["1391881660","1391881663","1391881666","1391881669","1391881673","1391881677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/86c524c91aff04b75c7142b45f940564.jpg","text":"TemporaryFile(/tmp/multipartBody8842679758241474398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117123063,"filename":"image_02112025_02_20_26_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/2/82b524dc22763842811664763d4d096e.jpg","text":"TemporaryFile(/tmp/multipartBody6184955885018252825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117123063,"filename":"image_02112025_02_20_22_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/2/56f85b51541a779cb10b3140111c0273.jpg","text":"TemporaryFile(/tmp/multipartBody4535653709392460799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117123063,"filename":"image_02112025_02_20_11_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/2/c17889aab2d7b78b35ae5e0b3ce5f779.jpg","text":"TemporaryFile(/tmp/multipartBody3109443446514837776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117123063,"filename":"image_02112025_02_20_13_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/2/4f99e33c4f98368d55cd37ffed58d387.jpg","text":"TemporaryFile(/tmp/multipartBody8118982398405021333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117123063,"filename":"image_02112025_02_20_19_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/2/d2138f39dd3100d6d5bcd6fc11fbdd93.jpg","text":"TemporaryFile(/tmp/multipartBody5098422059784817034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117123063,"filename":"image_02112025_02_20_07_1671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881666","file1":"1391881663","file0":"1391881660","file4":"1391881673","file5":"1391881677","file3":"1391881669"},"map_files_photo_id_array":[{"photo_id":"1391881677","filename":"file5"},{"photo_id":"1391881666","filename":"file2"},{"photo_id":"1391881673","filename":"file4"},{"photo_id":"1391881663","filename":"file1"},{"photo_id":"1391881660","filename":"file0"},{"photo_id":"1391881669","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881677":["hashtag1","hashtag2"]},{"1391881673":["hashtag1","hashtag2"]},{"1391881663":["hashtag1","hashtag2"]},{"1391881666":["hashtag1","hashtag2"]},{"1391881669":["hashtag1","hashtag2"]},{"1391881660":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881677, 1391881673, 1391881663, 1391881666, 1391881669, 1391881660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94867205619812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 21:59:03.127281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_28_2716.jpg', '/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_31_2544.jpg', '/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_35_3758.jpg', '/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_37_2641.jpg', '/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_40_2656.jpg', '/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_43_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_28_2716.jpg
/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_31_2544.jpg
/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_35_3758.jpg
/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_37_2641.jpg
/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_40_2656.jpg
/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_43_3580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881692","1391881695","1391881680","1391881688","1391881690","1391881684"],"photo_ids_order":["1391881680","1391881684","1391881688","1391881690","1391881692","1391881695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/80228767059173b63d81a8d97ee0c097.jpg","text":"TemporaryFile(/tmp/multipartBody4514321335116221146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117204031,"filename":"image_02112025_02_20_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/2/14ea2662c3d896dfe340212081a32112.jpg","text":"TemporaryFile(/tmp/multipartBody8316363741908905273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117204031,"filename":"image_02112025_02_20_43_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/2/13d76da24f346208568f940013eac279.jpg","text":"TemporaryFile(/tmp/multipartBody3392514068987416524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117204031,"filename":"image_02112025_02_20_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/2/840d5c41b43f6110d4f740151a84e717.jpg","text":"TemporaryFile(/tmp/multipartBody5174049044716622029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117204031,"filename":"image_02112025_02_20_35_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/2/9a0ceacb11295c7247638337e702e2cd.jpg","text":"TemporaryFile(/tmp/multipartBody3563175697615175941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117204031,"filename":"image_02112025_02_20_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/2/7a35daa0c5767179ea29a58767d22341.jpg","text":"TemporaryFile(/tmp/multipartBody5472282388969942942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117204031,"filename":"image_02112025_02_20_31_2544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881688","file1":"1391881684","file0":"1391881680","file4":"1391881692","file5":"1391881695","file3":"1391881690"},"map_files_photo_id_array":[{"photo_id":"1391881695","filename":"file5"},{"photo_id":"1391881688","filename":"file2"},{"photo_id":"1391881692","filename":"file4"},{"photo_id":"1391881684","filename":"file1"},{"photo_id":"1391881680","filename":"file0"},{"photo_id":"1391881690","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881692":["hashtag1","hashtag2"]},{"1391881695":["hashtag1","hashtag2"]},{"1391881680":["hashtag1","hashtag2"]},{"1391881688":["hashtag1","hashtag2"]},{"1391881690":["hashtag1","hashtag2"]},{"1391881684":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881692, 1391881695, 1391881680, 1391881688, 1391881690, 1391881684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93021750450134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 21:59:42.090894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_46_2628.jpg', '/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_53_3597.jpg', '/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_55_2692.jpg', '/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_58_2745.jpg', '/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_01_2790.jpg', '/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_04_3683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_46_2628.jpg
/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_53_3597.jpg
/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_55_2692.jpg
/home/pi/Desktop/images/02112025/02/20/image_02112025_02_20_58_2745.jpg
/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_01_2790.jpg
/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_04_3683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881711","1391881719","1391881704","1391881700","1391881714","1391881708"],"photo_ids_order":["1391881700","1391881704","1391881708","1391881711","1391881714","1391881719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6e1f7dc77185d2f286aee5ede69fb456.jpg","text":"TemporaryFile(/tmp/multipartBody7746314679892693501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117242914,"filename":"image_02112025_02_20_58_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/2/b846a1747f795decec8b31ae1b73be14.jpg","text":"TemporaryFile(/tmp/multipartBody69466320449568610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117242914,"filename":"image_02112025_02_21_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/2/e18376c6b1e5168de7943593abf057b1.jpg","text":"TemporaryFile(/tmp/multipartBody6955135332831522813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117242914,"filename":"image_02112025_02_20_53_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/2/85af15d67fcb26f008b82efc30d22e72.jpg","text":"TemporaryFile(/tmp/multipartBody5426617067608745323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117242914,"filename":"image_02112025_02_20_46_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/2/c70c08c437cb4cea05c8ce76623d2763.jpg","text":"TemporaryFile(/tmp/multipartBody1942205098066234469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117242914,"filename":"image_02112025_02_21_01_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/2/a75a3349bbea9add269b0a38bb15013d.jpg","text":"TemporaryFile(/tmp/multipartBody3168654414148991961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117242914,"filename":"image_02112025_02_20_55_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881708","file1":"1391881704","file0":"1391881700","file4":"1391881714","file5":"1391881719","file3":"1391881711"},"map_files_photo_id_array":[{"photo_id":"1391881719","filename":"file5"},{"photo_id":"1391881708","filename":"file2"},{"photo_id":"1391881714","filename":"file4"},{"photo_id":"1391881704","filename":"file1"},{"photo_id":"1391881700","filename":"file0"},{"photo_id":"1391881711","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881711":["hashtag1","hashtag2"]},{"1391881719":["hashtag1","hashtag2"]},{"1391881704":["hashtag1","hashtag2"]},{"1391881700":["hashtag1","hashtag2"]},{"1391881714":["hashtag1","hashtag2"]},{"1391881708":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881711, 1391881719, 1391881704, 1391881700, 1391881714, 1391881708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9817750453949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:00:22.215300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_07_2615.jpg', '/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_10_2626.jpg', '/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_16_2598.jpg', '/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_19_2602.jpg', '/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_22_3527.jpg', '/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_25_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_07_2615.jpg
/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_10_2626.jpg
/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_16_2598.jpg
/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_19_2602.jpg
/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_22_3527.jpg
/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_25_2694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391881824","1391881905","1391881728","1391881784","1391881862","1391881742"],"photo_ids_order":["1391881728","1391881742","1391881784","1391881824","1391881862","1391881905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cb18ab5cedb44114d04f716a8719e7d5.jpg","text":"TemporaryFile(/tmp/multipartBody1265256101464134587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117283005,"filename":"image_02112025_02_21_19_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/2/7bbaea681e32b2020ed752b89f48d9ae.jpg","text":"TemporaryFile(/tmp/multipartBody5463598192512768315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117283005,"filename":"image_02112025_02_21_25_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/2/03965eb0644ac7907be73753c4f6d49c.jpg","text":"TemporaryFile(/tmp/multipartBody8974989198191896031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117283005,"filename":"image_02112025_02_21_07_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/2/b72631e49124413f111850eb45e6f7ba.jpg","text":"TemporaryFile(/tmp/multipartBody5709951335781593729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117283005,"filename":"image_02112025_02_21_16_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/2/321835507381f5d63ad5d86148ee0155.jpg","text":"TemporaryFile(/tmp/multipartBody2768728112010531463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117283005,"filename":"image_02112025_02_21_22_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/2/2d436a7cf7980b9fae8752b2bbbf3bf4.jpg","text":"TemporaryFile(/tmp/multipartBody5382290497000100376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117283005,"filename":"image_02112025_02_21_10_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391881784","file1":"1391881742","file0":"1391881728","file4":"1391881862","file5":"1391881905","file3":"1391881824"},"map_files_photo_id_array":[{"photo_id":"1391881905","filename":"file5"},{"photo_id":"1391881784","filename":"file2"},{"photo_id":"1391881862","filename":"file4"},{"photo_id":"1391881742","filename":"file1"},{"photo_id":"1391881728","filename":"file0"},{"photo_id":"1391881824","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391881824":["hashtag1","hashtag2"]},{"1391881905":["hashtag1","hashtag2"]},{"1391881728":["hashtag1","hashtag2"]},{"1391881784":["hashtag1","hashtag2"]},{"1391881862":["hashtag1","hashtag2"]},{"1391881742":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391881824, 1391881905, 1391881728, 1391881784, 1391881862, 1391881742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4584014415741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:01:03.035187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_28_3566.jpg', '/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_31_2807.jpg', '/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_34_2600.jpg', '/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_37_3698.jpg', '/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_40_2657.jpg', '/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_43_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_28_3566.jpg
/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_31_2807.jpg
/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_34_2600.jpg
/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_37_3698.jpg
/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_40_2657.jpg
/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_43_2610.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391882253","1391882076","1391882381","1391882507","1391882461","1391882419"],"photo_ids_order":["1391882076","1391882253","1391882381","1391882419","1391882461","1391882507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3a07d24448ab35989bff96f677a67436.jpg","text":"TemporaryFile(/tmp/multipartBody2885389303550478522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117323963,"filename":"image_02112025_02_21_31_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/2/c0dd3d788a0c029de59254a13e8c819d.jpg","text":"TemporaryFile(/tmp/multipartBody638111768271414493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117323963,"filename":"image_02112025_02_21_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/2/aafd6692d9d042c6de4127a794e1331c.jpg","text":"TemporaryFile(/tmp/multipartBody3821035474840910803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117323963,"filename":"image_02112025_02_21_34_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/2/97881bff13795d958f7499a49bca1457.jpg","text":"TemporaryFile(/tmp/multipartBody4197891840020565918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117323963,"filename":"image_02112025_02_21_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/2/ee0fa052639442b07e363506bcf1b862.jpg","text":"TemporaryFile(/tmp/multipartBody1026097529297993927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117323963,"filename":"image_02112025_02_21_40_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/2/8dea207d33b12186a7535c33c75673cc.jpg","text":"TemporaryFile(/tmp/multipartBody3830962644605663620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117323963,"filename":"image_02112025_02_21_37_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391882381","file1":"1391882253","file0":"1391882076","file4":"1391882461","file5":"1391882507","file3":"1391882419"},"map_files_photo_id_array":[{"photo_id":"1391882507","filename":"file5"},{"photo_id":"1391882381","filename":"file2"},{"photo_id":"1391882461","filename":"file4"},{"photo_id":"1391882253","filename":"file1"},{"photo_id":"1391882076","filename":"file0"},{"photo_id":"1391882419","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391882253":["hashtag1","hashtag2"]},{"1391882076":["hashtag1","hashtag2"]},{"1391882381":["hashtag1","hashtag2"]},{"1391882507":["hashtag1","hashtag2"]},{"1391882461":["hashtag1","hashtag2"]},{"1391882419":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391882253, 1391882076, 1391882381, 1391882507, 1391882461, 1391882419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02340340614319 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:01:42.441138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_45_2795.jpg', '/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_49_3832.jpg', '/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_52_2650.jpg', '/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_55_2666.jpg', '/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_58_3744.jpg', '/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_04_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_45_2795.jpg
/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_49_3832.jpg
/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_52_2650.jpg
/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_55_2666.jpg
/home/pi/Desktop/images/02112025/02/21/image_02112025_02_21_58_3744.jpg
/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_04_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391882879","1391882840","1391882921","1391882962","1391882764","1391882803"],"photo_ids_order":["1391882764","1391882803","1391882840","1391882879","1391882921","1391882962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a2717b8e81625b293fec4f7aa7cfc593.jpg","text":"TemporaryFile(/tmp/multipartBody1980073395386870293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117363306,"filename":"image_02112025_02_21_55_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/2/2192c08fdea391c0e83769dd639c4362.jpg","text":"TemporaryFile(/tmp/multipartBody78948307289864325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117363306,"filename":"image_02112025_02_21_52_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/2/35637ac85597313fae0152b0de63e6bd.jpg","text":"TemporaryFile(/tmp/multipartBody7020583377245820662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117363306,"filename":"image_02112025_02_21_58_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/2/f869fbfbef2f1a6cd2d74695c2519c71.jpg","text":"TemporaryFile(/tmp/multipartBody8780106000266830494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117363306,"filename":"image_02112025_02_22_04_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/2/a17a235cd43c5844516ae30def2e32ae.jpg","text":"TemporaryFile(/tmp/multipartBody41637928275903671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117363306,"filename":"image_02112025_02_21_45_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/2/9ecd4c547c7ff2fe12602d40b9f018c4.jpg","text":"TemporaryFile(/tmp/multipartBody3786598180987286490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117363306,"filename":"image_02112025_02_21_49_3832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391882840","file1":"1391882803","file0":"1391882764","file4":"1391882921","file5":"1391882962","file3":"1391882879"},"map_files_photo_id_array":[{"photo_id":"1391882962","filename":"file5"},{"photo_id":"1391882840","filename":"file2"},{"photo_id":"1391882921","filename":"file4"},{"photo_id":"1391882803","filename":"file1"},{"photo_id":"1391882764","filename":"file0"},{"photo_id":"1391882879","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391882879":["hashtag1","hashtag2"]},{"1391882840":["hashtag1","hashtag2"]},{"1391882921":["hashtag1","hashtag2"]},{"1391882962":["hashtag1","hashtag2"]},{"1391882764":["hashtag1","hashtag2"]},{"1391882803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391882879, 1391882840, 1391882921, 1391882962, 1391882764, 1391882803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.173219203948975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:02:22.643997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_07_3687.jpg', '/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_10_2690.jpg', '/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_15_2727.jpg', '/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_19_3717.jpg', '/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_22_2532.jpg', '/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_25_2846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_07_3687.jpg
/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_10_2690.jpg
/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_15_2727.jpg
/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_19_3717.jpg
/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_22_2532.jpg
/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_25_2846.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391883021","1391883018","1391883023","1391883032","1391883016","1391883019"],"photo_ids_order":["1391883016","1391883018","1391883019","1391883021","1391883023","1391883032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d829dc4c46f84410ba11d287eadb37c6.jpg","text":"TemporaryFile(/tmp/multipartBody7868176704620351880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117403435,"filename":"image_02112025_02_22_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/2/5603a921a3f222adc9a3fd3122c4d15b.jpg","text":"TemporaryFile(/tmp/multipartBody8509242403468497718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117403435,"filename":"image_02112025_02_22_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/2/2718cc2a3e6e573ff740a794c44ca763.jpg","text":"TemporaryFile(/tmp/multipartBody2134390956270758035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117403435,"filename":"image_02112025_02_22_22_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/2/c9c3dd4383ad18ffdb1618f9f84d5cc8.jpg","text":"TemporaryFile(/tmp/multipartBody4776867582918840485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117403435,"filename":"image_02112025_02_22_25_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/2/77e5b1e942035110af18c1c74f73877d.jpg","text":"TemporaryFile(/tmp/multipartBody163662116387232970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117403435,"filename":"image_02112025_02_22_07_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/2/b90bd57616e3ce1b231d6696534542c3.jpg","text":"TemporaryFile(/tmp/multipartBody1974468875487328787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117403435,"filename":"image_02112025_02_22_15_2727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391883019","file1":"1391883018","file0":"1391883016","file4":"1391883023","file5":"1391883032","file3":"1391883021"},"map_files_photo_id_array":[{"photo_id":"1391883032","filename":"file5"},{"photo_id":"1391883019","filename":"file2"},{"photo_id":"1391883023","filename":"file4"},{"photo_id":"1391883018","filename":"file1"},{"photo_id":"1391883016","filename":"file0"},{"photo_id":"1391883021","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391883021":["hashtag1","hashtag2"]},{"1391883018":["hashtag1","hashtag2"]},{"1391883023":["hashtag1","hashtag2"]},{"1391883032":["hashtag1","hashtag2"]},{"1391883016":["hashtag1","hashtag2"]},{"1391883019":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391883021, 1391883018, 1391883023, 1391883032, 1391883016, 1391883019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.42159032821655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:03:03.454057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_31_2621.jpg', '/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_33_2634.jpg', '/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_37_3511.jpg', '/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_43_2593.jpg', '/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_46_3668.jpg', '/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_49_2803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_31_2621.jpg
/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_33_2634.jpg
/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_37_3511.jpg
/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_43_2593.jpg
/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_46_3668.jpg
/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_49_2803.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391883504","1391883392","1391883434","1391883592","1391883346","1391883552"],"photo_ids_order":["1391883346","1391883392","1391883434","1391883504","1391883552","1391883592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a04fcfa64f0e73600987cd2f2b52a329.jpg","text":"TemporaryFile(/tmp/multipartBody554375045924765916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117444330,"filename":"image_02112025_02_22_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/2/bd593277ae4ef364445e9eb1d1dce742.jpg","text":"TemporaryFile(/tmp/multipartBody2135386493832347014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117444330,"filename":"image_02112025_02_22_33_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/2/7039a2075294c8cc7266ef84b1a586a8.jpg","text":"TemporaryFile(/tmp/multipartBody5477114672794214136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117444330,"filename":"image_02112025_02_22_37_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/2/c2121fe895407b31b4ac93c087d7823f.jpg","text":"TemporaryFile(/tmp/multipartBody7333347999827850743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117444330,"filename":"image_02112025_02_22_49_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/2/f4bc02304fecc7b3843b4d8b1384ae43.jpg","text":"TemporaryFile(/tmp/multipartBody7897611346260838297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117444330,"filename":"image_02112025_02_22_31_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/2/73c0b89b871f99e8134b9fc4ded7bfaa.jpg","text":"TemporaryFile(/tmp/multipartBody6669607939506392812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117444330,"filename":"image_02112025_02_22_46_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391883434","file1":"1391883392","file0":"1391883346","file4":"1391883552","file5":"1391883592","file3":"1391883504"},"map_files_photo_id_array":[{"photo_id":"1391883592","filename":"file5"},{"photo_id":"1391883434","filename":"file2"},{"photo_id":"1391883552","filename":"file4"},{"photo_id":"1391883392","filename":"file1"},{"photo_id":"1391883346","filename":"file0"},{"photo_id":"1391883504","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391883504":["hashtag1","hashtag2"]},{"1391883392":["hashtag1","hashtag2"]},{"1391883434":["hashtag1","hashtag2"]},{"1391883592":["hashtag1","hashtag2"]},{"1391883346":["hashtag1","hashtag2"]},{"1391883552":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391883504, 1391883392, 1391883434, 1391883592, 1391883346, 1391883552)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.90924072265625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:04:02.588169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_52_2771.jpg', '/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_54_2645.jpg', '/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_58_3602.jpg', '/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_01_2724.jpg', '/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_04_3585.jpg', '/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_07_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_52_2771.jpg
/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_54_2645.jpg
/home/pi/Desktop/images/02112025/02/22/image_02112025_02_22_58_3602.jpg
/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_01_2724.jpg
/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_04_3585.jpg
/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_07_2614.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391884169","1391884573","1391884489","1391884408","1391884332","1391884254"],"photo_ids_order":["1391884169","1391884254","1391884332","1391884408","1391884489","1391884573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/225400522485e2d6750c09df647724d4.jpg","text":"TemporaryFile(/tmp/multipartBody8564946859573422365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117506347,"filename":"image_02112025_02_22_52_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/2/46bffd6e26b84c5acf0823cf6868bcae.jpg","text":"TemporaryFile(/tmp/multipartBody5674936346772651620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117506347,"filename":"image_02112025_02_23_07_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/2/81729892909d7ccde7f1428ec73ac471.jpg","text":"TemporaryFile(/tmp/multipartBody1374416712535457662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117506347,"filename":"image_02112025_02_23_04_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/2/598d3d93cf35f619c0d716c3d3acf4ee.jpg","text":"TemporaryFile(/tmp/multipartBody3796205161836505382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117506347,"filename":"image_02112025_02_23_01_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/2/16d3701be4b15e0d4d31d78dec8a366b.jpg","text":"TemporaryFile(/tmp/multipartBody4003272757367836629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117506347,"filename":"image_02112025_02_22_58_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/2/c8f4d66b296994f08dc400998d63ad84.jpg","text":"TemporaryFile(/tmp/multipartBody6795255171160260096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117506347,"filename":"image_02112025_02_22_54_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391884332","file1":"1391884254","file0":"1391884169","file4":"1391884489","file5":"1391884573","file3":"1391884408"},"map_files_photo_id_array":[{"photo_id":"1391884573","filename":"file5"},{"photo_id":"1391884332","filename":"file2"},{"photo_id":"1391884489","filename":"file4"},{"photo_id":"1391884254","filename":"file1"},{"photo_id":"1391884169","filename":"file0"},{"photo_id":"1391884408","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391884169":["hashtag1","hashtag2"]},{"1391884573":["hashtag1","hashtag2"]},{"1391884489":["hashtag1","hashtag2"]},{"1391884408":["hashtag1","hashtag2"]},{"1391884332":["hashtag1","hashtag2"]},{"1391884254":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391884169, 1391884573, 1391884489, 1391884408, 1391884332, 1391884254)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.261712312698364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:05:03.273698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_10_2764.jpg', '/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_13_3578.jpg', '/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_16_2710.jpg', '/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_19_2761.jpg', '/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_22_2773.jpg', '/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_28_2512.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_10_2764.jpg
/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_13_3578.jpg
/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_16_2710.jpg
/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_19_2761.jpg
/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_22_2773.jpg
/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_28_2512.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391885452","1391885269","1391885227","1391885186","1391885310","1391885378"],"photo_ids_order":["1391885186","1391885227","1391885269","1391885310","1391885378","1391885452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a8428d531e4ea2da190d79c4a381639d.jpg","text":"TemporaryFile(/tmp/multipartBody8698901045808673780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117564153,"filename":"image_02112025_02_23_28_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/2/d51cda5d5dcbe33688b00b28b1a24714.jpg","text":"TemporaryFile(/tmp/multipartBody7254001058767435145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117564153,"filename":"image_02112025_02_23_16_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/2/f04990349f28e2736f6b5e7bbba43e93.jpg","text":"TemporaryFile(/tmp/multipartBody4639865402625605023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117564153,"filename":"image_02112025_02_23_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/2/d8e8def1bfb0091f503b654b1b6d04b9.jpg","text":"TemporaryFile(/tmp/multipartBody6087387732068707334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117564153,"filename":"image_02112025_02_23_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/2/8c8eb98755e8f2e4377bf2ad4264e799.jpg","text":"TemporaryFile(/tmp/multipartBody5391120252879600513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117564153,"filename":"image_02112025_02_23_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/2/2afe2a5e32ccc0d163a1d21c702dde2d.jpg","text":"TemporaryFile(/tmp/multipartBody8817932143655627278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117564153,"filename":"image_02112025_02_23_22_2773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391885269","file1":"1391885227","file0":"1391885186","file4":"1391885378","file5":"1391885452","file3":"1391885310"},"map_files_photo_id_array":[{"photo_id":"1391885452","filename":"file5"},{"photo_id":"1391885269","filename":"file2"},{"photo_id":"1391885378","filename":"file4"},{"photo_id":"1391885227","filename":"file1"},{"photo_id":"1391885186","filename":"file0"},{"photo_id":"1391885310","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391885452":["hashtag1","hashtag2"]},{"1391885269":["hashtag1","hashtag2"]},{"1391885227":["hashtag1","hashtag2"]},{"1391885186":["hashtag1","hashtag2"]},{"1391885310":["hashtag1","hashtag2"]},{"1391885378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391885452, 1391885269, 1391885227, 1391885186, 1391885310, 1391885378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00032114982605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:05:42.589402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_30_2666.jpg', '/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_34_3651.jpg', '/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_37_2707.jpg', '/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_39_2671.jpg', '/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_43_3649.jpg', '/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_49_3644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_30_2666.jpg
/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_34_3651.jpg
/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_37_2707.jpg
/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_39_2671.jpg
/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_43_3649.jpg
/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_49_3644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391886445","1391886192","1391886072","1391886338","1391885963","1391885858"],"photo_ids_order":["1391885858","1391885963","1391886072","1391886192","1391886338","1391886445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2bbf1a7a913cdaa7a53a1d05f5065b25.jpg","text":"TemporaryFile(/tmp/multipartBody5169104355517685128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117607323,"filename":"image_02112025_02_23_49_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/2/b8d4fcebd5c0893db98f1e1f1e4eab00.jpg","text":"TemporaryFile(/tmp/multipartBody7996462540475841494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117607323,"filename":"image_02112025_02_23_39_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/2/5d2f85b4043bb97b962219d290625edb.jpg","text":"TemporaryFile(/tmp/multipartBody8994497528247456210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117607323,"filename":"image_02112025_02_23_37_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/2/f666e24e89f0d7ec05c70249609929aa.jpg","text":"TemporaryFile(/tmp/multipartBody8632976435848003354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117607323,"filename":"image_02112025_02_23_43_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/2/3e76eb97650f46e3ae57fed9f7d4f71f.jpg","text":"TemporaryFile(/tmp/multipartBody8975639776602678893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117607323,"filename":"image_02112025_02_23_34_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/2/17f63709229f60e5a6625b58babc6f2c.jpg","text":"TemporaryFile(/tmp/multipartBody2158436123117678644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117607323,"filename":"image_02112025_02_23_30_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391886072","file1":"1391885963","file0":"1391885858","file4":"1391886338","file5":"1391886445","file3":"1391886192"},"map_files_photo_id_array":[{"photo_id":"1391886445","filename":"file5"},{"photo_id":"1391886072","filename":"file2"},{"photo_id":"1391886338","filename":"file4"},{"photo_id":"1391885963","filename":"file1"},{"photo_id":"1391885858","filename":"file0"},{"photo_id":"1391886192","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391886445":["hashtag1","hashtag2"]},{"1391886192":["hashtag1","hashtag2"]},{"1391886072":["hashtag1","hashtag2"]},{"1391886338":["hashtag1","hashtag2"]},{"1391885963":["hashtag1","hashtag2"]},{"1391885858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391886445, 1391886192, 1391886072, 1391886338, 1391885963, 1391885858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0801568031311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:06:22.835133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_52_2745.jpg', '/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_57_2758.jpg', '/home/pi/Desktop/images/02112025/02/23/image_02112025_02_24_01_3534.jpg', '/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_04_2617.jpg', '/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_06_2761.jpg', '/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_09_2856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_52_2745.jpg
/home/pi/Desktop/images/02112025/02/23/image_02112025_02_23_57_2758.jpg
/home/pi/Desktop/images/02112025/02/23/image_02112025_02_24_01_3534.jpg
/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_04_2617.jpg
/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_06_2761.jpg
/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_09_2856.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391887586","1391887289","1391886834","1391887433","1391886961","1391887111"],"photo_ids_order":["1391886834","1391886961","1391887111","1391887289","1391887433","1391887586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0fe9616bd6d4b658c47b6a43a54ce07d.jpg","text":"TemporaryFile(/tmp/multipartBody5177213218906962375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117643623,"filename":"image_02112025_02_24_09_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/2/8849a5ca1117d82c8fd9d313e1ca4a53.jpg","text":"TemporaryFile(/tmp/multipartBody3985504242478660227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117643623,"filename":"image_02112025_02_24_04_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/2/e30eefd9dd14ef0e7f924a979596c6df.jpg","text":"TemporaryFile(/tmp/multipartBody2886663543225755359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117643623,"filename":"image_02112025_02_23_52_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/2/d63ffaabb1e859632411551565ddc6d2.jpg","text":"TemporaryFile(/tmp/multipartBody5849153680959239876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117643623,"filename":"image_02112025_02_24_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/2/53ae034e26266514f1bb28b73f367014.jpg","text":"TemporaryFile(/tmp/multipartBody1242434685535511008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117643623,"filename":"image_02112025_02_23_57_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/2/66e85366985810b2570ef3434474a1b0.jpg","text":"TemporaryFile(/tmp/multipartBody1508053171144573158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117643623,"filename":"image_02112025_02_24_01_3534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391887111","file1":"1391886961","file0":"1391886834","file4":"1391887433","file5":"1391887586","file3":"1391887289"},"map_files_photo_id_array":[{"photo_id":"1391887586","filename":"file5"},{"photo_id":"1391887111","filename":"file2"},{"photo_id":"1391887433","filename":"file4"},{"photo_id":"1391886961","filename":"file1"},{"photo_id":"1391886834","filename":"file0"},{"photo_id":"1391887289","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391887586":["hashtag1","hashtag2"]},{"1391887289":["hashtag1","hashtag2"]},{"1391886834":["hashtag1","hashtag2"]},{"1391887433":["hashtag1","hashtag2"]},{"1391886961":["hashtag1","hashtag2"]},{"1391887111":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391887586, 1391887289, 1391886834, 1391887433, 1391886961, 1391887111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.541784048080444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:07:02.615660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_13_3717.jpg', '/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_18_2726.jpg', '/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_22_3696.jpg', '/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_25_2825.jpg', '/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_28_2864.jpg', '/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_34_3646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_13_3717.jpg
/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_18_2726.jpg
/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_22_3696.jpg
/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_25_2825.jpg
/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_28_2864.jpg
/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_34_3646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391889266","1391888922","1391888607","1391889521","1391888324","1391889708"],"photo_ids_order":["1391888324","1391888607","1391888922","1391889266","1391889521","1391889708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8685c0ceec5dad01fcc0c2796f89402e.jpg","text":"TemporaryFile(/tmp/multipartBody2095665906707014059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117683812,"filename":"image_02112025_02_24_25_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/2/d5a8b545f813097a97d31732b0d47d73.jpg","text":"TemporaryFile(/tmp/multipartBody3684945660474170371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117683812,"filename":"image_02112025_02_24_22_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/2/ad57367773fc4af59ed2aa8b04cbec1b.jpg","text":"TemporaryFile(/tmp/multipartBody12759954480894377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117683812,"filename":"image_02112025_02_24_18_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/2/6a93ba453f76e6371380f3af2e8693d7.jpg","text":"TemporaryFile(/tmp/multipartBody5306052533827528649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117683812,"filename":"image_02112025_02_24_28_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/2/15c41fc528221950e31028461236d3d3.jpg","text":"TemporaryFile(/tmp/multipartBody9159280852609559128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117683812,"filename":"image_02112025_02_24_13_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/2/bec34e56d31595f1bfc529b4362ff777.jpg","text":"TemporaryFile(/tmp/multipartBody5106098308876373351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117683812,"filename":"image_02112025_02_24_34_3646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391888922","file1":"1391888607","file0":"1391888324","file4":"1391889521","file5":"1391889708","file3":"1391889266"},"map_files_photo_id_array":[{"photo_id":"1391889708","filename":"file5"},{"photo_id":"1391888922","filename":"file2"},{"photo_id":"1391889521","filename":"file4"},{"photo_id":"1391888607","filename":"file1"},{"photo_id":"1391888324","filename":"file0"},{"photo_id":"1391889266","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391889266":["hashtag1","hashtag2"]},{"1391888922":["hashtag1","hashtag2"]},{"1391888607":["hashtag1","hashtag2"]},{"1391889521":["hashtag1","hashtag2"]},{"1391888324":["hashtag1","hashtag2"]},{"1391889708":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391889266, 1391888922, 1391888607, 1391889521, 1391888324, 1391889708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96806240081787 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:07:42.089541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_37_2558.jpg', '/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_39_2771.jpg', '/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_43_3784.jpg', '/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_46_2757.jpg', '/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_49_2701.jpg', '/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_52_3543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_37_2558.jpg
/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_39_2771.jpg
/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_43_3784.jpg
/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_46_2757.jpg
/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_49_2701.jpg
/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_52_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":["1391891033","1391890805","1391890180","1391890447","1391890717","1391890932"],"photo_ids_order":["1391890180","1391890447","1391890717","1391890805","1391890932","1391891033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3bd7ac4904bfa479dc5c804508132ec5.jpg","text":"TemporaryFile(/tmp/multipartBody980910528484113814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117722946,"filename":"image_02112025_02_24_52_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/2/198babaea574e2657859250c85ea4c2c.jpg","text":"TemporaryFile(/tmp/multipartBody2631775409294444836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117722946,"filename":"image_02112025_02_24_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/2/2a7bc6659a026084a92aed6c4dbaf495.jpg","text":"TemporaryFile(/tmp/multipartBody8246983649645266277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117722946,"filename":"image_02112025_02_24_37_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/2/67d6e7c637db6ade2ce304e4a54157a3.jpg","text":"TemporaryFile(/tmp/multipartBody7939592291340747934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117722946,"filename":"image_02112025_02_24_39_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/2/a9303cf4edb6419c0d6d2fa75691061f.jpg","text":"TemporaryFile(/tmp/multipartBody6736241632693184331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117722946,"filename":"image_02112025_02_24_43_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/2/d60610594b45061c25c41a628660852e.jpg","text":"TemporaryFile(/tmp/multipartBody7299320230030460577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117722946,"filename":"image_02112025_02_24_49_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391890717","file1":"1391890447","file0":"1391890180","file4":"1391890932","file5":"1391891033","file3":"1391890805"},"map_files_photo_id_array":[{"photo_id":"1391891033","filename":"file5"},{"photo_id":"1391890717","filename":"file2"},{"photo_id":"1391890932","filename":"file4"},{"photo_id":"1391890447","filename":"file1"},{"photo_id":"1391890180","filename":"file0"},{"photo_id":"1391890805","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391891033":["hashtag1","hashtag2"]},{"1391890805":["hashtag1","hashtag2"]},{"1391890180":["hashtag1","hashtag2"]},{"1391890447":["hashtag1","hashtag2"]},{"1391890717":["hashtag1","hashtag2"]},{"1391890932":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391891033, 1391890805, 1391890180, 1391890447, 1391890717, 1391890932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.653541564941406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:08:42.200800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_55_2625.jpg', '/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_57_2583.jpg', '/home/pi/Desktop/images/02112025/02/24/image_02112025_02_25_01_3723.jpg', '/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_04_2992.jpg', '/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_07_2705.jpg', '/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_09_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_55_2625.jpg
/home/pi/Desktop/images/02112025/02/24/image_02112025_02_24_57_2583.jpg
/home/pi/Desktop/images/02112025/02/24/image_02112025_02_25_01_3723.jpg
/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_04_2992.jpg
/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_07_2705.jpg
/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_09_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":["1391892637","1391892495","1391892037","1391892197","1391891655","1391892344"],"photo_ids_order":["1391891655","1391892037","1391892197","1391892344","1391892495","1391892637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d00b993018fd7c4fb3da4492275b6ebd.jpg","text":"TemporaryFile(/tmp/multipartBody8040279132092910494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117783023,"filename":"image_02112025_02_25_09_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/2/b09b724f1aa2e5a404a6c285076a738d.jpg","text":"TemporaryFile(/tmp/multipartBody3573420034288676339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117783023,"filename":"image_02112025_02_25_07_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/2/3cbac3c97786ea4ddf3dc3abb8252348.jpg","text":"TemporaryFile(/tmp/multipartBody1982417153621224579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117783023,"filename":"image_02112025_02_24_57_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/2/e64328afaaf5031ed982a8c5f608f438.jpg","text":"TemporaryFile(/tmp/multipartBody5018151088520495322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117783023,"filename":"image_02112025_02_25_01_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/2/eb035a67cec0212536ee8f5b84da79cf.jpg","text":"TemporaryFile(/tmp/multipartBody24200187764858080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117783023,"filename":"image_02112025_02_24_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/2/5332f48e642d9f07cabb49b142d2a543.jpg","text":"TemporaryFile(/tmp/multipartBody3641076012669214953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117783023,"filename":"image_02112025_02_25_04_2992.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391892197","file1":"1391892037","file0":"1391891655","file4":"1391892495","file5":"1391892637","file3":"1391892344"},"map_files_photo_id_array":[{"photo_id":"1391892637","filename":"file5"},{"photo_id":"1391892197","filename":"file2"},{"photo_id":"1391892495","filename":"file4"},{"photo_id":"1391892037","filename":"file1"},{"photo_id":"1391891655","filename":"file0"},{"photo_id":"1391892344","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391892637":["hashtag1","hashtag2"]},{"1391892495":["hashtag1","hashtag2"]},{"1391892037":["hashtag1","hashtag2"]},{"1391892197":["hashtag1","hashtag2"]},{"1391891655":["hashtag1","hashtag2"]},{"1391892344":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391892637, 1391892495, 1391892037, 1391892197, 1391891655, 1391892344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.24233055114746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:09:42.600198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_13_3546.jpg', '/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_15_2538.jpg', '/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_18_2740.jpg', '/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_22_3696.jpg', '/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_25_2755.jpg', '/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_27_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_13_3546.jpg
/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_15_2538.jpg
/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_18_2740.jpg
/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_22_3696.jpg
/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_25_2755.jpg
/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_27_2602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391893867","1391894399","1391894025","1391893704","1391893503","1391894191"],"photo_ids_order":["1391893503","1391893704","1391893867","1391894025","1391894191","1391894399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/dac2d48ecf9a9bbb8639d1fbda02980b.jpg","text":"TemporaryFile(/tmp/multipartBody3149330405193471787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117843466,"filename":"image_02112025_02_25_18_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/2/97c0ed60990e2d7de0f3d8fba356836a.jpg","text":"TemporaryFile(/tmp/multipartBody131156706383027013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117843466,"filename":"image_02112025_02_25_27_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/2/13a4f1c0b77bd22ca9476b2d2b0d08a8.jpg","text":"TemporaryFile(/tmp/multipartBody8798474718137607971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117843466,"filename":"image_02112025_02_25_22_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/2/b9ba5f93a81723afbe97ddaf96b38541.jpg","text":"TemporaryFile(/tmp/multipartBody598901723221241953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117843466,"filename":"image_02112025_02_25_15_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/2/5301f38f0f5831181783781233d4babd.jpg","text":"TemporaryFile(/tmp/multipartBody5174747729915576134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117843466,"filename":"image_02112025_02_25_13_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/2/db9f4af2a41ba5b132df3e6abbb2fb49.jpg","text":"TemporaryFile(/tmp/multipartBody3315316251625136981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117843466,"filename":"image_02112025_02_25_25_2755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391893867","file1":"1391893704","file0":"1391893503","file4":"1391894191","file5":"1391894399","file3":"1391894025"},"map_files_photo_id_array":[{"photo_id":"1391894399","filename":"file5"},{"photo_id":"1391893867","filename":"file2"},{"photo_id":"1391894191","filename":"file4"},{"photo_id":"1391893704","filename":"file1"},{"photo_id":"1391893503","filename":"file0"},{"photo_id":"1391894025","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391893867":["hashtag1","hashtag2"]},{"1391894399":["hashtag1","hashtag2"]},{"1391894025":["hashtag1","hashtag2"]},{"1391893704":["hashtag1","hashtag2"]},{"1391893503":["hashtag1","hashtag2"]},{"1391894191":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391893867, 1391894399, 1391894025, 1391893704, 1391893503, 1391894191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23235511779785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:10:22.652646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_31_3897.jpg', '/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_34_2659.jpg', '/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_36_2558.jpg', '/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_40_3584.jpg', '/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_43_2794.jpg', '/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_46_2844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_31_3897.jpg
/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_34_2659.jpg
/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_36_2558.jpg
/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_40_3584.jpg
/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_43_2794.jpg
/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_46_2844.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391895981","1391895665","1391895140","1391895493","1391895826","1391895325"],"photo_ids_order":["1391895140","1391895325","1391895493","1391895665","1391895826","1391895981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d35784f0f1515da8b3da744e1af3f2b1.jpg","text":"TemporaryFile(/tmp/multipartBody1053419492975395767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117883452,"filename":"image_02112025_02_25_46_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/2/0a032d782b11a61ede05af634eccff7f.jpg","text":"TemporaryFile(/tmp/multipartBody6935302575663669718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117883452,"filename":"image_02112025_02_25_40_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/2/06c966eefea15569e7d9230cd29fb51e.jpg","text":"TemporaryFile(/tmp/multipartBody5043596610025310805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117883452,"filename":"image_02112025_02_25_31_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/2/7f08ee0bd9b52b5e89de7c85b8108703.jpg","text":"TemporaryFile(/tmp/multipartBody4548690544577125414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117883452,"filename":"image_02112025_02_25_36_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/2/da6cad4e6c0b5b29281da784aecaae00.jpg","text":"TemporaryFile(/tmp/multipartBody539329344235465168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117883452,"filename":"image_02112025_02_25_43_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/2/872cdd1c415d84c32604a75697cd227e.jpg","text":"TemporaryFile(/tmp/multipartBody2099948012254468448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117883452,"filename":"image_02112025_02_25_34_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391895493","file1":"1391895325","file0":"1391895140","file4":"1391895826","file5":"1391895981","file3":"1391895665"},"map_files_photo_id_array":[{"photo_id":"1391895981","filename":"file5"},{"photo_id":"1391895493","filename":"file2"},{"photo_id":"1391895826","filename":"file4"},{"photo_id":"1391895325","filename":"file1"},{"photo_id":"1391895140","filename":"file0"},{"photo_id":"1391895665","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391895981":["hashtag1","hashtag2"]},{"1391895665":["hashtag1","hashtag2"]},{"1391895140":["hashtag1","hashtag2"]},{"1391895493":["hashtag1","hashtag2"]},{"1391895826":["hashtag1","hashtag2"]},{"1391895325":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391895981, 1391895665, 1391895140, 1391895493, 1391895826, 1391895325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58686804771423 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-02 22:11:21.750523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_48_2711.jpg', '/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_52_3671.jpg', '/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_57_2637.jpg', '/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_05_8026.jpg', '/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_07_1574.jpg', '/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_08_1549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_48_2711.jpg
/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_52_3671.jpg
/home/pi/Desktop/images/02112025/02/25/image_02112025_02_25_57_2637.jpg
/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_05_8026.jpg
/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_07_1574.jpg
/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_08_1549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391897576","1391897887","1391897323","1391897160","1391897730","1391897445"],"photo_ids_order":["1391897160","1391897323","1391897445","1391897576","1391897730","1391897887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/70622f85cb652e286e77471756b5e2e9.jpg","text":"TemporaryFile(/tmp/multipartBody3000757762008176251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117942524,"filename":"image_02112025_02_26_05_8026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/188a4d1959c46c6c3865cd8cb928c04a.jpg","text":"TemporaryFile(/tmp/multipartBody4992636088975823220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117942524,"filename":"image_02112025_02_26_08_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/2/ea4cf1c027851792295b00ea792ae447.jpg","text":"TemporaryFile(/tmp/multipartBody7916460901643694721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117942524,"filename":"image_02112025_02_25_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/2/16896acb6a233074f083372474b1a44e.jpg","text":"TemporaryFile(/tmp/multipartBody3945262000747246447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117942524,"filename":"image_02112025_02_25_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/2/8733960521ca5d0f744f7dfb2dbbc5a2.jpg","text":"TemporaryFile(/tmp/multipartBody2698460482849479893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117942524,"filename":"image_02112025_02_26_07_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/2/b1698d71a002893b598f9bbc32458d0e.jpg","text":"TemporaryFile(/tmp/multipartBody266501675282022370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117942524,"filename":"image_02112025_02_25_57_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391897445","file1":"1391897323","file0":"1391897160","file4":"1391897730","file5":"1391897887","file3":"1391897576"},"map_files_photo_id_array":[{"photo_id":"1391897887","filename":"file5"},{"photo_id":"1391897445","filename":"file2"},{"photo_id":"1391897730","filename":"file4"},{"photo_id":"1391897323","filename":"file1"},{"photo_id":"1391897160","filename":"file0"},{"photo_id":"1391897576","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391897576":["hashtag1","hashtag2"]},{"1391897887":["hashtag1","hashtag2"]},{"1391897323":["hashtag1","hashtag2"]},{"1391897160":["hashtag1","hashtag2"]},{"1391897730":["hashtag1","hashtag2"]},{"1391897445":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391897576, 1391897887, 1391897323, 1391897160, 1391897730, 1391897445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.497626543045044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:12:02.541410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_10_1751.jpg', '/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_13_2524.jpg', '/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_15_2655.jpg', '/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_22_3601.jpg', '/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_25_2744.jpg', '/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_27_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_10_1751.jpg
/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_13_2524.jpg
/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_15_2655.jpg
/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_22_3601.jpg
/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_25_2744.jpg
/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_27_2607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391898688","1391898397","1391898831","1391898315","1391898572","1391898473"],"photo_ids_order":["1391898315","1391898397","1391898473","1391898572","1391898688","1391898831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/47c109e748ca1c263e9c4ea548a86218.jpg","text":"TemporaryFile(/tmp/multipartBody8953435270993106440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117983645,"filename":"image_02112025_02_26_25_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/2/27df1ca6988153ccf7a2111bf0b11c61.jpg","text":"TemporaryFile(/tmp/multipartBody4765821616825791253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117983645,"filename":"image_02112025_02_26_13_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b674d6b55825b4cc15fc4b12009ff3d7.jpg","text":"TemporaryFile(/tmp/multipartBody5635574309511125453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117983645,"filename":"image_02112025_02_26_27_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/2/f569526b472cd5c5627e8614d376af73.jpg","text":"TemporaryFile(/tmp/multipartBody5228354356679267462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117983645,"filename":"image_02112025_02_26_10_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/2/efd1d7e59f865dc27f8db1fe2f4042e3.jpg","text":"TemporaryFile(/tmp/multipartBody8194298504770620208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117983645,"filename":"image_02112025_02_26_22_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/2/2a64658119f4694a4e99d623d6376226.jpg","text":"TemporaryFile(/tmp/multipartBody7549795725062976178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762117983645,"filename":"image_02112025_02_26_15_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391898473","file1":"1391898397","file0":"1391898315","file4":"1391898688","file5":"1391898831","file3":"1391898572"},"map_files_photo_id_array":[{"photo_id":"1391898831","filename":"file5"},{"photo_id":"1391898473","filename":"file2"},{"photo_id":"1391898688","filename":"file4"},{"photo_id":"1391898397","filename":"file1"},{"photo_id":"1391898315","filename":"file0"},{"photo_id":"1391898572","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391898688":["hashtag1","hashtag2"]},{"1391898397":["hashtag1","hashtag2"]},{"1391898831":["hashtag1","hashtag2"]},{"1391898315":["hashtag1","hashtag2"]},{"1391898572":["hashtag1","hashtag2"]},{"1391898473":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391898688, 1391898397, 1391898831, 1391898315, 1391898572, 1391898473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.167421102523804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:12:42.125070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_31_3658.jpg', '/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_33_2596.jpg', '/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_36_2596.jpg', '/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_40_3627.jpg', '/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_42_2868.jpg', '/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_45_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_31_3658.jpg
/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_33_2596.jpg
/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_36_2596.jpg
/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_40_3627.jpg
/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_42_2868.jpg
/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_45_2660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391900367","1391899765","1391900064","1391900217","1391899581","1391899925"],"photo_ids_order":["1391899581","1391899765","1391899925","1391900064","1391900217","1391900367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ca683c38f1613aa5ea5896d4aad5e02f.jpg","text":"TemporaryFile(/tmp/multipartBody5285975156653460318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118023010,"filename":"image_02112025_02_26_45_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/2/e0a5c6b1d323fcfaed213dca76f483e4.jpg","text":"TemporaryFile(/tmp/multipartBody7036451530479385330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118023010,"filename":"image_02112025_02_26_33_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/2/866f7fbb4678d6b14e6f9f9a6bb76df8.jpg","text":"TemporaryFile(/tmp/multipartBody6362626472645478263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118023010,"filename":"image_02112025_02_26_40_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/2/755a0f454e8f317eb7388584343358c7.jpg","text":"TemporaryFile(/tmp/multipartBody2354413282647914351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118023010,"filename":"image_02112025_02_26_42_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/2/7eab462675f11e710b1757a2c991dad8.jpg","text":"TemporaryFile(/tmp/multipartBody6072794338399185425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118023010,"filename":"image_02112025_02_26_31_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/2/78029f1d6bfe3e6184735dd0fbd93c08.jpg","text":"TemporaryFile(/tmp/multipartBody2519598855587115945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118023010,"filename":"image_02112025_02_26_36_2596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391899925","file1":"1391899765","file0":"1391899581","file4":"1391900217","file5":"1391900367","file3":"1391900064"},"map_files_photo_id_array":[{"photo_id":"1391900367","filename":"file5"},{"photo_id":"1391899925","filename":"file2"},{"photo_id":"1391900217","filename":"file4"},{"photo_id":"1391899765","filename":"file1"},{"photo_id":"1391899581","filename":"file0"},{"photo_id":"1391900064","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391900367":["hashtag1","hashtag2"]},{"1391899765":["hashtag1","hashtag2"]},{"1391900064":["hashtag1","hashtag2"]},{"1391900217":["hashtag1","hashtag2"]},{"1391899581":["hashtag1","hashtag2"]},{"1391899925":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391900367, 1391899765, 1391900064, 1391900217, 1391899581, 1391899925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01713562011719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:13:22.203588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_49_3634.jpg', '/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_51_2644.jpg', '/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_54_2560.jpg', '/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_58_3603.jpg', '/home/pi/Desktop/images/02112025/02/26/image_02112025_02_27_00_2731.jpg', '/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_04_3589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_49_3634.jpg
/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_51_2644.jpg
/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_54_2560.jpg
/home/pi/Desktop/images/02112025/02/26/image_02112025_02_26_58_3603.jpg
/home/pi/Desktop/images/02112025/02/26/image_02112025_02_27_00_2731.jpg
/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_04_3589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391901153","1391901048","1391901414","1391900930","1391901611","1391901265"],"photo_ids_order":["1391900930","1391901048","1391901153","1391901265","1391901414","1391901611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ace8c07700a5f2146b933925734f8f5d.jpg","text":"TemporaryFile(/tmp/multipartBody4721166957636430279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118064696,"filename":"image_02112025_02_26_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/2/fd8eea21a04b9e36a48a2c47b8b95621.jpg","text":"TemporaryFile(/tmp/multipartBody6211386008022081065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118064696,"filename":"image_02112025_02_26_51_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/2/0449a71c68fe3a4fac53f8078bae9a62.jpg","text":"TemporaryFile(/tmp/multipartBody3437262401591346249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118064696,"filename":"image_02112025_02_27_00_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/2/5d724cfb6b7ed08e84e7fd93909bfe1c.jpg","text":"TemporaryFile(/tmp/multipartBody3804491200885213031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118064696,"filename":"image_02112025_02_26_49_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/2/2e60911282c4b86b00004bb5eeffd2ef.jpg","text":"TemporaryFile(/tmp/multipartBody6347261037084893710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118064696,"filename":"image_02112025_02_27_04_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/2/062bdf9fcef609485f9ef550f1295370.jpg","text":"TemporaryFile(/tmp/multipartBody5818897878710505353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118064696,"filename":"image_02112025_02_26_58_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391901153","file1":"1391901048","file0":"1391900930","file4":"1391901414","file5":"1391901611","file3":"1391901265"},"map_files_photo_id_array":[{"photo_id":"1391901611","filename":"file5"},{"photo_id":"1391901153","filename":"file2"},{"photo_id":"1391901414","filename":"file4"},{"photo_id":"1391901048","filename":"file1"},{"photo_id":"1391900930","filename":"file0"},{"photo_id":"1391901265","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391901153":["hashtag1","hashtag2"]},{"1391901048":["hashtag1","hashtag2"]},{"1391901414":["hashtag1","hashtag2"]},{"1391900930":["hashtag1","hashtag2"]},{"1391901611":["hashtag1","hashtag2"]},{"1391901265":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391901153, 1391901048, 1391901414, 1391900930, 1391901611, 1391901265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39722561836243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:14:03.191659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_07_2627.jpg', '/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_09_2569.jpg', '/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_14_5208.jpg', '/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_16_1565.jpg', '/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_18_2542.jpg', '/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_21_2750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_07_2627.jpg
/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_09_2569.jpg
/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_14_5208.jpg
/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_16_1565.jpg
/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_18_2542.jpg
/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_21_2750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391902565","1391902996","1391902808","1391902942","1391902351","1391903046"],"photo_ids_order":["1391902351","1391902565","1391902808","1391902942","1391902996","1391903046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bf6d269246392cb165ce65b13811597d.jpg","text":"TemporaryFile(/tmp/multipartBody306705955637325582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118104053,"filename":"image_02112025_02_27_09_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/2/3d3e0f5b34f95b19e823eed4fb098be7.jpg","text":"TemporaryFile(/tmp/multipartBody2061347756329059038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118104053,"filename":"image_02112025_02_27_18_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/2/06ef85328343b53d350baace744306dd.jpg","text":"TemporaryFile(/tmp/multipartBody7554775967078496045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118104053,"filename":"image_02112025_02_27_14_5208.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/97e98f3897f408f2d47c2ea488fe08df.jpg","text":"TemporaryFile(/tmp/multipartBody4392067228152248053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118104053,"filename":"image_02112025_02_27_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/2/7b5fbfea028d1eb696c5dc1d9a969542.jpg","text":"TemporaryFile(/tmp/multipartBody2596244831288005605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118104053,"filename":"image_02112025_02_27_07_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/2/8ec0e4172138260f3b6d091aa57069e5.jpg","text":"TemporaryFile(/tmp/multipartBody2768006986634988751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118104053,"filename":"image_02112025_02_27_21_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391902808","file1":"1391902565","file0":"1391902351","file4":"1391902996","file5":"1391903046","file3":"1391902942"},"map_files_photo_id_array":[{"photo_id":"1391903046","filename":"file5"},{"photo_id":"1391902808","filename":"file2"},{"photo_id":"1391902996","filename":"file4"},{"photo_id":"1391902565","filename":"file1"},{"photo_id":"1391902351","filename":"file0"},{"photo_id":"1391902942","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391902565":["hashtag1","hashtag2"]},{"1391902996":["hashtag1","hashtag2"]},{"1391902808":["hashtag1","hashtag2"]},{"1391902942":["hashtag1","hashtag2"]},{"1391902351":["hashtag1","hashtag2"]},{"1391903046":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391902565, 1391902996, 1391902808, 1391902942, 1391902351, 1391903046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62349605560303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:14:42.489852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_27_2673.jpg', '/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_30_2772.jpg', '/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_34_3558.jpg', '/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_36_2708.jpg', '/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_39_2697.jpg', '/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_43_3702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_27_2673.jpg
/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_30_2772.jpg
/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_34_3558.jpg
/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_36_2708.jpg
/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_39_2697.jpg
/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_43_3702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391903438","1391903770","1391903475","1391903664","1391903393","1391903552"],"photo_ids_order":["1391903393","1391903438","1391903475","1391903552","1391903664","1391903770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/61e91e23540e0977efcca4b413aae864.jpg","text":"TemporaryFile(/tmp/multipartBody1565296103574211295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118143687,"filename":"image_02112025_02_27_30_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/2/3bcca32666ac4ad31516ac047c229089.jpg","text":"TemporaryFile(/tmp/multipartBody1527662299639041287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118143687,"filename":"image_02112025_02_27_43_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/2/0ef1a9f89f5029369b9f3063e6245ec7.jpg","text":"TemporaryFile(/tmp/multipartBody2087100275132086146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118143687,"filename":"image_02112025_02_27_34_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/2/08ef04624697cae98094a3a2ff2f175f.jpg","text":"TemporaryFile(/tmp/multipartBody637920332206875237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118143687,"filename":"image_02112025_02_27_39_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/2/b10ca3150d593fa242f2034952302a7f.jpg","text":"TemporaryFile(/tmp/multipartBody710210357414033084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118143687,"filename":"image_02112025_02_27_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/2/6b3c400ea8cc54414a43cf485394a254.jpg","text":"TemporaryFile(/tmp/multipartBody4678979017504845232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118143687,"filename":"image_02112025_02_27_36_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391903475","file1":"1391903438","file0":"1391903393","file4":"1391903664","file5":"1391903770","file3":"1391903552"},"map_files_photo_id_array":[{"photo_id":"1391903770","filename":"file5"},{"photo_id":"1391903475","filename":"file2"},{"photo_id":"1391903664","filename":"file4"},{"photo_id":"1391903438","filename":"file1"},{"photo_id":"1391903393","filename":"file0"},{"photo_id":"1391903552","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391903438":["hashtag1","hashtag2"]},{"1391903770":["hashtag1","hashtag2"]},{"1391903475":["hashtag1","hashtag2"]},{"1391903664":["hashtag1","hashtag2"]},{"1391903393":["hashtag1","hashtag2"]},{"1391903552":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391903438, 1391903770, 1391903475, 1391903664, 1391903393, 1391903552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12368202209473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:15:22.731494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_45_2582.jpg', '/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_48_2690.jpg', '/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_52_3545.jpg', '/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_54_2686.jpg', '/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_57_2738.jpg', '/home/pi/Desktop/images/02112025/02/27/image_02112025_02_28_01_3709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_45_2582.jpg
/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_48_2690.jpg
/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_52_3545.jpg
/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_54_2686.jpg
/home/pi/Desktop/images/02112025/02/27/image_02112025_02_27_57_2738.jpg
/home/pi/Desktop/images/02112025/02/27/image_02112025_02_28_01_3709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391904718","1391904631","1391904529","1391904939","1391904452","1391904833"],"photo_ids_order":["1391904452","1391904529","1391904631","1391904718","1391904833","1391904939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3b3093a916171fc2cee54eda32ca2bf0.jpg","text":"TemporaryFile(/tmp/multipartBody7882106783004970777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118183526,"filename":"image_02112025_02_27_54_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/2/6a9ac9fce4177ed8ca263e22ff392925.jpg","text":"TemporaryFile(/tmp/multipartBody3034602697957548554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118183526,"filename":"image_02112025_02_27_52_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/2/9399669fd16ca0e037f50802dcdd517e.jpg","text":"TemporaryFile(/tmp/multipartBody1269409696872529386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118183526,"filename":"image_02112025_02_27_48_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/2/287f6c0cda4545b81277b69fd34ab2d8.jpg","text":"TemporaryFile(/tmp/multipartBody619528153744510140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118183526,"filename":"image_02112025_02_28_01_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/2/9969d6cf578acff0a28a04f66619beb3.jpg","text":"TemporaryFile(/tmp/multipartBody1982365050143505237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118183526,"filename":"image_02112025_02_27_45_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/2/a5a9cb89426eb9339471edd5ef0aa62d.jpg","text":"TemporaryFile(/tmp/multipartBody3188451620422314045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118183526,"filename":"image_02112025_02_27_57_2738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391904631","file1":"1391904529","file0":"1391904452","file4":"1391904833","file5":"1391904939","file3":"1391904718"},"map_files_photo_id_array":[{"photo_id":"1391904939","filename":"file5"},{"photo_id":"1391904631","filename":"file2"},{"photo_id":"1391904833","filename":"file4"},{"photo_id":"1391904529","filename":"file1"},{"photo_id":"1391904452","filename":"file0"},{"photo_id":"1391904718","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391904718":["hashtag1","hashtag2"]},{"1391904631":["hashtag1","hashtag2"]},{"1391904529":["hashtag1","hashtag2"]},{"1391904939":["hashtag1","hashtag2"]},{"1391904452":["hashtag1","hashtag2"]},{"1391904833":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391904718, 1391904631, 1391904529, 1391904939, 1391904452, 1391904833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09172248840332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:16:02.307085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_03_2658.jpg', '/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_06_2588.jpg', '/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_10_3696.jpg', '/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_12_2627.jpg', '/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_19_3688.jpg', '/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_21_2536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_03_2658.jpg
/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_06_2588.jpg
/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_10_3696.jpg
/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_12_2627.jpg
/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_19_3688.jpg
/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_21_2536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391905444","1391905490","1391905230","1391905404","1391905358","1391905274"],"photo_ids_order":["1391905230","1391905274","1391905358","1391905404","1391905444","1391905490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2b0cdaf050507e4eb18fadb78bf42bcd.jpg","text":"TemporaryFile(/tmp/multipartBody8217688613761797413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118225011,"filename":"image_02112025_02_28_19_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/2/3aa7a36f1d6f6312ea8c6c0173d9b9e5.jpg","text":"TemporaryFile(/tmp/multipartBody8917404288617695855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118225011,"filename":"image_02112025_02_28_21_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/2/f3a4e59bb70f21af59bcb917c4818733.jpg","text":"TemporaryFile(/tmp/multipartBody624514509753253385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118225011,"filename":"image_02112025_02_28_03_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/2/45db70096c4ff5ba7380760e2960b35d.jpg","text":"TemporaryFile(/tmp/multipartBody4696816751594899288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118225011,"filename":"image_02112025_02_28_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/2/56045ec0e8f95710e4d749073429cc8c.jpg","text":"TemporaryFile(/tmp/multipartBody3796110646803020470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118225011,"filename":"image_02112025_02_28_10_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/2/98d83024d297504a1ade2129059a3c1d.jpg","text":"TemporaryFile(/tmp/multipartBody3884843886750806660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118225011,"filename":"image_02112025_02_28_06_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391905358","file1":"1391905274","file0":"1391905230","file4":"1391905444","file5":"1391905490","file3":"1391905404"},"map_files_photo_id_array":[{"photo_id":"1391905490","filename":"file5"},{"photo_id":"1391905358","filename":"file2"},{"photo_id":"1391905444","filename":"file4"},{"photo_id":"1391905274","filename":"file1"},{"photo_id":"1391905230","filename":"file0"},{"photo_id":"1391905404","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391905444":["hashtag1","hashtag2"]},{"1391905490":["hashtag1","hashtag2"]},{"1391905230":["hashtag1","hashtag2"]},{"1391905404":["hashtag1","hashtag2"]},{"1391905358":["hashtag1","hashtag2"]},{"1391905274":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391905444, 1391905490, 1391905230, 1391905404, 1391905358, 1391905274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48736524581909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:17:02.973676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_24_2536.jpg', '/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_28_3631.jpg', '/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_30_2529.jpg', '/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_34_3659.jpg', '/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_36_2690.jpg', '/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_39_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_24_2536.jpg
/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_28_3631.jpg
/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_30_2529.jpg
/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_34_3659.jpg
/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_36_2690.jpg
/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_39_2628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391906076","1391906285","1391906189","1391906453","1391906540","1391906380"],"photo_ids_order":["1391906076","1391906189","1391906285","1391906380","1391906453","1391906540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7865d3dee4570d2460b9ff35b514376a.jpg","text":"TemporaryFile(/tmp/multipartBody112539142742504427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118284276,"filename":"image_02112025_02_28_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/2/ba029fad1d14bf70ea81a26e4beceb0c.jpg","text":"TemporaryFile(/tmp/multipartBody918598372380540650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118284276,"filename":"image_02112025_02_28_30_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/2/c4010a59223f114e2955aaeb4a6cc1ec.jpg","text":"TemporaryFile(/tmp/multipartBody7215327852075854037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118284276,"filename":"image_02112025_02_28_28_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/2/97852aa8d315e2cd6663d209680d1a87.jpg","text":"TemporaryFile(/tmp/multipartBody3319074091787938967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118284276,"filename":"image_02112025_02_28_36_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/2/ed8c2787725c7c8d1ceaaff7e54a2f59.jpg","text":"TemporaryFile(/tmp/multipartBody2661822559146991961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118284276,"filename":"image_02112025_02_28_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/2/833e34149450355d6f6eb3cc81cd447b.jpg","text":"TemporaryFile(/tmp/multipartBody5803889699732345829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118284276,"filename":"image_02112025_02_28_34_3659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391906285","file1":"1391906189","file0":"1391906076","file4":"1391906453","file5":"1391906540","file3":"1391906380"},"map_files_photo_id_array":[{"photo_id":"1391906540","filename":"file5"},{"photo_id":"1391906285","filename":"file2"},{"photo_id":"1391906453","filename":"file4"},{"photo_id":"1391906189","filename":"file1"},{"photo_id":"1391906076","filename":"file0"},{"photo_id":"1391906380","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391906076":["hashtag1","hashtag2"]},{"1391906285":["hashtag1","hashtag2"]},{"1391906189":["hashtag1","hashtag2"]},{"1391906453":["hashtag1","hashtag2"]},{"1391906540":["hashtag1","hashtag2"]},{"1391906380":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391906076, 1391906285, 1391906189, 1391906453, 1391906540, 1391906380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29665565490723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:17:42.193200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_43_3522.jpg', '/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_45_2691.jpg', '/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_52_3789.jpg', '/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_54_2676.jpg', '/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_57_2755.jpg', '/home/pi/Desktop/images/02112025/02/28/image_02112025_02_29_00_2858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_43_3522.jpg
/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_45_2691.jpg
/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_52_3789.jpg
/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_54_2676.jpg
/home/pi/Desktop/images/02112025/02/28/image_02112025_02_28_57_2755.jpg
/home/pi/Desktop/images/02112025/02/28/image_02112025_02_29_00_2858.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391907531","1391907683","1391907836","1391907212","1391907384","1391907069"],"photo_ids_order":["1391907069","1391907212","1391907384","1391907531","1391907683","1391907836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fdb0a5691a32a33e713ddaf2a31e90ac.jpg","text":"TemporaryFile(/tmp/multipartBody4027794956903607160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118323012,"filename":"image_02112025_02_28_54_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/2/68c1d98ace7278d0c8bddd2003cfee11.jpg","text":"TemporaryFile(/tmp/multipartBody614716479229482530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118323012,"filename":"image_02112025_02_28_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/2/229fb3f1426a0a6d53ae0ce667f08ed3.jpg","text":"TemporaryFile(/tmp/multipartBody4984923325038375989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118323012,"filename":"image_02112025_02_29_00_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/2/a2287fca3eaca8275cbaab6000a85aba.jpg","text":"TemporaryFile(/tmp/multipartBody6946014341281212112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118323012,"filename":"image_02112025_02_28_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/2/5df33b11575bfece5dfd3038afb9d1a8.jpg","text":"TemporaryFile(/tmp/multipartBody7147601454146099031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118323012,"filename":"image_02112025_02_28_52_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/2/7a1e2e270e51863140f79d9ad6923b26.jpg","text":"TemporaryFile(/tmp/multipartBody2297995318170205684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118323012,"filename":"image_02112025_02_28_43_3522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391907384","file1":"1391907212","file0":"1391907069","file4":"1391907683","file5":"1391907836","file3":"1391907531"},"map_files_photo_id_array":[{"photo_id":"1391907836","filename":"file5"},{"photo_id":"1391907384","filename":"file2"},{"photo_id":"1391907683","filename":"file4"},{"photo_id":"1391907212","filename":"file1"},{"photo_id":"1391907069","filename":"file0"},{"photo_id":"1391907531","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391907531":["hashtag1","hashtag2"]},{"1391907683":["hashtag1","hashtag2"]},{"1391907836":["hashtag1","hashtag2"]},{"1391907212":["hashtag1","hashtag2"]},{"1391907384":["hashtag1","hashtag2"]},{"1391907069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391907531, 1391907683, 1391907836, 1391907212, 1391907384, 1391907069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.540266036987305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:18:22.353176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_04_3691.jpg', '/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_06_2614.jpg', '/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_09_2617.jpg', '/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_13_3676.jpg', '/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_18_2628.jpg', '/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_21_2856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_04_3691.jpg
/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_06_2614.jpg
/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_09_2617.jpg
/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_13_3676.jpg
/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_18_2628.jpg
/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_21_2856.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391909062","1391908474","1391908924","1391908779","1391908624","1391909217"],"photo_ids_order":["1391908474","1391908624","1391908779","1391908924","1391909062","1391909217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/47110c73479ed3c10ec7d78485a46189.jpg","text":"TemporaryFile(/tmp/multipartBody3414571420878949810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118363270,"filename":"image_02112025_02_29_18_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/2/393d328378582644ee988fc0a00987f6.jpg","text":"TemporaryFile(/tmp/multipartBody1172529943553806667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118363270,"filename":"image_02112025_02_29_04_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/2/159a7ad62fc17adc32ddf58dbd8beef2.jpg","text":"TemporaryFile(/tmp/multipartBody3145986920027030223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118363270,"filename":"image_02112025_02_29_13_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/2/9403f35381ef9eb6c769e5bd3fa90f96.jpg","text":"TemporaryFile(/tmp/multipartBody4540345491924929054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118363270,"filename":"image_02112025_02_29_09_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/2/1b64dab0912877af2707b0b094539ddc.jpg","text":"TemporaryFile(/tmp/multipartBody3248546820551623850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118363270,"filename":"image_02112025_02_29_06_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/2/28251fdad78954788ac1acd286fa09b6.jpg","text":"TemporaryFile(/tmp/multipartBody148617785819675651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118363270,"filename":"image_02112025_02_29_21_2856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391908779","file1":"1391908624","file0":"1391908474","file4":"1391909062","file5":"1391909217","file3":"1391908924"},"map_files_photo_id_array":[{"photo_id":"1391909217","filename":"file5"},{"photo_id":"1391908779","filename":"file2"},{"photo_id":"1391909062","filename":"file4"},{"photo_id":"1391908624","filename":"file1"},{"photo_id":"1391908474","filename":"file0"},{"photo_id":"1391908924","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391909062":["hashtag1","hashtag2"]},{"1391908474":["hashtag1","hashtag2"]},{"1391908924":["hashtag1","hashtag2"]},{"1391908779":["hashtag1","hashtag2"]},{"1391908624":["hashtag1","hashtag2"]},{"1391909217":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391909062, 1391908474, 1391908924, 1391908779, 1391908624, 1391909217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25704789161682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:19:03.309893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_24_3054.jpg', '/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_28_3688.jpg', '/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_30_2775.jpg', '/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_33_2644.jpg', '/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_37_3589.jpg', '/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_39_2401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_24_3054.jpg
/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_28_3688.jpg
/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_30_2775.jpg
/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_33_2644.jpg
/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_37_3589.jpg
/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_39_2401.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391910586","1391911320","1391910882","1391909954","1391911148","1391910299"],"photo_ids_order":["1391909954","1391910299","1391910586","1391910882","1391911148","1391911320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7225cd9a753c6fbee17089379223b70b.jpg","text":"TemporaryFile(/tmp/multipartBody697881132744453659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118404294,"filename":"image_02112025_02_29_30_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/2/2ab3464629d51f9954e486a0b829d1e0.jpg","text":"TemporaryFile(/tmp/multipartBody8997372011463244206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118404294,"filename":"image_02112025_02_29_39_2401.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2fab16a552e3fd756458ff7a828ce09b.jpg","text":"TemporaryFile(/tmp/multipartBody3508027634187067717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118404294,"filename":"image_02112025_02_29_33_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/2/1a6d39127ea74083fa346434d7455917.jpg","text":"TemporaryFile(/tmp/multipartBody8520558509549673614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118404294,"filename":"image_02112025_02_29_24_3054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0aea5b172e894be4003951dbc0855e7f.jpg","text":"TemporaryFile(/tmp/multipartBody8808444105659406468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118404294,"filename":"image_02112025_02_29_37_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/2/46b370dade5d492b9cdbd81d94697b64.jpg","text":"TemporaryFile(/tmp/multipartBody1799510616570012310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118404294,"filename":"image_02112025_02_29_28_3688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391910586","file1":"1391910299","file0":"1391909954","file4":"1391911148","file5":"1391911320","file3":"1391910882"},"map_files_photo_id_array":[{"photo_id":"1391911320","filename":"file5"},{"photo_id":"1391910586","filename":"file2"},{"photo_id":"1391911148","filename":"file4"},{"photo_id":"1391910299","filename":"file1"},{"photo_id":"1391909954","filename":"file0"},{"photo_id":"1391910882","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391910586":["hashtag1","hashtag2"]},{"1391911320":["hashtag1","hashtag2"]},{"1391910882":["hashtag1","hashtag2"]},{"1391909954":["hashtag1","hashtag2"]},{"1391911148":["hashtag1","hashtag2"]},{"1391910299":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391910586, 1391911320, 1391910882, 1391909954, 1391911148, 1391910299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98313355445862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:19:42.737284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_43_3646.jpg', '/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_47_4388.jpg', '/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_49_1624.jpg', '/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_51_2626.jpg', '/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_54_2637.jpg', '/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_58_3606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_43_3646.jpg
/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_47_4388.jpg
/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_49_1624.jpg
/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_51_2626.jpg
/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_54_2637.jpg
/home/pi/Desktop/images/02112025/02/29/image_02112025_02_29_58_3606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391911692","1391911773","1391912109","1391911980","1391912063","1391911859"],"photo_ids_order":["1391911692","1391911773","1391911859","1391911980","1391912063","1391912109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fbba6952494b5e4e5e1f6c1451811f13.jpg","text":"TemporaryFile(/tmp/multipartBody4504877629231425103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118443563,"filename":"image_02112025_02_29_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/2/1a93115cefbf3328d7f63384ed47948a.jpg","text":"TemporaryFile(/tmp/multipartBody8541922369539699157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118443563,"filename":"image_02112025_02_29_47_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/2/5975487e8041f68f91f85a57cced2a6c.jpg","text":"TemporaryFile(/tmp/multipartBody3444067915639226020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118443563,"filename":"image_02112025_02_29_58_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/2/73964f701c75e44637adb1723c9f23cf.jpg","text":"TemporaryFile(/tmp/multipartBody2037333120012502933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118443563,"filename":"image_02112025_02_29_51_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/2/712d06c97e3a0c0bc22c1f3c94de2f96.jpg","text":"TemporaryFile(/tmp/multipartBody5113051365880890140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118443563,"filename":"image_02112025_02_29_54_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/2/2780fa75318bfab115baed9e85ee58da.jpg","text":"TemporaryFile(/tmp/multipartBody7622457404817295253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118443563,"filename":"image_02112025_02_29_49_1624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391911859","file1":"1391911773","file0":"1391911692","file4":"1391912063","file5":"1391912109","file3":"1391911980"},"map_files_photo_id_array":[{"photo_id":"1391912109","filename":"file5"},{"photo_id":"1391911859","filename":"file2"},{"photo_id":"1391912063","filename":"file4"},{"photo_id":"1391911773","filename":"file1"},{"photo_id":"1391911692","filename":"file0"},{"photo_id":"1391911980","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391911692":["hashtag1","hashtag2"]},{"1391911773":["hashtag1","hashtag2"]},{"1391912109":["hashtag1","hashtag2"]},{"1391911980":["hashtag1","hashtag2"]},{"1391912063":["hashtag1","hashtag2"]},{"1391911859":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391911692, 1391911773, 1391912109, 1391911980, 1391912063, 1391911859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14463448524475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:20:21.891587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/29/image_02112025_02_30_00_2692.jpg', '/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_03_2872.jpg', '/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_08_4651.jpg', '/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_09_1581.jpg', '/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_12_2628.jpg', '/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_16_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/29/image_02112025_02_30_00_2692.jpg
/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_03_2872.jpg
/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_08_4651.jpg
/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_09_1581.jpg
/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_12_2628.jpg
/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_16_3643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391912989","1391912620","1391913086","1391912471","1391912864","1391912726"],"photo_ids_order":["1391912471","1391912620","1391912726","1391912864","1391912989","1391913086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6a33925d385f0f5b2df523685cc50948.jpg","text":"TemporaryFile(/tmp/multipartBody177378677572391382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118482682,"filename":"image_02112025_02_30_12_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/2/779d14ddaea27a878661dd0bc34812d4.jpg","text":"TemporaryFile(/tmp/multipartBody8987213655629034609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118482682,"filename":"image_02112025_02_30_03_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/2/7ab256eac127c9e8768445d18c177a63.jpg","text":"TemporaryFile(/tmp/multipartBody172456753876859430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118482682,"filename":"image_02112025_02_30_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/2/f9143921b889dfd10cc25f69bc845a50.jpg","text":"TemporaryFile(/tmp/multipartBody755587758493923118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118482682,"filename":"image_02112025_02_30_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/2/585d4d7c636aab5a4d4b4aca86629fc6.jpg","text":"TemporaryFile(/tmp/multipartBody3704387580089556209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118482682,"filename":"image_02112025_02_30_09_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cc8a95e42d96734afd33761864aef661.jpg","text":"TemporaryFile(/tmp/multipartBody7339804168013986028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118482682,"filename":"image_02112025_02_30_08_4651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391912726","file1":"1391912620","file0":"1391912471","file4":"1391912989","file5":"1391913086","file3":"1391912864"},"map_files_photo_id_array":[{"photo_id":"1391913086","filename":"file5"},{"photo_id":"1391912726","filename":"file2"},{"photo_id":"1391912989","filename":"file4"},{"photo_id":"1391912620","filename":"file1"},{"photo_id":"1391912471","filename":"file0"},{"photo_id":"1391912864","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391912989":["hashtag1","hashtag2"]},{"1391912620":["hashtag1","hashtag2"]},{"1391913086":["hashtag1","hashtag2"]},{"1391912471":["hashtag1","hashtag2"]},{"1391912864":["hashtag1","hashtag2"]},{"1391912726":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391912989, 1391912620, 1391913086, 1391912471, 1391912864, 1391912726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80528712272644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:21:02.928112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_21_2660.jpg', '/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_24_3534.jpg', '/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_27_2730.jpg', '/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_30_2567.jpg', '/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_33_3585.jpg', '/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_36_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_21_2660.jpg
/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_24_3534.jpg
/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_27_2730.jpg
/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_30_2567.jpg
/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_33_3585.jpg
/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_36_2642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391913942","1391913711","1391913836","1391914147","1391914021","1391914278"],"photo_ids_order":["1391913711","1391913836","1391913942","1391914021","1391914147","1391914278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1190cef6dec8b17bc17914306f55a55b.jpg","text":"TemporaryFile(/tmp/multipartBody6172006168240908209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118523800,"filename":"image_02112025_02_30_27_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/2/f6807095c01fa303a693dbe929ca7f0d.jpg","text":"TemporaryFile(/tmp/multipartBody2442894422047161793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118523800,"filename":"image_02112025_02_30_21_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/2/7ed7bb14fcd7b28c3cfcf22ebabdec7f.jpg","text":"TemporaryFile(/tmp/multipartBody6803830464552534555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118523800,"filename":"image_02112025_02_30_24_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/2/8224e078d7c5d443687ff95d50c4dc42.jpg","text":"TemporaryFile(/tmp/multipartBody3690449200374218711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118523800,"filename":"image_02112025_02_30_33_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/2/62af7e4d39566de7e14b013cfcabeef5.jpg","text":"TemporaryFile(/tmp/multipartBody4508788869783202346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118523800,"filename":"image_02112025_02_30_30_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/2/2e8221159a935cd75ddd490b57d79543.jpg","text":"TemporaryFile(/tmp/multipartBody1190039419839786430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118523800,"filename":"image_02112025_02_30_36_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391913942","file1":"1391913836","file0":"1391913711","file4":"1391914147","file5":"1391914278","file3":"1391914021"},"map_files_photo_id_array":[{"photo_id":"1391914278","filename":"file5"},{"photo_id":"1391913942","filename":"file2"},{"photo_id":"1391914147","filename":"file4"},{"photo_id":"1391913836","filename":"file1"},{"photo_id":"1391913711","filename":"file0"},{"photo_id":"1391914021","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391913942":["hashtag1","hashtag2"]},{"1391913711":["hashtag1","hashtag2"]},{"1391913836":["hashtag1","hashtag2"]},{"1391914147":["hashtag1","hashtag2"]},{"1391914021":["hashtag1","hashtag2"]},{"1391914278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391913942, 1391913711, 1391913836, 1391914147, 1391914021, 1391914278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53482365608215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:21:42.112562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_39_2681.jpg', '/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_42_3521.jpg', '/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_45_2604.jpg', '/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_48_2898.jpg', '/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_51_3719.jpg', '/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_54_2513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_39_2681.jpg
/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_42_3521.jpg
/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_45_2604.jpg
/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_48_2898.jpg
/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_51_3719.jpg
/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_54_2513.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391915348","1391914905","1391915018","1391914763","1391915200","1391915107"],"photo_ids_order":["1391914763","1391914905","1391915018","1391915107","1391915200","1391915348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/83fa20dcd72a691daa844a1deb61609a.jpg","text":"TemporaryFile(/tmp/multipartBody5284984766944511357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118562936,"filename":"image_02112025_02_30_54_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/2/251a1ad07afd577fa9e85c0dc67c1cdf.jpg","text":"TemporaryFile(/tmp/multipartBody1703660318582536535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118562936,"filename":"image_02112025_02_30_42_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/2/d687dea2f7d7442721a008d46df4a9d3.jpg","text":"TemporaryFile(/tmp/multipartBody8155055231865344634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118562936,"filename":"image_02112025_02_30_45_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/2/9d3b28fdbdf658c5da90c195bc8c4595.jpg","text":"TemporaryFile(/tmp/multipartBody88912889164812371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118562936,"filename":"image_02112025_02_30_39_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/2/9e1563442b93c67b065d8d7ef2b09274.jpg","text":"TemporaryFile(/tmp/multipartBody2004497377626514553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118562936,"filename":"image_02112025_02_30_51_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/2/9ec83d7e90813cec1c417107b8b451e6.jpg","text":"TemporaryFile(/tmp/multipartBody3643292234348806880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118562936,"filename":"image_02112025_02_30_48_2898.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391915018","file1":"1391914905","file0":"1391914763","file4":"1391915200","file5":"1391915348","file3":"1391915107"},"map_files_photo_id_array":[{"photo_id":"1391915348","filename":"file5"},{"photo_id":"1391915018","filename":"file2"},{"photo_id":"1391915200","filename":"file4"},{"photo_id":"1391914905","filename":"file1"},{"photo_id":"1391914763","filename":"file0"},{"photo_id":"1391915107","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391915348":["hashtag1","hashtag2"]},{"1391914905":["hashtag1","hashtag2"]},{"1391915018":["hashtag1","hashtag2"]},{"1391914763":["hashtag1","hashtag2"]},{"1391915200":["hashtag1","hashtag2"]},{"1391915107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391915348, 1391914905, 1391915018, 1391914763, 1391915200, 1391915107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43098425865173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:22:22.224015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_58_3630.jpg', '/home/pi/Desktop/images/02112025/02/30/image_02112025_02_31_00_2576.jpg', '/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_03_2773.jpg', '/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_06_2744.jpg', '/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_09_3677.jpg', '/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_12_2774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/30/image_02112025_02_30_58_3630.jpg
/home/pi/Desktop/images/02112025/02/30/image_02112025_02_31_00_2576.jpg
/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_03_2773.jpg
/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_06_2744.jpg
/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_09_3677.jpg
/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_12_2774.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391916410","1391916320","1391916493","1391915983","1391916217","1391916105"],"photo_ids_order":["1391915983","1391916105","1391916217","1391916320","1391916410","1391916493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8d49960bbc482b1b68c38040735d23f2.jpg","text":"TemporaryFile(/tmp/multipartBody7649870458858547277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118603003,"filename":"image_02112025_02_31_09_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/2/e57eebfbc6a13a1351510d20af1d4b04.jpg","text":"TemporaryFile(/tmp/multipartBody2630537395958940519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118603003,"filename":"image_02112025_02_31_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/2/13519fc4fd87d97ee61c4c4946dc9a05.jpg","text":"TemporaryFile(/tmp/multipartBody5378665560245511782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118603003,"filename":"image_02112025_02_31_12_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/2/1a732858e11fab98acad259c14aaea9e.jpg","text":"TemporaryFile(/tmp/multipartBody7420376389910604599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118603003,"filename":"image_02112025_02_30_58_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/2/c0521ef6b02c24396d96371828fa9386.jpg","text":"TemporaryFile(/tmp/multipartBody1428843948541785245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118603003,"filename":"image_02112025_02_31_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/2/34c9866ca252a17516942691f2734aad.jpg","text":"TemporaryFile(/tmp/multipartBody5733593510224429164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118603003,"filename":"image_02112025_02_31_00_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391916217","file1":"1391916105","file0":"1391915983","file4":"1391916410","file5":"1391916493","file3":"1391916320"},"map_files_photo_id_array":[{"photo_id":"1391916493","filename":"file5"},{"photo_id":"1391916217","filename":"file2"},{"photo_id":"1391916410","filename":"file4"},{"photo_id":"1391916105","filename":"file1"},{"photo_id":"1391915983","filename":"file0"},{"photo_id":"1391916320","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391916410":["hashtag1","hashtag2"]},{"1391916320":["hashtag1","hashtag2"]},{"1391916493":["hashtag1","hashtag2"]},{"1391915983":["hashtag1","hashtag2"]},{"1391916217":["hashtag1","hashtag2"]},{"1391916105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391916410, 1391916320, 1391916493, 1391915983, 1391916217, 1391916105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.725534439086914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:23:03.262345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_15_2732.jpg', '/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_18_3598.jpg', '/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_21_2721.jpg', '/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_24_2651.jpg', '/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_30_2670.jpg', '/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_33_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_15_2732.jpg
/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_18_3598.jpg
/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_21_2721.jpg
/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_24_2651.jpg
/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_30_2670.jpg
/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_33_2764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391917186","1391917288","1391917138","1391917062","1391916936","1391917250"],"photo_ids_order":["1391916936","1391917062","1391917138","1391917186","1391917250","1391917288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9b4da69f7bc8e1cbf587b5ee248279d8.jpg","text":"TemporaryFile(/tmp/multipartBody4854837592669418411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118644153,"filename":"image_02112025_02_31_24_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/2/52b6d92429c056f744825be0bf20176a.jpg","text":"TemporaryFile(/tmp/multipartBody1814271393314320000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118644153,"filename":"image_02112025_02_31_33_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/2/66733c990b23a79f0ae24e348f4ed5fc.jpg","text":"TemporaryFile(/tmp/multipartBody5623447609680913789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118644153,"filename":"image_02112025_02_31_21_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/2/2241da82d4a221fedcbdfdeabeea8a6a.jpg","text":"TemporaryFile(/tmp/multipartBody6371508739006391199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118644153,"filename":"image_02112025_02_31_18_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/2/e3c5340c715f04bea2b010ad704ef8da.jpg","text":"TemporaryFile(/tmp/multipartBody1308113487394523534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118644153,"filename":"image_02112025_02_31_15_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/2/4f8f3411ad364828ba926e2d0ba43d90.jpg","text":"TemporaryFile(/tmp/multipartBody310447462755278063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118644153,"filename":"image_02112025_02_31_30_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391917138","file1":"1391917062","file0":"1391916936","file4":"1391917250","file5":"1391917288","file3":"1391917186"},"map_files_photo_id_array":[{"photo_id":"1391917288","filename":"file5"},{"photo_id":"1391917138","filename":"file2"},{"photo_id":"1391917250","filename":"file4"},{"photo_id":"1391917062","filename":"file1"},{"photo_id":"1391916936","filename":"file0"},{"photo_id":"1391917186","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391917186":["hashtag1","hashtag2"]},{"1391917288":["hashtag1","hashtag2"]},{"1391917138":["hashtag1","hashtag2"]},{"1391917062":["hashtag1","hashtag2"]},{"1391916936":["hashtag1","hashtag2"]},{"1391917250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391917186, 1391917288, 1391917138, 1391917062, 1391916936, 1391917250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01963210105896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:23:42.518226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_36_2700.jpg', '/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_39_3660.jpg', '/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_42_2703.jpg', '/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_45_2803.jpg', '/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_48_3661.jpg', '/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_51_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_36_2700.jpg
/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_39_3660.jpg
/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_42_2703.jpg
/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_45_2803.jpg
/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_48_3661.jpg
/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_51_2705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391917462","1391917356","1391917359","1391917382","1391917361","1391917424"],"photo_ids_order":["1391917356","1391917359","1391917361","1391917382","1391917424","1391917462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ffec59b1f5c633aa2a9a6b9711fd8049.jpg","text":"TemporaryFile(/tmp/multipartBody1924746233793572552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118683387,"filename":"image_02112025_02_31_51_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/2/b34cdc9604cd69061819f011923139c1.jpg","text":"TemporaryFile(/tmp/multipartBody7449450208677644290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118683387,"filename":"image_02112025_02_31_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/2/64a5954ecdcaa90fe165a364b27cd046.jpg","text":"TemporaryFile(/tmp/multipartBody7970600888670899222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118683387,"filename":"image_02112025_02_31_39_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/2/f340f2a0cd224c941e25ee946aae1027.jpg","text":"TemporaryFile(/tmp/multipartBody1751658254781381709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118683387,"filename":"image_02112025_02_31_45_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/2/553a218866bbb69d63443a2ca98cc3a0.jpg","text":"TemporaryFile(/tmp/multipartBody6312714849854573636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118683387,"filename":"image_02112025_02_31_42_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/2/4fb5a9b313fa2f12ff8d278e70c4c2b5.jpg","text":"TemporaryFile(/tmp/multipartBody5963762905749269169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118683387,"filename":"image_02112025_02_31_48_3661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391917361","file1":"1391917359","file0":"1391917356","file4":"1391917424","file5":"1391917462","file3":"1391917382"},"map_files_photo_id_array":[{"photo_id":"1391917462","filename":"file5"},{"photo_id":"1391917361","filename":"file2"},{"photo_id":"1391917424","filename":"file4"},{"photo_id":"1391917359","filename":"file1"},{"photo_id":"1391917356","filename":"file0"},{"photo_id":"1391917382","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391917462":["hashtag1","hashtag2"]},{"1391917356":["hashtag1","hashtag2"]},{"1391917359":["hashtag1","hashtag2"]},{"1391917382":["hashtag1","hashtag2"]},{"1391917361":["hashtag1","hashtag2"]},{"1391917424":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391917462, 1391917356, 1391917359, 1391917382, 1391917361, 1391917424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15653109550476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:24:22.806682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_54_2634.jpg', '/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_57_3596.jpg', '/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_03_2558.jpg', '/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_06_3628.jpg', '/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_09_2630.jpg', '/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_14_5308.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_54_2634.jpg
/home/pi/Desktop/images/02112025/02/31/image_02112025_02_31_57_3596.jpg
/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_03_2558.jpg
/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_06_3628.jpg
/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_09_2630.jpg
/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_14_5308.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391917789","1391917959","1391917875","1391917548","1391917640","1391917715"],"photo_ids_order":["1391917548","1391917640","1391917715","1391917789","1391917875","1391917959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/73cd4c9746b6efadbf9180bde78d5f5d.jpg","text":"TemporaryFile(/tmp/multipartBody7390189899259466032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118723593,"filename":"image_02112025_02_32_06_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/2/82bc57257fe45d220cb54ee671f206d9.jpg","text":"TemporaryFile(/tmp/multipartBody3488074008576718899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118723593,"filename":"image_02112025_02_32_14_5308.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5c24b92677e657753bfc12cd101a972b.jpg","text":"TemporaryFile(/tmp/multipartBody1857249448505911142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118723593,"filename":"image_02112025_02_32_09_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/2/009a13c2c9bd87c2206d5ed3340242f9.jpg","text":"TemporaryFile(/tmp/multipartBody1494059286431010439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118723593,"filename":"image_02112025_02_31_54_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/2/4ed7347dd170f179db19d620f19fdf4f.jpg","text":"TemporaryFile(/tmp/multipartBody8399327460533715381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118723593,"filename":"image_02112025_02_31_57_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/2/6fa4fa2ed6193ef57f23c0c48a1e5ad7.jpg","text":"TemporaryFile(/tmp/multipartBody5465985959152082779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118723593,"filename":"image_02112025_02_32_03_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391917715","file1":"1391917640","file0":"1391917548","file4":"1391917875","file5":"1391917959","file3":"1391917789"},"map_files_photo_id_array":[{"photo_id":"1391917959","filename":"file5"},{"photo_id":"1391917715","filename":"file2"},{"photo_id":"1391917875","filename":"file4"},{"photo_id":"1391917640","filename":"file1"},{"photo_id":"1391917548","filename":"file0"},{"photo_id":"1391917789","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391917789":["hashtag1","hashtag2"]},{"1391917959":["hashtag1","hashtag2"]},{"1391917875":["hashtag1","hashtag2"]},{"1391917548":["hashtag1","hashtag2"]},{"1391917640":["hashtag1","hashtag2"]},{"1391917715":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391917789, 1391917959, 1391917875, 1391917548, 1391917640, 1391917715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44226360321045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:25:02.788539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_16_1636.jpg', '/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_20_4049.jpg', '/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_22_1717.jpg', '/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_24_1873.jpg', '/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_27_3624.jpg', '/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_32_4364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_16_1636.jpg
/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_20_4049.jpg
/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_22_1717.jpg
/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_24_1873.jpg
/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_27_3624.jpg
/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_32_4364.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391918662","1391918577","1391918499","1391918333","1391918411","1391918257"],"photo_ids_order":["1391918257","1391918333","1391918411","1391918499","1391918577","1391918662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1328ef38f36c5aafdf0f68d7710be790.jpg","text":"TemporaryFile(/tmp/multipartBody2709400903469492223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118763701,"filename":"image_02112025_02_32_32_4364.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1a88b2c0566bf01111e9f14f3ad3ea87.jpg","text":"TemporaryFile(/tmp/multipartBody1045045441515882193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118763701,"filename":"image_02112025_02_32_27_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/2/d3214fcd2e4195c4006f84e8ec21fb41.jpg","text":"TemporaryFile(/tmp/multipartBody2464689644093134623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118763701,"filename":"image_02112025_02_32_24_1873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6b2356b437248238e6b5c0c36b31af14.jpg","text":"TemporaryFile(/tmp/multipartBody7251705545206459620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118763701,"filename":"image_02112025_02_32_20_4049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ae7e56167307cee6fee832ebb27a4df3.jpg","text":"TemporaryFile(/tmp/multipartBody2230371041112568334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118763701,"filename":"image_02112025_02_32_22_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/2/9d2ac38de3289adc6e350f5741204e26.jpg","text":"TemporaryFile(/tmp/multipartBody5631086997579718022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118763701,"filename":"image_02112025_02_32_16_1636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391918411","file1":"1391918333","file0":"1391918257","file4":"1391918577","file5":"1391918662","file3":"1391918499"},"map_files_photo_id_array":[{"photo_id":"1391918662","filename":"file5"},{"photo_id":"1391918411","filename":"file2"},{"photo_id":"1391918577","filename":"file4"},{"photo_id":"1391918333","filename":"file1"},{"photo_id":"1391918257","filename":"file0"},{"photo_id":"1391918499","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391918662":["hashtag1","hashtag2"]},{"1391918577":["hashtag1","hashtag2"]},{"1391918499":["hashtag1","hashtag2"]},{"1391918333":["hashtag1","hashtag2"]},{"1391918411":["hashtag1","hashtag2"]},{"1391918257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391918662, 1391918577, 1391918499, 1391918333, 1391918411, 1391918257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.632980823516846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:25:42.226866
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_33_1596.jpg', '/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_36_2564.jpg', '/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_39_3692.jpg', '/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_42_2598.jpg', '/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_45_2607.jpg', '/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_48_3592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_33_1596.jpg
/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_36_2564.jpg
/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_39_3692.jpg
/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_42_2598.jpg
/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_45_2607.jpg
/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_48_3592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391918953","1391918914","1391918874","1391919296","1391919077","1391918993"],"photo_ids_order":["1391918874","1391918914","1391918953","1391918993","1391919077","1391919296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6174a103fd8756ebb15e9e3eff27ab1c.jpg","text":"TemporaryFile(/tmp/multipartBody4293650099737116838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118803083,"filename":"image_02112025_02_32_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/2/d3507694ec38a032033fa24f1a559916.jpg","text":"TemporaryFile(/tmp/multipartBody6437887426861824592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118803083,"filename":"image_02112025_02_32_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/2/9dfed9b2ad3b13e987cbcc908995aecb.jpg","text":"TemporaryFile(/tmp/multipartBody1417911840662147493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118803083,"filename":"image_02112025_02_32_33_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b9b22a9c0831db55edda2941619686d7.jpg","text":"TemporaryFile(/tmp/multipartBody5436143786321785331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118803083,"filename":"image_02112025_02_32_48_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/2/2f106780196e66ed3aa63324c36aa9ed.jpg","text":"TemporaryFile(/tmp/multipartBody1655498391514161266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118803083,"filename":"image_02112025_02_32_45_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/2/4c3b7b279b58f9c2a094de2bbaeeba27.jpg","text":"TemporaryFile(/tmp/multipartBody6587436971943885210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118803083,"filename":"image_02112025_02_32_42_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391918953","file1":"1391918914","file0":"1391918874","file4":"1391919077","file5":"1391919296","file3":"1391918993"},"map_files_photo_id_array":[{"photo_id":"1391919296","filename":"file5"},{"photo_id":"1391918953","filename":"file2"},{"photo_id":"1391919077","filename":"file4"},{"photo_id":"1391918914","filename":"file1"},{"photo_id":"1391918874","filename":"file0"},{"photo_id":"1391918993","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391918953":["hashtag1","hashtag2"]},{"1391918914":["hashtag1","hashtag2"]},{"1391918874":["hashtag1","hashtag2"]},{"1391919296":["hashtag1","hashtag2"]},{"1391919077":["hashtag1","hashtag2"]},{"1391918993":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391918953, 1391918914, 1391918874, 1391919296, 1391919077, 1391918993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75410532951355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:26:22.443879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_51_2743.jpg', '/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_54_2631.jpg', '/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_57_3600.jpg', '/home/pi/Desktop/images/02112025/02/32/image_02112025_02_33_00_2521.jpg', '/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_03_2901.jpg', '/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_06_3596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_51_2743.jpg
/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_54_2631.jpg
/home/pi/Desktop/images/02112025/02/32/image_02112025_02_32_57_3600.jpg
/home/pi/Desktop/images/02112025/02/32/image_02112025_02_33_00_2521.jpg
/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_03_2901.jpg
/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_06_3596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391919610","1391919675","1391919855","1391919858","1391919863","1391919809"],"photo_ids_order":["1391919610","1391919675","1391919809","1391919855","1391919858","1391919863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/34a46edeb381eb78f95bd2292db43610.jpg","text":"TemporaryFile(/tmp/multipartBody987812544233698056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118843231,"filename":"image_02112025_02_32_51_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/2/327b708259d600c051888be896743139.jpg","text":"TemporaryFile(/tmp/multipartBody871542881927296961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118843231,"filename":"image_02112025_02_32_54_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/2/dc1ce03338df152d440310df052b8b68.jpg","text":"TemporaryFile(/tmp/multipartBody2357830239344315431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118843231,"filename":"image_02112025_02_33_00_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/2/fcd22b4aff68fce7a4562e1ba77e121e.jpg","text":"TemporaryFile(/tmp/multipartBody9130829067234161108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118843231,"filename":"image_02112025_02_33_03_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/2/4e6c4841c04bdf81b0359b00061082d0.jpg","text":"TemporaryFile(/tmp/multipartBody437646691914012179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118843231,"filename":"image_02112025_02_33_06_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/2/2aea4b3afa5f7ef41857255fbe1b09b5.jpg","text":"TemporaryFile(/tmp/multipartBody2969159265360937320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118843231,"filename":"image_02112025_02_32_57_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391919809","file1":"1391919675","file0":"1391919610","file4":"1391919858","file5":"1391919863","file3":"1391919855"},"map_files_photo_id_array":[{"photo_id":"1391919863","filename":"file5"},{"photo_id":"1391919809","filename":"file2"},{"photo_id":"1391919858","filename":"file4"},{"photo_id":"1391919675","filename":"file1"},{"photo_id":"1391919610","filename":"file0"},{"photo_id":"1391919855","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391919610":["hashtag1","hashtag2"]},{"1391919675":["hashtag1","hashtag2"]},{"1391919855":["hashtag1","hashtag2"]},{"1391919858":["hashtag1","hashtag2"]},{"1391919863":["hashtag1","hashtag2"]},{"1391919809":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391919610, 1391919675, 1391919855, 1391919858, 1391919863, 1391919809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.56348490715027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:27:25.219536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_09_2759.jpg', '/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_12_2705.jpg', '/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_15_3590.jpg', '/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_18_2637.jpg', '/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_20_2533.jpg', '/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_24_3878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_09_2759.jpg
/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_12_2705.jpg
/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_15_3590.jpg
/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_18_2637.jpg
/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_20_2533.jpg
/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_24_3878.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391920360","1391920255","1391920296","1391920524","1391920463","1391920421"],"photo_ids_order":["1391920255","1391920296","1391920360","1391920421","1391920463","1391920524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2f3c6c0903bf8fe8653422dab587bbad.jpg","text":"TemporaryFile(/tmp/multipartBody7134366656870572855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118908100,"filename":"image_02112025_02_33_15_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/2/eccafa8807b35cef3af911fa80942678.jpg","text":"TemporaryFile(/tmp/multipartBody2510636452771215154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118908100,"filename":"image_02112025_02_33_09_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/2/478a074db73861a764a731b855d5d3af.jpg","text":"TemporaryFile(/tmp/multipartBody4659178636455821185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118908100,"filename":"image_02112025_02_33_12_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/2/3d656e4696391cd85f8b269986d5ff83.jpg","text":"TemporaryFile(/tmp/multipartBody3931120772512611081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118908100,"filename":"image_02112025_02_33_24_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/2/a375ae7b28247ccd47d741286c9347ee.jpg","text":"TemporaryFile(/tmp/multipartBody709068653357976987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118908100,"filename":"image_02112025_02_33_20_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/2/3b5fa57e749bef333a1368a4bb903c99.jpg","text":"TemporaryFile(/tmp/multipartBody4326878955122210478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118908100,"filename":"image_02112025_02_33_18_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391920360","file1":"1391920296","file0":"1391920255","file4":"1391920463","file5":"1391920524","file3":"1391920421"},"map_files_photo_id_array":[{"photo_id":"1391920524","filename":"file5"},{"photo_id":"1391920360","filename":"file2"},{"photo_id":"1391920463","filename":"file4"},{"photo_id":"1391920296","filename":"file1"},{"photo_id":"1391920255","filename":"file0"},{"photo_id":"1391920421","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391920360":["hashtag1","hashtag2"]},{"1391920255":["hashtag1","hashtag2"]},{"1391920296":["hashtag1","hashtag2"]},{"1391920524":["hashtag1","hashtag2"]},{"1391920463":["hashtag1","hashtag2"]},{"1391920421":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391920360, 1391920255, 1391920296, 1391920524, 1391920463, 1391920421)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.135746240615845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:28:22.712091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_27_2606.jpg', '/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_30_2705.jpg', '/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_33_3673.jpg', '/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_36_2654.jpg', '/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_39_2738.jpg', '/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_42_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_27_2606.jpg
/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_30_2705.jpg
/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_33_3673.jpg
/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_36_2654.jpg
/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_39_2738.jpg
/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_42_3580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391920906","1391920983","1391920944","1391920826","1391920867","1391921023"],"photo_ids_order":["1391920826","1391920867","1391920906","1391920944","1391920983","1391921023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/54bc3d3a6187138c969b3baf97db5658.jpg","text":"TemporaryFile(/tmp/multipartBody5213987603011412250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118963507,"filename":"image_02112025_02_33_33_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/2/80f358d5754692e254f0ee9b66e9922b.jpg","text":"TemporaryFile(/tmp/multipartBody4186561405852925903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118963507,"filename":"image_02112025_02_33_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/2/063880fbe2a40d2a04edff89d4f9a068.jpg","text":"TemporaryFile(/tmp/multipartBody41896877401026704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118963507,"filename":"image_02112025_02_33_36_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/2/8bfa3e0f597f67ab95aea06de9926c8c.jpg","text":"TemporaryFile(/tmp/multipartBody3217374876082850157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118963507,"filename":"image_02112025_02_33_27_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/2/25b1d5012d7dff238b08f9e5c764e62d.jpg","text":"TemporaryFile(/tmp/multipartBody8182111830816981564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118963507,"filename":"image_02112025_02_33_30_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/2/8e800012d15d734010b82fc94c9d2d19.jpg","text":"TemporaryFile(/tmp/multipartBody2356227129865802306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762118963507,"filename":"image_02112025_02_33_42_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391920906","file1":"1391920867","file0":"1391920826","file4":"1391920983","file5":"1391921023","file3":"1391920944"},"map_files_photo_id_array":[{"photo_id":"1391921023","filename":"file5"},{"photo_id":"1391920906","filename":"file2"},{"photo_id":"1391920983","filename":"file4"},{"photo_id":"1391920867","filename":"file1"},{"photo_id":"1391920826","filename":"file0"},{"photo_id":"1391920944","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391920906":["hashtag1","hashtag2"]},{"1391920983":["hashtag1","hashtag2"]},{"1391920944":["hashtag1","hashtag2"]},{"1391920826":["hashtag1","hashtag2"]},{"1391920867":["hashtag1","hashtag2"]},{"1391921023":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391920906, 1391920983, 1391920944, 1391920826, 1391920867, 1391921023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.086955070495605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:29:02.756193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_45_2563.jpg', '/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_47_2665.jpg', '/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_51_3668.jpg', '/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_59_2771.jpg', '/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_03_3664.jpg', '/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_06_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_45_2563.jpg
/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_47_2665.jpg
/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_51_3668.jpg
/home/pi/Desktop/images/02112025/02/33/image_02112025_02_33_59_2771.jpg
/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_03_3664.jpg
/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_06_2729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391921157","1391921154","1391921150","1391921144","1391921147","1391921140"],"photo_ids_order":["1391921140","1391921144","1391921147","1391921150","1391921154","1391921157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b5bbe94b0977c8d359c13b6f7239487b.jpg","text":"TemporaryFile(/tmp/multipartBody273787990024284422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119003646,"filename":"image_02112025_02_34_06_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/2/e73bead22779d464b5ac501192c79bc2.jpg","text":"TemporaryFile(/tmp/multipartBody5630176373353203645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119003646,"filename":"image_02112025_02_34_03_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/2/7aa4d52be95653a7b389f2413d54d626.jpg","text":"TemporaryFile(/tmp/multipartBody476025862004370711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119003646,"filename":"image_02112025_02_33_59_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/2/df40e161d2914932011650954c98e00c.jpg","text":"TemporaryFile(/tmp/multipartBody6214197376234400923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119003646,"filename":"image_02112025_02_33_47_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/2/d5f81ee1d323659adeb2ec8052cb9068.jpg","text":"TemporaryFile(/tmp/multipartBody6210963947604491350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119003646,"filename":"image_02112025_02_33_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/2/7df6c3285c88efa4af1038c85df5c411.jpg","text":"TemporaryFile(/tmp/multipartBody7657746011038686663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119003646,"filename":"image_02112025_02_33_45_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391921147","file1":"1391921144","file0":"1391921140","file4":"1391921154","file5":"1391921157","file3":"1391921150"},"map_files_photo_id_array":[{"photo_id":"1391921157","filename":"file5"},{"photo_id":"1391921147","filename":"file2"},{"photo_id":"1391921154","filename":"file4"},{"photo_id":"1391921144","filename":"file1"},{"photo_id":"1391921140","filename":"file0"},{"photo_id":"1391921150","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391921157":["hashtag1","hashtag2"]},{"1391921154":["hashtag1","hashtag2"]},{"1391921150":["hashtag1","hashtag2"]},{"1391921144":["hashtag1","hashtag2"]},{"1391921147":["hashtag1","hashtag2"]},{"1391921140":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391921157, 1391921154, 1391921150, 1391921144, 1391921147, 1391921140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04979157447815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:29:41.896179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_09_2631.jpg', '/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_15_3658.jpg', '/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_18_2695.jpg', '/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_21_3546.jpg', '/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_24_2624.jpg', '/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_26_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_09_2631.jpg
/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_15_3658.jpg
/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_18_2695.jpg
/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_21_3546.jpg
/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_24_2624.jpg
/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_26_2641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391921373","1391921568","1391921669","1391921624","1391921479","1391921719"],"photo_ids_order":["1391921373","1391921479","1391921568","1391921624","1391921669","1391921719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/49f6176a8d3515e981ede7b94615968a.jpg","text":"TemporaryFile(/tmp/multipartBody5731117089678203273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119042719,"filename":"image_02112025_02_34_09_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/2/7f58e75d3ce7159c660935e8239eb98b.jpg","text":"TemporaryFile(/tmp/multipartBody258255764488419912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119042719,"filename":"image_02112025_02_34_18_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/2/103705f9c424489b60cbbf1d2acfda82.jpg","text":"TemporaryFile(/tmp/multipartBody1749092929186325328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119042719,"filename":"image_02112025_02_34_24_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/2/dd728221fb52831d7107c68fe226716b.jpg","text":"TemporaryFile(/tmp/multipartBody6811253589163608311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119042719,"filename":"image_02112025_02_34_21_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/2/2c9396c3d837c6c79eb8634747574cb2.jpg","text":"TemporaryFile(/tmp/multipartBody5843263084324509669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119042719,"filename":"image_02112025_02_34_15_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/2/5b60f1b67e4b1d4a47c58f1fb043037e.jpg","text":"TemporaryFile(/tmp/multipartBody5108652165621237937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119042719,"filename":"image_02112025_02_34_26_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391921568","file1":"1391921479","file0":"1391921373","file4":"1391921669","file5":"1391921719","file3":"1391921624"},"map_files_photo_id_array":[{"photo_id":"1391921719","filename":"file5"},{"photo_id":"1391921568","filename":"file2"},{"photo_id":"1391921669","filename":"file4"},{"photo_id":"1391921479","filename":"file1"},{"photo_id":"1391921373","filename":"file0"},{"photo_id":"1391921624","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391921373":["hashtag1","hashtag2"]},{"1391921568":["hashtag1","hashtag2"]},{"1391921669":["hashtag1","hashtag2"]},{"1391921624":["hashtag1","hashtag2"]},{"1391921479":["hashtag1","hashtag2"]},{"1391921719":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391921373, 1391921568, 1391921669, 1391921624, 1391921479, 1391921719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83849859237671 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:30:22.161187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_30_3643.jpg', '/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_33_2767.jpg', '/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_35_2500.jpg', '/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_39_3633.jpg', '/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_41_2535.jpg', '/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_45_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_30_3643.jpg
/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_33_2767.jpg
/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_35_2500.jpg
/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_39_3633.jpg
/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_41_2535.jpg
/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_45_3660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391922057","1391921948","1391922061","1391921890","1391922028","1391922066"],"photo_ids_order":["1391921890","1391921948","1391922028","1391922057","1391922061","1391922066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1b9e2b99557f4fa24c78953f9e9ac23f.jpg","text":"TemporaryFile(/tmp/multipartBody6062382202109555281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119082940,"filename":"image_02112025_02_34_39_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/2/253a45e99dfe166a3a5ca2c739fd24a2.jpg","text":"TemporaryFile(/tmp/multipartBody4258680539884579812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119082940,"filename":"image_02112025_02_34_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/2/0aaf1e1ab09bde9530eb1f41b39e9f19.jpg","text":"TemporaryFile(/tmp/multipartBody16262012526215249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119082940,"filename":"image_02112025_02_34_41_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/2/18ad08cda890e411cde580afcc59ed81.jpg","text":"TemporaryFile(/tmp/multipartBody4829622691384540633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119082940,"filename":"image_02112025_02_34_30_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/2/ced76f091aed1360fb3ce6fceddf9a71.jpg","text":"TemporaryFile(/tmp/multipartBody991547310011918968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119082940,"filename":"image_02112025_02_34_35_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/2/3e9d87b6f0790eae436aefa0096ea21f.jpg","text":"TemporaryFile(/tmp/multipartBody7970384907451025970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119082940,"filename":"image_02112025_02_34_45_3660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391922028","file1":"1391921948","file0":"1391921890","file4":"1391922061","file5":"1391922066","file3":"1391922057"},"map_files_photo_id_array":[{"photo_id":"1391922066","filename":"file5"},{"photo_id":"1391922028","filename":"file2"},{"photo_id":"1391922061","filename":"file4"},{"photo_id":"1391921948","filename":"file1"},{"photo_id":"1391921890","filename":"file0"},{"photo_id":"1391922057","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391922057":["hashtag1","hashtag2"]},{"1391921948":["hashtag1","hashtag2"]},{"1391922061":["hashtag1","hashtag2"]},{"1391921890":["hashtag1","hashtag2"]},{"1391922028":["hashtag1","hashtag2"]},{"1391922066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391922057, 1391921948, 1391922061, 1391921890, 1391922028, 1391922066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81900119781494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:31:03.012579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_48_2565.jpg', '/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_50_2572.jpg', '/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_54_3659.jpg', '/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_56_2517.jpg', '/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_59_2781.jpg', '/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_03_3425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_48_2565.jpg
/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_50_2572.jpg
/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_54_3659.jpg
/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_56_2517.jpg
/home/pi/Desktop/images/02112025/02/34/image_02112025_02_34_59_2781.jpg
/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_03_3425.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391922228","1391922494","1391922557","1391922305","1391922454","1391922382"],"photo_ids_order":["1391922228","1391922305","1391922382","1391922454","1391922494","1391922557"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9025f0c40bed8902d53dc7a7304008bc.jpg","text":"TemporaryFile(/tmp/multipartBody6345419150642176690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119123916,"filename":"image_02112025_02_34_48_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/2/b486f3a614e309871634224f18b93502.jpg","text":"TemporaryFile(/tmp/multipartBody2053187089299365227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119123916,"filename":"image_02112025_02_34_59_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/2/5b2590cea7f2917147479cddcde0731f.jpg","text":"TemporaryFile(/tmp/multipartBody5801227209425148562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119123916,"filename":"image_02112025_02_35_03_3425.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c7b12bc5dbde8098813621ab9960881c.jpg","text":"TemporaryFile(/tmp/multipartBody3840442760608243639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119123916,"filename":"image_02112025_02_34_50_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/2/a53ec7e9d3eff9288f64fbef7a579cce.jpg","text":"TemporaryFile(/tmp/multipartBody8180968179681753057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119123916,"filename":"image_02112025_02_34_56_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/2/6f0a105ac10c4d07619d39fdaab0f5cf.jpg","text":"TemporaryFile(/tmp/multipartBody612079960824339616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119123916,"filename":"image_02112025_02_34_54_3659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391922382","file1":"1391922305","file0":"1391922228","file4":"1391922494","file5":"1391922557","file3":"1391922454"},"map_files_photo_id_array":[{"photo_id":"1391922557","filename":"file5"},{"photo_id":"1391922382","filename":"file2"},{"photo_id":"1391922494","filename":"file4"},{"photo_id":"1391922305","filename":"file1"},{"photo_id":"1391922228","filename":"file0"},{"photo_id":"1391922454","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391922228":["hashtag1","hashtag2"]},{"1391922494":["hashtag1","hashtag2"]},{"1391922557":["hashtag1","hashtag2"]},{"1391922305":["hashtag1","hashtag2"]},{"1391922454":["hashtag1","hashtag2"]},{"1391922382":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391922228, 1391922494, 1391922557, 1391922305, 1391922454, 1391922382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1565523147583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:31:42.300988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_05_2766.jpg', '/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_09_3616.jpg', '/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_12_2585.jpg', '/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_14_2530.jpg', '/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_20_2603.jpg', '/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_24_3609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_05_2766.jpg
/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_09_3616.jpg
/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_12_2585.jpg
/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_14_2530.jpg
/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_20_2603.jpg
/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_24_3609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391922819","1391922980","1391922900","1391922779","1391922740","1391922859"],"photo_ids_order":["1391922740","1391922779","1391922819","1391922859","1391922900","1391922980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/eb67f1d8caac5daadc0b64924b7c4821.jpg","text":"TemporaryFile(/tmp/multipartBody5034557919415753389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119163168,"filename":"image_02112025_02_35_12_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/2/9de2ca00bcb1f2e94109c279611e033c.jpg","text":"TemporaryFile(/tmp/multipartBody5373833205889606260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119163168,"filename":"image_02112025_02_35_24_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/2/69ba2a892bed3a38f60deccb999746a2.jpg","text":"TemporaryFile(/tmp/multipartBody2119106751035601158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119163168,"filename":"image_02112025_02_35_20_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/2/4d05ffbdd91401afeb0acca473e8de79.jpg","text":"TemporaryFile(/tmp/multipartBody2857898810048410556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119163168,"filename":"image_02112025_02_35_09_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/2/2736fce77c2aa7a3a0243fb899d04e8e.jpg","text":"TemporaryFile(/tmp/multipartBody8278324776051877728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119163168,"filename":"image_02112025_02_35_05_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/2/9135de521b2d671764e5f460647ef851.jpg","text":"TemporaryFile(/tmp/multipartBody1990007732953095059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119163168,"filename":"image_02112025_02_35_14_2530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391922819","file1":"1391922779","file0":"1391922740","file4":"1391922900","file5":"1391922980","file3":"1391922859"},"map_files_photo_id_array":[{"photo_id":"1391922980","filename":"file5"},{"photo_id":"1391922819","filename":"file2"},{"photo_id":"1391922900","filename":"file4"},{"photo_id":"1391922779","filename":"file1"},{"photo_id":"1391922740","filename":"file0"},{"photo_id":"1391922859","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391922819":["hashtag1","hashtag2"]},{"1391922980":["hashtag1","hashtag2"]},{"1391922900":["hashtag1","hashtag2"]},{"1391922779":["hashtag1","hashtag2"]},{"1391922740":["hashtag1","hashtag2"]},{"1391922859":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391922819, 1391922980, 1391922900, 1391922779, 1391922740, 1391922859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.442033767700195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:32:22.488415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_27_2665.jpg', '/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_33_3638.jpg', '/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_40_4864.jpg', '/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_42_1649.jpg', '/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_47_2594.jpg', '/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_51_3732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_27_2665.jpg
/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_33_3638.jpg
/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_40_4864.jpg
/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_42_1649.jpg
/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_47_2594.jpg
/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_51_3732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391923586","1391923663","1391923624","1391923752","1391923548","1391923704"],"photo_ids_order":["1391923548","1391923586","1391923624","1391923663","1391923704","1391923752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/90ee6879ddbd1efdad9d0897613f254c.jpg","text":"TemporaryFile(/tmp/multipartBody8806700915441124661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119203264,"filename":"image_02112025_02_35_33_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/2/d8e3a136e9f41c1b5c6adc908077cdd8.jpg","text":"TemporaryFile(/tmp/multipartBody8246668162092404440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119203264,"filename":"image_02112025_02_35_42_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/2/6f3b1dcefdb34830488879ba582e7df2.jpg","text":"TemporaryFile(/tmp/multipartBody8731773841072930923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119203264,"filename":"image_02112025_02_35_40_4864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fec2855510432645c77272ac39be4fe6.jpg","text":"TemporaryFile(/tmp/multipartBody4742884860736510311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119203264,"filename":"image_02112025_02_35_51_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/2/7e571b9e742c61ce8eecd825f8ef59f2.jpg","text":"TemporaryFile(/tmp/multipartBody8339415356864687093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119203264,"filename":"image_02112025_02_35_27_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/2/3516711cdb6c19fa7b83c8d23f28a26d.jpg","text":"TemporaryFile(/tmp/multipartBody6119767942384928047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119203264,"filename":"image_02112025_02_35_47_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391923624","file1":"1391923586","file0":"1391923548","file4":"1391923704","file5":"1391923752","file3":"1391923663"},"map_files_photo_id_array":[{"photo_id":"1391923752","filename":"file5"},{"photo_id":"1391923624","filename":"file2"},{"photo_id":"1391923704","filename":"file4"},{"photo_id":"1391923586","filename":"file1"},{"photo_id":"1391923548","filename":"file0"},{"photo_id":"1391923663","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391923586":["hashtag1","hashtag2"]},{"1391923663":["hashtag1","hashtag2"]},{"1391923624":["hashtag1","hashtag2"]},{"1391923752":["hashtag1","hashtag2"]},{"1391923548":["hashtag1","hashtag2"]},{"1391923704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391923586, 1391923663, 1391923624, 1391923752, 1391923548, 1391923704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11093044281006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:33:03.373489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_54_2765.jpg', '/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_56_2596.jpg', '/home/pi/Desktop/images/02112025/02/35/image_02112025_02_36_00_3527.jpg', '/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_02_2636.jpg', '/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_05_2657.jpg', '/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_09_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_54_2765.jpg
/home/pi/Desktop/images/02112025/02/35/image_02112025_02_35_56_2596.jpg
/home/pi/Desktop/images/02112025/02/35/image_02112025_02_36_00_3527.jpg
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_02_2636.jpg
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_05_2657.jpg
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_09_3707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391924449","1391924242","1391924407","1391924139","1391924297","1391924366"],"photo_ids_order":["1391924139","1391924242","1391924297","1391924366","1391924407","1391924449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e2d8527f28753e28d26d8e409fbbb846.jpg","text":"TemporaryFile(/tmp/multipartBody5476295595942694080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119244249,"filename":"image_02112025_02_36_09_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/2/8d50d9c539954d6aa3d6d3e468f2ca23.jpg","text":"TemporaryFile(/tmp/multipartBody9124083314301528739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119244249,"filename":"image_02112025_02_35_56_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/2/2741980d30f698466ca015a2bbc755ca.jpg","text":"TemporaryFile(/tmp/multipartBody5427244670787485674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119244249,"filename":"image_02112025_02_36_05_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/2/7a3ef58a70308cc111da07a070c3cedc.jpg","text":"TemporaryFile(/tmp/multipartBody8904255011994546789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119244249,"filename":"image_02112025_02_35_54_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/2/c73e3fa3cf544de4a5c6f99d4783c62c.jpg","text":"TemporaryFile(/tmp/multipartBody3872766673658154858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119244249,"filename":"image_02112025_02_36_00_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/2/17e5ce011cc74543e8c93ea3b84cd6f0.jpg","text":"TemporaryFile(/tmp/multipartBody3772727660042799266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119244249,"filename":"image_02112025_02_36_02_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391924297","file1":"1391924242","file0":"1391924139","file4":"1391924407","file5":"1391924449","file3":"1391924366"},"map_files_photo_id_array":[{"photo_id":"1391924449","filename":"file5"},{"photo_id":"1391924297","filename":"file2"},{"photo_id":"1391924407","filename":"file4"},{"photo_id":"1391924242","filename":"file1"},{"photo_id":"1391924139","filename":"file0"},{"photo_id":"1391924366","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391924449":["hashtag1","hashtag2"]},{"1391924242":["hashtag1","hashtag2"]},{"1391924407":["hashtag1","hashtag2"]},{"1391924139":["hashtag1","hashtag2"]},{"1391924297":["hashtag1","hashtag2"]},{"1391924366":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391924449, 1391924242, 1391924407, 1391924139, 1391924297, 1391924366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03447914123535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:33:42.639995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_11_2176.jpg', '/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_15_3515.jpg', '/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_17_2542.jpg', '/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_21_3592.jpg', '/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_23_2626.jpg', '/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_33_6476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_11_2176.jpg
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_15_3515.jpg
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_17_2542.jpg
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_21_3592.jpg
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_23_2626.jpg
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_33_6476.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391924692","1391924842","1391924778","1391924733","1391924649","1391924604"],"photo_ids_order":["1391924604","1391924649","1391924692","1391924733","1391924778","1391924842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6bba981175f8b6d9abe41d0f70ae5353.jpg","text":"TemporaryFile(/tmp/multipartBody163668438548679125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119283515,"filename":"image_02112025_02_36_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/2/341fa1e1ec1ebf39daa4c753aaa65dc3.jpg","text":"TemporaryFile(/tmp/multipartBody3214433948544132523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119283515,"filename":"image_02112025_02_36_33_6476.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5f0d47ef538ca64b92f286b01ca1f907.jpg","text":"TemporaryFile(/tmp/multipartBody7058223649220518663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119283515,"filename":"image_02112025_02_36_23_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/2/563869dbfda0ee56cf6f39763b409325.jpg","text":"TemporaryFile(/tmp/multipartBody6207491977811207837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119283515,"filename":"image_02112025_02_36_21_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/2/cdf24f06ab88854020984c92f19c2b28.jpg","text":"TemporaryFile(/tmp/multipartBody4553073261313204253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119283515,"filename":"image_02112025_02_36_15_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/2/2a666d681f920f424425009a50c8c6b0.jpg","text":"TemporaryFile(/tmp/multipartBody8333460621513961509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119283515,"filename":"image_02112025_02_36_11_2176.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391924692","file1":"1391924649","file0":"1391924604","file4":"1391924778","file5":"1391924842","file3":"1391924733"},"map_files_photo_id_array":[{"photo_id":"1391924842","filename":"file5"},{"photo_id":"1391924692","filename":"file2"},{"photo_id":"1391924778","filename":"file4"},{"photo_id":"1391924649","filename":"file1"},{"photo_id":"1391924604","filename":"file0"},{"photo_id":"1391924733","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391924692":["hashtag1","hashtag2"]},{"1391924842":["hashtag1","hashtag2"]},{"1391924778":["hashtag1","hashtag2"]},{"1391924733":["hashtag1","hashtag2"]},{"1391924649":["hashtag1","hashtag2"]},{"1391924604":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391924692, 1391924842, 1391924778, 1391924733, 1391924649, 1391924604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2476167678833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:34:22.754779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_35_1602.jpg', '/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_38_3541.jpg', '/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_44_5705.jpg', '/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_46_1721.jpg', '/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_48_1721.jpg', '/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_49_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_35_1602.jpg
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_38_3541.jpg
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_44_5705.jpg
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_46_1721.jpg
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_48_1721.jpg
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_49_1672.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6929693222045898 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:34:42.806905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_35_1602.jpg', '/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_38_3541.jpg', '/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_44_5705.jpg', '/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_46_1721.jpg', '/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_48_1721.jpg', '/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_49_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_35_1602.jpg
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_38_3541.jpg
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_44_5705.jpg
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_46_1721.jpg
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_48_1721.jpg
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_49_1672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391925598","1391925515","1391925469","1391925207","1391925404","1391925311"],"photo_ids_order":["1391925207","1391925311","1391925404","1391925469","1391925515","1391925598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cbafbe2f1ae10b7aad3668f08fde0848.jpg","text":"TemporaryFile(/tmp/multipartBody3412327346873466203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119343559,"filename":"image_02112025_02_36_49_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/2/76251bf79a3cd839c8cf99c7aa14ef62.jpg","text":"TemporaryFile(/tmp/multipartBody3303794980572022980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119343559,"filename":"image_02112025_02_36_48_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1bf7220afe93a2cd0d56e50f322709db.jpg","text":"TemporaryFile(/tmp/multipartBody8902723863646859581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119343559,"filename":"image_02112025_02_36_46_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8571242eaff30b4dd824f64edccc9d14.jpg","text":"TemporaryFile(/tmp/multipartBody345849962464815440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119343559,"filename":"image_02112025_02_36_35_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/2/71f3ec7d90d697085f7577297f219e29.jpg","text":"TemporaryFile(/tmp/multipartBody3024387645128680969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119343559,"filename":"image_02112025_02_36_44_5705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/39097950d4e8417d069193024c91a590.jpg","text":"TemporaryFile(/tmp/multipartBody5110477772080608923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119343559,"filename":"image_02112025_02_36_38_3541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391925404","file1":"1391925311","file0":"1391925207","file4":"1391925515","file5":"1391925598","file3":"1391925469"},"map_files_photo_id_array":[{"photo_id":"1391925598","filename":"file5"},{"photo_id":"1391925404","filename":"file2"},{"photo_id":"1391925515","filename":"file4"},{"photo_id":"1391925311","filename":"file1"},{"photo_id":"1391925207","filename":"file0"},{"photo_id":"1391925469","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391925598":["hashtag1","hashtag2"]},{"1391925515":["hashtag1","hashtag2"]},{"1391925469":["hashtag1","hashtag2"]},{"1391925207":["hashtag1","hashtag2"]},{"1391925404":["hashtag1","hashtag2"]},{"1391925311":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391925598, 1391925515, 1391925469, 1391925207, 1391925404, 1391925311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66546320915222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:35:21.945282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_51_1650.jpg', '/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_53_2528.jpg', '/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_56_2688.jpg', '/home/pi/Desktop/images/02112025/02/36/image_02112025_02_37_00_3580.jpg', '/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_02_2591.jpg', '/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_05_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_51_1650.jpg
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_53_2528.jpg
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_36_56_2688.jpg
/home/pi/Desktop/images/02112025/02/36/image_02112025_02_37_00_3580.jpg
/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_02_2591.jpg
/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_05_2638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391925958","1391925919","1391925879","1391925795","1391925840","1391926001"],"photo_ids_order":["1391925795","1391925840","1391925879","1391925919","1391925958","1391926001"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2dd8716fb8aca621bc21cecc16e8b2ed.jpg","text":"TemporaryFile(/tmp/multipartBody5104897106016122418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119382734,"filename":"image_02112025_02_37_02_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/2/7be2902502e978102bd26764210ac12f.jpg","text":"TemporaryFile(/tmp/multipartBody7145923434322064025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119382734,"filename":"image_02112025_02_37_00_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/2/93693983643891c2f02d241407504c06.jpg","text":"TemporaryFile(/tmp/multipartBody3742315603161255247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119382734,"filename":"image_02112025_02_36_56_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/2/f1bdc842c4b7421d256df55c36a96785.jpg","text":"TemporaryFile(/tmp/multipartBody2892858391967801993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119382734,"filename":"image_02112025_02_36_51_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/2/37e4fae389e0e460e13925093cc6248a.jpg","text":"TemporaryFile(/tmp/multipartBody6484395957090403415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119382734,"filename":"image_02112025_02_36_53_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/2/46730e9084b8ea9658259eef1d126070.jpg","text":"TemporaryFile(/tmp/multipartBody1039059293690392747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119382734,"filename":"image_02112025_02_37_05_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391925879","file1":"1391925840","file0":"1391925795","file4":"1391925958","file5":"1391926001","file3":"1391925919"},"map_files_photo_id_array":[{"photo_id":"1391926001","filename":"file5"},{"photo_id":"1391925879","filename":"file2"},{"photo_id":"1391925958","filename":"file4"},{"photo_id":"1391925840","filename":"file1"},{"photo_id":"1391925795","filename":"file0"},{"photo_id":"1391925919","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391925958":["hashtag1","hashtag2"]},{"1391925919":["hashtag1","hashtag2"]},{"1391925879":["hashtag1","hashtag2"]},{"1391925795":["hashtag1","hashtag2"]},{"1391925840":["hashtag1","hashtag2"]},{"1391926001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391925958, 1391925919, 1391925879, 1391925795, 1391925840, 1391926001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04178333282471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:36:02.708477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_08_3492.jpg', '/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_11_2654.jpg', '/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_15_3638.jpg', '/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_18_2761.jpg', '/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_20_2911.jpg', '/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_23_2724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_08_3492.jpg
/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_11_2654.jpg
/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_15_3638.jpg
/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_18_2761.jpg
/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_20_2911.jpg
/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_23_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":["1391926519","1391926479","1391926318","1391926640","1391926430","1391926558"],"photo_ids_order":["1391926318","1391926430","1391926479","1391926519","1391926558","1391926640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f1108872bba8e5bf8f0240ece3ef176a.jpg","text":"TemporaryFile(/tmp/multipartBody708026861688189511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119423546,"filename":"image_02112025_02_37_18_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/2/add2f57770c301fc7b742554ffddc51a.jpg","text":"TemporaryFile(/tmp/multipartBody8070045680533673329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119423546,"filename":"image_02112025_02_37_15_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/2/500a3dc73d4f993c2b885ebd6bc984be.jpg","text":"TemporaryFile(/tmp/multipartBody8423176216661612658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119423546,"filename":"image_02112025_02_37_08_3492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/61bfce718e4b449c68aaf3162b6e817a.jpg","text":"TemporaryFile(/tmp/multipartBody3904774045764816008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119423546,"filename":"image_02112025_02_37_23_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/2/656c4640b174c693c054cffcfc9c1473.jpg","text":"TemporaryFile(/tmp/multipartBody7981436676191432214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119423546,"filename":"image_02112025_02_37_11_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/2/a6e9653acf1c34066fb0fbcb47c0ae66.jpg","text":"TemporaryFile(/tmp/multipartBody8287616430752143082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119423546,"filename":"image_02112025_02_37_20_2911.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391926479","file1":"1391926430","file0":"1391926318","file4":"1391926558","file5":"1391926640","file3":"1391926519"},"map_files_photo_id_array":[{"photo_id":"1391926640","filename":"file5"},{"photo_id":"1391926479","filename":"file2"},{"photo_id":"1391926558","filename":"file4"},{"photo_id":"1391926430","filename":"file1"},{"photo_id":"1391926318","filename":"file0"},{"photo_id":"1391926519","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391926519":["hashtag1","hashtag2"]},{"1391926479":["hashtag1","hashtag2"]},{"1391926318":["hashtag1","hashtag2"]},{"1391926640":["hashtag1","hashtag2"]},{"1391926430":["hashtag1","hashtag2"]},{"1391926558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391926519, 1391926479, 1391926318, 1391926640, 1391926430, 1391926558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.927770137786865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:37:03.080142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_26_2874.jpg', '/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_30_3606.jpg', '/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_32_2697.jpg', '/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_35_2670.jpg', '/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_39_3638.jpg', '/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_41_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_26_2874.jpg
/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_30_3606.jpg
/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_32_2697.jpg
/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_35_2670.jpg
/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_39_3638.jpg
/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_41_2622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391927058","1391927208","1391927491","1391927377","1391927284","1391927134"],"photo_ids_order":["1391927058","1391927134","1391927208","1391927284","1391927377","1391927491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/67d3a32653f9ffa8c3ae1adbb38ae7da.jpg","text":"TemporaryFile(/tmp/multipartBody5602438735069666197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119484052,"filename":"image_02112025_02_37_26_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/2/e5b8a50945abc9fd26719bdf784db026.jpg","text":"TemporaryFile(/tmp/multipartBody625160795365229787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119484052,"filename":"image_02112025_02_37_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/2/5067004515008174efa99977df62845d.jpg","text":"TemporaryFile(/tmp/multipartBody1980590346372651243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119484052,"filename":"image_02112025_02_37_41_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/2/f0168df6e85fbf26fa1da1c54d86cfd2.jpg","text":"TemporaryFile(/tmp/multipartBody5666811671660720067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119484052,"filename":"image_02112025_02_37_39_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/2/b480015a17afb441404f5651b71af677.jpg","text":"TemporaryFile(/tmp/multipartBody7847128925700182152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119484052,"filename":"image_02112025_02_37_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/2/e79571e8c434cce19edace00ebf01051.jpg","text":"TemporaryFile(/tmp/multipartBody9190228727114415094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119484052,"filename":"image_02112025_02_37_30_3606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391927208","file1":"1391927134","file0":"1391927058","file4":"1391927377","file5":"1391927491","file3":"1391927284"},"map_files_photo_id_array":[{"photo_id":"1391927491","filename":"file5"},{"photo_id":"1391927208","filename":"file2"},{"photo_id":"1391927377","filename":"file4"},{"photo_id":"1391927134","filename":"file1"},{"photo_id":"1391927058","filename":"file0"},{"photo_id":"1391927284","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391927058":["hashtag1","hashtag2"]},{"1391927208":["hashtag1","hashtag2"]},{"1391927491":["hashtag1","hashtag2"]},{"1391927377":["hashtag1","hashtag2"]},{"1391927284":["hashtag1","hashtag2"]},{"1391927134":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391927058, 1391927208, 1391927491, 1391927377, 1391927284, 1391927134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.872562646865845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:37:42.526002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_44_2581.jpg', '/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_48_4047.jpg', '/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_51_2742.jpg', '/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_54_3240.jpg', '/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_57_2624.jpg', '/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_59_2513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_44_2581.jpg
/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_48_4047.jpg
/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_51_2742.jpg
/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_54_3240.jpg
/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_57_2624.jpg
/home/pi/Desktop/images/02112025/02/37/image_02112025_02_37_59_2513.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391928179","1391928428","1391927936","1391928586","1391928055","1391928294"],"photo_ids_order":["1391927936","1391928055","1391928179","1391928294","1391928428","1391928586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3ffc2db4060e3ffdac2b1c4d35c8ab8b.jpg","text":"TemporaryFile(/tmp/multipartBody3104114522784928557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119523352,"filename":"image_02112025_02_37_51_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/2/c5c8d84fd88759f61cc9dbd56e79f7be.jpg","text":"TemporaryFile(/tmp/multipartBody4121785057388577877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119523352,"filename":"image_02112025_02_37_57_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/2/603d561c108337fc45014a51040da650.jpg","text":"TemporaryFile(/tmp/multipartBody987709244579377677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119523352,"filename":"image_02112025_02_37_44_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/2/39738743e80b1d312cf360634221c45f.jpg","text":"TemporaryFile(/tmp/multipartBody5001450944831588073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119523352,"filename":"image_02112025_02_37_59_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/2/efda4d843a5cace55d5aa9e04b8222c8.jpg","text":"TemporaryFile(/tmp/multipartBody8077266782751253806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119523352,"filename":"image_02112025_02_37_48_4047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0543286c953240e3d89ae48f94c7cda5.jpg","text":"TemporaryFile(/tmp/multipartBody5110543672347298283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119523352,"filename":"image_02112025_02_37_54_3240.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391928179","file1":"1391928055","file0":"1391927936","file4":"1391928428","file5":"1391928586","file3":"1391928294"},"map_files_photo_id_array":[{"photo_id":"1391928586","filename":"file5"},{"photo_id":"1391928179","filename":"file2"},{"photo_id":"1391928428","filename":"file4"},{"photo_id":"1391928055","filename":"file1"},{"photo_id":"1391927936","filename":"file0"},{"photo_id":"1391928294","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391928179":["hashtag1","hashtag2"]},{"1391928428":["hashtag1","hashtag2"]},{"1391927936":["hashtag1","hashtag2"]},{"1391928586":["hashtag1","hashtag2"]},{"1391928055":["hashtag1","hashtag2"]},{"1391928294":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391928179, 1391928428, 1391927936, 1391928586, 1391928055, 1391928294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.607370138168335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:38:22.701619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_03_3660.jpg', '/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_06_2807.jpg', '/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_08_2609.jpg', '/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_15_2708.jpg', '/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_17_2572.jpg', '/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_21_3650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_03_3660.jpg
/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_06_2807.jpg
/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_08_2609.jpg
/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_15_2708.jpg
/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_17_2572.jpg
/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_21_3650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391929451","1391929369","1391929267","1391929528","1391929609","1391929170"],"photo_ids_order":["1391929170","1391929267","1391929369","1391929451","1391929528","1391929609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/328ab7f746ffc2f262873b742489beb5.jpg","text":"TemporaryFile(/tmp/multipartBody3509352052529521432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119563533,"filename":"image_02112025_02_38_15_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/2/3fb85bea5b06dcdb49479d73d7f8224a.jpg","text":"TemporaryFile(/tmp/multipartBody2521081115196357272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119563533,"filename":"image_02112025_02_38_08_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/2/f34b7c643ec160a843c5e93141a062ca.jpg","text":"TemporaryFile(/tmp/multipartBody7536641170754940949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119563533,"filename":"image_02112025_02_38_06_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/2/19bcd0663d3aa52f3bf62738e0b9d425.jpg","text":"TemporaryFile(/tmp/multipartBody202173966326517918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119563533,"filename":"image_02112025_02_38_17_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/2/c2649341ce1b95c52f66d8f50510d542.jpg","text":"TemporaryFile(/tmp/multipartBody7435027179343459066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119563533,"filename":"image_02112025_02_38_21_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/2/b6f2d017b5714a93023dbbe9366dc9d1.jpg","text":"TemporaryFile(/tmp/multipartBody1896631315537496325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119563533,"filename":"image_02112025_02_38_03_3660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391929369","file1":"1391929267","file0":"1391929170","file4":"1391929528","file5":"1391929609","file3":"1391929451"},"map_files_photo_id_array":[{"photo_id":"1391929609","filename":"file5"},{"photo_id":"1391929369","filename":"file2"},{"photo_id":"1391929528","filename":"file4"},{"photo_id":"1391929267","filename":"file1"},{"photo_id":"1391929170","filename":"file0"},{"photo_id":"1391929451","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391929451":["hashtag1","hashtag2"]},{"1391929369":["hashtag1","hashtag2"]},{"1391929267":["hashtag1","hashtag2"]},{"1391929528":["hashtag1","hashtag2"]},{"1391929609":["hashtag1","hashtag2"]},{"1391929170":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391929451, 1391929369, 1391929267, 1391929528, 1391929609, 1391929170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95546293258667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:39:02.783977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 22:39:21.723196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_24_2807.jpg', '/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_27_3658.jpg', '/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_29_1612.jpg', '/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_33_3780.jpg', '/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_35_2602.jpg', '/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_38_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_24_2807.jpg
/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_27_3658.jpg
/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_29_1612.jpg
/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_33_3780.jpg
/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_35_2602.jpg
/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_38_2616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391930282","1391930426","1391930228","1391930342","1391930386","1391930185"],"photo_ids_order":["1391930185","1391930228","1391930282","1391930342","1391930386","1391930426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/513275d3277d1dd5061a52385325b1b9.jpg","text":"TemporaryFile(/tmp/multipartBody7277882222268852573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119624667,"filename":"image_02112025_02_38_29_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/2/8092759447a2ff719caea936bb488e6d.jpg","text":"TemporaryFile(/tmp/multipartBody7238803704264014201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119624667,"filename":"image_02112025_02_38_38_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/2/c4d3f27456181fb927fb7c122228e03c.jpg","text":"TemporaryFile(/tmp/multipartBody3773236597963733891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119624667,"filename":"image_02112025_02_38_27_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/2/ff3b6cf3036b5c18e098333d37fe2507.jpg","text":"TemporaryFile(/tmp/multipartBody2089735421451923832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119624667,"filename":"image_02112025_02_38_33_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/2/daf0176c9584ae4e9e720e4892f46e77.jpg","text":"TemporaryFile(/tmp/multipartBody3762729615786598757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119624667,"filename":"image_02112025_02_38_35_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/2/059c4a1552d043c50928a3d51069b6d6.jpg","text":"TemporaryFile(/tmp/multipartBody7398821659270964154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119624667,"filename":"image_02112025_02_38_24_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391930282","file1":"1391930228","file0":"1391930185","file4":"1391930386","file5":"1391930426","file3":"1391930342"},"map_files_photo_id_array":[{"photo_id":"1391930426","filename":"file5"},{"photo_id":"1391930282","filename":"file2"},{"photo_id":"1391930386","filename":"file4"},{"photo_id":"1391930228","filename":"file1"},{"photo_id":"1391930185","filename":"file0"},{"photo_id":"1391930342","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391930282":["hashtag1","hashtag2"]},{"1391930426":["hashtag1","hashtag2"]},{"1391930228":["hashtag1","hashtag2"]},{"1391930342":["hashtag1","hashtag2"]},{"1391930386":["hashtag1","hashtag2"]},{"1391930185":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391930282, 1391930426, 1391930228, 1391930342, 1391930386, 1391930185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86530542373657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:40:02.508752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_41_3021.jpg', '/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_45_3794.jpg', '/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_47_2778.jpg', '/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_50_2632.jpg', '/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_53_2777.jpg', '/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_56_3656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_41_3021.jpg
/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_45_3794.jpg
/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_47_2778.jpg
/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_50_2632.jpg
/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_53_2777.jpg
/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_56_3656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391930610","1391930615","1391930600","1391930578","1391930569","1391930656"],"photo_ids_order":["1391930569","1391930578","1391930600","1391930610","1391930615","1391930656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fd1ce1e8750d1b9a74d6c2176b6edac5.jpg","text":"TemporaryFile(/tmp/multipartBody8420113887506058489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119663397,"filename":"image_02112025_02_38_50_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/2/18bfb6243d2102cba04b7b0c76d3838b.jpg","text":"TemporaryFile(/tmp/multipartBody4311974129208504402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119663397,"filename":"image_02112025_02_38_53_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/2/7f2e20fb794861230146aacac9ca2cf8.jpg","text":"TemporaryFile(/tmp/multipartBody3199627092376242568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119663397,"filename":"image_02112025_02_38_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/2/c2bc51f81cf2d8a39641f0f59378bc1f.jpg","text":"TemporaryFile(/tmp/multipartBody4058436631294780660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119663397,"filename":"image_02112025_02_38_45_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/2/b1e64e36b00e6a208dc6a26ba68db212.jpg","text":"TemporaryFile(/tmp/multipartBody8481003153735871246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119663397,"filename":"image_02112025_02_38_41_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/2/e787574e4f3aa077d94e30d4f0e83708.jpg","text":"TemporaryFile(/tmp/multipartBody3316075168074015224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119663397,"filename":"image_02112025_02_38_56_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391930600","file1":"1391930578","file0":"1391930569","file4":"1391930615","file5":"1391930656","file3":"1391930610"},"map_files_photo_id_array":[{"photo_id":"1391930656","filename":"file5"},{"photo_id":"1391930600","filename":"file2"},{"photo_id":"1391930615","filename":"file4"},{"photo_id":"1391930578","filename":"file1"},{"photo_id":"1391930569","filename":"file0"},{"photo_id":"1391930610","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391930610":["hashtag1","hashtag2"]},{"1391930615":["hashtag1","hashtag2"]},{"1391930600":["hashtag1","hashtag2"]},{"1391930578":["hashtag1","hashtag2"]},{"1391930569":["hashtag1","hashtag2"]},{"1391930656":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391930610, 1391930615, 1391930600, 1391930578, 1391930569, 1391930656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51140117645264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:40:42.149579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_59_2810.jpg', '/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_02_2648.jpg', '/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_06_3765.jpg', '/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_08_2718.jpg', '/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_11_2785.jpg', '/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_14_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/38/image_02112025_02_38_59_2810.jpg
/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_02_2648.jpg
/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_06_3765.jpg
/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_08_2718.jpg
/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_11_2785.jpg
/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_14_2693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391930919","1391930814","1391930855","1391931160","1391930896","1391931022"],"photo_ids_order":["1391930814","1391930855","1391930896","1391930919","1391931022","1391931160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/20d44e1ab354e71001a41b878ee9bcd2.jpg","text":"TemporaryFile(/tmp/multipartBody8973957082734062145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119702971,"filename":"image_02112025_02_39_08_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/2/7a600cc808e620ec38c82113c08660a5.jpg","text":"TemporaryFile(/tmp/multipartBody7202765133576963856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119702971,"filename":"image_02112025_02_38_59_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/2/10c0680801f661b7d6249aaf25dc0335.jpg","text":"TemporaryFile(/tmp/multipartBody7404246677732671373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119702971,"filename":"image_02112025_02_39_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/2/edaf389d7bd320053bf6a762e377322e.jpg","text":"TemporaryFile(/tmp/multipartBody3383187768933993163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119702971,"filename":"image_02112025_02_39_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/2/df524571997e3eb7956adaeec66df5de.jpg","text":"TemporaryFile(/tmp/multipartBody6767291121513824827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119702971,"filename":"image_02112025_02_39_06_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/2/4c6df8a1e240767f5b608b4d7a547163.jpg","text":"TemporaryFile(/tmp/multipartBody7208318717163736649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119702971,"filename":"image_02112025_02_39_11_2785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391930896","file1":"1391930855","file0":"1391930814","file4":"1391931022","file5":"1391931160","file3":"1391930919"},"map_files_photo_id_array":[{"photo_id":"1391931160","filename":"file5"},{"photo_id":"1391930896","filename":"file2"},{"photo_id":"1391931022","filename":"file4"},{"photo_id":"1391930855","filename":"file1"},{"photo_id":"1391930814","filename":"file0"},{"photo_id":"1391930919","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391930919":["hashtag1","hashtag2"]},{"1391930814":["hashtag1","hashtag2"]},{"1391930855":["hashtag1","hashtag2"]},{"1391931160":["hashtag1","hashtag2"]},{"1391930896":["hashtag1","hashtag2"]},{"1391931022":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391930919, 1391930814, 1391930855, 1391931160, 1391930896, 1391931022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02595520019531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:41:22.453077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_18_3664.jpg', '/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_20_2579.jpg', '/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_24_3560.jpg', '/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_26_2641.jpg', '/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_29_2770.jpg', '/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_32_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_18_3664.jpg
/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_20_2579.jpg
/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_24_3560.jpg
/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_26_2641.jpg
/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_29_2770.jpg
/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_32_2697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391931347","1391931233","1391931364","1391931334","1391931375","1391931369"],"photo_ids_order":["1391931233","1391931334","1391931347","1391931364","1391931369","1391931375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ed90e0f225cc0a12c6f80d1652ba831c.jpg","text":"TemporaryFile(/tmp/multipartBody2229089389270555670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119743246,"filename":"image_02112025_02_39_24_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/2/7d29d706004e964f0a0c837b4ed2d5c5.jpg","text":"TemporaryFile(/tmp/multipartBody1772073930350300366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119743246,"filename":"image_02112025_02_39_18_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/2/361a35e33c243bccaf7068ae6c41fd71.jpg","text":"TemporaryFile(/tmp/multipartBody6399308204984973578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119743246,"filename":"image_02112025_02_39_26_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/2/4aec137c0b28d9eca24c338af3c53000.jpg","text":"TemporaryFile(/tmp/multipartBody8529673701164649964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119743246,"filename":"image_02112025_02_39_20_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/2/2e5db0d68184a61aa0ef9dbc514292a3.jpg","text":"TemporaryFile(/tmp/multipartBody9130144737291296224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119743246,"filename":"image_02112025_02_39_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/2/2f865dd5689d3e67b0b3d3f0cd1ef0be.jpg","text":"TemporaryFile(/tmp/multipartBody1967680851669077316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119743246,"filename":"image_02112025_02_39_29_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391931347","file1":"1391931334","file0":"1391931233","file4":"1391931369","file5":"1391931375","file3":"1391931364"},"map_files_photo_id_array":[{"photo_id":"1391931375","filename":"file5"},{"photo_id":"1391931347","filename":"file2"},{"photo_id":"1391931369","filename":"file4"},{"photo_id":"1391931334","filename":"file1"},{"photo_id":"1391931233","filename":"file0"},{"photo_id":"1391931364","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391931347":["hashtag1","hashtag2"]},{"1391931233":["hashtag1","hashtag2"]},{"1391931364":["hashtag1","hashtag2"]},{"1391931334":["hashtag1","hashtag2"]},{"1391931375":["hashtag1","hashtag2"]},{"1391931369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391931347, 1391931233, 1391931364, 1391931334, 1391931375, 1391931369)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.54746127128601 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:42:24.735718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_35_3610.jpg', '/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_38_2726.jpg', '/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_41_2680.jpg', '/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_44_3265.jpg', '/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_47_2643.jpg', '/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_50_3735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_35_3610.jpg
/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_38_2726.jpg
/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_41_2680.jpg
/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_44_3265.jpg
/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_47_2643.jpg
/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_50_3735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391931686","1391931563","1391931768","1391931648","1391931726","1391931609"],"photo_ids_order":["1391931563","1391931609","1391931648","1391931686","1391931726","1391931768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4bc3f38dc9b04d0c8b100a52938f9557.jpg","text":"TemporaryFile(/tmp/multipartBody6519508656970369504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119805528,"filename":"image_02112025_02_39_44_3265.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a79522d8a13ed11c9713117ee94dbb3a.jpg","text":"TemporaryFile(/tmp/multipartBody5022707592528620895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119805528,"filename":"image_02112025_02_39_35_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/2/b7740f741d36a183a73d2ce079d50b24.jpg","text":"TemporaryFile(/tmp/multipartBody7626457908826662692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119805528,"filename":"image_02112025_02_39_50_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/2/ec3d8791652556b2fb869f6859b06117.jpg","text":"TemporaryFile(/tmp/multipartBody8241081735409174421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119805528,"filename":"image_02112025_02_39_41_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/2/fad314fd56406641c401ad4fce6ab4a7.jpg","text":"TemporaryFile(/tmp/multipartBody3945179309456948802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119805528,"filename":"image_02112025_02_39_47_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/2/fc697526b9392f30c2d7b6da2bd78cbe.jpg","text":"TemporaryFile(/tmp/multipartBody89032973719980424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119805528,"filename":"image_02112025_02_39_38_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391931648","file1":"1391931609","file0":"1391931563","file4":"1391931726","file5":"1391931768","file3":"1391931686"},"map_files_photo_id_array":[{"photo_id":"1391931768","filename":"file5"},{"photo_id":"1391931648","filename":"file2"},{"photo_id":"1391931726","filename":"file4"},{"photo_id":"1391931609","filename":"file1"},{"photo_id":"1391931563","filename":"file0"},{"photo_id":"1391931686","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391931686":["hashtag1","hashtag2"]},{"1391931563":["hashtag1","hashtag2"]},{"1391931768":["hashtag1","hashtag2"]},{"1391931648":["hashtag1","hashtag2"]},{"1391931726":["hashtag1","hashtag2"]},{"1391931609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391931686, 1391931563, 1391931768, 1391931648, 1391931726, 1391931609)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 37.750314235687256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:43:21.947649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_53_2525.jpg', '/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_57_3554.jpg', '/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_59_2712.jpg', '/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_02_2646.jpg', '/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_08_2599.jpg', '/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_11_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_53_2525.jpg
/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_57_3554.jpg
/home/pi/Desktop/images/02112025/02/39/image_02112025_02_39_59_2712.jpg
/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_02_2646.jpg
/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_08_2599.jpg
/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_11_2736.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391931889","1391931928","1391931897","1391931891","1391931972","1391931894"],"photo_ids_order":["1391931889","1391931891","1391931894","1391931897","1391931928","1391931972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e7af56fc7e2d60dffabface7cd53af2d.jpg","text":"TemporaryFile(/tmp/multipartBody2195951926760309845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119865300,"filename":"image_02112025_02_39_53_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/2/f116c98554e1a2b0eaf057f28ba10565.jpg","text":"TemporaryFile(/tmp/multipartBody298085419654558150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119865300,"filename":"image_02112025_02_40_08_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/2/1f37caab1e5b54ea4dc2dc8e6e4b2021.jpg","text":"TemporaryFile(/tmp/multipartBody6518443474446122137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119865300,"filename":"image_02112025_02_40_02_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/2/7be054ea4cb64f7a054cf19772d4f1e9.jpg","text":"TemporaryFile(/tmp/multipartBody1363411935367575948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119865300,"filename":"image_02112025_02_39_57_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/2/27170f52f0d693d9f922f7571d6e3a15.jpg","text":"TemporaryFile(/tmp/multipartBody1533166545437391819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119865300,"filename":"image_02112025_02_40_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/2/6055b325201b04fe4a4850fef557d878.jpg","text":"TemporaryFile(/tmp/multipartBody2603148930967057185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119865300,"filename":"image_02112025_02_39_59_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391931894","file1":"1391931891","file0":"1391931889","file4":"1391931928","file5":"1391931972","file3":"1391931897"},"map_files_photo_id_array":[{"photo_id":"1391931972","filename":"file5"},{"photo_id":"1391931894","filename":"file2"},{"photo_id":"1391931928","filename":"file4"},{"photo_id":"1391931891","filename":"file1"},{"photo_id":"1391931889","filename":"file0"},{"photo_id":"1391931897","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391931889":["hashtag1","hashtag2"]},{"1391931928":["hashtag1","hashtag2"]},{"1391931897":["hashtag1","hashtag2"]},{"1391931891":["hashtag1","hashtag2"]},{"1391931972":["hashtag1","hashtag2"]},{"1391931894":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391931889, 1391931928, 1391931897, 1391931891, 1391931972, 1391931894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.91285514831543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:44:02.641617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 22:44:23.119253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 22:44:41.922387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_15_3673.jpg', '/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_17_2708.jpg', '/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_20_2633.jpg', '/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_23_2710.jpg', '/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_26_3660.jpg', '/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_29_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_15_3673.jpg
/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_17_2708.jpg
/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_20_2633.jpg
/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_23_2710.jpg
/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_26_3660.jpg
/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_29_2703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391932177","1391932171","1391932173","1391932182","1391932179","1391932175"],"photo_ids_order":["1391932171","1391932173","1391932175","1391932177","1391932179","1391932182"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cc62d53b682844f8653d0096a3b98814.jpg","text":"TemporaryFile(/tmp/multipartBody8972658985465248772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119942759,"filename":"image_02112025_02_40_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/2/10d69178875dd12e29f69fc694ba707c.jpg","text":"TemporaryFile(/tmp/multipartBody4892650461949448955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119942759,"filename":"image_02112025_02_40_15_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/2/85c60342b5bcb58cbaf19d5728b7b88b.jpg","text":"TemporaryFile(/tmp/multipartBody7757626479293883461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119942759,"filename":"image_02112025_02_40_17_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/2/10aa0cea10162981947f54be3fc7fd21.jpg","text":"TemporaryFile(/tmp/multipartBody3315658855434309196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119942759,"filename":"image_02112025_02_40_29_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/2/d7b4aa024744579836229dd5cc7a990f.jpg","text":"TemporaryFile(/tmp/multipartBody8592988653544503523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119942759,"filename":"image_02112025_02_40_26_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/2/7cee0022863a7e431757daba9e4c9746.jpg","text":"TemporaryFile(/tmp/multipartBody1773523263731439570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762119942759,"filename":"image_02112025_02_40_20_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391932175","file1":"1391932173","file0":"1391932171","file4":"1391932179","file5":"1391932182","file3":"1391932177"},"map_files_photo_id_array":[{"photo_id":"1391932182","filename":"file5"},{"photo_id":"1391932175","filename":"file2"},{"photo_id":"1391932179","filename":"file4"},{"photo_id":"1391932173","filename":"file1"},{"photo_id":"1391932171","filename":"file0"},{"photo_id":"1391932177","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391932177":["hashtag1","hashtag2"]},{"1391932171":["hashtag1","hashtag2"]},{"1391932173":["hashtag1","hashtag2"]},{"1391932182":["hashtag1","hashtag2"]},{"1391932179":["hashtag1","hashtag2"]},{"1391932175":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391932177, 1391932171, 1391932173, 1391932182, 1391932179, 1391932175)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.96483254432678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:45:42.211873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_32_2625.jpg', '/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_35_3746.jpg', '/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_45_3680.jpg', '/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_47_2677.jpg', '/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_50_2658.jpg', '/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_53_3444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_32_2625.jpg
/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_35_3746.jpg
/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_45_3680.jpg
/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_47_2677.jpg
/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_50_2658.jpg
/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_53_3444.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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: 7.248795509338379 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:46:02.373786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 22:46:21.932126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 22:46:41.904968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_32_2625.jpg', '/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_35_3746.jpg', '/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_45_3680.jpg', '/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_47_2677.jpg', '/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_50_2658.jpg', '/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_53_3444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_32_2625.jpg
/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_35_3746.jpg
/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_45_3680.jpg
/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_47_2677.jpg
/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_50_2658.jpg
/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_53_3444.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391932226","1391932222","1391932219","1391932230","1391932224","1391932215"],"photo_ids_order":["1391932215","1391932219","1391932222","1391932224","1391932226","1391932230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4666950450f3a08fd78619f20a7f463d.jpg","text":"TemporaryFile(/tmp/multipartBody2493498812605031911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120062579,"filename":"image_02112025_02_40_50_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/2/c8a5bc9d8605b1fce54ffe5d31184b1a.jpg","text":"TemporaryFile(/tmp/multipartBody919090850952974501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120062579,"filename":"image_02112025_02_40_45_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/2/059f06de0c4f0447debe49ae82a38b78.jpg","text":"TemporaryFile(/tmp/multipartBody4486153979601801207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120062579,"filename":"image_02112025_02_40_35_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/2/4c5f7161bf7452f4e93e0f82656dc61a.jpg","text":"TemporaryFile(/tmp/multipartBody9009555459760412429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120062579,"filename":"image_02112025_02_40_53_3444.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a8253a751b8d3d0292f17c5db4e94b3d.jpg","text":"TemporaryFile(/tmp/multipartBody5103531929769932630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120062579,"filename":"image_02112025_02_40_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/2/a48d607154e35096ccf2abb4fe408278.jpg","text":"TemporaryFile(/tmp/multipartBody6724287967073626006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120062579,"filename":"image_02112025_02_40_32_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391932222","file1":"1391932219","file0":"1391932215","file4":"1391932226","file5":"1391932230","file3":"1391932224"},"map_files_photo_id_array":[{"photo_id":"1391932230","filename":"file5"},{"photo_id":"1391932222","filename":"file2"},{"photo_id":"1391932226","filename":"file4"},{"photo_id":"1391932219","filename":"file1"},{"photo_id":"1391932215","filename":"file0"},{"photo_id":"1391932224","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391932226":["hashtag1","hashtag2"]},{"1391932222":["hashtag1","hashtag2"]},{"1391932219":["hashtag1","hashtag2"]},{"1391932230":["hashtag1","hashtag2"]},{"1391932224":["hashtag1","hashtag2"]},{"1391932215":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391932226, 1391932222, 1391932219, 1391932230, 1391932224, 1391932215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75576162338257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:47:22.194146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_56_2530.jpg', '/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_01_5288.jpg', '/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_03_1808.jpg', '/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_05_1656.jpg', '/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_08_3602.jpg', '/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_11_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/40/image_02112025_02_40_56_2530.jpg
/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_01_5288.jpg
/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_03_1808.jpg
/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_05_1656.jpg
/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_08_3602.jpg
/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_11_2691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391932259","1391932264","1391932252","1391932261","1391932255","1391932257"],"photo_ids_order":["1391932252","1391932255","1391932257","1391932259","1391932261","1391932264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8dcaccb81b847d45b877b66a3f18843f.jpg","text":"TemporaryFile(/tmp/multipartBody1602130864697085456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120102976,"filename":"image_02112025_02_41_05_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/2/274ac7187a887b9fbf75b95daf6d62bd.jpg","text":"TemporaryFile(/tmp/multipartBody1898959856450559936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120102976,"filename":"image_02112025_02_41_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/2/19652ae8d6ab849cf7087be5bbc536b0.jpg","text":"TemporaryFile(/tmp/multipartBody4593118078932910350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120102976,"filename":"image_02112025_02_40_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/2/b71149bb7cfb4c08bf54939d518a8aeb.jpg","text":"TemporaryFile(/tmp/multipartBody7895805818099040958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120102976,"filename":"image_02112025_02_41_08_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/2/2b124dcbfa5c35ccd3d6e42f83c57e25.jpg","text":"TemporaryFile(/tmp/multipartBody3220354749625494421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120102976,"filename":"image_02112025_02_41_01_5288.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e752cdd0e2780a5eb2c643c9fb921be5.jpg","text":"TemporaryFile(/tmp/multipartBody4759874032915056938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120102976,"filename":"image_02112025_02_41_03_1808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391932257","file1":"1391932255","file0":"1391932252","file4":"1391932261","file5":"1391932264","file3":"1391932259"},"map_files_photo_id_array":[{"photo_id":"1391932264","filename":"file5"},{"photo_id":"1391932257","filename":"file2"},{"photo_id":"1391932261","filename":"file4"},{"photo_id":"1391932255","filename":"file1"},{"photo_id":"1391932252","filename":"file0"},{"photo_id":"1391932259","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391932259":["hashtag1","hashtag2"]},{"1391932264":["hashtag1","hashtag2"]},{"1391932252":["hashtag1","hashtag2"]},{"1391932261":["hashtag1","hashtag2"]},{"1391932255":["hashtag1","hashtag2"]},{"1391932257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391932259, 1391932264, 1391932252, 1391932261, 1391932255, 1391932257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.303911209106445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:48:02.610051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 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-02 22:48:22.270844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_14_3566.jpg', '/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_17_2580.jpg', '/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_20_2788.jpg', '/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_23_3553.jpg', '/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_26_2720.jpg', '/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_29_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_14_3566.jpg
/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_17_2580.jpg
/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_20_2788.jpg
/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_23_3553.jpg
/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_26_2720.jpg
/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_29_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391932282","1391932285","1391932290","1391932287","1391932286","1391932280"],"photo_ids_order":["1391932280","1391932282","1391932285","1391932286","1391932287","1391932290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/14b0c6589c230020da103428a031f68c.jpg","text":"TemporaryFile(/tmp/multipartBody5157668313333699998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120163041,"filename":"image_02112025_02_41_17_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/2/84794b3ec30486a93c75d844ea67acce.jpg","text":"TemporaryFile(/tmp/multipartBody344957843131871053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120163041,"filename":"image_02112025_02_41_20_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/2/27d07e54ebf1b596a824253c5921d7ee.jpg","text":"TemporaryFile(/tmp/multipartBody947741677963819208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120163041,"filename":"image_02112025_02_41_29_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/2/ee04f0a88ea83566a38111890f6f4046.jpg","text":"TemporaryFile(/tmp/multipartBody4095673272737247702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120163041,"filename":"image_02112025_02_41_26_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/2/fb4a632c4ac85bad0dd9357445880fc4.jpg","text":"TemporaryFile(/tmp/multipartBody2771474814652270574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120163041,"filename":"image_02112025_02_41_23_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/2/92f51c5948a4660024ebec4adf629dcf.jpg","text":"TemporaryFile(/tmp/multipartBody1337683391275067523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120163041,"filename":"image_02112025_02_41_14_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391932285","file1":"1391932282","file0":"1391932280","file4":"1391932287","file5":"1391932290","file3":"1391932286"},"map_files_photo_id_array":[{"photo_id":"1391932290","filename":"file5"},{"photo_id":"1391932285","filename":"file2"},{"photo_id":"1391932287","filename":"file4"},{"photo_id":"1391932282","filename":"file1"},{"photo_id":"1391932280","filename":"file0"},{"photo_id":"1391932286","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391932282":["hashtag1","hashtag2"]},{"1391932285":["hashtag1","hashtag2"]},{"1391932290":["hashtag1","hashtag2"]},{"1391932287":["hashtag1","hashtag2"]},{"1391932286":["hashtag1","hashtag2"]},{"1391932280":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391932282, 1391932285, 1391932290, 1391932287, 1391932286, 1391932280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.50307536125183 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:49:03.214688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_32_2766.jpg', '/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_35_3517.jpg', '/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_44_2699.jpg', '/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_47_2572.jpg', '/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_50_3633.jpg', '/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_53_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_32_2766.jpg
/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_35_3517.jpg
/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_44_2699.jpg
/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_47_2572.jpg
/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_50_3633.jpg
/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_53_2601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391932322","1391932316","1391932319","1391932321","1391932326","1391932308"],"photo_ids_order":["1391932308","1391932316","1391932319","1391932321","1391932322","1391932326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9063e9653ee1cfd936f35cab6bb330f6.jpg","text":"TemporaryFile(/tmp/multipartBody7865930090545780167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120204110,"filename":"image_02112025_02_41_50_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/2/41a4309bfc5a2bc733e36a172980c772.jpg","text":"TemporaryFile(/tmp/multipartBody6888557877217940178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120204110,"filename":"image_02112025_02_41_35_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/2/02b147e7deb3773fe12cd73aa4993fef.jpg","text":"TemporaryFile(/tmp/multipartBody666323647088869598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120204110,"filename":"image_02112025_02_41_44_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/2/9ba2bcb1452c349d24e5efc41641547e.jpg","text":"TemporaryFile(/tmp/multipartBody4834718330469029550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120204110,"filename":"image_02112025_02_41_47_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/2/076eceb3b80ba7ab7e06a4a7bb37cfa7.jpg","text":"TemporaryFile(/tmp/multipartBody8117172995307435043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120204110,"filename":"image_02112025_02_41_53_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/2/898ee67f84c1d90365c172c5f83b9fb5.jpg","text":"TemporaryFile(/tmp/multipartBody5893138492259535178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120204110,"filename":"image_02112025_02_41_32_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391932319","file1":"1391932316","file0":"1391932308","file4":"1391932322","file5":"1391932326","file3":"1391932321"},"map_files_photo_id_array":[{"photo_id":"1391932326","filename":"file5"},{"photo_id":"1391932319","filename":"file2"},{"photo_id":"1391932322","filename":"file4"},{"photo_id":"1391932316","filename":"file1"},{"photo_id":"1391932308","filename":"file0"},{"photo_id":"1391932321","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391932322":["hashtag1","hashtag2"]},{"1391932316":["hashtag1","hashtag2"]},{"1391932319":["hashtag1","hashtag2"]},{"1391932321":["hashtag1","hashtag2"]},{"1391932326":["hashtag1","hashtag2"]},{"1391932308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391932322, 1391932316, 1391932319, 1391932321, 1391932326, 1391932308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16452121734619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:49:42.443907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_56_2678.jpg', '/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_59_3706.jpg', '/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_02_2635.jpg', '/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_04_2579.jpg', '/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_08_3828.jpg', '/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_11_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_56_2678.jpg
/home/pi/Desktop/images/02112025/02/41/image_02112025_02_41_59_3706.jpg
/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_02_2635.jpg
/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_04_2579.jpg
/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_08_3828.jpg
/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_11_2656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391932345","1391932342","1391932336","1391932344","1391932347","1391932340"],"photo_ids_order":["1391932336","1391932340","1391932342","1391932344","1391932345","1391932347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fb1898ff659da4cdeb321ce9359e2743.jpg","text":"TemporaryFile(/tmp/multipartBody2207690593048135340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120243267,"filename":"image_02112025_02_42_08_3828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0547e872725608d85687f7277055f050.jpg","text":"TemporaryFile(/tmp/multipartBody217069217253542019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120243267,"filename":"image_02112025_02_42_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/2/cc0fea80ac94dddc928057067c3b0e3a.jpg","text":"TemporaryFile(/tmp/multipartBody5063259636452984687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120243267,"filename":"image_02112025_02_41_56_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/2/6b275e2e28ede4e0d1b9f329c546b54b.jpg","text":"TemporaryFile(/tmp/multipartBody1329669227210687736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120243267,"filename":"image_02112025_02_42_04_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/2/8e801332962eb1504cb1ffe182b41d38.jpg","text":"TemporaryFile(/tmp/multipartBody6966069239637594750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120243267,"filename":"image_02112025_02_42_11_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/2/f29ac56a9400abe0fb4ff6896d16764c.jpg","text":"TemporaryFile(/tmp/multipartBody2231407949240986865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120243267,"filename":"image_02112025_02_41_59_3706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391932342","file1":"1391932340","file0":"1391932336","file4":"1391932345","file5":"1391932347","file3":"1391932344"},"map_files_photo_id_array":[{"photo_id":"1391932347","filename":"file5"},{"photo_id":"1391932342","filename":"file2"},{"photo_id":"1391932345","filename":"file4"},{"photo_id":"1391932340","filename":"file1"},{"photo_id":"1391932336","filename":"file0"},{"photo_id":"1391932344","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391932345":["hashtag1","hashtag2"]},{"1391932342":["hashtag1","hashtag2"]},{"1391932336":["hashtag1","hashtag2"]},{"1391932344":["hashtag1","hashtag2"]},{"1391932347":["hashtag1","hashtag2"]},{"1391932340":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391932345, 1391932342, 1391932336, 1391932344, 1391932347, 1391932340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.777179479599 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:50:22.563199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_17_3646.jpg', '/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_20_2779.jpg', '/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_23_2630.jpg', '/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_26_3621.jpg', '/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_29_2734.jpg', '/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_32_3110.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_17_3646.jpg
/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_20_2779.jpg
/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_23_2630.jpg
/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_26_3621.jpg
/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_29_2734.jpg
/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_32_3110.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391932358","1391932363","1391932357","1391932360","1391932354","1391932359"],"photo_ids_order":["1391932354","1391932357","1391932358","1391932359","1391932360","1391932363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8e4f08d4fb52bb2f9e5759538c678283.jpg","text":"TemporaryFile(/tmp/multipartBody122584920863615045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120283350,"filename":"image_02112025_02_42_23_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/2/815c075d9a83ea3373f2f59cd92241ac.jpg","text":"TemporaryFile(/tmp/multipartBody1674187834063277021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120283350,"filename":"image_02112025_02_42_32_3110.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/84ab0d778f77ccad5d80946695065db3.jpg","text":"TemporaryFile(/tmp/multipartBody8257537796994032731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120283350,"filename":"image_02112025_02_42_20_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/2/8086d68f96a15b4aea386f72118f7967.jpg","text":"TemporaryFile(/tmp/multipartBody8361572899256731294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120283350,"filename":"image_02112025_02_42_29_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/2/65067e30d5b23f7857971b4433278ba7.jpg","text":"TemporaryFile(/tmp/multipartBody7358744622786335451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120283350,"filename":"image_02112025_02_42_17_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/2/5099410f1d4f63cca073b299becadfa9.jpg","text":"TemporaryFile(/tmp/multipartBody2325238637791751554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120283350,"filename":"image_02112025_02_42_26_3621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391932358","file1":"1391932357","file0":"1391932354","file4":"1391932360","file5":"1391932363","file3":"1391932359"},"map_files_photo_id_array":[{"photo_id":"1391932363","filename":"file5"},{"photo_id":"1391932358","filename":"file2"},{"photo_id":"1391932360","filename":"file4"},{"photo_id":"1391932357","filename":"file1"},{"photo_id":"1391932354","filename":"file0"},{"photo_id":"1391932359","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391932358":["hashtag1","hashtag2"]},{"1391932363":["hashtag1","hashtag2"]},{"1391932357":["hashtag1","hashtag2"]},{"1391932360":["hashtag1","hashtag2"]},{"1391932354":["hashtag1","hashtag2"]},{"1391932359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391932358, 1391932363, 1391932357, 1391932360, 1391932354, 1391932359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05550169944763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:51:02.371853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_35_2645.jpg', '/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_38_3123.jpg', '/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_41_3019.jpg', '/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_44_2804.jpg', '/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_47_3552.jpg', '/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_52_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_35_2645.jpg
/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_38_3123.jpg
/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_41_3019.jpg
/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_44_2804.jpg
/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_47_3552.jpg
/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_52_2624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391932387","1391932381","1391932386","1391932389","1391932385","1391932376"],"photo_ids_order":["1391932376","1391932381","1391932385","1391932386","1391932387","1391932389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cd23265765e61b5c0c73d27f88dc1f5a.jpg","text":"TemporaryFile(/tmp/multipartBody1882489349483507168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120323424,"filename":"image_02112025_02_42_47_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/2/68f374e77201aaba4b6964e5b5df54c2.jpg","text":"TemporaryFile(/tmp/multipartBody7057711179183863075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120323424,"filename":"image_02112025_02_42_38_3123.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b09b0abad6b94e9f5030e750d1eccfb9.jpg","text":"TemporaryFile(/tmp/multipartBody2324058223091804721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120323424,"filename":"image_02112025_02_42_44_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/2/d10db1299b14f1937c41bb0c5da0ecd2.jpg","text":"TemporaryFile(/tmp/multipartBody5328385774048877084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120323424,"filename":"image_02112025_02_42_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/2/e600a1567c4b60fee19ee7389c8564ea.jpg","text":"TemporaryFile(/tmp/multipartBody4372909418544859282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120323424,"filename":"image_02112025_02_42_41_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4e6dec1749f4b6b726607040ae89cc41.jpg","text":"TemporaryFile(/tmp/multipartBody9167529075486566600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120323424,"filename":"image_02112025_02_42_35_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391932385","file1":"1391932381","file0":"1391932376","file4":"1391932387","file5":"1391932389","file3":"1391932386"},"map_files_photo_id_array":[{"photo_id":"1391932389","filename":"file5"},{"photo_id":"1391932385","filename":"file2"},{"photo_id":"1391932387","filename":"file4"},{"photo_id":"1391932381","filename":"file1"},{"photo_id":"1391932376","filename":"file0"},{"photo_id":"1391932386","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391932387":["hashtag1","hashtag2"]},{"1391932381":["hashtag1","hashtag2"]},{"1391932386":["hashtag1","hashtag2"]},{"1391932389":["hashtag1","hashtag2"]},{"1391932385":["hashtag1","hashtag2"]},{"1391932376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391932387, 1391932381, 1391932386, 1391932389, 1391932385, 1391932376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.341594219207764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:51:41.888037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_56_3655.jpg', '/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_59_2605.jpg', '/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_01_2622.jpg', '/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_05_3600.jpg', '/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_11_3187.jpg', '/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_13_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_56_3655.jpg
/home/pi/Desktop/images/02112025/02/42/image_02112025_02_42_59_2605.jpg
/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_01_2622.jpg
/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_05_3600.jpg
/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_11_3187.jpg
/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_13_2629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391932409","1391932400","1391932412","1391932406","1391932404","1391932407"],"photo_ids_order":["1391932400","1391932404","1391932406","1391932407","1391932409","1391932412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5ba09c1a918f03948bf3f0f089e473a5.jpg","text":"TemporaryFile(/tmp/multipartBody3464382201148799205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120362718,"filename":"image_02112025_02_43_11_3187.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/df6dab78fea0a85a92799c91454762bf.jpg","text":"TemporaryFile(/tmp/multipartBody4540713995863023704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120362718,"filename":"image_02112025_02_42_56_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/2/16b9778c668507e551960a1fd244f166.jpg","text":"TemporaryFile(/tmp/multipartBody5801520484280454312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120362718,"filename":"image_02112025_02_43_13_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/2/485b9a3a2daf2e3b03616dd4a487b7c2.jpg","text":"TemporaryFile(/tmp/multipartBody4848872575695555993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120362718,"filename":"image_02112025_02_43_01_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/2/6e939470f893f96dc0a7c212e940f7cd.jpg","text":"TemporaryFile(/tmp/multipartBody4090655119301140885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120362718,"filename":"image_02112025_02_42_59_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/2/56385de9351c106d4efc7b8278b0fc1e.jpg","text":"TemporaryFile(/tmp/multipartBody8880422165195709305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120362718,"filename":"image_02112025_02_43_05_3600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391932406","file1":"1391932404","file0":"1391932400","file4":"1391932409","file5":"1391932412","file3":"1391932407"},"map_files_photo_id_array":[{"photo_id":"1391932412","filename":"file5"},{"photo_id":"1391932406","filename":"file2"},{"photo_id":"1391932409","filename":"file4"},{"photo_id":"1391932404","filename":"file1"},{"photo_id":"1391932400","filename":"file0"},{"photo_id":"1391932407","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391932409":["hashtag1","hashtag2"]},{"1391932400":["hashtag1","hashtag2"]},{"1391932412":["hashtag1","hashtag2"]},{"1391932406":["hashtag1","hashtag2"]},{"1391932404":["hashtag1","hashtag2"]},{"1391932407":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391932409, 1391932400, 1391932412, 1391932406, 1391932404, 1391932407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94676065444946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:52:22.047850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_17_3728.jpg', '/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_20_2610.jpg', '/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_23_3515.jpg', '/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_26_2592.jpg', '/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_31_2780.jpg', '/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_35_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_17_3728.jpg
/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_20_2610.jpg
/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_23_3515.jpg
/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_26_2592.jpg
/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_31_2780.jpg
/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_35_3679.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7007684707641602 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:52:42.102649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_17_3728.jpg', '/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_20_2610.jpg', '/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_23_3515.jpg', '/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_26_2592.jpg', '/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_31_2780.jpg', '/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_35_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_17_3728.jpg
/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_20_2610.jpg
/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_23_3515.jpg
/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_26_2592.jpg
/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_31_2780.jpg
/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_35_3679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391932442","1391932436","1391932430","1391932444","1391932440","1391932433"],"photo_ids_order":["1391932430","1391932433","1391932436","1391932440","1391932442","1391932444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bf55d148735c910a1ff6b62ed7366c53.jpg","text":"TemporaryFile(/tmp/multipartBody4295044261164893489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120422818,"filename":"image_02112025_02_43_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/2/8ea303f9df8225c50efa82b34de55064.jpg","text":"TemporaryFile(/tmp/multipartBody8471811468948588777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120422818,"filename":"image_02112025_02_43_23_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/2/d3aab40666b11f3949fad8aa3f4081f2.jpg","text":"TemporaryFile(/tmp/multipartBody3841354648652761498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120422818,"filename":"image_02112025_02_43_17_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/2/0612c5a87d8d8a58e0e84c908db3c82c.jpg","text":"TemporaryFile(/tmp/multipartBody288082221648268473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120422818,"filename":"image_02112025_02_43_35_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/2/505feb16cc334369ab01b317c251bde5.jpg","text":"TemporaryFile(/tmp/multipartBody6730936594284820037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120422818,"filename":"image_02112025_02_43_26_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/2/6c7dbb93eb5a2a0af0bb07443e0d7af8.jpg","text":"TemporaryFile(/tmp/multipartBody6960380671395935283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120422818,"filename":"image_02112025_02_43_20_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391932436","file1":"1391932433","file0":"1391932430","file4":"1391932442","file5":"1391932444","file3":"1391932440"},"map_files_photo_id_array":[{"photo_id":"1391932444","filename":"file5"},{"photo_id":"1391932436","filename":"file2"},{"photo_id":"1391932442","filename":"file4"},{"photo_id":"1391932433","filename":"file1"},{"photo_id":"1391932430","filename":"file0"},{"photo_id":"1391932440","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391932442":["hashtag1","hashtag2"]},{"1391932436":["hashtag1","hashtag2"]},{"1391932430":["hashtag1","hashtag2"]},{"1391932444":["hashtag1","hashtag2"]},{"1391932440":["hashtag1","hashtag2"]},{"1391932433":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391932442, 1391932436, 1391932430, 1391932444, 1391932440, 1391932433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53071331977844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:53:22.225001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_41_2591.jpg', '/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_47_2655.jpg', '/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_49_2594.jpg', '/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_53_3729.jpg', '/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_57_3337.jpg', '/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_59_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_41_2591.jpg
/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_47_2655.jpg
/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_49_2594.jpg
/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_53_3729.jpg
/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_57_3337.jpg
/home/pi/Desktop/images/02112025/02/43/image_02112025_02_43_59_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391932456","1391932450","1391932453","1391932447","1391932460","1391932448"],"photo_ids_order":["1391932447","1391932448","1391932450","1391932453","1391932456","1391932460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4cafcf37da03a9713efcfa8e8ec55882.jpg","text":"TemporaryFile(/tmp/multipartBody9036845446502059916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120463017,"filename":"image_02112025_02_43_57_3337.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f26ea48c6a89f9c5dffa3ab88a01dea9.jpg","text":"TemporaryFile(/tmp/multipartBody3516944820956828374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120463017,"filename":"image_02112025_02_43_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/2/427ba0b7e40d2b1daafd79b17ee3324f.jpg","text":"TemporaryFile(/tmp/multipartBody247814004211380897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120463017,"filename":"image_02112025_02_43_53_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/2/c4c49fa9f12ebd9d0126f97344fad277.jpg","text":"TemporaryFile(/tmp/multipartBody5322372865996237513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120463017,"filename":"image_02112025_02_43_41_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/2/2588613e6fa50ddaad4b1eb4d4970a37.jpg","text":"TemporaryFile(/tmp/multipartBody3162138423996679403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120463017,"filename":"image_02112025_02_43_59_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/2/1a84c4f31707afcb80fe1aa02a7ec4ee.jpg","text":"TemporaryFile(/tmp/multipartBody1378191978064958416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120463017,"filename":"image_02112025_02_43_47_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391932450","file1":"1391932448","file0":"1391932447","file4":"1391932456","file5":"1391932460","file3":"1391932453"},"map_files_photo_id_array":[{"photo_id":"1391932460","filename":"file5"},{"photo_id":"1391932450","filename":"file2"},{"photo_id":"1391932456","filename":"file4"},{"photo_id":"1391932448","filename":"file1"},{"photo_id":"1391932447","filename":"file0"},{"photo_id":"1391932453","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391932456":["hashtag1","hashtag2"]},{"1391932450":["hashtag1","hashtag2"]},{"1391932453":["hashtag1","hashtag2"]},{"1391932447":["hashtag1","hashtag2"]},{"1391932460":["hashtag1","hashtag2"]},{"1391932448":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391932456, 1391932450, 1391932453, 1391932447, 1391932460, 1391932448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17790246009827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:54:03.242340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_02_2567.jpg', '/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_04_2611.jpg', '/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_11_2697.jpg', '/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_13_2761.jpg', '/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_17_3611.jpg', '/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_20_2750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_02_2567.jpg
/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_04_2611.jpg
/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_11_2697.jpg
/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_13_2761.jpg
/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_17_3611.jpg
/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_20_2750.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391932471","1391932481","1391932475","1391932484","1391932478","1391932487"],"photo_ids_order":["1391932471","1391932475","1391932478","1391932481","1391932484","1391932487"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f22af6e1a5cc7d29484b12c65fa96d96.jpg","text":"TemporaryFile(/tmp/multipartBody5781784494759823440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120504173,"filename":"image_02112025_02_44_02_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/2/ad17fbfe47fd7fc35c71e4c6132f9f51.jpg","text":"TemporaryFile(/tmp/multipartBody449293217157108065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120504173,"filename":"image_02112025_02_44_13_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/2/62870988a8006a1c6888157f5a0a16ae.jpg","text":"TemporaryFile(/tmp/multipartBody4057938471556136053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120504173,"filename":"image_02112025_02_44_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/2/831c49411227c67725316fba91131d1a.jpg","text":"TemporaryFile(/tmp/multipartBody6807094913632301157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120504173,"filename":"image_02112025_02_44_17_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/2/f507af7b4bd3b6cadf8ea3be8849dd2b.jpg","text":"TemporaryFile(/tmp/multipartBody3815866495516570826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120504173,"filename":"image_02112025_02_44_11_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/2/697e455ec6c58783abe76e2422d1a668.jpg","text":"TemporaryFile(/tmp/multipartBody7401236594284947261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120504173,"filename":"image_02112025_02_44_20_2750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391932478","file1":"1391932475","file0":"1391932471","file4":"1391932484","file5":"1391932487","file3":"1391932481"},"map_files_photo_id_array":[{"photo_id":"1391932487","filename":"file5"},{"photo_id":"1391932478","filename":"file2"},{"photo_id":"1391932484","filename":"file4"},{"photo_id":"1391932475","filename":"file1"},{"photo_id":"1391932471","filename":"file0"},{"photo_id":"1391932481","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391932471":["hashtag1","hashtag2"]},{"1391932481":["hashtag1","hashtag2"]},{"1391932475":["hashtag1","hashtag2"]},{"1391932484":["hashtag1","hashtag2"]},{"1391932478":["hashtag1","hashtag2"]},{"1391932487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391932471, 1391932481, 1391932475, 1391932484, 1391932478, 1391932487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.166837215423584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:54:42.669355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_22_2553.jpg', '/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_26_3606.jpg', '/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_29_2728.jpg', '/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_31_2722.jpg', '/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_35_3572.jpg', '/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_38_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_22_2553.jpg
/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_26_3606.jpg
/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_29_2728.jpg
/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_31_2722.jpg
/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_35_3572.jpg
/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_38_2773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391932502","1391932492","1391932498","1391932506","1391932496","1391932500"],"photo_ids_order":["1391932492","1391932496","1391932498","1391932500","1391932502","1391932506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/173edf66a5c9f2dfe6bae5125c93b6cc.jpg","text":"TemporaryFile(/tmp/multipartBody238067840220661007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120543491,"filename":"image_02112025_02_44_35_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/2/166d8a9f4796c6c977b571749a703fd1.jpg","text":"TemporaryFile(/tmp/multipartBody7110604834762633190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120543491,"filename":"image_02112025_02_44_22_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/2/577ffcfd87d3d2d315149d7a438b96a9.jpg","text":"TemporaryFile(/tmp/multipartBody7936202817551445196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120543491,"filename":"image_02112025_02_44_29_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/2/624ec3df810c7f601b1cb99cafb18f39.jpg","text":"TemporaryFile(/tmp/multipartBody7264459015180260100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120543491,"filename":"image_02112025_02_44_38_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/2/8b8c0ce4034c92e781ee92b1518d88fc.jpg","text":"TemporaryFile(/tmp/multipartBody3998567890802370839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120543491,"filename":"image_02112025_02_44_26_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/2/0fbf58bffff536ca4833c987cbfd5c00.jpg","text":"TemporaryFile(/tmp/multipartBody2066536749587480696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120543491,"filename":"image_02112025_02_44_31_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391932498","file1":"1391932496","file0":"1391932492","file4":"1391932502","file5":"1391932506","file3":"1391932500"},"map_files_photo_id_array":[{"photo_id":"1391932506","filename":"file5"},{"photo_id":"1391932498","filename":"file2"},{"photo_id":"1391932502","filename":"file4"},{"photo_id":"1391932496","filename":"file1"},{"photo_id":"1391932492","filename":"file0"},{"photo_id":"1391932500","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391932502":["hashtag1","hashtag2"]},{"1391932492":["hashtag1","hashtag2"]},{"1391932498":["hashtag1","hashtag2"]},{"1391932506":["hashtag1","hashtag2"]},{"1391932496":["hashtag1","hashtag2"]},{"1391932500":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391932502, 1391932492, 1391932498, 1391932506, 1391932496, 1391932500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09144306182861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:55:21.761773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_40_2599.jpg', '/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_44_3542.jpg', '/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_46_2534.jpg', '/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_50_3261.jpg', '/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_55_2962.jpg', '/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_58_2799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_40_2599.jpg
/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_44_3542.jpg
/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_46_2534.jpg
/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_50_3261.jpg
/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_55_2962.jpg
/home/pi/Desktop/images/02112025/02/44/image_02112025_02_44_58_2799.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391932523","1391932519","1391932528","1391932521","1391932515","1391932526"],"photo_ids_order":["1391932515","1391932519","1391932521","1391932523","1391932526","1391932528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/09ac9fcffa37d0f69d681ba7d3a43d92.jpg","text":"TemporaryFile(/tmp/multipartBody840964769156380249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120582581,"filename":"image_02112025_02_44_50_3261.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cec6dcce2510fa60a0e3581497cfdbe6.jpg","text":"TemporaryFile(/tmp/multipartBody1208121661441999761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120582581,"filename":"image_02112025_02_44_44_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/2/6ee37f9977c325a5d7ff8e7644f7fca6.jpg","text":"TemporaryFile(/tmp/multipartBody9149545341079332535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120582581,"filename":"image_02112025_02_44_58_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/2/2348f8c37d4adb73bb9370743de4b6c7.jpg","text":"TemporaryFile(/tmp/multipartBody8601372750850153958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120582581,"filename":"image_02112025_02_44_46_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/2/7f633212707dfabc58c6d66f1ffd603b.jpg","text":"TemporaryFile(/tmp/multipartBody15284024666067448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120582581,"filename":"image_02112025_02_44_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/2/b6e5f80e9cd32e59ff4a69274dd8f53f.jpg","text":"TemporaryFile(/tmp/multipartBody3228617417868387349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120582581,"filename":"image_02112025_02_44_55_2962.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391932521","file1":"1391932519","file0":"1391932515","file4":"1391932526","file5":"1391932528","file3":"1391932523"},"map_files_photo_id_array":[{"photo_id":"1391932528","filename":"file5"},{"photo_id":"1391932521","filename":"file2"},{"photo_id":"1391932526","filename":"file4"},{"photo_id":"1391932519","filename":"file1"},{"photo_id":"1391932515","filename":"file0"},{"photo_id":"1391932523","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391932523":["hashtag1","hashtag2"]},{"1391932519":["hashtag1","hashtag2"]},{"1391932528":["hashtag1","hashtag2"]},{"1391932521":["hashtag1","hashtag2"]},{"1391932515":["hashtag1","hashtag2"]},{"1391932526":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391932523, 1391932519, 1391932528, 1391932521, 1391932515, 1391932526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.41724514961243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:56:02.414342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_02_3649.jpg', '/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_05_3134.jpg', '/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_08_2647.jpg', '/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_10_2806.jpg', '/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_13_2801.jpg', '/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_16_3084.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_02_3649.jpg
/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_05_3134.jpg
/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_08_2647.jpg
/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_10_2806.jpg
/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_13_2801.jpg
/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_16_3084.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391932549","1391932540","1391932543","1391932551","1391932536","1391932547"],"photo_ids_order":["1391932536","1391932540","1391932543","1391932547","1391932549","1391932551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fc57d5ee1d8f51015dedf8b41a8a7e74.jpg","text":"TemporaryFile(/tmp/multipartBody2455776485024046383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120623264,"filename":"image_02112025_02_45_13_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/2/7f55434b5dbec49fa9fdd1d6fa174d5b.jpg","text":"TemporaryFile(/tmp/multipartBody6746061001386266429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120623264,"filename":"image_02112025_02_45_05_3134.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4f1bf05e758211b0abae4eb26874057c.jpg","text":"TemporaryFile(/tmp/multipartBody1182491755264466366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120623264,"filename":"image_02112025_02_45_08_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/2/841dd228682263f3d471850976cdf8d1.jpg","text":"TemporaryFile(/tmp/multipartBody6125418497145128753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120623264,"filename":"image_02112025_02_45_16_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/2/07c08b2d4cd2f2f36faa45de64e98139.jpg","text":"TemporaryFile(/tmp/multipartBody7213702748853134067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120623264,"filename":"image_02112025_02_45_02_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/2/fae41fd58a7a13601fe5fdbb0365f6b5.jpg","text":"TemporaryFile(/tmp/multipartBody5463092189104407873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120623264,"filename":"image_02112025_02_45_10_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391932543","file1":"1391932540","file0":"1391932536","file4":"1391932549","file5":"1391932551","file3":"1391932547"},"map_files_photo_id_array":[{"photo_id":"1391932551","filename":"file5"},{"photo_id":"1391932543","filename":"file2"},{"photo_id":"1391932549","filename":"file4"},{"photo_id":"1391932540","filename":"file1"},{"photo_id":"1391932536","filename":"file0"},{"photo_id":"1391932547","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391932549":["hashtag1","hashtag2"]},{"1391932540":["hashtag1","hashtag2"]},{"1391932543":["hashtag1","hashtag2"]},{"1391932551":["hashtag1","hashtag2"]},{"1391932536":["hashtag1","hashtag2"]},{"1391932547":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391932549, 1391932540, 1391932543, 1391932551, 1391932536, 1391932547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03991174697876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:56:41.969986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_20_3568.jpg', '/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_25_5128.jpg', '/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_27_1707.jpg', '/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_28_1525.jpg', '/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_32_3679.jpg', '/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_35_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_20_3568.jpg
/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_25_5128.jpg
/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_27_1707.jpg
/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_28_1525.jpg
/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_32_3679.jpg
/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_35_2680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391932561","1391932563","1391932557","1391932565","1391932559","1391932568"],"photo_ids_order":["1391932557","1391932559","1391932561","1391932563","1391932565","1391932568"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/797b9b1b10356c18de0ce811ae37d238.jpg","text":"TemporaryFile(/tmp/multipartBody8254011912851550448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120663948,"filename":"image_02112025_02_45_27_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/2/67c5850d96f28a1e32b52c4adb4ace1a.jpg","text":"TemporaryFile(/tmp/multipartBody9187155571152260245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120663948,"filename":"image_02112025_02_45_28_1525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f611f8ee3347aaf2c767b61f1efe9137.jpg","text":"TemporaryFile(/tmp/multipartBody430778435806446033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120663948,"filename":"image_02112025_02_45_20_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/2/919e272903a9458826f9660a889eeadb.jpg","text":"TemporaryFile(/tmp/multipartBody6374722451213294837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120663948,"filename":"image_02112025_02_45_32_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/2/fbca1a7312f4469335b7391c9d564893.jpg","text":"TemporaryFile(/tmp/multipartBody8617651303335706626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120663948,"filename":"image_02112025_02_45_25_5128.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8e1f9592b139ed6887a000e9f7118a47.jpg","text":"TemporaryFile(/tmp/multipartBody8292889534179242862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120663948,"filename":"image_02112025_02_45_35_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391932561","file1":"1391932559","file0":"1391932557","file4":"1391932565","file5":"1391932568","file3":"1391932563"},"map_files_photo_id_array":[{"photo_id":"1391932568","filename":"file5"},{"photo_id":"1391932561","filename":"file2"},{"photo_id":"1391932565","filename":"file4"},{"photo_id":"1391932559","filename":"file1"},{"photo_id":"1391932557","filename":"file0"},{"photo_id":"1391932563","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391932561":["hashtag1","hashtag2"]},{"1391932563":["hashtag1","hashtag2"]},{"1391932557":["hashtag1","hashtag2"]},{"1391932565":["hashtag1","hashtag2"]},{"1391932559":["hashtag1","hashtag2"]},{"1391932568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391932561, 1391932563, 1391932557, 1391932565, 1391932559, 1391932568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.376450300216675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 22:57:22.123110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_37_2532.jpg', '/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_44_6766.jpg', '/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_45_1564.jpg', '/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_50_4409.jpg', '/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_56_5817.jpg', '/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_57_1655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_37_2532.jpg
/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_44_6766.jpg
/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_45_1564.jpg
/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_50_4409.jpg
/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_56_5817.jpg
/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_57_1655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391932591","1391932590","1391932592","1391932598","1391932637","1391932586"],"photo_ids_order":["1391932586","1391932590","1391932591","1391932592","1391932598","1391932637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/eb659abf94757812f0a197c887ddd226.jpg","text":"TemporaryFile(/tmp/multipartBody6501250789606355026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120702916,"filename":"image_02112025_02_45_45_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/2/11910a5d91b9d71ad2204ea8936dcdc4.jpg","text":"TemporaryFile(/tmp/multipartBody6597109340471825580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120702916,"filename":"image_02112025_02_45_44_6766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/84e2395301f9d374055fbd48ec4cd77a.jpg","text":"TemporaryFile(/tmp/multipartBody3651898093346945079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120702916,"filename":"image_02112025_02_45_50_4409.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3ddf489c7c8b32fd0933c154855fa14c.jpg","text":"TemporaryFile(/tmp/multipartBody3586607236508968303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120702916,"filename":"image_02112025_02_45_56_5817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b4723f25bb8c857faaba97e5a0565e8c.jpg","text":"TemporaryFile(/tmp/multipartBody8403128990529709598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120702916,"filename":"image_02112025_02_45_57_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/2/253821ede398462c3615b04c9401199d.jpg","text":"TemporaryFile(/tmp/multipartBody6713505951129055950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120702916,"filename":"image_02112025_02_45_37_2532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391932591","file1":"1391932590","file0":"1391932586","file4":"1391932598","file5":"1391932637","file3":"1391932592"},"map_files_photo_id_array":[{"photo_id":"1391932637","filename":"file5"},{"photo_id":"1391932591","filename":"file2"},{"photo_id":"1391932598","filename":"file4"},{"photo_id":"1391932590","filename":"file1"},{"photo_id":"1391932586","filename":"file0"},{"photo_id":"1391932592","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391932591":["hashtag1","hashtag2"]},{"1391932590":["hashtag1","hashtag2"]},{"1391932592":["hashtag1","hashtag2"]},{"1391932598":["hashtag1","hashtag2"]},{"1391932637":["hashtag1","hashtag2"]},{"1391932586":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391932591, 1391932590, 1391932592, 1391932598, 1391932637, 1391932586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27490758895874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 22:59:03.478945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_59_1684.jpg', '/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_01_1742.jpg', '/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_02_1638.jpg', '/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_06_3326.jpg', '/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_08_1870.jpg', '/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_10_2487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/45/image_02112025_02_45_59_1684.jpg
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_01_1742.jpg
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_02_1638.jpg
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_06_3326.jpg
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_08_1870.jpg
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_10_2487.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391932951","1391932945","1391932939","1391932948","1391932940","1391932943"],"photo_ids_order":["1391932939","1391932940","1391932943","1391932945","1391932948","1391932951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9a54b98a6905e8d473ee2c2d9ac66926.jpg","text":"TemporaryFile(/tmp/multipartBody2056508169668053920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120804513,"filename":"image_02112025_02_46_10_2487.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/af26652e1f1800d63f06f2912dc4a046.jpg","text":"TemporaryFile(/tmp/multipartBody4209672993529911075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120804513,"filename":"image_02112025_02_46_06_3326.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e07ffc66c2c4260e218168644cb04f95.jpg","text":"TemporaryFile(/tmp/multipartBody5314135483952066441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120804513,"filename":"image_02112025_02_45_59_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/2/bbc641c03f684c5a53835622d987177d.jpg","text":"TemporaryFile(/tmp/multipartBody7215508154034030147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120804513,"filename":"image_02112025_02_46_08_1870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bf12513b7fdd0c328b58861ac799f63e.jpg","text":"TemporaryFile(/tmp/multipartBody3804247677370165325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120804513,"filename":"image_02112025_02_46_01_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/2/e374937ae38d32df1e9fc5ca55bd9b03.jpg","text":"TemporaryFile(/tmp/multipartBody5542056762385375710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120804513,"filename":"image_02112025_02_46_02_1638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391932943","file1":"1391932940","file0":"1391932939","file4":"1391932948","file5":"1391932951","file3":"1391932945"},"map_files_photo_id_array":[{"photo_id":"1391932951","filename":"file5"},{"photo_id":"1391932943","filename":"file2"},{"photo_id":"1391932948","filename":"file4"},{"photo_id":"1391932940","filename":"file1"},{"photo_id":"1391932939","filename":"file0"},{"photo_id":"1391932945","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391932951":["hashtag1","hashtag2"]},{"1391932945":["hashtag1","hashtag2"]},{"1391932939":["hashtag1","hashtag2"]},{"1391932948":["hashtag1","hashtag2"]},{"1391932940":["hashtag1","hashtag2"]},{"1391932943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391932951, 1391932945, 1391932939, 1391932948, 1391932940, 1391932943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89786171913147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 22:59:42.548038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_14_3662.jpg', '/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_17_2721.jpg', '/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_19_2823.jpg', '/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_22_2850.jpg', '/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_26_3591.jpg', '/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_28_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_14_3662.jpg
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_17_2721.jpg
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_19_2823.jpg
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_22_2850.jpg
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_26_3591.jpg
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_28_2570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391933062","1391933143","1391933221","1391933101","1391933181","1391933021"],"photo_ids_order":["1391933021","1391933062","1391933101","1391933143","1391933181","1391933221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8fe8956c41fa816f2fb8c48361035d9c.jpg","text":"TemporaryFile(/tmp/multipartBody4338848393415989453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120843378,"filename":"image_02112025_02_46_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/2/fc9902e14c5e57d040681d96fbc38b80.jpg","text":"TemporaryFile(/tmp/multipartBody7544000222030208045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120843378,"filename":"image_02112025_02_46_22_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/2/95fcc918f963b425823b173a98f5874d.jpg","text":"TemporaryFile(/tmp/multipartBody3497290476708855457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120843378,"filename":"image_02112025_02_46_28_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/2/8bf4040322f06f719e0dd6ee12ae86cd.jpg","text":"TemporaryFile(/tmp/multipartBody8952974215708611072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120843378,"filename":"image_02112025_02_46_19_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/2/5d498e9577b6635e376e37411338254e.jpg","text":"TemporaryFile(/tmp/multipartBody3894957630335506478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120843378,"filename":"image_02112025_02_46_26_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/2/72f0019d7687627751b5e28cab01de34.jpg","text":"TemporaryFile(/tmp/multipartBody3639839297462763103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120843378,"filename":"image_02112025_02_46_14_3662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391933101","file1":"1391933062","file0":"1391933021","file4":"1391933181","file5":"1391933221","file3":"1391933143"},"map_files_photo_id_array":[{"photo_id":"1391933221","filename":"file5"},{"photo_id":"1391933101","filename":"file2"},{"photo_id":"1391933181","filename":"file4"},{"photo_id":"1391933062","filename":"file1"},{"photo_id":"1391933021","filename":"file0"},{"photo_id":"1391933143","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391933062":["hashtag1","hashtag2"]},{"1391933143":["hashtag1","hashtag2"]},{"1391933221":["hashtag1","hashtag2"]},{"1391933101":["hashtag1","hashtag2"]},{"1391933181":["hashtag1","hashtag2"]},{"1391933021":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391933062, 1391933143, 1391933221, 1391933101, 1391933181, 1391933021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08286690711975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:00:22.732513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_31_2668.jpg', '/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_35_3701.jpg', '/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_37_2711.jpg', '/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_40_2807.jpg', '/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_44_3624.jpg', '/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_46_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_31_2668.jpg
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_35_3701.jpg
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_37_2711.jpg
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_40_2807.jpg
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_44_3624.jpg
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_46_2632.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7190992832183838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:00:42.738703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_31_2668.jpg', '/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_35_3701.jpg', '/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_37_2711.jpg', '/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_40_2807.jpg', '/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_44_3624.jpg', '/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_46_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_31_2668.jpg
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_35_3701.jpg
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_37_2711.jpg
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_40_2807.jpg
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_44_3624.jpg
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_46_2632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391933476","1391933481","1391933472","1391933469","1391933483","1391933479"],"photo_ids_order":["1391933469","1391933472","1391933476","1391933479","1391933481","1391933483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/de7ee80463f3c2f26a674e40ae61cff7.jpg","text":"TemporaryFile(/tmp/multipartBody5813913388241407788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120903544,"filename":"image_02112025_02_46_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/2/98e4f31cd9d17eaa0a3769f4bd6470ef.jpg","text":"TemporaryFile(/tmp/multipartBody9055702500444652474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120903544,"filename":"image_02112025_02_46_44_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/2/49d2456cb79088a96f472e7bb67f9338.jpg","text":"TemporaryFile(/tmp/multipartBody6296182552131158087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120903544,"filename":"image_02112025_02_46_35_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/2/67ddc67e696c47db88fbeecf62bf7cdf.jpg","text":"TemporaryFile(/tmp/multipartBody2103382049414788627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120903544,"filename":"image_02112025_02_46_31_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/2/820070ad659c6cb7bb595a607ca7cf8b.jpg","text":"TemporaryFile(/tmp/multipartBody8341487369560779048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120903544,"filename":"image_02112025_02_46_46_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/2/1e5e811e61329e10d2e1f71485ed9cda.jpg","text":"TemporaryFile(/tmp/multipartBody109866864394351064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120903544,"filename":"image_02112025_02_46_40_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391933476","file1":"1391933472","file0":"1391933469","file4":"1391933481","file5":"1391933483","file3":"1391933479"},"map_files_photo_id_array":[{"photo_id":"1391933483","filename":"file5"},{"photo_id":"1391933476","filename":"file2"},{"photo_id":"1391933481","filename":"file4"},{"photo_id":"1391933472","filename":"file1"},{"photo_id":"1391933469","filename":"file0"},{"photo_id":"1391933479","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391933476":["hashtag1","hashtag2"]},{"1391933481":["hashtag1","hashtag2"]},{"1391933472":["hashtag1","hashtag2"]},{"1391933469":["hashtag1","hashtag2"]},{"1391933483":["hashtag1","hashtag2"]},{"1391933479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391933476, 1391933481, 1391933472, 1391933469, 1391933483, 1391933479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.299248695373535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:01:21.884345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_49_2567.jpg', '/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_53_3589.jpg', '/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_55_2786.jpg', '/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_58_2537.jpg', '/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_02_3562.jpg', '/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_04_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_49_2567.jpg
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_53_3589.jpg
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_55_2786.jpg
/home/pi/Desktop/images/02112025/02/46/image_02112025_02_46_58_2537.jpg
/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_02_3562.jpg
/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_04_2636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391933764","1391933815","1391933874","1391933928","1391933980","1391933677"],"photo_ids_order":["1391933677","1391933764","1391933815","1391933874","1391933928","1391933980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/133ecf99b8ce01d6d66a85d2bac3c4a1.jpg","text":"TemporaryFile(/tmp/multipartBody1375035594091149721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120942697,"filename":"image_02112025_02_46_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/2/ee93f9a8e76172320aa38ef97255f3b4.jpg","text":"TemporaryFile(/tmp/multipartBody8547046153975838025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120942697,"filename":"image_02112025_02_46_55_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/2/8a457a707559ff7022b1142ca156c1de.jpg","text":"TemporaryFile(/tmp/multipartBody8235063025242097692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120942697,"filename":"image_02112025_02_46_58_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/2/7dbdd5652c62d630bbdc921ecc0c70ca.jpg","text":"TemporaryFile(/tmp/multipartBody5101791168570923248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120942697,"filename":"image_02112025_02_47_02_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/2/ef09d77fe997b78b5f5e52b236dedfa2.jpg","text":"TemporaryFile(/tmp/multipartBody6860667239559701113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120942697,"filename":"image_02112025_02_47_04_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/2/3b6bc04536fb5ec5075416e783283578.jpg","text":"TemporaryFile(/tmp/multipartBody7397579683156738728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120942697,"filename":"image_02112025_02_46_49_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391933815","file1":"1391933764","file0":"1391933677","file4":"1391933928","file5":"1391933980","file3":"1391933874"},"map_files_photo_id_array":[{"photo_id":"1391933980","filename":"file5"},{"photo_id":"1391933815","filename":"file2"},{"photo_id":"1391933928","filename":"file4"},{"photo_id":"1391933764","filename":"file1"},{"photo_id":"1391933677","filename":"file0"},{"photo_id":"1391933874","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391933764":["hashtag1","hashtag2"]},{"1391933815":["hashtag1","hashtag2"]},{"1391933874":["hashtag1","hashtag2"]},{"1391933928":["hashtag1","hashtag2"]},{"1391933980":["hashtag1","hashtag2"]},{"1391933677":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391933764, 1391933815, 1391933874, 1391933928, 1391933980, 1391933677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.105353593826294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:02:02.626095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_17_12394.jpg', '/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_18_1543.jpg', '/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_20_1703.jpg', '/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_22_1727.jpg', '/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_23_1805.jpg', '/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_25_1647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_17_12394.jpg
/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_18_1543.jpg
/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_20_1703.jpg
/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_22_1727.jpg
/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_23_1805.jpg
/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_25_1647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391934279","1391934354","1391934317","1391934203","1391934241","1391934163"],"photo_ids_order":["1391934163","1391934203","1391934241","1391934279","1391934317","1391934354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/093ed3ccbc0e2633210be6850cabf4a6.jpg","text":"TemporaryFile(/tmp/multipartBody7472890635033568103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120983544,"filename":"image_02112025_02_47_22_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/2/6aad2553e0e10f3ebe6ec40ba5837b7c.jpg","text":"TemporaryFile(/tmp/multipartBody6955000934462225104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120983544,"filename":"image_02112025_02_47_25_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/2/50d7fd8252fb9f4da56f6495c355e090.jpg","text":"TemporaryFile(/tmp/multipartBody8912547758000131251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120983544,"filename":"image_02112025_02_47_23_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/2/4cd6a9dd765ec32347aae030110e5988.jpg","text":"TemporaryFile(/tmp/multipartBody5061486917824804823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120983544,"filename":"image_02112025_02_47_18_1543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ae2b25b951e3649e265ac16c9b70b1ee.jpg","text":"TemporaryFile(/tmp/multipartBody2151778516853784531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120983544,"filename":"image_02112025_02_47_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/2/1310d544a561919b32469d943c75cf98.jpg","text":"TemporaryFile(/tmp/multipartBody6667694834607446102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762120983544,"filename":"image_02112025_02_47_17_12394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391934241","file1":"1391934203","file0":"1391934163","file4":"1391934317","file5":"1391934354","file3":"1391934279"},"map_files_photo_id_array":[{"photo_id":"1391934354","filename":"file5"},{"photo_id":"1391934241","filename":"file2"},{"photo_id":"1391934317","filename":"file4"},{"photo_id":"1391934203","filename":"file1"},{"photo_id":"1391934163","filename":"file0"},{"photo_id":"1391934279","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391934279":["hashtag1","hashtag2"]},{"1391934354":["hashtag1","hashtag2"]},{"1391934317":["hashtag1","hashtag2"]},{"1391934203":["hashtag1","hashtag2"]},{"1391934241":["hashtag1","hashtag2"]},{"1391934163":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391934279, 1391934354, 1391934317, 1391934203, 1391934241, 1391934163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.11917281150818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:02:42.129917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_27_1812.jpg', '/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_28_1644.jpg', '/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_31_2650.jpg', '/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_35_3722.jpg', '/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_37_2652.jpg', '/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_40_2701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_27_1812.jpg
/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_28_1644.jpg
/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_31_2650.jpg
/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_35_3722.jpg
/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_37_2652.jpg
/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_40_2701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391934634","1391934517","1391934672","1391934555","1391934711","1391934595"],"photo_ids_order":["1391934517","1391934555","1391934595","1391934634","1391934672","1391934711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8f20f6025d856d9f881864d3c0919b6e.jpg","text":"TemporaryFile(/tmp/multipartBody612253487314356106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121023036,"filename":"image_02112025_02_47_35_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/2/62d0fc4b98292f6a763de328133f6661.jpg","text":"TemporaryFile(/tmp/multipartBody4972868291112059253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121023036,"filename":"image_02112025_02_47_27_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/2/5a8bbb6862b6a948d122efbaa75ffe02.jpg","text":"TemporaryFile(/tmp/multipartBody2218178228443773666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121023036,"filename":"image_02112025_02_47_37_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/2/616396ac730a386c809e6b8a6459c3a5.jpg","text":"TemporaryFile(/tmp/multipartBody4710193746225332191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121023036,"filename":"image_02112025_02_47_28_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/2/6779296cd3c64c71c283e106a8802ffb.jpg","text":"TemporaryFile(/tmp/multipartBody4302052388017466286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121023036,"filename":"image_02112025_02_47_40_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/2/ea6e13441e1a5df72507924f2b2694b2.jpg","text":"TemporaryFile(/tmp/multipartBody1313775467133099183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121023036,"filename":"image_02112025_02_47_31_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391934595","file1":"1391934555","file0":"1391934517","file4":"1391934672","file5":"1391934711","file3":"1391934634"},"map_files_photo_id_array":[{"photo_id":"1391934711","filename":"file5"},{"photo_id":"1391934595","filename":"file2"},{"photo_id":"1391934672","filename":"file4"},{"photo_id":"1391934555","filename":"file1"},{"photo_id":"1391934517","filename":"file0"},{"photo_id":"1391934634","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391934634":["hashtag1","hashtag2"]},{"1391934517":["hashtag1","hashtag2"]},{"1391934672":["hashtag1","hashtag2"]},{"1391934555":["hashtag1","hashtag2"]},{"1391934711":["hashtag1","hashtag2"]},{"1391934595":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391934634, 1391934517, 1391934672, 1391934555, 1391934711, 1391934595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84760069847107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:03:22.333106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_43_2709.jpg', '/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_47_3765.jpg', '/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_52_2631.jpg', '/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_09_17219.jpg', '/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_11_1696.jpg', '/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_12_1666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_43_2709.jpg
/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_47_3765.jpg
/home/pi/Desktop/images/02112025/02/47/image_02112025_02_47_52_2631.jpg
/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_09_17219.jpg
/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_11_1696.jpg
/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_12_1666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391935020","1391935023","1391934954","1391935001","1391934914","1391934871"],"photo_ids_order":["1391934871","1391934914","1391934954","1391935001","1391935020","1391935023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bdb78f1b87cdf3b46dbd48cf2a8aab57.jpg","text":"TemporaryFile(/tmp/multipartBody5891735327203065353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121063188,"filename":"image_02112025_02_48_11_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/2/3dda2b23cb926b10e6485e8c8c3253c7.jpg","text":"TemporaryFile(/tmp/multipartBody4663047123771797479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121063188,"filename":"image_02112025_02_48_12_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/2/4cf64226056e4281c82fa8dbcdd6ed3f.jpg","text":"TemporaryFile(/tmp/multipartBody7487958788990264010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121063188,"filename":"image_02112025_02_47_52_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/2/b99dc3afb6d2d7fa5d9ea0f4fe9c78ff.jpg","text":"TemporaryFile(/tmp/multipartBody3774822644659849120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121063188,"filename":"image_02112025_02_48_09_17219.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cfd5db4cbdb4056d61c8de05a1462b36.jpg","text":"TemporaryFile(/tmp/multipartBody2780771620265682935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121063188,"filename":"image_02112025_02_47_47_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/2/63742846d7d6532f0616cbfe1bec7ee0.jpg","text":"TemporaryFile(/tmp/multipartBody5169853143528506263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121063188,"filename":"image_02112025_02_47_43_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391934954","file1":"1391934914","file0":"1391934871","file4":"1391935020","file5":"1391935023","file3":"1391935001"},"map_files_photo_id_array":[{"photo_id":"1391935023","filename":"file5"},{"photo_id":"1391934954","filename":"file2"},{"photo_id":"1391935020","filename":"file4"},{"photo_id":"1391934914","filename":"file1"},{"photo_id":"1391934871","filename":"file0"},{"photo_id":"1391935001","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391935020":["hashtag1","hashtag2"]},{"1391935023":["hashtag1","hashtag2"]},{"1391934954":["hashtag1","hashtag2"]},{"1391935001":["hashtag1","hashtag2"]},{"1391934914":["hashtag1","hashtag2"]},{"1391934871":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391935020, 1391935023, 1391934954, 1391935001, 1391934914, 1391934871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52313733100891 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:04:03.268681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_14_1683.jpg', '/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_18_1706.jpg', '/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_19_1582.jpg', '/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_21_1743.jpg', '/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_23_1671.jpg', '/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_24_1607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_14_1683.jpg
/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_18_1706.jpg
/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_19_1582.jpg
/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_21_1743.jpg
/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_23_1671.jpg
/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_24_1607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391935038","1391935031","1391935034","1391935028","1391935033","1391935036"],"photo_ids_order":["1391935028","1391935031","1391935033","1391935034","1391935036","1391935038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1cfa90523504b45c614208fee7d536c0.jpg","text":"TemporaryFile(/tmp/multipartBody7212601830116671174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121104295,"filename":"image_02112025_02_48_24_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/2/954cadce1aa9d3ac3278b550580e7b40.jpg","text":"TemporaryFile(/tmp/multipartBody7405203506385478191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121104295,"filename":"image_02112025_02_48_18_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0c5dfc1be4d15781349cc9b045677f92.jpg","text":"TemporaryFile(/tmp/multipartBody1482462101973864179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121104295,"filename":"image_02112025_02_48_21_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/2/c914577c95a4cc3cdf355693c1d681b8.jpg","text":"TemporaryFile(/tmp/multipartBody4108025148631339769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121104295,"filename":"image_02112025_02_48_14_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2dcac27b30c0d7169335777131ad9178.jpg","text":"TemporaryFile(/tmp/multipartBody3600631979155306486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121104295,"filename":"image_02112025_02_48_19_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8dfefdd86293b1bf966586d1ee6afbaf.jpg","text":"TemporaryFile(/tmp/multipartBody6695080781591451436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121104295,"filename":"image_02112025_02_48_23_1671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391935033","file1":"1391935031","file0":"1391935028","file4":"1391935036","file5":"1391935038","file3":"1391935034"},"map_files_photo_id_array":[{"photo_id":"1391935038","filename":"file5"},{"photo_id":"1391935033","filename":"file2"},{"photo_id":"1391935036","filename":"file4"},{"photo_id":"1391935031","filename":"file1"},{"photo_id":"1391935028","filename":"file0"},{"photo_id":"1391935034","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391935038":["hashtag1","hashtag2"]},{"1391935031":["hashtag1","hashtag2"]},{"1391935034":["hashtag1","hashtag2"]},{"1391935028":["hashtag1","hashtag2"]},{"1391935033":["hashtag1","hashtag2"]},{"1391935036":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391935038, 1391935031, 1391935034, 1391935028, 1391935033, 1391935036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46199440956116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:04:42.587273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_26_1870.jpg', '/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_29_2650.jpg', '/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_31_2614.jpg', '/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_38_3747.jpg', '/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_40_2731.jpg', '/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_49_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_26_1870.jpg
/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_29_2650.jpg
/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_31_2614.jpg
/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_38_3747.jpg
/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_40_2731.jpg
/home/pi/Desktop/images/02112025/02/48/image_02112025_02_48_49_2676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391935056","1391935053","1391935047","1391935049","1391935051","1391935045"],"photo_ids_order":["1391935045","1391935047","1391935049","1391935051","1391935053","1391935056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3bc6dbf19292b2f6b91eea100b8d0968.jpg","text":"TemporaryFile(/tmp/multipartBody6335006415566718685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121143530,"filename":"image_02112025_02_48_49_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/2/14e08c313a087ca9c91a21fa90698155.jpg","text":"TemporaryFile(/tmp/multipartBody15133429436367101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121143530,"filename":"image_02112025_02_48_40_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/2/1bdda0cea187ec219a8ee866894e64f6.jpg","text":"TemporaryFile(/tmp/multipartBody6074441182028193922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121143530,"filename":"image_02112025_02_48_29_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/2/a535cb5df04e099abee659c802cd1301.jpg","text":"TemporaryFile(/tmp/multipartBody3119368565124757008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121143530,"filename":"image_02112025_02_48_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/2/43679cf5c3eb69af60a77c09a3801a29.jpg","text":"TemporaryFile(/tmp/multipartBody693097777813790773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121143530,"filename":"image_02112025_02_48_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/2/1d096fceef6848af8e51d6d1b62f77c5.jpg","text":"TemporaryFile(/tmp/multipartBody8545466133325351021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121143530,"filename":"image_02112025_02_48_26_1870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391935049","file1":"1391935047","file0":"1391935045","file4":"1391935053","file5":"1391935056","file3":"1391935051"},"map_files_photo_id_array":[{"photo_id":"1391935056","filename":"file5"},{"photo_id":"1391935049","filename":"file2"},{"photo_id":"1391935053","filename":"file4"},{"photo_id":"1391935047","filename":"file1"},{"photo_id":"1391935045","filename":"file0"},{"photo_id":"1391935051","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391935056":["hashtag1","hashtag2"]},{"1391935053":["hashtag1","hashtag2"]},{"1391935047":["hashtag1","hashtag2"]},{"1391935049":["hashtag1","hashtag2"]},{"1391935051":["hashtag1","hashtag2"]},{"1391935045":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391935056, 1391935053, 1391935047, 1391935049, 1391935051, 1391935045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.564356088638306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:05:22.772387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/49/image_02112025_02_49_01_2682.jpg', '/home/pi/Desktop/images/02112025/02/49/image_02112025_02_49_05_3747.jpg', '/home/pi/Desktop/images/02112025/02/49/image_02112025_02_49_10_3079.jpg', '/home/pi/Desktop/images/02112025/02/49/image_02112025_02_49_22_2815.jpg', '/home/pi/Desktop/images/02112025/02/49/image_02112025_02_49_31_2622.jpg', '/home/pi/Desktop/images/02112025/02/49/image_02112025_02_49_38_3762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/49/image_02112025_02_49_01_2682.jpg
/home/pi/Desktop/images/02112025/02/49/image_02112025_02_49_05_3747.jpg
/home/pi/Desktop/images/02112025/02/49/image_02112025_02_49_10_3079.jpg
/home/pi/Desktop/images/02112025/02/49/image_02112025_02_49_22_2815.jpg
/home/pi/Desktop/images/02112025/02/49/image_02112025_02_49_31_2622.jpg
/home/pi/Desktop/images/02112025/02/49/image_02112025_02_49_38_3762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391935161","1391935116","1391935203","1391935241","1391935319","1391935279"],"photo_ids_order":["1391935116","1391935161","1391935203","1391935241","1391935279","1391935319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8077c4d37c3d1def9bb0152f7e564a24.jpg","text":"TemporaryFile(/tmp/multipartBody6004807702427909023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121187411,"filename":"image_02112025_02_49_05_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/2/01b66dd9eb243e4a5697df22d1d18d6f.jpg","text":"TemporaryFile(/tmp/multipartBody136453198149606988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121187411,"filename":"image_02112025_02_49_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/2/c8731dcd6c7494ea3e781af1783f711d.jpg","text":"TemporaryFile(/tmp/multipartBody5074237341282972829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121187411,"filename":"image_02112025_02_49_10_3079.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4992b7d7400e694adb4cf522c62b004c.jpg","text":"TemporaryFile(/tmp/multipartBody2284560518771525822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121187411,"filename":"image_02112025_02_49_22_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/2/3bf26f614a886b05846762d93e3bc37d.jpg","text":"TemporaryFile(/tmp/multipartBody4819592224684360234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121187411,"filename":"image_02112025_02_49_38_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/2/f142563a98fdb6433a0f16c447a612c7.jpg","text":"TemporaryFile(/tmp/multipartBody4729783178522746228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121187411,"filename":"image_02112025_02_49_31_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391935203","file1":"1391935161","file0":"1391935116","file4":"1391935279","file5":"1391935319","file3":"1391935241"},"map_files_photo_id_array":[{"photo_id":"1391935319","filename":"file5"},{"photo_id":"1391935203","filename":"file2"},{"photo_id":"1391935279","filename":"file4"},{"photo_id":"1391935161","filename":"file1"},{"photo_id":"1391935116","filename":"file0"},{"photo_id":"1391935241","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391935161":["hashtag1","hashtag2"]},{"1391935116":["hashtag1","hashtag2"]},{"1391935203":["hashtag1","hashtag2"]},{"1391935241":["hashtag1","hashtag2"]},{"1391935319":["hashtag1","hashtag2"]},{"1391935279":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391935161, 1391935116, 1391935203, 1391935241, 1391935319, 1391935279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.37146759033203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:06:21.903842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/49/image_02112025_02_49_43_2602.jpg', '/home/pi/Desktop/images/02112025/02/49/image_02112025_02_49_49_2814.jpg', '/home/pi/Desktop/images/02112025/02/49/image_02112025_02_49_58_2724.jpg', '/home/pi/Desktop/images/02112025/02/50/image_02112025_02_50_34_3586.jpg', '/home/pi/Desktop/images/02112025/02/50/image_02112025_02_50_37_2529.jpg', '/home/pi/Desktop/images/02112025/02/50/image_02112025_02_50_46_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/49/image_02112025_02_49_43_2602.jpg
/home/pi/Desktop/images/02112025/02/49/image_02112025_02_49_49_2814.jpg
/home/pi/Desktop/images/02112025/02/49/image_02112025_02_49_58_2724.jpg
/home/pi/Desktop/images/02112025/02/50/image_02112025_02_50_34_3586.jpg
/home/pi/Desktop/images/02112025/02/50/image_02112025_02_50_37_2529.jpg
/home/pi/Desktop/images/02112025/02/50/image_02112025_02_50_46_2773.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391935650","1391935653","1391935658","1391935604","1391935618","1391935600"],"photo_ids_order":["1391935600","1391935604","1391935618","1391935650","1391935653","1391935658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/fee51e5efc4303cb8f51664c73775efe.jpg","text":"TemporaryFile(/tmp/multipartBody4166975882503934237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121242898,"filename":"image_02112025_02_50_34_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/2/64a92917c38efec4da84ec934b4d338a.jpg","text":"TemporaryFile(/tmp/multipartBody5994636162632726768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121242898,"filename":"image_02112025_02_50_37_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/2/1a0bd80ab129024199248da7eb6825a7.jpg","text":"TemporaryFile(/tmp/multipartBody856053994365089564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121242898,"filename":"image_02112025_02_50_46_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/2/71f3662b96186f3d8094c9a07bf5b3e1.jpg","text":"TemporaryFile(/tmp/multipartBody7653793496739518995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121242898,"filename":"image_02112025_02_49_49_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/2/e3a1f7c59b8622e41e14118bae0ce7e9.jpg","text":"TemporaryFile(/tmp/multipartBody2582573250551176301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121242898,"filename":"image_02112025_02_49_58_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/2/17f7de128eec635ae5b9a7382c06cc1a.jpg","text":"TemporaryFile(/tmp/multipartBody134492908475255143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121242898,"filename":"image_02112025_02_49_43_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391935618","file1":"1391935604","file0":"1391935600","file4":"1391935653","file5":"1391935658","file3":"1391935650"},"map_files_photo_id_array":[{"photo_id":"1391935658","filename":"file5"},{"photo_id":"1391935618","filename":"file2"},{"photo_id":"1391935653","filename":"file4"},{"photo_id":"1391935604","filename":"file1"},{"photo_id":"1391935600","filename":"file0"},{"photo_id":"1391935650","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391935650":["hashtag1","hashtag2"]},{"1391935653":["hashtag1","hashtag2"]},{"1391935658":["hashtag1","hashtag2"]},{"1391935604":["hashtag1","hashtag2"]},{"1391935618":["hashtag1","hashtag2"]},{"1391935600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391935650, 1391935653, 1391935658, 1391935604, 1391935618, 1391935600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.734710454940796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:07:02.737974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/51/image_02112025_02_51_01_2694.jpg', '/home/pi/Desktop/images/02112025/02/51/image_02112025_02_51_07_2569.jpg', '/home/pi/Desktop/images/02112025/02/51/image_02112025_02_51_13_3628.jpg', '/home/pi/Desktop/images/02112025/02/51/image_02112025_02_51_16_2785.jpg', '/home/pi/Desktop/images/02112025/02/51/image_02112025_02_51_25_2820.jpg', '/home/pi/Desktop/images/02112025/02/51/image_02112025_02_51_27_2275.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/51/image_02112025_02_51_01_2694.jpg
/home/pi/Desktop/images/02112025/02/51/image_02112025_02_51_07_2569.jpg
/home/pi/Desktop/images/02112025/02/51/image_02112025_02_51_13_3628.jpg
/home/pi/Desktop/images/02112025/02/51/image_02112025_02_51_16_2785.jpg
/home/pi/Desktop/images/02112025/02/51/image_02112025_02_51_25_2820.jpg
/home/pi/Desktop/images/02112025/02/51/image_02112025_02_51_27_2275.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391935740","1391935730","1391935733","1391935727","1391935735","1391935738"],"photo_ids_order":["1391935727","1391935730","1391935733","1391935735","1391935738","1391935740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/80b082985324c07b522217d22d0df3f7.jpg","text":"TemporaryFile(/tmp/multipartBody8390273318859302645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121283802,"filename":"image_02112025_02_51_27_2275.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8a987cc536e2af505e07bdcd21488ca0.jpg","text":"TemporaryFile(/tmp/multipartBody857952377860882201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121283802,"filename":"image_02112025_02_51_07_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/2/df1ac9c35653208fcc5d54a4e2048857.jpg","text":"TemporaryFile(/tmp/multipartBody6685379910378030834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121283802,"filename":"image_02112025_02_51_13_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/2/f26e0c9c9522ab345e3bf28360f6274b.jpg","text":"TemporaryFile(/tmp/multipartBody4633921349889012943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121283802,"filename":"image_02112025_02_51_01_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/2/c3b6ed0016336769fa85c2c80bf963d5.jpg","text":"TemporaryFile(/tmp/multipartBody3406105463287138886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121283802,"filename":"image_02112025_02_51_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/2/702361937fac1a94d5d81f84f3d49a3f.jpg","text":"TemporaryFile(/tmp/multipartBody1236531169913649840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121283802,"filename":"image_02112025_02_51_25_2820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391935733","file1":"1391935730","file0":"1391935727","file4":"1391935738","file5":"1391935740","file3":"1391935735"},"map_files_photo_id_array":[{"photo_id":"1391935740","filename":"file5"},{"photo_id":"1391935733","filename":"file2"},{"photo_id":"1391935738","filename":"file4"},{"photo_id":"1391935730","filename":"file1"},{"photo_id":"1391935727","filename":"file0"},{"photo_id":"1391935735","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391935740":["hashtag1","hashtag2"]},{"1391935730":["hashtag1","hashtag2"]},{"1391935733":["hashtag1","hashtag2"]},{"1391935727":["hashtag1","hashtag2"]},{"1391935735":["hashtag1","hashtag2"]},{"1391935738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391935740, 1391935730, 1391935733, 1391935727, 1391935735, 1391935738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.599921464920044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:07:42.150765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/51/image_02112025_02_51_31_3590.jpg', '/home/pi/Desktop/images/02112025/02/51/image_02112025_02_51_46_1598.jpg', '/home/pi/Desktop/images/02112025/02/51/image_02112025_02_51_49_3678.jpg', '/home/pi/Desktop/images/02112025/02/51/image_02112025_02_51_52_2745.jpg', '/home/pi/Desktop/images/02112025/02/51/image_02112025_02_51_58_3736.jpg', '/home/pi/Desktop/images/02112025/02/52/image_02112025_02_52_10_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/51/image_02112025_02_51_31_3590.jpg
/home/pi/Desktop/images/02112025/02/51/image_02112025_02_51_46_1598.jpg
/home/pi/Desktop/images/02112025/02/51/image_02112025_02_51_49_3678.jpg
/home/pi/Desktop/images/02112025/02/51/image_02112025_02_51_52_2745.jpg
/home/pi/Desktop/images/02112025/02/51/image_02112025_02_51_58_3736.jpg
/home/pi/Desktop/images/02112025/02/52/image_02112025_02_52_10_2627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391935752","1391935754","1391935751","1391935745","1391935750","1391935753"],"photo_ids_order":["1391935745","1391935750","1391935751","1391935752","1391935753","1391935754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/140a1a532d5f268afb923e1de89ab541.jpg","text":"TemporaryFile(/tmp/multipartBody4139813145330866748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121323062,"filename":"image_02112025_02_51_52_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/2/314d2351cbce1fcab4da0d88fc9f4e35.jpg","text":"TemporaryFile(/tmp/multipartBody7464493949400410004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121323062,"filename":"image_02112025_02_52_10_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/2/86c699d0bb69b04cfd3ae987f84239ef.jpg","text":"TemporaryFile(/tmp/multipartBody1504263812931935596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121323062,"filename":"image_02112025_02_51_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/2/1cecdecea7ae9a9a41678c1fbded860a.jpg","text":"TemporaryFile(/tmp/multipartBody2743176084010674214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121323062,"filename":"image_02112025_02_51_31_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/2/4a9f8f64581607360c6e02d2e5fd711a.jpg","text":"TemporaryFile(/tmp/multipartBody3485580019354663972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121323062,"filename":"image_02112025_02_51_46_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/2/a5d334944fc05f926aab175dd1a4f883.jpg","text":"TemporaryFile(/tmp/multipartBody8732607794364796551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121323062,"filename":"image_02112025_02_51_58_3736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391935751","file1":"1391935750","file0":"1391935745","file4":"1391935753","file5":"1391935754","file3":"1391935752"},"map_files_photo_id_array":[{"photo_id":"1391935754","filename":"file5"},{"photo_id":"1391935751","filename":"file2"},{"photo_id":"1391935753","filename":"file4"},{"photo_id":"1391935750","filename":"file1"},{"photo_id":"1391935745","filename":"file0"},{"photo_id":"1391935752","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391935752":["hashtag1","hashtag2"]},{"1391935754":["hashtag1","hashtag2"]},{"1391935751":["hashtag1","hashtag2"]},{"1391935745":["hashtag1","hashtag2"]},{"1391935750":["hashtag1","hashtag2"]},{"1391935753":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391935752, 1391935754, 1391935751, 1391935745, 1391935750, 1391935753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86591696739197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:08:22.399507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/52/image_02112025_02_52_13_2758.jpg', '/home/pi/Desktop/images/02112025/02/52/image_02112025_02_52_19_2652.jpg', '/home/pi/Desktop/images/02112025/02/52/image_02112025_02_52_22_2701.jpg', '/home/pi/Desktop/images/02112025/02/52/image_02112025_02_52_28_3538.jpg', '/home/pi/Desktop/images/02112025/02/52/image_02112025_02_52_34_2764.jpg', '/home/pi/Desktop/images/02112025/02/52/image_02112025_02_52_37_3602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/52/image_02112025_02_52_13_2758.jpg
/home/pi/Desktop/images/02112025/02/52/image_02112025_02_52_19_2652.jpg
/home/pi/Desktop/images/02112025/02/52/image_02112025_02_52_22_2701.jpg
/home/pi/Desktop/images/02112025/02/52/image_02112025_02_52_28_3538.jpg
/home/pi/Desktop/images/02112025/02/52/image_02112025_02_52_34_2764.jpg
/home/pi/Desktop/images/02112025/02/52/image_02112025_02_52_37_3602.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391935770","1391935769","1391935771","1391935765","1391935774","1391935768"],"photo_ids_order":["1391935765","1391935768","1391935769","1391935770","1391935771","1391935774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/89270f2a04660e9909b69d5f3670b734.jpg","text":"TemporaryFile(/tmp/multipartBody2863005671828949605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121363252,"filename":"image_02112025_02_52_28_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/2/9061cd7d73e6995f957abce5b06a843d.jpg","text":"TemporaryFile(/tmp/multipartBody3554400032658499153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121363252,"filename":"image_02112025_02_52_22_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/2/5ebf4a592322c695a210a99518fad1bb.jpg","text":"TemporaryFile(/tmp/multipartBody4938575406894055728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121363252,"filename":"image_02112025_02_52_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/2/8a0693c26bf6f43f587fcbff65d92f4c.jpg","text":"TemporaryFile(/tmp/multipartBody7198739551605144354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121363252,"filename":"image_02112025_02_52_13_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/2/9340d4ddb6bc62ce602786dfeb463ca3.jpg","text":"TemporaryFile(/tmp/multipartBody5426256079910320736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121363252,"filename":"image_02112025_02_52_37_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/2/224b1178d678e01f29bf174c19e28a5d.jpg","text":"TemporaryFile(/tmp/multipartBody6009607216334753943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121363252,"filename":"image_02112025_02_52_19_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391935769","file1":"1391935768","file0":"1391935765","file4":"1391935771","file5":"1391935774","file3":"1391935770"},"map_files_photo_id_array":[{"photo_id":"1391935774","filename":"file5"},{"photo_id":"1391935769","filename":"file2"},{"photo_id":"1391935771","filename":"file4"},{"photo_id":"1391935768","filename":"file1"},{"photo_id":"1391935765","filename":"file0"},{"photo_id":"1391935770","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391935770":["hashtag1","hashtag2"]},{"1391935769":["hashtag1","hashtag2"]},{"1391935771":["hashtag1","hashtag2"]},{"1391935765":["hashtag1","hashtag2"]},{"1391935774":["hashtag1","hashtag2"]},{"1391935768":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391935770, 1391935769, 1391935771, 1391935765, 1391935774, 1391935768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.035428285598755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:09:03.396255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/52/image_02112025_02_52_40_2656.jpg', '/home/pi/Desktop/images/02112025/02/52/image_02112025_02_52_43_2717.jpg', '/home/pi/Desktop/images/02112025/02/52/image_02112025_02_52_46_3695.jpg', '/home/pi/Desktop/images/02112025/02/52/image_02112025_02_52_55_3680.jpg', '/home/pi/Desktop/images/02112025/02/53/image_02112025_02_53_01_2688.jpg', '/home/pi/Desktop/images/02112025/02/53/image_02112025_02_53_04_2913.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/52/image_02112025_02_52_40_2656.jpg
/home/pi/Desktop/images/02112025/02/52/image_02112025_02_52_43_2717.jpg
/home/pi/Desktop/images/02112025/02/52/image_02112025_02_52_46_3695.jpg
/home/pi/Desktop/images/02112025/02/52/image_02112025_02_52_55_3680.jpg
/home/pi/Desktop/images/02112025/02/53/image_02112025_02_53_01_2688.jpg
/home/pi/Desktop/images/02112025/02/53/image_02112025_02_53_04_2913.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391935787","1391935796","1391935783","1391935792","1391935789","1391935788"],"photo_ids_order":["1391935783","1391935787","1391935788","1391935789","1391935792","1391935796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5f4ccbd866c9296650347425a976a47a.jpg","text":"TemporaryFile(/tmp/multipartBody8546028734887455710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121404456,"filename":"image_02112025_02_52_43_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/2/3ade72fafcb598d6281fcb3d4f204711.jpg","text":"TemporaryFile(/tmp/multipartBody564482014873080483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121404456,"filename":"image_02112025_02_53_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/2/69980b70d34db19fc83b1634d982cb06.jpg","text":"TemporaryFile(/tmp/multipartBody1109842859907196693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121404456,"filename":"image_02112025_02_52_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/2/e65d97046e958de31b1643936f7f08f8.jpg","text":"TemporaryFile(/tmp/multipartBody5453639793591436443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121404456,"filename":"image_02112025_02_53_01_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/2/6ed366a52819c9300efcbe8006dd2845.jpg","text":"TemporaryFile(/tmp/multipartBody53583402115179058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121404456,"filename":"image_02112025_02_52_55_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/2/70d92830cec901bef3d23ae04506a2d2.jpg","text":"TemporaryFile(/tmp/multipartBody243779703822742643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121404456,"filename":"image_02112025_02_52_46_3695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391935788","file1":"1391935787","file0":"1391935783","file4":"1391935792","file5":"1391935796","file3":"1391935789"},"map_files_photo_id_array":[{"photo_id":"1391935796","filename":"file5"},{"photo_id":"1391935788","filename":"file2"},{"photo_id":"1391935792","filename":"file4"},{"photo_id":"1391935787","filename":"file1"},{"photo_id":"1391935783","filename":"file0"},{"photo_id":"1391935789","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391935787":["hashtag1","hashtag2"]},{"1391935796":["hashtag1","hashtag2"]},{"1391935783":["hashtag1","hashtag2"]},{"1391935792":["hashtag1","hashtag2"]},{"1391935789":["hashtag1","hashtag2"]},{"1391935788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391935787, 1391935796, 1391935783, 1391935792, 1391935789, 1391935788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75215530395508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:09:42.501752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/53/image_02112025_02_53_22_2796.jpg', '/home/pi/Desktop/images/02112025/02/53/image_02112025_02_53_31_2601.jpg', '/home/pi/Desktop/images/02112025/02/53/image_02112025_02_53_49_2614.jpg', '/home/pi/Desktop/images/02112025/02/54/image_02112025_02_54_07_3780.jpg', '/home/pi/Desktop/images/02112025/02/54/image_02112025_02_54_16_3639.jpg', '/home/pi/Desktop/images/02112025/02/54/image_02112025_02_54_18_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/53/image_02112025_02_53_22_2796.jpg
/home/pi/Desktop/images/02112025/02/53/image_02112025_02_53_31_2601.jpg
/home/pi/Desktop/images/02112025/02/53/image_02112025_02_53_49_2614.jpg
/home/pi/Desktop/images/02112025/02/54/image_02112025_02_54_07_3780.jpg
/home/pi/Desktop/images/02112025/02/54/image_02112025_02_54_16_3639.jpg
/home/pi/Desktop/images/02112025/02/54/image_02112025_02_54_18_2570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391935809","1391935817","1391935811","1391935805","1391935813","1391935807"],"photo_ids_order":["1391935805","1391935807","1391935809","1391935811","1391935813","1391935817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d731c3543388f7afd513243f67c5e3ce.jpg","text":"TemporaryFile(/tmp/multipartBody844326015329060430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121443396,"filename":"image_02112025_02_53_49_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/2/b9ab688c52b9440b4c6b38b40f26c068.jpg","text":"TemporaryFile(/tmp/multipartBody7118797919472112574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121443396,"filename":"image_02112025_02_54_18_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/2/6eb0616faef37d9e9695fdf2bd8d0172.jpg","text":"TemporaryFile(/tmp/multipartBody5719439277535014602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121443396,"filename":"image_02112025_02_54_07_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/2/ee8efa312a1f87a3411af782561ad702.jpg","text":"TemporaryFile(/tmp/multipartBody4313277797080895237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121443396,"filename":"image_02112025_02_53_22_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/2/9ff2cde4a5731d35120200e6874b262f.jpg","text":"TemporaryFile(/tmp/multipartBody6867786127221205655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121443396,"filename":"image_02112025_02_54_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/2/01ebbdf85da216079beecd606e710d6b.jpg","text":"TemporaryFile(/tmp/multipartBody3604820601778542338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121443396,"filename":"image_02112025_02_53_31_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391935809","file1":"1391935807","file0":"1391935805","file4":"1391935813","file5":"1391935817","file3":"1391935811"},"map_files_photo_id_array":[{"photo_id":"1391935817","filename":"file5"},{"photo_id":"1391935809","filename":"file2"},{"photo_id":"1391935813","filename":"file4"},{"photo_id":"1391935807","filename":"file1"},{"photo_id":"1391935805","filename":"file0"},{"photo_id":"1391935811","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391935809":["hashtag1","hashtag2"]},{"1391935817":["hashtag1","hashtag2"]},{"1391935811":["hashtag1","hashtag2"]},{"1391935805":["hashtag1","hashtag2"]},{"1391935813":["hashtag1","hashtag2"]},{"1391935807":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391935809, 1391935817, 1391935811, 1391935805, 1391935813, 1391935807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.416351079940796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:10:22.732101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/54/image_02112025_02_54_34_3633.jpg', '/home/pi/Desktop/images/02112025/02/54/image_02112025_02_54_39_2914.jpg', '/home/pi/Desktop/images/02112025/02/54/image_02112025_02_54_52_3563.jpg', '/home/pi/Desktop/images/02112025/02/55/image_02112025_02_55_22_2598.jpg', '/home/pi/Desktop/images/02112025/02/55/image_02112025_02_55_31_3699.jpg', '/home/pi/Desktop/images/02112025/02/55/image_02112025_02_55_34_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/54/image_02112025_02_54_34_3633.jpg
/home/pi/Desktop/images/02112025/02/54/image_02112025_02_54_39_2914.jpg
/home/pi/Desktop/images/02112025/02/54/image_02112025_02_54_52_3563.jpg
/home/pi/Desktop/images/02112025/02/55/image_02112025_02_55_22_2598.jpg
/home/pi/Desktop/images/02112025/02/55/image_02112025_02_55_31_3699.jpg
/home/pi/Desktop/images/02112025/02/55/image_02112025_02_55_34_2641.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.8176307678222656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:10:42.728711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/54/image_02112025_02_54_34_3633.jpg', '/home/pi/Desktop/images/02112025/02/54/image_02112025_02_54_39_2914.jpg', '/home/pi/Desktop/images/02112025/02/54/image_02112025_02_54_52_3563.jpg', '/home/pi/Desktop/images/02112025/02/55/image_02112025_02_55_22_2598.jpg', '/home/pi/Desktop/images/02112025/02/55/image_02112025_02_55_31_3699.jpg', '/home/pi/Desktop/images/02112025/02/55/image_02112025_02_55_34_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/54/image_02112025_02_54_34_3633.jpg
/home/pi/Desktop/images/02112025/02/54/image_02112025_02_54_39_2914.jpg
/home/pi/Desktop/images/02112025/02/54/image_02112025_02_54_52_3563.jpg
/home/pi/Desktop/images/02112025/02/55/image_02112025_02_55_22_2598.jpg
/home/pi/Desktop/images/02112025/02/55/image_02112025_02_55_31_3699.jpg
/home/pi/Desktop/images/02112025/02/55/image_02112025_02_55_34_2641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391935842","1391935839","1391935841","1391935844","1391935846","1391935843"],"photo_ids_order":["1391935839","1391935841","1391935842","1391935843","1391935844","1391935846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b992d08af828c5087dd7de343877f591.jpg","text":"TemporaryFile(/tmp/multipartBody6558636621431362846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121503988,"filename":"image_02112025_02_54_52_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/2/ec948bfa277a8e09f7724f6e9cec2dc2.jpg","text":"TemporaryFile(/tmp/multipartBody2142171482475633616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121503988,"filename":"image_02112025_02_54_34_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/2/2576a64276d1dff8f9baeb3769b87819.jpg","text":"TemporaryFile(/tmp/multipartBody9051891367185800631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121503988,"filename":"image_02112025_02_54_39_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/2/d0852b36b0726389912e94551ad8cb34.jpg","text":"TemporaryFile(/tmp/multipartBody1024151276839941240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121503988,"filename":"image_02112025_02_55_31_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/2/9731778ed97804c19a462950f9e5163e.jpg","text":"TemporaryFile(/tmp/multipartBody2387245199696866617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121503988,"filename":"image_02112025_02_55_34_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/2/af36d9d22060e64f56125d0333e97ce6.jpg","text":"TemporaryFile(/tmp/multipartBody820652131541144048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121503988,"filename":"image_02112025_02_55_22_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391935842","file1":"1391935841","file0":"1391935839","file4":"1391935844","file5":"1391935846","file3":"1391935843"},"map_files_photo_id_array":[{"photo_id":"1391935846","filename":"file5"},{"photo_id":"1391935842","filename":"file2"},{"photo_id":"1391935844","filename":"file4"},{"photo_id":"1391935841","filename":"file1"},{"photo_id":"1391935839","filename":"file0"},{"photo_id":"1391935843","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391935842":["hashtag1","hashtag2"]},{"1391935839":["hashtag1","hashtag2"]},{"1391935841":["hashtag1","hashtag2"]},{"1391935844":["hashtag1","hashtag2"]},{"1391935846":["hashtag1","hashtag2"]},{"1391935843":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391935842, 1391935839, 1391935841, 1391935844, 1391935846, 1391935843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73693513870239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:11:21.996607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/55/image_02112025_02_55_40_3526.jpg', '/home/pi/Desktop/images/02112025/02/55/image_02112025_02_55_48_2650.jpg', '/home/pi/Desktop/images/02112025/02/56/image_02112025_02_56_15_2882.jpg', '/home/pi/Desktop/images/02112025/02/57/image_02112025_02_57_42_2699.jpg', '/home/pi/Desktop/images/02112025/02/57/image_02112025_02_57_45_2734.jpg', '/home/pi/Desktop/images/02112025/02/57/image_02112025_02_57_51_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/55/image_02112025_02_55_40_3526.jpg
/home/pi/Desktop/images/02112025/02/55/image_02112025_02_55_48_2650.jpg
/home/pi/Desktop/images/02112025/02/56/image_02112025_02_56_15_2882.jpg
/home/pi/Desktop/images/02112025/02/57/image_02112025_02_57_42_2699.jpg
/home/pi/Desktop/images/02112025/02/57/image_02112025_02_57_45_2734.jpg
/home/pi/Desktop/images/02112025/02/57/image_02112025_02_57_51_2709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391935853","1391935862","1391935856","1391935864","1391935858","1391935860"],"photo_ids_order":["1391935853","1391935856","1391935858","1391935860","1391935862","1391935864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8b22cd6a249bfa213d44af9b7e43aa32.jpg","text":"TemporaryFile(/tmp/multipartBody3166004839271212692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121542895,"filename":"image_02112025_02_55_40_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/2/4ba65bfcf58b6a3d20d64a2310b55f95.jpg","text":"TemporaryFile(/tmp/multipartBody7706101711982606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121542895,"filename":"image_02112025_02_57_45_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/2/d091949f8ff4b318d3807d245a49509f.jpg","text":"TemporaryFile(/tmp/multipartBody6590638563928684540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121542895,"filename":"image_02112025_02_55_48_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/2/15cf03f74cea6994ae0f92203a12a366.jpg","text":"TemporaryFile(/tmp/multipartBody544603942120998630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121542895,"filename":"image_02112025_02_57_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/2/42f7dbcdcf9f6c295d92a5bca723431b.jpg","text":"TemporaryFile(/tmp/multipartBody3172117859869027768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121542895,"filename":"image_02112025_02_56_15_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/2/8a74dedf6017dd8369833a8ad22c7d47.jpg","text":"TemporaryFile(/tmp/multipartBody5507850526637694239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121542895,"filename":"image_02112025_02_57_42_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391935858","file1":"1391935856","file0":"1391935853","file4":"1391935862","file5":"1391935864","file3":"1391935860"},"map_files_photo_id_array":[{"photo_id":"1391935864","filename":"file5"},{"photo_id":"1391935858","filename":"file2"},{"photo_id":"1391935862","filename":"file4"},{"photo_id":"1391935856","filename":"file1"},{"photo_id":"1391935853","filename":"file0"},{"photo_id":"1391935860","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391935853":["hashtag1","hashtag2"]},{"1391935862":["hashtag1","hashtag2"]},{"1391935856":["hashtag1","hashtag2"]},{"1391935864":["hashtag1","hashtag2"]},{"1391935858":["hashtag1","hashtag2"]},{"1391935860":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391935853, 1391935862, 1391935856, 1391935864, 1391935858, 1391935860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53405261039734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:12:02.503588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/57/image_02112025_02_57_58_3684.jpg', '/home/pi/Desktop/images/02112025/02/58/image_02112025_02_58_07_3554.jpg', '/home/pi/Desktop/images/02112025/02/58/image_02112025_02_58_18_2578.jpg', '/home/pi/Desktop/images/02112025/02/58/image_02112025_02_58_27_2601.jpg', '/home/pi/Desktop/images/02112025/02/58/image_02112025_02_58_36_2807.jpg', '/home/pi/Desktop/images/02112025/02/58/image_02112025_02_58_42_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/57/image_02112025_02_57_58_3684.jpg
/home/pi/Desktop/images/02112025/02/58/image_02112025_02_58_07_3554.jpg
/home/pi/Desktop/images/02112025/02/58/image_02112025_02_58_18_2578.jpg
/home/pi/Desktop/images/02112025/02/58/image_02112025_02_58_27_2601.jpg
/home/pi/Desktop/images/02112025/02/58/image_02112025_02_58_36_2807.jpg
/home/pi/Desktop/images/02112025/02/58/image_02112025_02_58_42_2639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391935878","1391935880","1391935874","1391935882","1391935876","1391935870"],"photo_ids_order":["1391935870","1391935874","1391935876","1391935878","1391935880","1391935882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a9d273dba31528f08df05dc29a337fa8.jpg","text":"TemporaryFile(/tmp/multipartBody6881337966921444216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121583422,"filename":"image_02112025_02_58_27_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/2/5da5fbe79f8865ff0ac2110679ed35c6.jpg","text":"TemporaryFile(/tmp/multipartBody5465346425242179364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121583422,"filename":"image_02112025_02_58_36_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/2/6d6ce37c89be23204c052a5fb97443fe.jpg","text":"TemporaryFile(/tmp/multipartBody3966999983652217953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121583422,"filename":"image_02112025_02_58_07_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/2/a4f2c8d61465e02021a4f52fad918a52.jpg","text":"TemporaryFile(/tmp/multipartBody2191843906554977713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121583422,"filename":"image_02112025_02_58_42_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/2/581edcb2feba6eab6c6f2739a0ec418e.jpg","text":"TemporaryFile(/tmp/multipartBody8300770575086090431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121583422,"filename":"image_02112025_02_58_18_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/2/4d816a480e684161d5b07316c5a61c2b.jpg","text":"TemporaryFile(/tmp/multipartBody9151154944779409068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121583422,"filename":"image_02112025_02_57_58_3684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391935876","file1":"1391935874","file0":"1391935870","file4":"1391935880","file5":"1391935882","file3":"1391935878"},"map_files_photo_id_array":[{"photo_id":"1391935882","filename":"file5"},{"photo_id":"1391935876","filename":"file2"},{"photo_id":"1391935880","filename":"file4"},{"photo_id":"1391935874","filename":"file1"},{"photo_id":"1391935870","filename":"file0"},{"photo_id":"1391935878","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391935878":["hashtag1","hashtag2"]},{"1391935880":["hashtag1","hashtag2"]},{"1391935874":["hashtag1","hashtag2"]},{"1391935882":["hashtag1","hashtag2"]},{"1391935876":["hashtag1","hashtag2"]},{"1391935870":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391935878, 1391935880, 1391935874, 1391935882, 1391935876, 1391935870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22713756561279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:12:42.157471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/02/58/image_02112025_02_58_45_3561.jpg', '/home/pi/Desktop/images/02112025/02/58/image_02112025_02_58_48_2577.jpg', '/home/pi/Desktop/images/02112025/02/59/image_02112025_02_59_03_2766.jpg', '/home/pi/Desktop/images/02112025/02/59/image_02112025_02_59_10_3613.jpg', '/home/pi/Desktop/images/02112025/02/59/image_02112025_02_59_12_2543.jpg', '/home/pi/Desktop/images/02112025/03/00/image_02112025_03_00_07_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/02/58/image_02112025_02_58_45_3561.jpg
/home/pi/Desktop/images/02112025/02/58/image_02112025_02_58_48_2577.jpg
/home/pi/Desktop/images/02112025/02/59/image_02112025_02_59_03_2766.jpg
/home/pi/Desktop/images/02112025/02/59/image_02112025_02_59_10_3613.jpg
/home/pi/Desktop/images/02112025/02/59/image_02112025_02_59_12_2543.jpg
/home/pi/Desktop/images/02112025/03/00/image_02112025_03_00_07_3620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391935884","1391935892","1391935894","1391935885","1391935888","1391935890"],"photo_ids_order":["1391935884","1391935885","1391935888","1391935890","1391935892","1391935894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/03a16db5780ce874f7d7c4b8c68c9c80.jpg","text":"TemporaryFile(/tmp/multipartBody3162132021403465684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121623135,"filename":"image_02112025_02_58_45_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/2/e2e81490ff63c8c9a077b398e9b83ac5.jpg","text":"TemporaryFile(/tmp/multipartBody7638955594330479362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121623135,"filename":"image_02112025_02_59_12_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/2/ccebe02d5e42777879645a27b9b05e92.jpg","text":"TemporaryFile(/tmp/multipartBody2963968710703499126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121623135,"filename":"image_02112025_03_00_07_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/2/e6b066120140dc6f01efa95e63e8437b.jpg","text":"TemporaryFile(/tmp/multipartBody2380295834142580553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121623135,"filename":"image_02112025_02_58_48_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/2/78de53f63f990b3418552a4a8b709412.jpg","text":"TemporaryFile(/tmp/multipartBody4550634533204734121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121623135,"filename":"image_02112025_02_59_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/2/38e08a4a241c64047f3711cede560592.jpg","text":"TemporaryFile(/tmp/multipartBody9055496496314547687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121623135,"filename":"image_02112025_02_59_10_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391935888","file1":"1391935885","file0":"1391935884","file4":"1391935892","file5":"1391935894","file3":"1391935890"},"map_files_photo_id_array":[{"photo_id":"1391935894","filename":"file5"},{"photo_id":"1391935888","filename":"file2"},{"photo_id":"1391935892","filename":"file4"},{"photo_id":"1391935885","filename":"file1"},{"photo_id":"1391935884","filename":"file0"},{"photo_id":"1391935890","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391935884":["hashtag1","hashtag2"]},{"1391935892":["hashtag1","hashtag2"]},{"1391935894":["hashtag1","hashtag2"]},{"1391935885":["hashtag1","hashtag2"]},{"1391935888":["hashtag1","hashtag2"]},{"1391935890":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391935884, 1391935892, 1391935894, 1391935885, 1391935888, 1391935890)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59408521652222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:13:22.254747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/00/image_02112025_03_00_09_2639.jpg', '/home/pi/Desktop/images/02112025/03/00/image_02112025_03_00_51_2688.jpg', '/home/pi/Desktop/images/02112025/03/00/image_02112025_03_01_00_2882.jpg', '/home/pi/Desktop/images/02112025/03/01/image_02112025_03_01_03_2695.jpg', '/home/pi/Desktop/images/02112025/03/01/image_02112025_03_01_15_2862.jpg', '/home/pi/Desktop/images/02112025/03/01/image_02112025_03_01_30_2861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/00/image_02112025_03_00_09_2639.jpg
/home/pi/Desktop/images/02112025/03/00/image_02112025_03_00_51_2688.jpg
/home/pi/Desktop/images/02112025/03/00/image_02112025_03_01_00_2882.jpg
/home/pi/Desktop/images/02112025/03/01/image_02112025_03_01_03_2695.jpg
/home/pi/Desktop/images/02112025/03/01/image_02112025_03_01_15_2862.jpg
/home/pi/Desktop/images/02112025/03/01/image_02112025_03_01_30_2861.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391935908","1391935902","1391935910","1391935904","1391935913","1391935906"],"photo_ids_order":["1391935902","1391935904","1391935906","1391935908","1391935910","1391935913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b3b482cfe9f9b12de877e315890f9bcd.jpg","text":"TemporaryFile(/tmp/multipartBody6159854677480161543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121663094,"filename":"image_02112025_03_01_03_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/2/586e9eb71df729e89a328cac747a350e.jpg","text":"TemporaryFile(/tmp/multipartBody7033013939026730476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121663094,"filename":"image_02112025_03_00_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/2/03769981eafe9aab7f01e666b0fa07e3.jpg","text":"TemporaryFile(/tmp/multipartBody2082991182585697278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121663094,"filename":"image_02112025_03_01_15_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/2/c09e38403b57911274558220570d2b68.jpg","text":"TemporaryFile(/tmp/multipartBody8048394723490345000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121663094,"filename":"image_02112025_03_00_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/2/7286c9061bcc16db368b8964ec76737a.jpg","text":"TemporaryFile(/tmp/multipartBody2747688707249377408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121663094,"filename":"image_02112025_03_01_30_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/2/0fc791b4931c65a1bbc13139ef941da2.jpg","text":"TemporaryFile(/tmp/multipartBody2416435427283025845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121663094,"filename":"image_02112025_03_01_00_2882.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391935906","file1":"1391935904","file0":"1391935902","file4":"1391935910","file5":"1391935913","file3":"1391935908"},"map_files_photo_id_array":[{"photo_id":"1391935913","filename":"file5"},{"photo_id":"1391935906","filename":"file2"},{"photo_id":"1391935910","filename":"file4"},{"photo_id":"1391935904","filename":"file1"},{"photo_id":"1391935902","filename":"file0"},{"photo_id":"1391935908","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391935908":["hashtag1","hashtag2"]},{"1391935902":["hashtag1","hashtag2"]},{"1391935910":["hashtag1","hashtag2"]},{"1391935904":["hashtag1","hashtag2"]},{"1391935913":["hashtag1","hashtag2"]},{"1391935906":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391935908, 1391935902, 1391935910, 1391935904, 1391935913, 1391935906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.896573305130005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:14:03.279086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/01/image_02112025_03_01_45_3664.jpg', '/home/pi/Desktop/images/02112025/03/01/image_02112025_03_01_48_2670.jpg', '/home/pi/Desktop/images/02112025/03/01/image_02112025_03_01_57_3767.jpg', '/home/pi/Desktop/images/02112025/03/01/image_02112025_03_02_00_2693.jpg', '/home/pi/Desktop/images/02112025/03/02/image_02112025_03_02_03_2687.jpg', '/home/pi/Desktop/images/02112025/03/02/image_02112025_03_02_09_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/01/image_02112025_03_01_45_3664.jpg
/home/pi/Desktop/images/02112025/03/01/image_02112025_03_01_48_2670.jpg
/home/pi/Desktop/images/02112025/03/01/image_02112025_03_01_57_3767.jpg
/home/pi/Desktop/images/02112025/03/01/image_02112025_03_02_00_2693.jpg
/home/pi/Desktop/images/02112025/03/02/image_02112025_03_02_03_2687.jpg
/home/pi/Desktop/images/02112025/03/02/image_02112025_03_02_09_2579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391935923","1391935929","1391935928","1391935925","1391935930","1391935927"],"photo_ids_order":["1391935923","1391935925","1391935927","1391935928","1391935929","1391935930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d002b7ac3137c9cfa11d08900d48ad6d.jpg","text":"TemporaryFile(/tmp/multipartBody7192527621645927187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121704202,"filename":"image_02112025_03_01_45_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/2/90fac861d4a052b0bf7dfaf26fd09a72.jpg","text":"TemporaryFile(/tmp/multipartBody3321562348019134762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121704202,"filename":"image_02112025_03_02_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/2/63eb6c21dbb0d10d3b7f07bd0963628e.jpg","text":"TemporaryFile(/tmp/multipartBody2242420861404867187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121704202,"filename":"image_02112025_03_02_00_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/2/5eae5b9828dfd198cf01c92bccecc6e1.jpg","text":"TemporaryFile(/tmp/multipartBody6330864458963064521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121704202,"filename":"image_02112025_03_01_48_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/2/e8dfe79c39e9b75879e6e760b32fa37a.jpg","text":"TemporaryFile(/tmp/multipartBody704269139509201254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121704202,"filename":"image_02112025_03_02_09_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/2/73af7ca87222d5abe623deca88e3cbe8.jpg","text":"TemporaryFile(/tmp/multipartBody5929979794705834210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121704202,"filename":"image_02112025_03_01_57_3767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391935927","file1":"1391935925","file0":"1391935923","file4":"1391935929","file5":"1391935930","file3":"1391935928"},"map_files_photo_id_array":[{"photo_id":"1391935930","filename":"file5"},{"photo_id":"1391935927","filename":"file2"},{"photo_id":"1391935929","filename":"file4"},{"photo_id":"1391935925","filename":"file1"},{"photo_id":"1391935923","filename":"file0"},{"photo_id":"1391935928","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391935923":["hashtag1","hashtag2"]},{"1391935929":["hashtag1","hashtag2"]},{"1391935928":["hashtag1","hashtag2"]},{"1391935925":["hashtag1","hashtag2"]},{"1391935930":["hashtag1","hashtag2"]},{"1391935927":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391935923, 1391935929, 1391935928, 1391935925, 1391935930, 1391935927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38265609741211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:14:42.519480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/02/image_02112025_03_02_23_2598.jpg', '/home/pi/Desktop/images/02112025/03/02/image_02112025_03_02_51_1555.jpg', '/home/pi/Desktop/images/02112025/03/03/image_02112025_03_03_03_2949.jpg', '/home/pi/Desktop/images/02112025/03/03/image_02112025_03_03_39_3299.jpg', '/home/pi/Desktop/images/02112025/03/03/image_02112025_03_03_42_2657.jpg', '/home/pi/Desktop/images/02112025/03/04/image_02112025_03_04_23_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/02/image_02112025_03_02_23_2598.jpg
/home/pi/Desktop/images/02112025/03/02/image_02112025_03_02_51_1555.jpg
/home/pi/Desktop/images/02112025/03/03/image_02112025_03_03_03_2949.jpg
/home/pi/Desktop/images/02112025/03/03/image_02112025_03_03_39_3299.jpg
/home/pi/Desktop/images/02112025/03/03/image_02112025_03_03_42_2657.jpg
/home/pi/Desktop/images/02112025/03/04/image_02112025_03_04_23_2640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391935944","1391935946","1391935949","1391935939","1391935942","1391935936"],"photo_ids_order":["1391935936","1391935939","1391935942","1391935944","1391935946","1391935949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ea57ba8c26ffa5843e9860b536b35424.jpg","text":"TemporaryFile(/tmp/multipartBody5524028927658276573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121743461,"filename":"image_02112025_03_03_39_3299.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d46c75dde458ad324057ee56e39cb4bb.jpg","text":"TemporaryFile(/tmp/multipartBody6799870133962681759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121743461,"filename":"image_02112025_03_03_42_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/2/02eb8f1b845c86554c6abc620605d611.jpg","text":"TemporaryFile(/tmp/multipartBody3551828205881033410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121743461,"filename":"image_02112025_03_04_23_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/2/0cea8ecddbd0294d4899eb2d6f14b407.jpg","text":"TemporaryFile(/tmp/multipartBody1858339705185283088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121743461,"filename":"image_02112025_03_02_51_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/2/a9b9e06f61fc0962fba094520e810447.jpg","text":"TemporaryFile(/tmp/multipartBody8492291574347176453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121743461,"filename":"image_02112025_03_03_03_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/2/21df46837e4208af336ffc0254c1b8a7.jpg","text":"TemporaryFile(/tmp/multipartBody5638623047537960570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121743461,"filename":"image_02112025_03_02_23_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391935942","file1":"1391935939","file0":"1391935936","file4":"1391935946","file5":"1391935949","file3":"1391935944"},"map_files_photo_id_array":[{"photo_id":"1391935949","filename":"file5"},{"photo_id":"1391935942","filename":"file2"},{"photo_id":"1391935946","filename":"file4"},{"photo_id":"1391935939","filename":"file1"},{"photo_id":"1391935936","filename":"file0"},{"photo_id":"1391935944","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391935944":["hashtag1","hashtag2"]},{"1391935946":["hashtag1","hashtag2"]},{"1391935949":["hashtag1","hashtag2"]},{"1391935939":["hashtag1","hashtag2"]},{"1391935942":["hashtag1","hashtag2"]},{"1391935936":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391935944, 1391935946, 1391935949, 1391935939, 1391935942, 1391935936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.6751651763916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:15:22.641930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/04/image_02112025_03_04_27_3775.jpg', '/home/pi/Desktop/images/02112025/03/04/image_02112025_03_04_42_2694.jpg', '/home/pi/Desktop/images/02112025/03/04/image_02112025_03_04_53_2629.jpg', '/home/pi/Desktop/images/02112025/03/05/image_02112025_03_05_45_2698.jpg', '/home/pi/Desktop/images/02112025/03/05/image_02112025_03_05_51_3620.jpg', '/home/pi/Desktop/images/02112025/03/07/image_02112025_03_07_03_2788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/04/image_02112025_03_04_27_3775.jpg
/home/pi/Desktop/images/02112025/03/04/image_02112025_03_04_42_2694.jpg
/home/pi/Desktop/images/02112025/03/04/image_02112025_03_04_53_2629.jpg
/home/pi/Desktop/images/02112025/03/05/image_02112025_03_05_45_2698.jpg
/home/pi/Desktop/images/02112025/03/05/image_02112025_03_05_51_3620.jpg
/home/pi/Desktop/images/02112025/03/07/image_02112025_03_07_03_2788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391935962","1391935959","1391935955","1391935958","1391935957","1391935960"],"photo_ids_order":["1391935955","1391935957","1391935958","1391935959","1391935960","1391935962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/87b6566015b51a36a6151af28298d840.jpg","text":"TemporaryFile(/tmp/multipartBody2970792838591942832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121783481,"filename":"image_02112025_03_07_03_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/2/50fe54e2f78f6bfee60d3e9fe1cbb792.jpg","text":"TemporaryFile(/tmp/multipartBody8881971122821452577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121783481,"filename":"image_02112025_03_05_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/2/75ab164bfde9e7a6590d8e7cf32f24aa.jpg","text":"TemporaryFile(/tmp/multipartBody7252169302111249713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121783481,"filename":"image_02112025_03_04_27_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/7ebb0215157bb84b7467c2c67a10ccfb.jpg","text":"TemporaryFile(/tmp/multipartBody8918073879672796464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121783481,"filename":"image_02112025_03_04_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/2/72aaa8628897c295639256f150b3c5dd.jpg","text":"TemporaryFile(/tmp/multipartBody8834876338581083341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121783481,"filename":"image_02112025_03_04_42_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/2/32607bec75eb0a88625ac60f65894a9e.jpg","text":"TemporaryFile(/tmp/multipartBody1630208050703456125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121783481,"filename":"image_02112025_03_05_51_3620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391935958","file1":"1391935957","file0":"1391935955","file4":"1391935960","file5":"1391935962","file3":"1391935959"},"map_files_photo_id_array":[{"photo_id":"1391935962","filename":"file5"},{"photo_id":"1391935958","filename":"file2"},{"photo_id":"1391935960","filename":"file4"},{"photo_id":"1391935957","filename":"file1"},{"photo_id":"1391935955","filename":"file0"},{"photo_id":"1391935959","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391935962":["hashtag1","hashtag2"]},{"1391935959":["hashtag1","hashtag2"]},{"1391935955":["hashtag1","hashtag2"]},{"1391935958":["hashtag1","hashtag2"]},{"1391935957":["hashtag1","hashtag2"]},{"1391935960":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391935962, 1391935959, 1391935955, 1391935958, 1391935957, 1391935960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47455835342407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:16:02.289830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/07/image_02112025_03_07_12_3796.jpg', '/home/pi/Desktop/images/02112025/03/07/image_02112025_03_07_14_2605.jpg', '/home/pi/Desktop/images/02112025/03/09/image_02112025_03_09_50_2585.jpg', '/home/pi/Desktop/images/02112025/03/09/image_02112025_03_09_59_2598.jpg', '/home/pi/Desktop/images/02112025/03/10/image_02112025_03_10_11_2897.jpg', '/home/pi/Desktop/images/02112025/03/10/image_02112025_03_10_32_2739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/07/image_02112025_03_07_12_3796.jpg
/home/pi/Desktop/images/02112025/03/07/image_02112025_03_07_14_2605.jpg
/home/pi/Desktop/images/02112025/03/09/image_02112025_03_09_50_2585.jpg
/home/pi/Desktop/images/02112025/03/09/image_02112025_03_09_59_2598.jpg
/home/pi/Desktop/images/02112025/03/10/image_02112025_03_10_11_2897.jpg
/home/pi/Desktop/images/02112025/03/10/image_02112025_03_10_32_2739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391935970","1391935967","1391935975","1391935969","1391935972","1391935968"],"photo_ids_order":["1391935967","1391935968","1391935969","1391935970","1391935972","1391935975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f033df464d665d151cbd3df44ea7cf9e.jpg","text":"TemporaryFile(/tmp/multipartBody2523174540463124429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121823170,"filename":"image_02112025_03_09_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/2/546fce88b2aa02e3ad79f4885e614c4f.jpg","text":"TemporaryFile(/tmp/multipartBody4272759770389193646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121823170,"filename":"image_02112025_03_07_12_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/2/489c970985a474b0dac870441a63677b.jpg","text":"TemporaryFile(/tmp/multipartBody5921492648920513852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121823170,"filename":"image_02112025_03_10_32_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/2/ca8041fe8196ae686b2dae480f4407a2.jpg","text":"TemporaryFile(/tmp/multipartBody8927722948669270439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121823170,"filename":"image_02112025_03_09_50_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/2/bed5f3901de0561036aa106d44051164.jpg","text":"TemporaryFile(/tmp/multipartBody7393925933634848099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121823170,"filename":"image_02112025_03_10_11_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/2/2f00fe29a351b6a9fa8cc8e34bbd66db.jpg","text":"TemporaryFile(/tmp/multipartBody2161101764540781125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121823170,"filename":"image_02112025_03_07_14_2605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391935969","file1":"1391935968","file0":"1391935967","file4":"1391935972","file5":"1391935975","file3":"1391935970"},"map_files_photo_id_array":[{"photo_id":"1391935975","filename":"file5"},{"photo_id":"1391935969","filename":"file2"},{"photo_id":"1391935972","filename":"file4"},{"photo_id":"1391935968","filename":"file1"},{"photo_id":"1391935967","filename":"file0"},{"photo_id":"1391935970","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391935970":["hashtag1","hashtag2"]},{"1391935967":["hashtag1","hashtag2"]},{"1391935975":["hashtag1","hashtag2"]},{"1391935969":["hashtag1","hashtag2"]},{"1391935972":["hashtag1","hashtag2"]},{"1391935968":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391935970, 1391935967, 1391935975, 1391935969, 1391935972, 1391935968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51530051231384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:16:41.810869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/10/image_02112025_03_10_41_3658.jpg', '/home/pi/Desktop/images/02112025/03/10/image_02112025_03_10_44_2700.jpg', '/home/pi/Desktop/images/02112025/03/13/image_02112025_03_13_53_2664.jpg', '/home/pi/Desktop/images/02112025/03/13/image_02112025_03_13_55_2678.jpg', '/home/pi/Desktop/images/02112025/03/14/image_02112025_03_14_02_2867.jpg', '/home/pi/Desktop/images/02112025/03/14/image_02112025_03_14_14_2669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/10/image_02112025_03_10_41_3658.jpg
/home/pi/Desktop/images/02112025/03/10/image_02112025_03_10_44_2700.jpg
/home/pi/Desktop/images/02112025/03/13/image_02112025_03_13_53_2664.jpg
/home/pi/Desktop/images/02112025/03/13/image_02112025_03_13_55_2678.jpg
/home/pi/Desktop/images/02112025/03/14/image_02112025_03_14_02_2867.jpg
/home/pi/Desktop/images/02112025/03/14/image_02112025_03_14_14_2669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391935983","1391935977","1391935985","1391935979","1391935988","1391935981"],"photo_ids_order":["1391935977","1391935979","1391935981","1391935983","1391935985","1391935988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c18e19d0ecc033cf458201c87124ccd0.jpg","text":"TemporaryFile(/tmp/multipartBody7277703285407302143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121862701,"filename":"image_02112025_03_13_55_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/2/27be5364ced2d280e862b0da263f5bdd.jpg","text":"TemporaryFile(/tmp/multipartBody4297445667603251407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121862701,"filename":"image_02112025_03_10_41_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/2/52af6d3e10403d8e96930ff849811751.jpg","text":"TemporaryFile(/tmp/multipartBody8056706720463897683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121862701,"filename":"image_02112025_03_14_02_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/2/650d62cf0a0d0128de9589c585c04785.jpg","text":"TemporaryFile(/tmp/multipartBody6390539483264434870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121862701,"filename":"image_02112025_03_10_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/2/d7f92b32e9593c484e4f2c6cc7e396e9.jpg","text":"TemporaryFile(/tmp/multipartBody5280731725313021851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121862701,"filename":"image_02112025_03_14_14_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/2/627da39ea359ef2173cb1c7bf1418fb2.jpg","text":"TemporaryFile(/tmp/multipartBody685162784020477468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121862701,"filename":"image_02112025_03_13_53_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391935981","file1":"1391935979","file0":"1391935977","file4":"1391935985","file5":"1391935988","file3":"1391935983"},"map_files_photo_id_array":[{"photo_id":"1391935988","filename":"file5"},{"photo_id":"1391935981","filename":"file2"},{"photo_id":"1391935985","filename":"file4"},{"photo_id":"1391935979","filename":"file1"},{"photo_id":"1391935977","filename":"file0"},{"photo_id":"1391935983","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391935983":["hashtag1","hashtag2"]},{"1391935977":["hashtag1","hashtag2"]},{"1391935985":["hashtag1","hashtag2"]},{"1391935979":["hashtag1","hashtag2"]},{"1391935988":["hashtag1","hashtag2"]},{"1391935981":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391935983, 1391935977, 1391935985, 1391935979, 1391935988, 1391935981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45935797691345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:17:22.147512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/14/image_02112025_03_14_23_2725.jpg', '/home/pi/Desktop/images/02112025/03/14/image_02112025_03_14_49_3143.jpg', '/home/pi/Desktop/images/02112025/03/14/image_02112025_03_14_53_3675.jpg', '/home/pi/Desktop/images/02112025/03/14/image_02112025_03_14_58_4860.jpg', '/home/pi/Desktop/images/02112025/03/15/image_02112025_03_15_01_1637.jpg', '/home/pi/Desktop/images/02112025/03/15/image_02112025_03_15_13_2753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/14/image_02112025_03_14_23_2725.jpg
/home/pi/Desktop/images/02112025/03/14/image_02112025_03_14_49_3143.jpg
/home/pi/Desktop/images/02112025/03/14/image_02112025_03_14_53_3675.jpg
/home/pi/Desktop/images/02112025/03/14/image_02112025_03_14_58_4860.jpg
/home/pi/Desktop/images/02112025/03/15/image_02112025_03_15_01_1637.jpg
/home/pi/Desktop/images/02112025/03/15/image_02112025_03_15_13_2753.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391935997","1391935991","1391936000","1391935993","1391935992","1391935995"],"photo_ids_order":["1391935991","1391935992","1391935993","1391935995","1391935997","1391936000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6f2f4c8125029bde1b4d4bdf3a57c23e.jpg","text":"TemporaryFile(/tmp/multipartBody6079113080212474032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121902994,"filename":"image_02112025_03_15_01_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/2/546e7b8b26f421fbb88ce8913d8785a1.jpg","text":"TemporaryFile(/tmp/multipartBody6848617945470951151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121902994,"filename":"image_02112025_03_14_23_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/2/73c5bae70ade85b67502ad86549c2c90.jpg","text":"TemporaryFile(/tmp/multipartBody5077847184610752373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121902994,"filename":"image_02112025_03_15_13_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/2/7bbb0cb22a0359280e235a94451f2c0b.jpg","text":"TemporaryFile(/tmp/multipartBody3850119118320110129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121902994,"filename":"image_02112025_03_14_53_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/2/235d881705a47e8118ca9ce3966df896.jpg","text":"TemporaryFile(/tmp/multipartBody4773014230497313449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121902994,"filename":"image_02112025_03_14_49_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/2/54405080d6d7f6bda9567e524f447833.jpg","text":"TemporaryFile(/tmp/multipartBody125841909002681948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121902994,"filename":"image_02112025_03_14_58_4860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391935993","file1":"1391935992","file0":"1391935991","file4":"1391935997","file5":"1391936000","file3":"1391935995"},"map_files_photo_id_array":[{"photo_id":"1391936000","filename":"file5"},{"photo_id":"1391935993","filename":"file2"},{"photo_id":"1391935997","filename":"file4"},{"photo_id":"1391935992","filename":"file1"},{"photo_id":"1391935991","filename":"file0"},{"photo_id":"1391935995","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391935997":["hashtag1","hashtag2"]},{"1391935991":["hashtag1","hashtag2"]},{"1391936000":["hashtag1","hashtag2"]},{"1391935993":["hashtag1","hashtag2"]},{"1391935992":["hashtag1","hashtag2"]},{"1391935995":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391935997, 1391935991, 1391936000, 1391935993, 1391935992, 1391935995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.576035261154175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:18:02.639548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/15/image_02112025_03_15_31_2654.jpg', '/home/pi/Desktop/images/02112025/03/15/image_02112025_03_15_38_3675.jpg', '/home/pi/Desktop/images/02112025/03/16/image_02112025_03_16_07_2796.jpg', '/home/pi/Desktop/images/02112025/03/16/image_02112025_03_16_13_2654.jpg', '/home/pi/Desktop/images/02112025/03/16/image_02112025_03_16_16_2559.jpg', '/home/pi/Desktop/images/02112025/03/16/image_02112025_03_16_56_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/15/image_02112025_03_15_31_2654.jpg
/home/pi/Desktop/images/02112025/03/15/image_02112025_03_15_38_3675.jpg
/home/pi/Desktop/images/02112025/03/16/image_02112025_03_16_07_2796.jpg
/home/pi/Desktop/images/02112025/03/16/image_02112025_03_16_13_2654.jpg
/home/pi/Desktop/images/02112025/03/16/image_02112025_03_16_16_2559.jpg
/home/pi/Desktop/images/02112025/03/16/image_02112025_03_16_56_3647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391936013","1391936007","1391936009","1391936018","1391936011","1391936016"],"photo_ids_order":["1391936007","1391936009","1391936011","1391936013","1391936016","1391936018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/305188fcbc2eff9b2142ba8344508f88.jpg","text":"TemporaryFile(/tmp/multipartBody6525334461606732678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121943522,"filename":"image_02112025_03_16_13_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/2/ad2e80beea775fb1057e4e6161a0ccca.jpg","text":"TemporaryFile(/tmp/multipartBody1568594557681952412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121943522,"filename":"image_02112025_03_15_31_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/2/2f18dad436342f670c26046e009510cf.jpg","text":"TemporaryFile(/tmp/multipartBody3448749242497285944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121943522,"filename":"image_02112025_03_15_38_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/2/db8238808ab5636d086fcdd4b1eede02.jpg","text":"TemporaryFile(/tmp/multipartBody4645400601153278314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121943522,"filename":"image_02112025_03_16_56_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/2/9590c4799b6658606fdc911131db9cd4.jpg","text":"TemporaryFile(/tmp/multipartBody3079222592428529602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121943522,"filename":"image_02112025_03_16_07_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/2/4eb1fd337d620b1b5d1a6c03b6d4e665.jpg","text":"TemporaryFile(/tmp/multipartBody5915443732838746010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121943522,"filename":"image_02112025_03_16_16_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391936011","file1":"1391936009","file0":"1391936007","file4":"1391936016","file5":"1391936018","file3":"1391936013"},"map_files_photo_id_array":[{"photo_id":"1391936018","filename":"file5"},{"photo_id":"1391936011","filename":"file2"},{"photo_id":"1391936016","filename":"file4"},{"photo_id":"1391936009","filename":"file1"},{"photo_id":"1391936007","filename":"file0"},{"photo_id":"1391936013","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391936013":["hashtag1","hashtag2"]},{"1391936007":["hashtag1","hashtag2"]},{"1391936009":["hashtag1","hashtag2"]},{"1391936018":["hashtag1","hashtag2"]},{"1391936011":["hashtag1","hashtag2"]},{"1391936016":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391936013, 1391936007, 1391936009, 1391936018, 1391936011, 1391936016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.141101360321045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:18:42.133385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/16/image_02112025_03_16_58_2587.jpg', '/home/pi/Desktop/images/02112025/03/17/image_02112025_03_17_02_3567.jpg', '/home/pi/Desktop/images/02112025/03/17/image_02112025_03_17_05_2824.jpg', '/home/pi/Desktop/images/02112025/03/17/image_02112025_03_17_17_2693.jpg', '/home/pi/Desktop/images/02112025/03/17/image_02112025_03_17_23_3715.jpg', '/home/pi/Desktop/images/02112025/03/17/image_02112025_03_17_29_6364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/16/image_02112025_03_16_58_2587.jpg
/home/pi/Desktop/images/02112025/03/17/image_02112025_03_17_02_3567.jpg
/home/pi/Desktop/images/02112025/03/17/image_02112025_03_17_05_2824.jpg
/home/pi/Desktop/images/02112025/03/17/image_02112025_03_17_17_2693.jpg
/home/pi/Desktop/images/02112025/03/17/image_02112025_03_17_23_3715.jpg
/home/pi/Desktop/images/02112025/03/17/image_02112025_03_17_29_6364.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391936025","1391936027","1391936021","1391936026","1391936020","1391936023"],"photo_ids_order":["1391936020","1391936021","1391936023","1391936025","1391936026","1391936027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/729f8f49c25b81997cd0edcb86c27c4e.jpg","text":"TemporaryFile(/tmp/multipartBody5523370016791987273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121983025,"filename":"image_02112025_03_17_17_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/2/40cd370d81d5dddc8325d99ef06be750.jpg","text":"TemporaryFile(/tmp/multipartBody7869544164132356614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121983025,"filename":"image_02112025_03_17_29_6364.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a59f3e8c74acdc9a539c99e2c024e808.jpg","text":"TemporaryFile(/tmp/multipartBody8190558804119582496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121983025,"filename":"image_02112025_03_17_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/2/9d21a742572bb6351c3bcb88df8de2a8.jpg","text":"TemporaryFile(/tmp/multipartBody2868193838387740103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121983025,"filename":"image_02112025_03_17_23_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/2/7c46c73dbee755be99305e3a45e1db91.jpg","text":"TemporaryFile(/tmp/multipartBody2963324412101010550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121983025,"filename":"image_02112025_03_16_58_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/2/1e223a682b7b049b8921cf6976f6cc4c.jpg","text":"TemporaryFile(/tmp/multipartBody796643164280368062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762121983025,"filename":"image_02112025_03_17_05_2824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391936023","file1":"1391936021","file0":"1391936020","file4":"1391936026","file5":"1391936027","file3":"1391936025"},"map_files_photo_id_array":[{"photo_id":"1391936027","filename":"file5"},{"photo_id":"1391936023","filename":"file2"},{"photo_id":"1391936026","filename":"file4"},{"photo_id":"1391936021","filename":"file1"},{"photo_id":"1391936020","filename":"file0"},{"photo_id":"1391936025","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391936025":["hashtag1","hashtag2"]},{"1391936027":["hashtag1","hashtag2"]},{"1391936021":["hashtag1","hashtag2"]},{"1391936026":["hashtag1","hashtag2"]},{"1391936020":["hashtag1","hashtag2"]},{"1391936023":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391936025, 1391936027, 1391936021, 1391936026, 1391936020, 1391936023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.387131690979004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:19:22.346122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/17/image_02112025_03_17_31_1659.jpg', '/home/pi/Desktop/images/02112025/03/17/image_02112025_03_17_32_1582.jpg', '/home/pi/Desktop/images/02112025/03/17/image_02112025_03_17_40_2786.jpg', '/home/pi/Desktop/images/02112025/03/18/image_02112025_03_18_04_2512.jpg', '/home/pi/Desktop/images/02112025/03/18/image_02112025_03_18_16_2531.jpg', '/home/pi/Desktop/images/02112025/03/18/image_02112025_03_18_22_2575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/17/image_02112025_03_17_31_1659.jpg
/home/pi/Desktop/images/02112025/03/17/image_02112025_03_17_32_1582.jpg
/home/pi/Desktop/images/02112025/03/17/image_02112025_03_17_40_2786.jpg
/home/pi/Desktop/images/02112025/03/18/image_02112025_03_18_04_2512.jpg
/home/pi/Desktop/images/02112025/03/18/image_02112025_03_18_16_2531.jpg
/home/pi/Desktop/images/02112025/03/18/image_02112025_03_18_22_2575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391936042","1391936030","1391936038","1391936032","1391936034","1391936037"],"photo_ids_order":["1391936030","1391936032","1391936034","1391936037","1391936038","1391936042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/43e922fda7ccac73725c708c3ecccf7b.jpg","text":"TemporaryFile(/tmp/multipartBody8878634978322913009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122023194,"filename":"image_02112025_03_18_22_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/2/d1b34791c091b430595fe328d8872b27.jpg","text":"TemporaryFile(/tmp/multipartBody3590784376827256726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122023194,"filename":"image_02112025_03_17_31_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/2/3ae3e5d2c4f28527254becf997153b18.jpg","text":"TemporaryFile(/tmp/multipartBody6894330816911296949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122023194,"filename":"image_02112025_03_18_16_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/2/96591aa9b950dde1548a3ebff28fbf72.jpg","text":"TemporaryFile(/tmp/multipartBody7092564334195061959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122023194,"filename":"image_02112025_03_17_32_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2cbf741b072e82475edc43e033d3684d.jpg","text":"TemporaryFile(/tmp/multipartBody8970384138214024831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122023194,"filename":"image_02112025_03_17_40_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/2/e0a336db27d44279bb64c0a465a67cab.jpg","text":"TemporaryFile(/tmp/multipartBody5272579932918523761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122023194,"filename":"image_02112025_03_18_04_2512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391936034","file1":"1391936032","file0":"1391936030","file4":"1391936038","file5":"1391936042","file3":"1391936037"},"map_files_photo_id_array":[{"photo_id":"1391936042","filename":"file5"},{"photo_id":"1391936034","filename":"file2"},{"photo_id":"1391936038","filename":"file4"},{"photo_id":"1391936032","filename":"file1"},{"photo_id":"1391936030","filename":"file0"},{"photo_id":"1391936037","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391936042":["hashtag1","hashtag2"]},{"1391936030":["hashtag1","hashtag2"]},{"1391936038":["hashtag1","hashtag2"]},{"1391936032":["hashtag1","hashtag2"]},{"1391936034":["hashtag1","hashtag2"]},{"1391936037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391936042, 1391936030, 1391936038, 1391936032, 1391936034, 1391936037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26181483268738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:20:02.976000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/18/image_02112025_03_18_26_3674.jpg', '/home/pi/Desktop/images/02112025/03/18/image_02112025_03_18_34_1749.jpg', '/home/pi/Desktop/images/02112025/03/18/image_02112025_03_19_01_3557.jpg', '/home/pi/Desktop/images/02112025/03/19/image_02112025_03_19_20_3625.jpg', '/home/pi/Desktop/images/02112025/03/19/image_02112025_03_19_44_3695.jpg', '/home/pi/Desktop/images/02112025/03/19/image_02112025_03_19_55_2647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/18/image_02112025_03_18_26_3674.jpg
/home/pi/Desktop/images/02112025/03/18/image_02112025_03_18_34_1749.jpg
/home/pi/Desktop/images/02112025/03/18/image_02112025_03_19_01_3557.jpg
/home/pi/Desktop/images/02112025/03/19/image_02112025_03_19_20_3625.jpg
/home/pi/Desktop/images/02112025/03/19/image_02112025_03_19_44_3695.jpg
/home/pi/Desktop/images/02112025/03/19/image_02112025_03_19_55_2647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391936046","1391936062","1391936056","1391936059","1391936053","1391936049"],"photo_ids_order":["1391936046","1391936049","1391936053","1391936056","1391936059","1391936062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/dc41e3829eaac3fcae7f0894f42fa58b.jpg","text":"TemporaryFile(/tmp/multipartBody3147003980036801097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122063913,"filename":"image_02112025_03_18_26_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/2/50e3c9ecacef3f2bdf75ae7576f8ea8e.jpg","text":"TemporaryFile(/tmp/multipartBody1409579328987311899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122063913,"filename":"image_02112025_03_19_55_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/2/1100fb3553894fe401a25a22b6e6efb7.jpg","text":"TemporaryFile(/tmp/multipartBody3245376189584644197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122063913,"filename":"image_02112025_03_19_20_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/2/6888ac0740f2348a63239dbed0e1ce50.jpg","text":"TemporaryFile(/tmp/multipartBody4222715562620462666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122063913,"filename":"image_02112025_03_19_44_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/2/35f8f5814d8c652aaeb4b8f218d86c3f.jpg","text":"TemporaryFile(/tmp/multipartBody3266472708506789662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122063913,"filename":"image_02112025_03_19_01_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/2/4292f6600551cd1daaab6d544b16e081.jpg","text":"TemporaryFile(/tmp/multipartBody801562248327388767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122063913,"filename":"image_02112025_03_18_34_1749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391936053","file1":"1391936049","file0":"1391936046","file4":"1391936059","file5":"1391936062","file3":"1391936056"},"map_files_photo_id_array":[{"photo_id":"1391936062","filename":"file5"},{"photo_id":"1391936053","filename":"file2"},{"photo_id":"1391936059","filename":"file4"},{"photo_id":"1391936049","filename":"file1"},{"photo_id":"1391936046","filename":"file0"},{"photo_id":"1391936056","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391936046":["hashtag1","hashtag2"]},{"1391936062":["hashtag1","hashtag2"]},{"1391936056":["hashtag1","hashtag2"]},{"1391936059":["hashtag1","hashtag2"]},{"1391936053":["hashtag1","hashtag2"]},{"1391936049":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391936046, 1391936062, 1391936056, 1391936059, 1391936053, 1391936049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42508554458618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:20:42.436080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/20/image_02112025_03_20_02_3648.jpg', '/home/pi/Desktop/images/02112025/03/20/image_02112025_03_20_04_2627.jpg', '/home/pi/Desktop/images/02112025/03/20/image_02112025_03_20_12_7701.jpg', '/home/pi/Desktop/images/02112025/03/20/image_02112025_03_20_14_1822.jpg', '/home/pi/Desktop/images/02112025/03/20/image_02112025_03_20_17_1573.jpg', '/home/pi/Desktop/images/02112025/03/20/image_02112025_03_20_31_3411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/20/image_02112025_03_20_02_3648.jpg
/home/pi/Desktop/images/02112025/03/20/image_02112025_03_20_04_2627.jpg
/home/pi/Desktop/images/02112025/03/20/image_02112025_03_20_12_7701.jpg
/home/pi/Desktop/images/02112025/03/20/image_02112025_03_20_14_1822.jpg
/home/pi/Desktop/images/02112025/03/20/image_02112025_03_20_17_1573.jpg
/home/pi/Desktop/images/02112025/03/20/image_02112025_03_20_31_3411.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391936063","1391936074","1391936068","1391936071","1391936065","1391936076"],"photo_ids_order":["1391936063","1391936065","1391936068","1391936071","1391936074","1391936076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/45d4ea016288a34fab8ca04f2033bbd5.jpg","text":"TemporaryFile(/tmp/multipartBody6582640167655812024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122103330,"filename":"image_02112025_03_20_02_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/2/d139baba15625c51f9d40bdb9dd37284.jpg","text":"TemporaryFile(/tmp/multipartBody3571579834283118885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122103330,"filename":"image_02112025_03_20_17_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/2/904b9bbcee2ea7a71cea7619ddf85078.jpg","text":"TemporaryFile(/tmp/multipartBody2815904168989758324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122103330,"filename":"image_02112025_03_20_12_7701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ac5cde19272f275c7640a6418fece458.jpg","text":"TemporaryFile(/tmp/multipartBody8851984247962445001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122103330,"filename":"image_02112025_03_20_14_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/2/38801670e44ec1fa13a7e6a54291e364.jpg","text":"TemporaryFile(/tmp/multipartBody1482061264492652186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122103330,"filename":"image_02112025_03_20_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/2/3cdcfae3b0c2f7c96e41866cd37118c2.jpg","text":"TemporaryFile(/tmp/multipartBody4012527435621325622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122103330,"filename":"image_02112025_03_20_31_3411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391936068","file1":"1391936065","file0":"1391936063","file4":"1391936074","file5":"1391936076","file3":"1391936071"},"map_files_photo_id_array":[{"photo_id":"1391936076","filename":"file5"},{"photo_id":"1391936068","filename":"file2"},{"photo_id":"1391936074","filename":"file4"},{"photo_id":"1391936065","filename":"file1"},{"photo_id":"1391936063","filename":"file0"},{"photo_id":"1391936071","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391936063":["hashtag1","hashtag2"]},{"1391936074":["hashtag1","hashtag2"]},{"1391936068":["hashtag1","hashtag2"]},{"1391936071":["hashtag1","hashtag2"]},{"1391936065":["hashtag1","hashtag2"]},{"1391936076":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391936063, 1391936074, 1391936068, 1391936071, 1391936065, 1391936076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1408109664917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:21:22.633843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/20/image_02112025_03_20_46_2717.jpg', '/home/pi/Desktop/images/02112025/03/20/image_02112025_03_20_55_3673.jpg', '/home/pi/Desktop/images/02112025/03/20/image_02112025_03_20_58_2651.jpg', '/home/pi/Desktop/images/02112025/03/21/image_02112025_03_21_10_3549.jpg', '/home/pi/Desktop/images/02112025/03/21/image_02112025_03_21_13_2672.jpg', '/home/pi/Desktop/images/02112025/03/21/image_02112025_03_21_28_2807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/20/image_02112025_03_20_46_2717.jpg
/home/pi/Desktop/images/02112025/03/20/image_02112025_03_20_55_3673.jpg
/home/pi/Desktop/images/02112025/03/20/image_02112025_03_20_58_2651.jpg
/home/pi/Desktop/images/02112025/03/21/image_02112025_03_21_10_3549.jpg
/home/pi/Desktop/images/02112025/03/21/image_02112025_03_21_13_2672.jpg
/home/pi/Desktop/images/02112025/03/21/image_02112025_03_21_28_2807.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391936081","1391936084","1391936087","1391936080","1391936085","1391936079"],"photo_ids_order":["1391936079","1391936080","1391936081","1391936084","1391936085","1391936087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/32f6e9d4151872aad0607ddcd9842f29.jpg","text":"TemporaryFile(/tmp/multipartBody4724304716825477444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122143509,"filename":"image_02112025_03_20_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/2/f4be3fa8e3f3ccc14c00896604d82afb.jpg","text":"TemporaryFile(/tmp/multipartBody4588758539477939545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122143509,"filename":"image_02112025_03_21_10_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/2/bccfd252ea15f9eb203f5ff74eafa46f.jpg","text":"TemporaryFile(/tmp/multipartBody577596272610280856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122143509,"filename":"image_02112025_03_21_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/2/5b6ae2696b99a2f869d49fd23a1c3813.jpg","text":"TemporaryFile(/tmp/multipartBody5841208709834741845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122143509,"filename":"image_02112025_03_20_55_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/2/168bf216fd5947f851f3132d5570d4c2.jpg","text":"TemporaryFile(/tmp/multipartBody2189607118911445267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122143509,"filename":"image_02112025_03_21_13_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/2/425d792519d9f632ccdebb00530dd643.jpg","text":"TemporaryFile(/tmp/multipartBody284004227192223489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122143509,"filename":"image_02112025_03_20_46_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391936081","file1":"1391936080","file0":"1391936079","file4":"1391936085","file5":"1391936087","file3":"1391936084"},"map_files_photo_id_array":[{"photo_id":"1391936087","filename":"file5"},{"photo_id":"1391936081","filename":"file2"},{"photo_id":"1391936085","filename":"file4"},{"photo_id":"1391936080","filename":"file1"},{"photo_id":"1391936079","filename":"file0"},{"photo_id":"1391936084","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391936081":["hashtag1","hashtag2"]},{"1391936084":["hashtag1","hashtag2"]},{"1391936087":["hashtag1","hashtag2"]},{"1391936080":["hashtag1","hashtag2"]},{"1391936085":["hashtag1","hashtag2"]},{"1391936079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391936081, 1391936084, 1391936087, 1391936080, 1391936085, 1391936079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.99273633956909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:22:03.233191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/21/image_02112025_03_21_31_2664.jpg', '/home/pi/Desktop/images/02112025/03/21/image_02112025_03_21_34_2780.jpg', '/home/pi/Desktop/images/02112025/03/21/image_02112025_03_21_52_2831.jpg', '/home/pi/Desktop/images/02112025/03/22/image_02112025_03_22_10_3709.jpg', '/home/pi/Desktop/images/02112025/03/22/image_02112025_03_22_13_2663.jpg', '/home/pi/Desktop/images/02112025/03/22/image_02112025_03_22_16_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/21/image_02112025_03_21_31_2664.jpg
/home/pi/Desktop/images/02112025/03/21/image_02112025_03_21_34_2780.jpg
/home/pi/Desktop/images/02112025/03/21/image_02112025_03_21_52_2831.jpg
/home/pi/Desktop/images/02112025/03/22/image_02112025_03_22_10_3709.jpg
/home/pi/Desktop/images/02112025/03/22/image_02112025_03_22_13_2663.jpg
/home/pi/Desktop/images/02112025/03/22/image_02112025_03_22_16_2674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391936096","1391936099","1391936093","1391936089","1391936101","1391936091"],"photo_ids_order":["1391936089","1391936091","1391936093","1391936096","1391936099","1391936101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/106267c5260f866715842954544fb0cc.jpg","text":"TemporaryFile(/tmp/multipartBody6251394435168937837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122184130,"filename":"image_02112025_03_22_10_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/2/164b2a55416ebf32f7feaab05009a828.jpg","text":"TemporaryFile(/tmp/multipartBody7332317578929220284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122184130,"filename":"image_02112025_03_22_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/2/2356e4f1e09e34c3aa16898af1fb6c4a.jpg","text":"TemporaryFile(/tmp/multipartBody3275459985104965891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122184130,"filename":"image_02112025_03_21_52_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/2/e6f0968827fd919ca256113541d96758.jpg","text":"TemporaryFile(/tmp/multipartBody4310423187761123787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122184130,"filename":"image_02112025_03_21_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/2/db2931c803de3fe3969bd3f268a98866.jpg","text":"TemporaryFile(/tmp/multipartBody5405343965702373936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122184130,"filename":"image_02112025_03_22_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/2/c95a9abd220f02ad21fad2fb30295f9b.jpg","text":"TemporaryFile(/tmp/multipartBody7386276232399203774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122184130,"filename":"image_02112025_03_21_34_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391936093","file1":"1391936091","file0":"1391936089","file4":"1391936099","file5":"1391936101","file3":"1391936096"},"map_files_photo_id_array":[{"photo_id":"1391936101","filename":"file5"},{"photo_id":"1391936093","filename":"file2"},{"photo_id":"1391936099","filename":"file4"},{"photo_id":"1391936091","filename":"file1"},{"photo_id":"1391936089","filename":"file0"},{"photo_id":"1391936096","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391936096":["hashtag1","hashtag2"]},{"1391936099":["hashtag1","hashtag2"]},{"1391936093":["hashtag1","hashtag2"]},{"1391936089":["hashtag1","hashtag2"]},{"1391936101":["hashtag1","hashtag2"]},{"1391936091":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391936096, 1391936099, 1391936093, 1391936089, 1391936101, 1391936091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.126364946365356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:22:42.740545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/22/image_02112025_03_22_19_3763.jpg', '/home/pi/Desktop/images/02112025/03/22/image_02112025_03_22_25_2661.jpg', '/home/pi/Desktop/images/02112025/03/22/image_02112025_03_22_31_2709.jpg', '/home/pi/Desktop/images/02112025/03/22/image_02112025_03_22_45_2796.jpg', '/home/pi/Desktop/images/02112025/03/22/image_02112025_03_22_49_3676.jpg', '/home/pi/Desktop/images/02112025/03/22/image_02112025_03_22_52_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/22/image_02112025_03_22_19_3763.jpg
/home/pi/Desktop/images/02112025/03/22/image_02112025_03_22_25_2661.jpg
/home/pi/Desktop/images/02112025/03/22/image_02112025_03_22_31_2709.jpg
/home/pi/Desktop/images/02112025/03/22/image_02112025_03_22_45_2796.jpg
/home/pi/Desktop/images/02112025/03/22/image_02112025_03_22_49_3676.jpg
/home/pi/Desktop/images/02112025/03/22/image_02112025_03_22_52_2604.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391936109","1391936114","1391936111","1391936110","1391936113","1391936116"],"photo_ids_order":["1391936109","1391936110","1391936111","1391936113","1391936114","1391936116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/97bfb456e151a755333286a3593e8ae9.jpg","text":"TemporaryFile(/tmp/multipartBody3006286481061806896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122223682,"filename":"image_02112025_03_22_19_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/2/7d92b1b9b81ef4accc16f301b775c861.jpg","text":"TemporaryFile(/tmp/multipartBody5517522006478995112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122223682,"filename":"image_02112025_03_22_49_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/2/ecedd6b6b97b77d7bc060545819c8888.jpg","text":"TemporaryFile(/tmp/multipartBody8474685880738790844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122223682,"filename":"image_02112025_03_22_31_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/2/d3d2f0c6eaca7a5b672728cb12fbcc4f.jpg","text":"TemporaryFile(/tmp/multipartBody1459932581785200320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122223682,"filename":"image_02112025_03_22_25_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/2/5fa4875e72fc19c415ba9c9a27c64e92.jpg","text":"TemporaryFile(/tmp/multipartBody6082096601671303276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122223682,"filename":"image_02112025_03_22_45_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/2/c46199ca9a5836d56b9a7aa8bcb1f87e.jpg","text":"TemporaryFile(/tmp/multipartBody6943701119574204396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122223682,"filename":"image_02112025_03_22_52_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391936111","file1":"1391936110","file0":"1391936109","file4":"1391936114","file5":"1391936116","file3":"1391936113"},"map_files_photo_id_array":[{"photo_id":"1391936116","filename":"file5"},{"photo_id":"1391936111","filename":"file2"},{"photo_id":"1391936114","filename":"file4"},{"photo_id":"1391936110","filename":"file1"},{"photo_id":"1391936109","filename":"file0"},{"photo_id":"1391936113","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391936109":["hashtag1","hashtag2"]},{"1391936114":["hashtag1","hashtag2"]},{"1391936111":["hashtag1","hashtag2"]},{"1391936110":["hashtag1","hashtag2"]},{"1391936113":["hashtag1","hashtag2"]},{"1391936116":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391936109, 1391936114, 1391936111, 1391936110, 1391936113, 1391936116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20474052429199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:23:21.902198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/23/image_02112025_03_23_04_3630.jpg', '/home/pi/Desktop/images/02112025/03/23/image_02112025_03_23_07_2650.jpg', '/home/pi/Desktop/images/02112025/03/23/image_02112025_03_23_16_2642.jpg', '/home/pi/Desktop/images/02112025/03/23/image_02112025_03_23_19_2717.jpg', '/home/pi/Desktop/images/02112025/03/23/image_02112025_03_23_22_3696.jpg', '/home/pi/Desktop/images/02112025/03/23/image_02112025_03_23_31_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/23/image_02112025_03_23_04_3630.jpg
/home/pi/Desktop/images/02112025/03/23/image_02112025_03_23_07_2650.jpg
/home/pi/Desktop/images/02112025/03/23/image_02112025_03_23_16_2642.jpg
/home/pi/Desktop/images/02112025/03/23/image_02112025_03_23_19_2717.jpg
/home/pi/Desktop/images/02112025/03/23/image_02112025_03_23_22_3696.jpg
/home/pi/Desktop/images/02112025/03/23/image_02112025_03_23_31_3598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391936124","1391936126","1391936123","1391936125","1391936128","1391936121"],"photo_ids_order":["1391936121","1391936123","1391936124","1391936125","1391936126","1391936128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/94d440f8e581c5d0c5e90f34e3103b42.jpg","text":"TemporaryFile(/tmp/multipartBody6906460496078105829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122262749,"filename":"image_02112025_03_23_16_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/2/8af421327f798c554fd4eb69ae31ed97.jpg","text":"TemporaryFile(/tmp/multipartBody2640201257136758860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122262749,"filename":"image_02112025_03_23_22_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/2/88f12342cf0e6dde0adcdd1f80f76222.jpg","text":"TemporaryFile(/tmp/multipartBody5658661264089194910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122262749,"filename":"image_02112025_03_23_07_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/2/613d31391618d435b15b9d5268165675.jpg","text":"TemporaryFile(/tmp/multipartBody225385187885964180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122262749,"filename":"image_02112025_03_23_19_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/2/e0b631b88cf5ab6728aedf993594be30.jpg","text":"TemporaryFile(/tmp/multipartBody7336904824892462735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122262749,"filename":"image_02112025_03_23_31_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/2/ddf185facc20286a819f56e9a3cd7caf.jpg","text":"TemporaryFile(/tmp/multipartBody7898167081662891749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122262749,"filename":"image_02112025_03_23_04_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391936124","file1":"1391936123","file0":"1391936121","file4":"1391936126","file5":"1391936128","file3":"1391936125"},"map_files_photo_id_array":[{"photo_id":"1391936128","filename":"file5"},{"photo_id":"1391936124","filename":"file2"},{"photo_id":"1391936126","filename":"file4"},{"photo_id":"1391936123","filename":"file1"},{"photo_id":"1391936121","filename":"file0"},{"photo_id":"1391936125","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391936124":["hashtag1","hashtag2"]},{"1391936126":["hashtag1","hashtag2"]},{"1391936123":["hashtag1","hashtag2"]},{"1391936125":["hashtag1","hashtag2"]},{"1391936128":["hashtag1","hashtag2"]},{"1391936121":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391936124, 1391936126, 1391936123, 1391936125, 1391936128, 1391936121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08127975463867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:24:02.755967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/23/image_02112025_03_23_43_3610.jpg', '/home/pi/Desktop/images/02112025/03/24/image_02112025_03_24_09_2885.jpg', '/home/pi/Desktop/images/02112025/03/24/image_02112025_03_24_13_3675.jpg', '/home/pi/Desktop/images/02112025/03/24/image_02112025_03_24_16_2668.jpg', '/home/pi/Desktop/images/02112025/03/24/image_02112025_03_24_22_3680.jpg', '/home/pi/Desktop/images/02112025/03/24/image_02112025_03_24_25_2668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/23/image_02112025_03_23_43_3610.jpg
/home/pi/Desktop/images/02112025/03/24/image_02112025_03_24_09_2885.jpg
/home/pi/Desktop/images/02112025/03/24/image_02112025_03_24_13_3675.jpg
/home/pi/Desktop/images/02112025/03/24/image_02112025_03_24_16_2668.jpg
/home/pi/Desktop/images/02112025/03/24/image_02112025_03_24_22_3680.jpg
/home/pi/Desktop/images/02112025/03/24/image_02112025_03_24_25_2668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391936144","1391936147","1391936138","1391936140","1391936134","1391936136"],"photo_ids_order":["1391936134","1391936136","1391936138","1391936140","1391936144","1391936147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c2db0c34457179e683e4c3ee523ffa9b.jpg","text":"TemporaryFile(/tmp/multipartBody854415578184618788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122303795,"filename":"image_02112025_03_24_22_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/2/36f097a12501b110cb6430f703ed5a5e.jpg","text":"TemporaryFile(/tmp/multipartBody4088947762337504895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122303795,"filename":"image_02112025_03_24_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/2/4ccacf1bc2e164f3a4f887303955f15b.jpg","text":"TemporaryFile(/tmp/multipartBody355236706772647572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122303795,"filename":"image_02112025_03_24_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/2/d130467ce5c8c229fd78eb81c9d7440f.jpg","text":"TemporaryFile(/tmp/multipartBody4088433576820851895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122303795,"filename":"image_02112025_03_24_16_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/2/4c47c89e16d95bcc597fb3af84fbab51.jpg","text":"TemporaryFile(/tmp/multipartBody6600078787828192349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122303795,"filename":"image_02112025_03_23_43_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/2/292aaeadaca09b434064915a456eab10.jpg","text":"TemporaryFile(/tmp/multipartBody7698563037890255851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122303795,"filename":"image_02112025_03_24_09_2885.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391936138","file1":"1391936136","file0":"1391936134","file4":"1391936144","file5":"1391936147","file3":"1391936140"},"map_files_photo_id_array":[{"photo_id":"1391936147","filename":"file5"},{"photo_id":"1391936138","filename":"file2"},{"photo_id":"1391936144","filename":"file4"},{"photo_id":"1391936136","filename":"file1"},{"photo_id":"1391936134","filename":"file0"},{"photo_id":"1391936140","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391936144":["hashtag1","hashtag2"]},{"1391936147":["hashtag1","hashtag2"]},{"1391936138":["hashtag1","hashtag2"]},{"1391936140":["hashtag1","hashtag2"]},{"1391936134":["hashtag1","hashtag2"]},{"1391936136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391936144, 1391936147, 1391936138, 1391936140, 1391936134, 1391936136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.512569427490234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:24:42.213994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/24/image_02112025_03_24_28_2826.jpg', '/home/pi/Desktop/images/02112025/03/24/image_02112025_03_24_30_2652.jpg', '/home/pi/Desktop/images/02112025/03/24/image_02112025_03_24_34_3580.jpg', '/home/pi/Desktop/images/02112025/03/24/image_02112025_03_24_43_3687.jpg', '/home/pi/Desktop/images/02112025/03/24/image_02112025_03_24_55_2853.jpg', '/home/pi/Desktop/images/02112025/03/24/image_02112025_03_24_58_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/24/image_02112025_03_24_28_2826.jpg
/home/pi/Desktop/images/02112025/03/24/image_02112025_03_24_30_2652.jpg
/home/pi/Desktop/images/02112025/03/24/image_02112025_03_24_34_3580.jpg
/home/pi/Desktop/images/02112025/03/24/image_02112025_03_24_43_3687.jpg
/home/pi/Desktop/images/02112025/03/24/image_02112025_03_24_55_2853.jpg
/home/pi/Desktop/images/02112025/03/24/image_02112025_03_24_58_2693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391936150","1391936156","1391936149","1391936158","1391936152","1391936154"],"photo_ids_order":["1391936149","1391936150","1391936152","1391936154","1391936156","1391936158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bd51e1de6708852f3263fdfa734dfff7.jpg","text":"TemporaryFile(/tmp/multipartBody7032248116143558956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122343171,"filename":"image_02112025_03_24_30_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/2/27bd1ccc1df6c2ddafb90eebc41bfa70.jpg","text":"TemporaryFile(/tmp/multipartBody7424278953885414194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122343171,"filename":"image_02112025_03_24_55_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/2/0aec770da4f4b95e405d4fe546c7a05a.jpg","text":"TemporaryFile(/tmp/multipartBody8632108481003253445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122343171,"filename":"image_02112025_03_24_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/2/5d4ddd97f9326adf3f0a35fcd83c5e56.jpg","text":"TemporaryFile(/tmp/multipartBody7736686009190533756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122343171,"filename":"image_02112025_03_24_58_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/2/93fb5591b85477368cde373d29221cb6.jpg","text":"TemporaryFile(/tmp/multipartBody6649846885450970599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122343171,"filename":"image_02112025_03_24_34_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/2/bf9f21f3a2330c28334ca3cb698f38af.jpg","text":"TemporaryFile(/tmp/multipartBody556686521043267659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122343171,"filename":"image_02112025_03_24_43_3687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391936152","file1":"1391936150","file0":"1391936149","file4":"1391936156","file5":"1391936158","file3":"1391936154"},"map_files_photo_id_array":[{"photo_id":"1391936158","filename":"file5"},{"photo_id":"1391936152","filename":"file2"},{"photo_id":"1391936156","filename":"file4"},{"photo_id":"1391936150","filename":"file1"},{"photo_id":"1391936149","filename":"file0"},{"photo_id":"1391936154","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391936150":["hashtag1","hashtag2"]},{"1391936156":["hashtag1","hashtag2"]},{"1391936149":["hashtag1","hashtag2"]},{"1391936158":["hashtag1","hashtag2"]},{"1391936152":["hashtag1","hashtag2"]},{"1391936154":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391936150, 1391936156, 1391936149, 1391936158, 1391936152, 1391936154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.535852670669556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:25:22.433307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/25/image_02112025_03_25_04_3610.jpg', '/home/pi/Desktop/images/02112025/03/25/image_02112025_03_25_06_2533.jpg', '/home/pi/Desktop/images/02112025/03/25/image_02112025_03_25_31_3634.jpg', '/home/pi/Desktop/images/02112025/03/25/image_02112025_03_25_33_2558.jpg', '/home/pi/Desktop/images/02112025/03/25/image_02112025_03_25_37_3595.jpg', '/home/pi/Desktop/images/02112025/03/25/image_02112025_03_26_00_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/25/image_02112025_03_25_04_3610.jpg
/home/pi/Desktop/images/02112025/03/25/image_02112025_03_25_06_2533.jpg
/home/pi/Desktop/images/02112025/03/25/image_02112025_03_25_31_3634.jpg
/home/pi/Desktop/images/02112025/03/25/image_02112025_03_25_33_2558.jpg
/home/pi/Desktop/images/02112025/03/25/image_02112025_03_25_37_3595.jpg
/home/pi/Desktop/images/02112025/03/25/image_02112025_03_26_00_2678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391936177","1391936168","1391936173","1391936170","1391936164","1391936166"],"photo_ids_order":["1391936164","1391936166","1391936168","1391936170","1391936173","1391936177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0fd9d984fece36d2571420e1f94fec36.jpg","text":"TemporaryFile(/tmp/multipartBody2389539738398521300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122385945,"filename":"image_02112025_03_26_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/2/83b9d72bda1750731503021df71b8ff3.jpg","text":"TemporaryFile(/tmp/multipartBody3936183305612831797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122385945,"filename":"image_02112025_03_25_31_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/2/bd36213779eb185d468e9ab0b48c6639.jpg","text":"TemporaryFile(/tmp/multipartBody450969767739726208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122385945,"filename":"image_02112025_03_25_37_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/2/07cc88c137e137e0396b771db0be34da.jpg","text":"TemporaryFile(/tmp/multipartBody8065211385725868123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122385945,"filename":"image_02112025_03_25_33_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/2/501ebbe51e5cb6f7ebeeaac19346f8ea.jpg","text":"TemporaryFile(/tmp/multipartBody9189560458182107184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122385945,"filename":"image_02112025_03_25_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/2/4232090c90fff73c778f89cd4e7fa7e0.jpg","text":"TemporaryFile(/tmp/multipartBody9146538215930125568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122385945,"filename":"image_02112025_03_25_06_2533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391936168","file1":"1391936166","file0":"1391936164","file4":"1391936173","file5":"1391936177","file3":"1391936170"},"map_files_photo_id_array":[{"photo_id":"1391936177","filename":"file5"},{"photo_id":"1391936168","filename":"file2"},{"photo_id":"1391936173","filename":"file4"},{"photo_id":"1391936166","filename":"file1"},{"photo_id":"1391936164","filename":"file0"},{"photo_id":"1391936170","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391936177":["hashtag1","hashtag2"]},{"1391936168":["hashtag1","hashtag2"]},{"1391936173":["hashtag1","hashtag2"]},{"1391936170":["hashtag1","hashtag2"]},{"1391936164":["hashtag1","hashtag2"]},{"1391936166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391936177, 1391936168, 1391936173, 1391936170, 1391936164, 1391936166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32523798942566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:26:03.069592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/26/image_02112025_03_26_04_3584.jpg', '/home/pi/Desktop/images/02112025/03/26/image_02112025_03_26_12_2669.jpg', '/home/pi/Desktop/images/02112025/03/26/image_02112025_03_26_19_2836.jpg', '/home/pi/Desktop/images/02112025/03/26/image_02112025_03_26_21_2689.jpg', '/home/pi/Desktop/images/02112025/03/26/image_02112025_03_26_31_2948.jpg', '/home/pi/Desktop/images/02112025/03/26/image_02112025_03_26_33_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/26/image_02112025_03_26_04_3584.jpg
/home/pi/Desktop/images/02112025/03/26/image_02112025_03_26_12_2669.jpg
/home/pi/Desktop/images/02112025/03/26/image_02112025_03_26_19_2836.jpg
/home/pi/Desktop/images/02112025/03/26/image_02112025_03_26_21_2689.jpg
/home/pi/Desktop/images/02112025/03/26/image_02112025_03_26_31_2948.jpg
/home/pi/Desktop/images/02112025/03/26/image_02112025_03_26_33_2708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391936189","1391936186","1391936191","1391936184","1391936193","1391936181"],"photo_ids_order":["1391936181","1391936184","1391936186","1391936189","1391936191","1391936193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/11d7fbdb11dc469c8e0eaaee891b6569.jpg","text":"TemporaryFile(/tmp/multipartBody5477067883673639494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122424009,"filename":"image_02112025_03_26_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/2/3b108ed6f748177a57ec7bdd1a269fdb.jpg","text":"TemporaryFile(/tmp/multipartBody1555135842338753963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122424009,"filename":"image_02112025_03_26_19_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/2/ac0d9eeaa470060f8dc8a2fa98ac12ff.jpg","text":"TemporaryFile(/tmp/multipartBody7694597142837746597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122424009,"filename":"image_02112025_03_26_31_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/2/d85ace0a398e37857f2649384c899f1a.jpg","text":"TemporaryFile(/tmp/multipartBody5760348514424339362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122424009,"filename":"image_02112025_03_26_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/2/5628c77bac00cc40ecc921cfdc998b03.jpg","text":"TemporaryFile(/tmp/multipartBody4307381709152424517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122424009,"filename":"image_02112025_03_26_33_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/2/99ed7ded0c25601ac008266b6ca7af95.jpg","text":"TemporaryFile(/tmp/multipartBody7903161697616766244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122424009,"filename":"image_02112025_03_26_04_3584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391936186","file1":"1391936184","file0":"1391936181","file4":"1391936191","file5":"1391936193","file3":"1391936189"},"map_files_photo_id_array":[{"photo_id":"1391936193","filename":"file5"},{"photo_id":"1391936186","filename":"file2"},{"photo_id":"1391936191","filename":"file4"},{"photo_id":"1391936184","filename":"file1"},{"photo_id":"1391936181","filename":"file0"},{"photo_id":"1391936189","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391936189":["hashtag1","hashtag2"]},{"1391936186":["hashtag1","hashtag2"]},{"1391936191":["hashtag1","hashtag2"]},{"1391936184":["hashtag1","hashtag2"]},{"1391936193":["hashtag1","hashtag2"]},{"1391936181":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391936189, 1391936186, 1391936191, 1391936184, 1391936193, 1391936181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27770280838013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:26:42.518317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/26/image_02112025_03_26_57_2885.jpg', '/home/pi/Desktop/images/02112025/03/27/image_02112025_03_27_15_2645.jpg', '/home/pi/Desktop/images/02112025/03/27/image_02112025_03_27_27_5022.jpg', '/home/pi/Desktop/images/02112025/03/29/image_02112025_03_29_07_3757.jpg', '/home/pi/Desktop/images/02112025/03/29/image_02112025_03_29_12_2663.jpg', '/home/pi/Desktop/images/02112025/03/29/image_02112025_03_29_18_3678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/26/image_02112025_03_26_57_2885.jpg
/home/pi/Desktop/images/02112025/03/27/image_02112025_03_27_15_2645.jpg
/home/pi/Desktop/images/02112025/03/27/image_02112025_03_27_27_5022.jpg
/home/pi/Desktop/images/02112025/03/29/image_02112025_03_29_07_3757.jpg
/home/pi/Desktop/images/02112025/03/29/image_02112025_03_29_12_2663.jpg
/home/pi/Desktop/images/02112025/03/29/image_02112025_03_29_18_3678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391936202","1391936204","1391936194","1391936197","1391936206","1391936200"],"photo_ids_order":["1391936194","1391936197","1391936200","1391936202","1391936204","1391936206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/2a78b2e87c24416c6fb1da1deb292c9d.jpg","text":"TemporaryFile(/tmp/multipartBody7000314324349220700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122463559,"filename":"image_02112025_03_29_07_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/2/4ce9d43c9ab1a067bd38c9929c8a5596.jpg","text":"TemporaryFile(/tmp/multipartBody7609515714612794355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122463559,"filename":"image_02112025_03_29_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/2/cb72c122c67aeeaf112924eeeeee2e95.jpg","text":"TemporaryFile(/tmp/multipartBody4892020474928656073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122463559,"filename":"image_02112025_03_26_57_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/2/abe68e413e7ac0696f149d59437713a4.jpg","text":"TemporaryFile(/tmp/multipartBody7403138161249567745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122463559,"filename":"image_02112025_03_27_15_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/2/e0f13f79b4e3c59e6146f34998f2e490.jpg","text":"TemporaryFile(/tmp/multipartBody3377163760128453089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122463559,"filename":"image_02112025_03_29_18_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/2/3a22f67d075ba0438c5721396d556ede.jpg","text":"TemporaryFile(/tmp/multipartBody3452109569979674547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122463559,"filename":"image_02112025_03_27_27_5022.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391936200","file1":"1391936197","file0":"1391936194","file4":"1391936204","file5":"1391936206","file3":"1391936202"},"map_files_photo_id_array":[{"photo_id":"1391936206","filename":"file5"},{"photo_id":"1391936200","filename":"file2"},{"photo_id":"1391936204","filename":"file4"},{"photo_id":"1391936197","filename":"file1"},{"photo_id":"1391936194","filename":"file0"},{"photo_id":"1391936202","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391936202":["hashtag1","hashtag2"]},{"1391936204":["hashtag1","hashtag2"]},{"1391936194":["hashtag1","hashtag2"]},{"1391936197":["hashtag1","hashtag2"]},{"1391936206":["hashtag1","hashtag2"]},{"1391936200":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391936202, 1391936204, 1391936194, 1391936197, 1391936206, 1391936200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29089331626892 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:27:22.662282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/29/image_02112025_03_29_37_3752.jpg', '/home/pi/Desktop/images/02112025/03/29/image_02112025_03_29_55_3718.jpg', '/home/pi/Desktop/images/02112025/03/29/image_02112025_03_30_00_2811.jpg', '/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_04_3561.jpg', '/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_06_2621.jpg', '/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_15_2849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/29/image_02112025_03_29_37_3752.jpg
/home/pi/Desktop/images/02112025/03/29/image_02112025_03_29_55_3718.jpg
/home/pi/Desktop/images/02112025/03/29/image_02112025_03_30_00_2811.jpg
/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_04_3561.jpg
/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_06_2621.jpg
/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_15_2849.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391936217","1391936211","1391936213","1391936219","1391936215","1391936209"],"photo_ids_order":["1391936209","1391936211","1391936213","1391936215","1391936217","1391936219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c0df39724b6d3a1c92d69544b60e6d00.jpg","text":"TemporaryFile(/tmp/multipartBody5800298931502136100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122503550,"filename":"image_02112025_03_30_06_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/2/4b8384f2652db036b1b002f4e0df3523.jpg","text":"TemporaryFile(/tmp/multipartBody5899868175568591024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122503550,"filename":"image_02112025_03_29_55_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/2/f0297d0701ea31132b71fd015ddda571.jpg","text":"TemporaryFile(/tmp/multipartBody387168775648573075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122503550,"filename":"image_02112025_03_30_00_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/2/5f471e22feb5c0af43e6d72d8990f9d9.jpg","text":"TemporaryFile(/tmp/multipartBody8584111917202669302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122503550,"filename":"image_02112025_03_30_15_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/2/e807eefb1097dee67a0725ccbe0f5452.jpg","text":"TemporaryFile(/tmp/multipartBody3183134700644103271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122503550,"filename":"image_02112025_03_30_04_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/2/ec601fa2529c49fa381df9090a60b7a2.jpg","text":"TemporaryFile(/tmp/multipartBody4093750069730258500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122503550,"filename":"image_02112025_03_29_37_3752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391936213","file1":"1391936211","file0":"1391936209","file4":"1391936217","file5":"1391936219","file3":"1391936215"},"map_files_photo_id_array":[{"photo_id":"1391936219","filename":"file5"},{"photo_id":"1391936213","filename":"file2"},{"photo_id":"1391936217","filename":"file4"},{"photo_id":"1391936211","filename":"file1"},{"photo_id":"1391936209","filename":"file0"},{"photo_id":"1391936215","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391936217":["hashtag1","hashtag2"]},{"1391936211":["hashtag1","hashtag2"]},{"1391936213":["hashtag1","hashtag2"]},{"1391936219":["hashtag1","hashtag2"]},{"1391936215":["hashtag1","hashtag2"]},{"1391936209":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391936217, 1391936211, 1391936213, 1391936219, 1391936215, 1391936209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72545599937439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:28:02.437718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_21_2860.jpg', '/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_24_2808.jpg', '/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_45_2700.jpg', '/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_48_2591.jpg', '/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_54_2592.jpg', '/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_57_2819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_21_2860.jpg
/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_24_2808.jpg
/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_45_2700.jpg
/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_48_2591.jpg
/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_54_2592.jpg
/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_57_2819.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.817634105682373 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:28:21.939861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_21_2860.jpg', '/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_24_2808.jpg', '/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_45_2700.jpg', '/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_48_2591.jpg', '/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_54_2592.jpg', '/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_57_2819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_21_2860.jpg
/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_24_2808.jpg
/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_45_2700.jpg
/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_48_2591.jpg
/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_54_2592.jpg
/home/pi/Desktop/images/02112025/03/30/image_02112025_03_30_57_2819.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391936238","1391936234","1391936236","1391936230","1391936233","1391936235"],"photo_ids_order":["1391936230","1391936233","1391936234","1391936235","1391936236","1391936238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/72d6526cbd690cf9684b7dba77de02de.jpg","text":"TemporaryFile(/tmp/multipartBody8139565275207068757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122562620,"filename":"image_02112025_03_30_57_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/2/88209fab56c4e59e7a2d49ab51d3b912.jpg","text":"TemporaryFile(/tmp/multipartBody441473902209845651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122562620,"filename":"image_02112025_03_30_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/2/b82735de905c97fca1e12ee89754000d.jpg","text":"TemporaryFile(/tmp/multipartBody1523364237536985293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122562620,"filename":"image_02112025_03_30_54_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/2/b33ab8caf4080ea52729ffa00c988a14.jpg","text":"TemporaryFile(/tmp/multipartBody6561018436563594868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122562620,"filename":"image_02112025_03_30_21_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/2/c4d81cb559b956a73906918e8649cf47.jpg","text":"TemporaryFile(/tmp/multipartBody13661530073219784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122562620,"filename":"image_02112025_03_30_24_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/2/fe7682446a2a0f82c36868665719c950.jpg","text":"TemporaryFile(/tmp/multipartBody4058957354254266802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122562620,"filename":"image_02112025_03_30_48_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391936234","file1":"1391936233","file0":"1391936230","file4":"1391936236","file5":"1391936238","file3":"1391936235"},"map_files_photo_id_array":[{"photo_id":"1391936238","filename":"file5"},{"photo_id":"1391936234","filename":"file2"},{"photo_id":"1391936236","filename":"file4"},{"photo_id":"1391936233","filename":"file1"},{"photo_id":"1391936230","filename":"file0"},{"photo_id":"1391936235","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391936238":["hashtag1","hashtag2"]},{"1391936234":["hashtag1","hashtag2"]},{"1391936236":["hashtag1","hashtag2"]},{"1391936230":["hashtag1","hashtag2"]},{"1391936233":["hashtag1","hashtag2"]},{"1391936235":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391936238, 1391936234, 1391936236, 1391936230, 1391936233, 1391936235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62517833709717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:29:03.224647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/31/image_02112025_03_31_03_2796.jpg', '/home/pi/Desktop/images/02112025/03/31/image_02112025_03_31_06_2655.jpg', '/home/pi/Desktop/images/02112025/03/31/image_02112025_03_31_12_2535.jpg', '/home/pi/Desktop/images/02112025/03/31/image_02112025_03_31_18_3662.jpg', '/home/pi/Desktop/images/02112025/03/31/image_02112025_03_31_21_2666.jpg', '/home/pi/Desktop/images/02112025/03/31/image_02112025_03_31_24_2742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/31/image_02112025_03_31_03_2796.jpg
/home/pi/Desktop/images/02112025/03/31/image_02112025_03_31_06_2655.jpg
/home/pi/Desktop/images/02112025/03/31/image_02112025_03_31_12_2535.jpg
/home/pi/Desktop/images/02112025/03/31/image_02112025_03_31_18_3662.jpg
/home/pi/Desktop/images/02112025/03/31/image_02112025_03_31_21_2666.jpg
/home/pi/Desktop/images/02112025/03/31/image_02112025_03_31_24_2742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391936243","1391936252","1391936246","1391936248","1391936245","1391936250"],"photo_ids_order":["1391936243","1391936245","1391936246","1391936248","1391936250","1391936252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/877a8a2e32cafecebcfc4b2e610228db.jpg","text":"TemporaryFile(/tmp/multipartBody9016396937577086305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122604590,"filename":"image_02112025_03_31_03_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/2/40d126c5bb31be9b8db29b7b0da67c07.jpg","text":"TemporaryFile(/tmp/multipartBody158453920530941116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122604590,"filename":"image_02112025_03_31_24_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/2/6734b9d37b19ab567c7b3c7fdf0ce2be.jpg","text":"TemporaryFile(/tmp/multipartBody9007331982179378305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122604590,"filename":"image_02112025_03_31_12_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/2/8c7316e77c3f9dbcf6035e8b9d097d38.jpg","text":"TemporaryFile(/tmp/multipartBody8896955611405190498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122604590,"filename":"image_02112025_03_31_18_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/2/d5563653f6089c8a90b93d32f5fbf0ce.jpg","text":"TemporaryFile(/tmp/multipartBody7646534036795514689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122604590,"filename":"image_02112025_03_31_06_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/2/89867bff04c8c1eecfc520f8e86d8806.jpg","text":"TemporaryFile(/tmp/multipartBody3931721516471353828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122604590,"filename":"image_02112025_03_31_21_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391936246","file1":"1391936245","file0":"1391936243","file4":"1391936250","file5":"1391936252","file3":"1391936248"},"map_files_photo_id_array":[{"photo_id":"1391936252","filename":"file5"},{"photo_id":"1391936246","filename":"file2"},{"photo_id":"1391936250","filename":"file4"},{"photo_id":"1391936245","filename":"file1"},{"photo_id":"1391936243","filename":"file0"},{"photo_id":"1391936248","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391936243":["hashtag1","hashtag2"]},{"1391936252":["hashtag1","hashtag2"]},{"1391936246":["hashtag1","hashtag2"]},{"1391936248":["hashtag1","hashtag2"]},{"1391936245":["hashtag1","hashtag2"]},{"1391936250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391936243, 1391936252, 1391936246, 1391936248, 1391936245, 1391936250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83592867851257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:29:42.150243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/31/image_02112025_03_31_27_3676.jpg', '/home/pi/Desktop/images/02112025/03/31/image_02112025_03_31_30_2704.jpg', '/home/pi/Desktop/images/02112025/03/31/image_02112025_03_31_33_2806.jpg', '/home/pi/Desktop/images/02112025/03/31/image_02112025_03_31_36_3555.jpg', '/home/pi/Desktop/images/02112025/03/31/image_02112025_03_31_42_2659.jpg', '/home/pi/Desktop/images/02112025/03/31/image_02112025_03_31_48_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/31/image_02112025_03_31_27_3676.jpg
/home/pi/Desktop/images/02112025/03/31/image_02112025_03_31_30_2704.jpg
/home/pi/Desktop/images/02112025/03/31/image_02112025_03_31_33_2806.jpg
/home/pi/Desktop/images/02112025/03/31/image_02112025_03_31_36_3555.jpg
/home/pi/Desktop/images/02112025/03/31/image_02112025_03_31_42_2659.jpg
/home/pi/Desktop/images/02112025/03/31/image_02112025_03_31_48_2592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391936264","1391936258","1391936266","1391936269","1391936254","1391936262"],"photo_ids_order":["1391936254","1391936258","1391936262","1391936264","1391936266","1391936269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/350957c0ef9281c22c78140a702363e8.jpg","text":"TemporaryFile(/tmp/multipartBody7260576581788887093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122643056,"filename":"image_02112025_03_31_36_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/2/b47bbe6c2b6ea77bb1a7877b8e41d48d.jpg","text":"TemporaryFile(/tmp/multipartBody1401996147543812823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122643056,"filename":"image_02112025_03_31_30_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/2/8d7a4f115f2d7451f89bc9245b291892.jpg","text":"TemporaryFile(/tmp/multipartBody5262258868373336006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122643056,"filename":"image_02112025_03_31_42_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/2/57a1b88973c0d94bcead01cb8a26ae07.jpg","text":"TemporaryFile(/tmp/multipartBody6308485562036671489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122643056,"filename":"image_02112025_03_31_48_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/2/bea669cb4f5bced1310f9ddd31deb0cd.jpg","text":"TemporaryFile(/tmp/multipartBody6245019008154611680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122643056,"filename":"image_02112025_03_31_27_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/2/0ed9c225520b3f77a98a1c821314f6ec.jpg","text":"TemporaryFile(/tmp/multipartBody8172592413545176399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122643056,"filename":"image_02112025_03_31_33_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391936262","file1":"1391936258","file0":"1391936254","file4":"1391936266","file5":"1391936269","file3":"1391936264"},"map_files_photo_id_array":[{"photo_id":"1391936269","filename":"file5"},{"photo_id":"1391936262","filename":"file2"},{"photo_id":"1391936266","filename":"file4"},{"photo_id":"1391936258","filename":"file1"},{"photo_id":"1391936254","filename":"file0"},{"photo_id":"1391936264","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391936264":["hashtag1","hashtag2"]},{"1391936258":["hashtag1","hashtag2"]},{"1391936266":["hashtag1","hashtag2"]},{"1391936269":["hashtag1","hashtag2"]},{"1391936254":["hashtag1","hashtag2"]},{"1391936262":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391936264, 1391936258, 1391936266, 1391936269, 1391936254, 1391936262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70220351219177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:30:22.282757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/32/image_02112025_03_32_06_2798.jpg', '/home/pi/Desktop/images/02112025/03/32/image_02112025_03_32_12_2853.jpg', '/home/pi/Desktop/images/02112025/03/32/image_02112025_03_32_57_2679.jpg', '/home/pi/Desktop/images/02112025/03/32/image_02112025_03_33_00_2570.jpg', '/home/pi/Desktop/images/02112025/03/33/image_02112025_03_33_08_2575.jpg', '/home/pi/Desktop/images/02112025/03/33/image_02112025_03_33_12_3824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/32/image_02112025_03_32_06_2798.jpg
/home/pi/Desktop/images/02112025/03/32/image_02112025_03_32_12_2853.jpg
/home/pi/Desktop/images/02112025/03/32/image_02112025_03_32_57_2679.jpg
/home/pi/Desktop/images/02112025/03/32/image_02112025_03_33_00_2570.jpg
/home/pi/Desktop/images/02112025/03/33/image_02112025_03_33_08_2575.jpg
/home/pi/Desktop/images/02112025/03/33/image_02112025_03_33_12_3824.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391936273","1391936272","1391936281","1391936275","1391936277","1391936271"],"photo_ids_order":["1391936271","1391936272","1391936273","1391936275","1391936277","1391936281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/67df0030d687bf43441ee19fd467371a.jpg","text":"TemporaryFile(/tmp/multipartBody7722756439799660930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122683135,"filename":"image_02112025_03_32_57_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/2/f973c391b155b18a629e82959fe6b44b.jpg","text":"TemporaryFile(/tmp/multipartBody2152298138308453904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122683135,"filename":"image_02112025_03_32_12_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/2/026af95ca61056b45ec197098e75d5b1.jpg","text":"TemporaryFile(/tmp/multipartBody1284397323389451930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122683135,"filename":"image_02112025_03_33_12_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/2/2fc73489f3ad92a652aa186fa45c949f.jpg","text":"TemporaryFile(/tmp/multipartBody7357261864468300678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122683135,"filename":"image_02112025_03_33_00_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/2/5a2b1678333018df42a383f13890762b.jpg","text":"TemporaryFile(/tmp/multipartBody7679101750855567379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122683135,"filename":"image_02112025_03_33_08_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/2/1f4f3543ec1d597809a3db90d1511157.jpg","text":"TemporaryFile(/tmp/multipartBody1850146655089286465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122683135,"filename":"image_02112025_03_32_06_2798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391936273","file1":"1391936272","file0":"1391936271","file4":"1391936277","file5":"1391936281","file3":"1391936275"},"map_files_photo_id_array":[{"photo_id":"1391936281","filename":"file5"},{"photo_id":"1391936273","filename":"file2"},{"photo_id":"1391936277","filename":"file4"},{"photo_id":"1391936272","filename":"file1"},{"photo_id":"1391936271","filename":"file0"},{"photo_id":"1391936275","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391936273":["hashtag1","hashtag2"]},{"1391936272":["hashtag1","hashtag2"]},{"1391936281":["hashtag1","hashtag2"]},{"1391936275":["hashtag1","hashtag2"]},{"1391936277":["hashtag1","hashtag2"]},{"1391936271":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391936273, 1391936272, 1391936281, 1391936275, 1391936277, 1391936271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36197066307068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:31:03.054973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/33/image_02112025_03_33_15_2634.jpg', '/home/pi/Desktop/images/02112025/03/33/image_02112025_03_33_24_2568.jpg', '/home/pi/Desktop/images/02112025/03/33/image_02112025_03_33_38_2648.jpg', '/home/pi/Desktop/images/02112025/03/33/image_02112025_03_33_54_2756.jpg', '/home/pi/Desktop/images/02112025/03/33/image_02112025_03_33_56_2606.jpg', '/home/pi/Desktop/images/02112025/03/34/image_02112025_03_34_03_2738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/33/image_02112025_03_33_15_2634.jpg
/home/pi/Desktop/images/02112025/03/33/image_02112025_03_33_24_2568.jpg
/home/pi/Desktop/images/02112025/03/33/image_02112025_03_33_38_2648.jpg
/home/pi/Desktop/images/02112025/03/33/image_02112025_03_33_54_2756.jpg
/home/pi/Desktop/images/02112025/03/33/image_02112025_03_33_56_2606.jpg
/home/pi/Desktop/images/02112025/03/34/image_02112025_03_34_03_2738.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391936285","1391936290","1391936284","1391936287","1391936292","1391936286"],"photo_ids_order":["1391936284","1391936285","1391936286","1391936287","1391936290","1391936292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/81da323b4b6374a85fc1482afbaebbf1.jpg","text":"TemporaryFile(/tmp/multipartBody3660950403024574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122724107,"filename":"image_02112025_03_33_24_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/2/1d40f798a5f83af7f3a6d63a75c67e1e.jpg","text":"TemporaryFile(/tmp/multipartBody2097036673668480843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122724107,"filename":"image_02112025_03_33_56_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/2/2fa176a6d7d42df32a7c83e6b84d493f.jpg","text":"TemporaryFile(/tmp/multipartBody7268639428383847926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122724107,"filename":"image_02112025_03_33_15_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/2/5c3f4dc2814acf31e27aef2a1a2c8967.jpg","text":"TemporaryFile(/tmp/multipartBody8962137600836503245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122724107,"filename":"image_02112025_03_33_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/2/c27428c809b019c3357197ce5cc666b8.jpg","text":"TemporaryFile(/tmp/multipartBody3111342947883060947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122724107,"filename":"image_02112025_03_34_03_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/2/482446dbfa60f364cf718d48d572eb40.jpg","text":"TemporaryFile(/tmp/multipartBody163900544150839959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122724107,"filename":"image_02112025_03_33_38_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391936286","file1":"1391936285","file0":"1391936284","file4":"1391936290","file5":"1391936292","file3":"1391936287"},"map_files_photo_id_array":[{"photo_id":"1391936292","filename":"file5"},{"photo_id":"1391936286","filename":"file2"},{"photo_id":"1391936290","filename":"file4"},{"photo_id":"1391936285","filename":"file1"},{"photo_id":"1391936284","filename":"file0"},{"photo_id":"1391936287","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391936285":["hashtag1","hashtag2"]},{"1391936290":["hashtag1","hashtag2"]},{"1391936284":["hashtag1","hashtag2"]},{"1391936287":["hashtag1","hashtag2"]},{"1391936292":["hashtag1","hashtag2"]},{"1391936286":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391936285, 1391936290, 1391936284, 1391936287, 1391936292, 1391936286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53826284408569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:31:42.633317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/34/image_02112025_03_34_12_2707.jpg', '/home/pi/Desktop/images/02112025/03/34/image_02112025_03_34_15_2799.jpg', '/home/pi/Desktop/images/02112025/03/34/image_02112025_03_34_21_3667.jpg', '/home/pi/Desktop/images/02112025/03/34/image_02112025_03_34_24_2664.jpg', '/home/pi/Desktop/images/02112025/03/34/image_02112025_03_34_30_3651.jpg', '/home/pi/Desktop/images/02112025/03/34/image_02112025_03_34_33_3063.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/34/image_02112025_03_34_12_2707.jpg
/home/pi/Desktop/images/02112025/03/34/image_02112025_03_34_15_2799.jpg
/home/pi/Desktop/images/02112025/03/34/image_02112025_03_34_21_3667.jpg
/home/pi/Desktop/images/02112025/03/34/image_02112025_03_34_24_2664.jpg
/home/pi/Desktop/images/02112025/03/34/image_02112025_03_34_30_3651.jpg
/home/pi/Desktop/images/02112025/03/34/image_02112025_03_34_33_3063.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391936301","1391936304","1391936306","1391936296","1391936308","1391936298"],"photo_ids_order":["1391936296","1391936298","1391936301","1391936304","1391936306","1391936308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/26661f168f526c03e4825073e01fb929.jpg","text":"TemporaryFile(/tmp/multipartBody7413538539711310440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122763593,"filename":"image_02112025_03_34_21_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/2/697d9f5882d2b7434b8b257b6b8c1ce8.jpg","text":"TemporaryFile(/tmp/multipartBody6893186801815921251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122763593,"filename":"image_02112025_03_34_24_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/2/241592ce3c0d17ad116940adec45f64b.jpg","text":"TemporaryFile(/tmp/multipartBody1291588194956995734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122763593,"filename":"image_02112025_03_34_30_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/2/f554205bd1bf807192758d2620c69f75.jpg","text":"TemporaryFile(/tmp/multipartBody1522032014204102120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122763593,"filename":"image_02112025_03_34_12_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/2/cdb0c842fa33c3d1dd41229beb653445.jpg","text":"TemporaryFile(/tmp/multipartBody542744437070184835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122763593,"filename":"image_02112025_03_34_33_3063.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f8b05a7a6723d68cac30f7eb006e7986.jpg","text":"TemporaryFile(/tmp/multipartBody7782748247699011201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122763593,"filename":"image_02112025_03_34_15_2799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391936301","file1":"1391936298","file0":"1391936296","file4":"1391936306","file5":"1391936308","file3":"1391936304"},"map_files_photo_id_array":[{"photo_id":"1391936308","filename":"file5"},{"photo_id":"1391936301","filename":"file2"},{"photo_id":"1391936306","filename":"file4"},{"photo_id":"1391936298","filename":"file1"},{"photo_id":"1391936296","filename":"file0"},{"photo_id":"1391936304","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391936301":["hashtag1","hashtag2"]},{"1391936304":["hashtag1","hashtag2"]},{"1391936306":["hashtag1","hashtag2"]},{"1391936296":["hashtag1","hashtag2"]},{"1391936308":["hashtag1","hashtag2"]},{"1391936298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391936301, 1391936304, 1391936306, 1391936296, 1391936308, 1391936298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48396563529968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:32:22.796901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/34/image_02112025_03_34_36_2665.jpg', '/home/pi/Desktop/images/02112025/03/34/image_02112025_03_34_45_2685.jpg', '/home/pi/Desktop/images/02112025/03/34/image_02112025_03_34_54_2715.jpg', '/home/pi/Desktop/images/02112025/03/35/image_02112025_03_35_39_1601.jpg', '/home/pi/Desktop/images/02112025/03/35/image_02112025_03_35_42_2579.jpg', '/home/pi/Desktop/images/02112025/03/35/image_02112025_03_35_44_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/34/image_02112025_03_34_36_2665.jpg
/home/pi/Desktop/images/02112025/03/34/image_02112025_03_34_45_2685.jpg
/home/pi/Desktop/images/02112025/03/34/image_02112025_03_34_54_2715.jpg
/home/pi/Desktop/images/02112025/03/35/image_02112025_03_35_39_1601.jpg
/home/pi/Desktop/images/02112025/03/35/image_02112025_03_35_42_2579.jpg
/home/pi/Desktop/images/02112025/03/35/image_02112025_03_35_44_2685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391936310","1391936318","1391936312","1391936321","1391936311","1391936314"],"photo_ids_order":["1391936310","1391936311","1391936312","1391936314","1391936318","1391936321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0f796563424265486a95e0d80e7858b8.jpg","text":"TemporaryFile(/tmp/multipartBody6381332853293394943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122803713,"filename":"image_02112025_03_34_36_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/2/fad252fb0d1d0ad8d77dd75ac7689934.jpg","text":"TemporaryFile(/tmp/multipartBody7129736224693178023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122803713,"filename":"image_02112025_03_35_42_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/2/b4fa68517754682dc5a9bea2d72b8e3f.jpg","text":"TemporaryFile(/tmp/multipartBody3463988337146589920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122803713,"filename":"image_02112025_03_34_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/2/aa0f1b1d197dfad45e046d1ef707a266.jpg","text":"TemporaryFile(/tmp/multipartBody5668547527647535112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122803713,"filename":"image_02112025_03_35_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/2/7d04d62d876e9739fc52850cb84a5f5f.jpg","text":"TemporaryFile(/tmp/multipartBody5192343048073081293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122803713,"filename":"image_02112025_03_34_45_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/2/faf3fef4e5f90752c1b091c8982d89e2.jpg","text":"TemporaryFile(/tmp/multipartBody5398992478374274471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122803713,"filename":"image_02112025_03_35_39_1601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391936312","file1":"1391936311","file0":"1391936310","file4":"1391936318","file5":"1391936321","file3":"1391936314"},"map_files_photo_id_array":[{"photo_id":"1391936321","filename":"file5"},{"photo_id":"1391936312","filename":"file2"},{"photo_id":"1391936318","filename":"file4"},{"photo_id":"1391936311","filename":"file1"},{"photo_id":"1391936310","filename":"file0"},{"photo_id":"1391936314","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391936310":["hashtag1","hashtag2"]},{"1391936318":["hashtag1","hashtag2"]},{"1391936312":["hashtag1","hashtag2"]},{"1391936321":["hashtag1","hashtag2"]},{"1391936311":["hashtag1","hashtag2"]},{"1391936314":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391936310, 1391936318, 1391936312, 1391936321, 1391936311, 1391936314)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.00659394264221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:33:22.066419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/35/image_02112025_03_35_57_3696.jpg', '/home/pi/Desktop/images/02112025/03/36/image_02112025_03_36_02_2770.jpg', '/home/pi/Desktop/images/02112025/03/36/image_02112025_03_36_11_2685.jpg', '/home/pi/Desktop/images/02112025/03/36/image_02112025_03_36_20_2852.jpg', '/home/pi/Desktop/images/02112025/03/36/image_02112025_03_36_27_2623.jpg', '/home/pi/Desktop/images/02112025/03/37/image_02112025_03_37_26_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/35/image_02112025_03_35_57_3696.jpg
/home/pi/Desktop/images/02112025/03/36/image_02112025_03_36_02_2770.jpg
/home/pi/Desktop/images/02112025/03/36/image_02112025_03_36_11_2685.jpg
/home/pi/Desktop/images/02112025/03/36/image_02112025_03_36_20_2852.jpg
/home/pi/Desktop/images/02112025/03/36/image_02112025_03_36_27_2623.jpg
/home/pi/Desktop/images/02112025/03/37/image_02112025_03_37_26_2717.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7986912727355957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:33:42.125755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/35/image_02112025_03_35_57_3696.jpg', '/home/pi/Desktop/images/02112025/03/36/image_02112025_03_36_02_2770.jpg', '/home/pi/Desktop/images/02112025/03/36/image_02112025_03_36_11_2685.jpg', '/home/pi/Desktop/images/02112025/03/36/image_02112025_03_36_20_2852.jpg', '/home/pi/Desktop/images/02112025/03/36/image_02112025_03_36_27_2623.jpg', '/home/pi/Desktop/images/02112025/03/37/image_02112025_03_37_26_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/35/image_02112025_03_35_57_3696.jpg
/home/pi/Desktop/images/02112025/03/36/image_02112025_03_36_02_2770.jpg
/home/pi/Desktop/images/02112025/03/36/image_02112025_03_36_11_2685.jpg
/home/pi/Desktop/images/02112025/03/36/image_02112025_03_36_20_2852.jpg
/home/pi/Desktop/images/02112025/03/36/image_02112025_03_36_27_2623.jpg
/home/pi/Desktop/images/02112025/03/37/image_02112025_03_37_26_2717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391936591","1391936791","1391936717","1391936632","1391936673","1391936754"],"photo_ids_order":["1391936591","1391936632","1391936673","1391936717","1391936754","1391936791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6774797b1602b17f9e39b5e0854eb8a5.jpg","text":"TemporaryFile(/tmp/multipartBody3666145057548576939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122882886,"filename":"image_02112025_03_35_57_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/2/f18e5f8bf21897084381ae38f395a0d3.jpg","text":"TemporaryFile(/tmp/multipartBody7162178310532953716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122882886,"filename":"image_02112025_03_37_26_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/2/31410a114a8dea9bad6f63971df59716.jpg","text":"TemporaryFile(/tmp/multipartBody3380605155867116248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122882886,"filename":"image_02112025_03_36_20_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/2/80ce012a6c4e342e347173f957dc590a.jpg","text":"TemporaryFile(/tmp/multipartBody4364476540168363861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122882886,"filename":"image_02112025_03_36_02_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/2/46eea9b4a3dd9db072171dd08da61241.jpg","text":"TemporaryFile(/tmp/multipartBody5072146761742342133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122882886,"filename":"image_02112025_03_36_11_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/2/fc79e2e913d120f04c032a97a07dbcfb.jpg","text":"TemporaryFile(/tmp/multipartBody920462588080810914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122882886,"filename":"image_02112025_03_36_27_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391936673","file1":"1391936632","file0":"1391936591","file4":"1391936754","file5":"1391936791","file3":"1391936717"},"map_files_photo_id_array":[{"photo_id":"1391936791","filename":"file5"},{"photo_id":"1391936673","filename":"file2"},{"photo_id":"1391936754","filename":"file4"},{"photo_id":"1391936632","filename":"file1"},{"photo_id":"1391936591","filename":"file0"},{"photo_id":"1391936717","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391936591":["hashtag1","hashtag2"]},{"1391936791":["hashtag1","hashtag2"]},{"1391936717":["hashtag1","hashtag2"]},{"1391936632":["hashtag1","hashtag2"]},{"1391936673":["hashtag1","hashtag2"]},{"1391936754":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391936591, 1391936791, 1391936717, 1391936632, 1391936673, 1391936754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67717170715332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:34:22.265605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/37/image_02112025_03_37_29_2645.jpg', '/home/pi/Desktop/images/02112025/03/37/image_02112025_03_37_38_2756.jpg', '/home/pi/Desktop/images/02112025/03/38/image_02112025_03_38_39_3674.jpg', '/home/pi/Desktop/images/02112025/03/38/image_02112025_03_38_41_2627.jpg', '/home/pi/Desktop/images/02112025/03/38/image_02112025_03_38_48_2880.jpg', '/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_14_1784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/37/image_02112025_03_37_29_2645.jpg
/home/pi/Desktop/images/02112025/03/37/image_02112025_03_37_38_2756.jpg
/home/pi/Desktop/images/02112025/03/38/image_02112025_03_38_39_3674.jpg
/home/pi/Desktop/images/02112025/03/38/image_02112025_03_38_41_2627.jpg
/home/pi/Desktop/images/02112025/03/38/image_02112025_03_38_48_2880.jpg
/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_14_1784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391937145","1391937103","1391936941","1391937066","1391937027","1391936985"],"photo_ids_order":["1391936941","1391936985","1391937027","1391937066","1391937103","1391937145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4ba24461c24a8b845a3077ceb739d0d1.jpg","text":"TemporaryFile(/tmp/multipartBody2056784524944879133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122923238,"filename":"image_02112025_03_39_14_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/2/9af130f3f1d034a03acb8e31ac86d371.jpg","text":"TemporaryFile(/tmp/multipartBody1993121727958704650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122923238,"filename":"image_02112025_03_38_48_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/2/4fd7fb468db50162c59f380025641b9e.jpg","text":"TemporaryFile(/tmp/multipartBody8612230326979441154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122923238,"filename":"image_02112025_03_37_29_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/2/cc8b8891ffb276a753c60ec7816cd968.jpg","text":"TemporaryFile(/tmp/multipartBody1296802892366830149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122923238,"filename":"image_02112025_03_38_41_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/2/dbb82af3d6c3875f8176c2d083fd8032.jpg","text":"TemporaryFile(/tmp/multipartBody5269030273724711221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122923238,"filename":"image_02112025_03_38_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/2/383db3ae25ac5c3e866c7246baeb4151.jpg","text":"TemporaryFile(/tmp/multipartBody2920169780496987653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122923238,"filename":"image_02112025_03_37_38_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391937027","file1":"1391936985","file0":"1391936941","file4":"1391937103","file5":"1391937145","file3":"1391937066"},"map_files_photo_id_array":[{"photo_id":"1391937145","filename":"file5"},{"photo_id":"1391937027","filename":"file2"},{"photo_id":"1391937103","filename":"file4"},{"photo_id":"1391936985","filename":"file1"},{"photo_id":"1391936941","filename":"file0"},{"photo_id":"1391937066","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391937145":["hashtag1","hashtag2"]},{"1391937103":["hashtag1","hashtag2"]},{"1391936941":["hashtag1","hashtag2"]},{"1391937066":["hashtag1","hashtag2"]},{"1391937027":["hashtag1","hashtag2"]},{"1391936985":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391937145, 1391937103, 1391936941, 1391937066, 1391937027, 1391936985)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.490206718444824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:35:23.031486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_20_2642.jpg', '/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_30_3724.jpg', '/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_32_2688.jpg', '/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_35_2678.jpg', '/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_39_3614.jpg', '/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_41_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_20_2642.jpg
/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_30_3724.jpg
/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_32_2688.jpg
/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_35_2678.jpg
/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_39_3614.jpg
/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_41_2678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391937275","1391937269","1391937271","1391937268","1391937273","1391937267"],"photo_ids_order":["1391937267","1391937268","1391937269","1391937271","1391937273","1391937275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f0e07b17a2f3e4ef98a20d85e190d8d5.jpg","text":"TemporaryFile(/tmp/multipartBody152134593070682245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122983838,"filename":"image_02112025_03_39_41_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/2/535560b66f1cfa49207406b9dc86f423.jpg","text":"TemporaryFile(/tmp/multipartBody6503778617694290964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122983838,"filename":"image_02112025_03_39_32_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/2/630e0fa9714cacf10a3624a78e979712.jpg","text":"TemporaryFile(/tmp/multipartBody6487553934305084446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122983838,"filename":"image_02112025_03_39_35_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/2/2bcd69eae4bcd3d62cf58394c424d152.jpg","text":"TemporaryFile(/tmp/multipartBody3360029166220832412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122983838,"filename":"image_02112025_03_39_30_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/2/5594a1401e5c1e3f40fe25f632d96bc9.jpg","text":"TemporaryFile(/tmp/multipartBody3640444606862240248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122983838,"filename":"image_02112025_03_39_39_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/2/b1d4130b9383b5840fa1997948c32472.jpg","text":"TemporaryFile(/tmp/multipartBody6222178828239036893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762122983838,"filename":"image_02112025_03_39_20_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391937269","file1":"1391937268","file0":"1391937267","file4":"1391937273","file5":"1391937275","file3":"1391937271"},"map_files_photo_id_array":[{"photo_id":"1391937275","filename":"file5"},{"photo_id":"1391937269","filename":"file2"},{"photo_id":"1391937273","filename":"file4"},{"photo_id":"1391937268","filename":"file1"},{"photo_id":"1391937267","filename":"file0"},{"photo_id":"1391937271","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391937275":["hashtag1","hashtag2"]},{"1391937269":["hashtag1","hashtag2"]},{"1391937271":["hashtag1","hashtag2"]},{"1391937268":["hashtag1","hashtag2"]},{"1391937273":["hashtag1","hashtag2"]},{"1391937267":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391937275, 1391937269, 1391937271, 1391937268, 1391937273, 1391937267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54517722129822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:36:02.628569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_44_2665.jpg', '/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_47_2747.jpg', '/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_50_3582.jpg', '/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_53_2632.jpg', '/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_57_3655.jpg', '/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_59_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_44_2665.jpg
/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_47_2747.jpg
/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_50_3582.jpg
/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_53_2632.jpg
/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_57_3655.jpg
/home/pi/Desktop/images/02112025/03/39/image_02112025_03_39_59_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":["1391937583","1391937472","1391937526","1391937433","1391937384","1391937581"],"photo_ids_order":["1391937384","1391937433","1391937472","1391937526","1391937581","1391937583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/22665055d0303226e4d48aa2774ddfb9.jpg","text":"TemporaryFile(/tmp/multipartBody6195339567649206522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123023490,"filename":"image_02112025_03_39_59_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/2/a81bde888f0ff28cebf49a975b530d4a.jpg","text":"TemporaryFile(/tmp/multipartBody1881417213304750897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123023490,"filename":"image_02112025_03_39_50_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/2/9c50272bc536a0b1f849dc8ab130fa9b.jpg","text":"TemporaryFile(/tmp/multipartBody3202789447627055895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123023490,"filename":"image_02112025_03_39_53_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/2/468e5123a52608115d70b0dc399e66ea.jpg","text":"TemporaryFile(/tmp/multipartBody2070022455169967114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123023490,"filename":"image_02112025_03_39_47_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/2/d8e05b24396aec907558a8fe993e4cf0.jpg","text":"TemporaryFile(/tmp/multipartBody5116017137119193526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123023490,"filename":"image_02112025_03_39_44_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/2/77dc430f3ce5b72d202c089b46b966d0.jpg","text":"TemporaryFile(/tmp/multipartBody870430478932221003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123023490,"filename":"image_02112025_03_39_57_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391937472","file1":"1391937433","file0":"1391937384","file4":"1391937581","file5":"1391937583","file3":"1391937526"},"map_files_photo_id_array":[{"photo_id":"1391937583","filename":"file5"},{"photo_id":"1391937472","filename":"file2"},{"photo_id":"1391937581","filename":"file4"},{"photo_id":"1391937433","filename":"file1"},{"photo_id":"1391937384","filename":"file0"},{"photo_id":"1391937526","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391937583":["hashtag1","hashtag2"]},{"1391937472":["hashtag1","hashtag2"]},{"1391937526":["hashtag1","hashtag2"]},{"1391937433":["hashtag1","hashtag2"]},{"1391937384":["hashtag1","hashtag2"]},{"1391937581":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391937583, 1391937472, 1391937526, 1391937433, 1391937384, 1391937581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62755107879639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:37:03.096506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_02_2593.jpg', '/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_05_2838.jpg', '/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_08_3805.jpg', '/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_14_2631.jpg', '/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_17_3541.jpg', '/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_20_2595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_02_2593.jpg
/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_05_2838.jpg
/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_08_3805.jpg
/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_14_2631.jpg
/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_17_3541.jpg
/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_20_2595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391937673","1391937676","1391937679","1391937681","1391937669","1391937683"],"photo_ids_order":["1391937669","1391937673","1391937676","1391937679","1391937681","1391937683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e6957a5e47cbb41ffb6712ac873c614e.jpg","text":"TemporaryFile(/tmp/multipartBody5176449807613638832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123084028,"filename":"image_02112025_03_40_05_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/2/c08dbe521dbb8d339728e84c25b3aba4.jpg","text":"TemporaryFile(/tmp/multipartBody4230617826411341458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123084028,"filename":"image_02112025_03_40_08_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/2/c0093b6c8ac0c3181413ea49437d17f0.jpg","text":"TemporaryFile(/tmp/multipartBody4281882394791882680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123084028,"filename":"image_02112025_03_40_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/2/803650ac0a1ee86c6d617e1cd7087cc5.jpg","text":"TemporaryFile(/tmp/multipartBody7955544661021461475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123084028,"filename":"image_02112025_03_40_17_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/2/2d33e12898732f61a4c72b95f28af82d.jpg","text":"TemporaryFile(/tmp/multipartBody2929785526157523814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123084028,"filename":"image_02112025_03_40_02_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/2/6fe209fd197e55e0653866b927a2c205.jpg","text":"TemporaryFile(/tmp/multipartBody5220471476766487173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123084028,"filename":"image_02112025_03_40_20_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391937676","file1":"1391937673","file0":"1391937669","file4":"1391937681","file5":"1391937683","file3":"1391937679"},"map_files_photo_id_array":[{"photo_id":"1391937683","filename":"file5"},{"photo_id":"1391937676","filename":"file2"},{"photo_id":"1391937681","filename":"file4"},{"photo_id":"1391937673","filename":"file1"},{"photo_id":"1391937669","filename":"file0"},{"photo_id":"1391937679","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391937673":["hashtag1","hashtag2"]},{"1391937676":["hashtag1","hashtag2"]},{"1391937679":["hashtag1","hashtag2"]},{"1391937681":["hashtag1","hashtag2"]},{"1391937669":["hashtag1","hashtag2"]},{"1391937683":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391937673, 1391937676, 1391937679, 1391937681, 1391937669, 1391937683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79861521720886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:37:42.329776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_23_3467.jpg', '/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_26_2736.jpg', '/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_30_4343.jpg', '/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_32_1631.jpg', '/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_38_3547.jpg', '/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_47_3715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_23_3467.jpg
/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_26_2736.jpg
/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_30_4343.jpg
/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_32_1631.jpg
/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_38_3547.jpg
/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_47_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: 3.519009828567505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:38:02.912562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_23_3467.jpg', '/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_26_2736.jpg', '/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_30_4343.jpg', '/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_32_1631.jpg', '/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_38_3547.jpg', '/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_47_3715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_23_3467.jpg
/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_26_2736.jpg
/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_30_4343.jpg
/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_32_1631.jpg
/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_38_3547.jpg
/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_47_3715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391937701","1391937704","1391937703","1391937706","1391937708","1391937698"],"photo_ids_order":["1391937698","1391937701","1391937703","1391937704","1391937706","1391937708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/cb85d9d27eaa1fcd3148c6f90bfb146f.jpg","text":"TemporaryFile(/tmp/multipartBody1767777693770362233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123143674,"filename":"image_02112025_03_40_26_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/2/3a46911b192b3f6789a0264fc51dc33b.jpg","text":"TemporaryFile(/tmp/multipartBody6984676432780457354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123143674,"filename":"image_02112025_03_40_32_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/2/8870f5694e6abc6bc9deb433f4a406b6.jpg","text":"TemporaryFile(/tmp/multipartBody2794734202334868851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123143674,"filename":"image_02112025_03_40_30_4343.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5a6a3836fefb54cd14cb6a65e021f951.jpg","text":"TemporaryFile(/tmp/multipartBody8349005924444740108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123143674,"filename":"image_02112025_03_40_38_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/2/35d17fa78e68d7c04810f6cd7661cfd6.jpg","text":"TemporaryFile(/tmp/multipartBody7887326374708487458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123143674,"filename":"image_02112025_03_40_47_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/2/c2aab8ff02ef33c1c306d1c179e1e623.jpg","text":"TemporaryFile(/tmp/multipartBody1315589515898563069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123143674,"filename":"image_02112025_03_40_23_3467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391937703","file1":"1391937701","file0":"1391937698","file4":"1391937706","file5":"1391937708","file3":"1391937704"},"map_files_photo_id_array":[{"photo_id":"1391937708","filename":"file5"},{"photo_id":"1391937703","filename":"file2"},{"photo_id":"1391937706","filename":"file4"},{"photo_id":"1391937701","filename":"file1"},{"photo_id":"1391937698","filename":"file0"},{"photo_id":"1391937704","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391937701":["hashtag1","hashtag2"]},{"1391937704":["hashtag1","hashtag2"]},{"1391937703":["hashtag1","hashtag2"]},{"1391937706":["hashtag1","hashtag2"]},{"1391937708":["hashtag1","hashtag2"]},{"1391937698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391937701, 1391937704, 1391937703, 1391937706, 1391937708, 1391937698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.629464864730835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:38:42.485241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_56_3661.jpg', '/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_59_2777.jpg', '/home/pi/Desktop/images/02112025/03/41/image_02112025_03_41_02_2576.jpg', '/home/pi/Desktop/images/02112025/03/41/image_02112025_03_41_05_3532.jpg', '/home/pi/Desktop/images/02112025/03/41/image_02112025_03_41_08_2706.jpg', '/home/pi/Desktop/images/02112025/03/41/image_02112025_03_41_11_2867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_56_3661.jpg
/home/pi/Desktop/images/02112025/03/40/image_02112025_03_40_59_2777.jpg
/home/pi/Desktop/images/02112025/03/41/image_02112025_03_41_02_2576.jpg
/home/pi/Desktop/images/02112025/03/41/image_02112025_03_41_05_3532.jpg
/home/pi/Desktop/images/02112025/03/41/image_02112025_03_41_08_2706.jpg
/home/pi/Desktop/images/02112025/03/41/image_02112025_03_41_11_2867.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391937719","1391937716","1391937721","1391937724","1391937727","1391937717"],"photo_ids_order":["1391937716","1391937717","1391937719","1391937721","1391937724","1391937727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/700e79de6eb32c988dd21f4f4e63b92a.jpg","text":"TemporaryFile(/tmp/multipartBody7893816358569744338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123183460,"filename":"image_02112025_03_41_02_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/2/46038e9953ef4be742b5cfbc5da5e956.jpg","text":"TemporaryFile(/tmp/multipartBody6073643975889911996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123183460,"filename":"image_02112025_03_40_56_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/2/e17d7c05e3d8b0a80636308ac187eef6.jpg","text":"TemporaryFile(/tmp/multipartBody3032647332727707814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123183460,"filename":"image_02112025_03_41_05_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/2/b5d8eb203db565aae38f47bf822b692c.jpg","text":"TemporaryFile(/tmp/multipartBody2575720312224748242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123183460,"filename":"image_02112025_03_41_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/2/4949daa3537f4e0983e515de7f9f2342.jpg","text":"TemporaryFile(/tmp/multipartBody6157029461070517123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123183460,"filename":"image_02112025_03_41_11_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/2/beaa6f62f9170d79f1fa8a5b86326ed0.jpg","text":"TemporaryFile(/tmp/multipartBody9133062329079230118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123183460,"filename":"image_02112025_03_40_59_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391937719","file1":"1391937717","file0":"1391937716","file4":"1391937724","file5":"1391937727","file3":"1391937721"},"map_files_photo_id_array":[{"photo_id":"1391937727","filename":"file5"},{"photo_id":"1391937719","filename":"file2"},{"photo_id":"1391937724","filename":"file4"},{"photo_id":"1391937717","filename":"file1"},{"photo_id":"1391937716","filename":"file0"},{"photo_id":"1391937721","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391937719":["hashtag1","hashtag2"]},{"1391937716":["hashtag1","hashtag2"]},{"1391937721":["hashtag1","hashtag2"]},{"1391937724":["hashtag1","hashtag2"]},{"1391937727":["hashtag1","hashtag2"]},{"1391937717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391937719, 1391937716, 1391937721, 1391937724, 1391937727, 1391937717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49797439575195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:39:22.664480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/41/image_02112025_03_41_14_2897.jpg', '/home/pi/Desktop/images/02112025/03/41/image_02112025_03_41_20_2604.jpg', '/home/pi/Desktop/images/02112025/03/41/image_02112025_03_41_23_2812.jpg', '/home/pi/Desktop/images/02112025/03/41/image_02112025_03_41_38_5919.jpg', '/home/pi/Desktop/images/02112025/03/41/image_02112025_03_41_50_2647.jpg', '/home/pi/Desktop/images/02112025/03/41/image_02112025_03_41_53_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/41/image_02112025_03_41_14_2897.jpg
/home/pi/Desktop/images/02112025/03/41/image_02112025_03_41_20_2604.jpg
/home/pi/Desktop/images/02112025/03/41/image_02112025_03_41_23_2812.jpg
/home/pi/Desktop/images/02112025/03/41/image_02112025_03_41_38_5919.jpg
/home/pi/Desktop/images/02112025/03/41/image_02112025_03_41_50_2647.jpg
/home/pi/Desktop/images/02112025/03/41/image_02112025_03_41_53_3617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391937731","1391937733","1391937732","1391937741","1391937735","1391937738"],"photo_ids_order":["1391937731","1391937732","1391937733","1391937735","1391937738","1391937741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e911c509cf9848b3f1ce9d53e8839923.jpg","text":"TemporaryFile(/tmp/multipartBody7878904672799930236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123223507,"filename":"image_02112025_03_41_14_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/2/f1ab8f67f955141f0de1ff0220df5a46.jpg","text":"TemporaryFile(/tmp/multipartBody7323805599990317301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123223507,"filename":"image_02112025_03_41_23_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/2/4ce47acae9d33f9f147af8de1a10b8ef.jpg","text":"TemporaryFile(/tmp/multipartBody525356037229502831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123223507,"filename":"image_02112025_03_41_20_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/2/46dc1fb55349855b6ed3e22fd94a09cf.jpg","text":"TemporaryFile(/tmp/multipartBody7394240374979739497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123223507,"filename":"image_02112025_03_41_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/2/3a4cef633fa0fd16b00a22ed75ac1060.jpg","text":"TemporaryFile(/tmp/multipartBody1415048912445693651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123223507,"filename":"image_02112025_03_41_38_5919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e051fbc34cb20f521cfa8374756ac3c0.jpg","text":"TemporaryFile(/tmp/multipartBody5061997314678064466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123223507,"filename":"image_02112025_03_41_50_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391937733","file1":"1391937732","file0":"1391937731","file4":"1391937738","file5":"1391937741","file3":"1391937735"},"map_files_photo_id_array":[{"photo_id":"1391937741","filename":"file5"},{"photo_id":"1391937733","filename":"file2"},{"photo_id":"1391937738","filename":"file4"},{"photo_id":"1391937732","filename":"file1"},{"photo_id":"1391937731","filename":"file0"},{"photo_id":"1391937735","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391937731":["hashtag1","hashtag2"]},{"1391937733":["hashtag1","hashtag2"]},{"1391937732":["hashtag1","hashtag2"]},{"1391937741":["hashtag1","hashtag2"]},{"1391937735":["hashtag1","hashtag2"]},{"1391937738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391937731, 1391937733, 1391937732, 1391937741, 1391937735, 1391937738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57999134063721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:40:02.394777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/42/image_02112025_03_42_23_2677.jpg', '/home/pi/Desktop/images/02112025/03/42/image_02112025_03_42_29_2685.jpg', '/home/pi/Desktop/images/02112025/03/42/image_02112025_03_42_32_2759.jpg', '/home/pi/Desktop/images/02112025/03/42/image_02112025_03_42_35_3674.jpg', '/home/pi/Desktop/images/02112025/03/42/image_02112025_03_42_38_2615.jpg', '/home/pi/Desktop/images/02112025/03/42/image_02112025_03_42_41_3062.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/42/image_02112025_03_42_23_2677.jpg
/home/pi/Desktop/images/02112025/03/42/image_02112025_03_42_29_2685.jpg
/home/pi/Desktop/images/02112025/03/42/image_02112025_03_42_32_2759.jpg
/home/pi/Desktop/images/02112025/03/42/image_02112025_03_42_35_3674.jpg
/home/pi/Desktop/images/02112025/03/42/image_02112025_03_42_38_2615.jpg
/home/pi/Desktop/images/02112025/03/42/image_02112025_03_42_41_3062.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391937743","1391937752","1391937749","1391937745","1391937747","1391937755"],"photo_ids_order":["1391937743","1391937745","1391937747","1391937749","1391937752","1391937755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d03e1d56c3008b12ec0402d218af0a6b.jpg","text":"TemporaryFile(/tmp/multipartBody4276346080969120280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123263272,"filename":"image_02112025_03_42_23_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/2/72559f8f04227c5608e10c7ecd81cdd0.jpg","text":"TemporaryFile(/tmp/multipartBody7100861685283467033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123263272,"filename":"image_02112025_03_42_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/2/0c120bc5ef643fb9902f8242e2ec44cd.jpg","text":"TemporaryFile(/tmp/multipartBody3288373505110765723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123263272,"filename":"image_02112025_03_42_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/2/f7aae858dff2e05c5058d2bc3648e42c.jpg","text":"TemporaryFile(/tmp/multipartBody7115777705060554268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123263272,"filename":"image_02112025_03_42_29_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/2/014731a796236236af8ee143ddb1f7b8.jpg","text":"TemporaryFile(/tmp/multipartBody2999162425091482301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123263272,"filename":"image_02112025_03_42_32_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/2/5d211c4e0c7550420ee6ac5e7fb9690d.jpg","text":"TemporaryFile(/tmp/multipartBody1795018373620280271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123263272,"filename":"image_02112025_03_42_41_3062.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391937747","file1":"1391937745","file0":"1391937743","file4":"1391937752","file5":"1391937755","file3":"1391937749"},"map_files_photo_id_array":[{"photo_id":"1391937755","filename":"file5"},{"photo_id":"1391937747","filename":"file2"},{"photo_id":"1391937752","filename":"file4"},{"photo_id":"1391937745","filename":"file1"},{"photo_id":"1391937743","filename":"file0"},{"photo_id":"1391937749","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391937743":["hashtag1","hashtag2"]},{"1391937752":["hashtag1","hashtag2"]},{"1391937749":["hashtag1","hashtag2"]},{"1391937745":["hashtag1","hashtag2"]},{"1391937747":["hashtag1","hashtag2"]},{"1391937755":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391937743, 1391937752, 1391937749, 1391937745, 1391937747, 1391937755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13062644004822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:40:41.934553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/42/image_02112025_03_42_44_2812.jpg', '/home/pi/Desktop/images/02112025/03/42/image_02112025_03_42_47_3151.jpg', '/home/pi/Desktop/images/02112025/03/42/image_02112025_03_42_50_2698.jpg', '/home/pi/Desktop/images/02112025/03/42/image_02112025_03_42_53_3566.jpg', '/home/pi/Desktop/images/02112025/03/42/image_02112025_03_42_56_2586.jpg', '/home/pi/Desktop/images/02112025/03/42/image_02112025_03_42_59_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/42/image_02112025_03_42_44_2812.jpg
/home/pi/Desktop/images/02112025/03/42/image_02112025_03_42_47_3151.jpg
/home/pi/Desktop/images/02112025/03/42/image_02112025_03_42_50_2698.jpg
/home/pi/Desktop/images/02112025/03/42/image_02112025_03_42_53_3566.jpg
/home/pi/Desktop/images/02112025/03/42/image_02112025_03_42_56_2586.jpg
/home/pi/Desktop/images/02112025/03/42/image_02112025_03_42_59_3594.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391937767","1391937769","1391937763","1391937765","1391937759","1391937761"],"photo_ids_order":["1391937759","1391937761","1391937763","1391937765","1391937767","1391937769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/ed9d32b53a174c6dcfd76ee89cf67982.jpg","text":"TemporaryFile(/tmp/multipartBody4910235722135972031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123302876,"filename":"image_02112025_03_42_56_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/2/9522dd1db01891b917f329b08b390f34.jpg","text":"TemporaryFile(/tmp/multipartBody6956799507950018864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123302876,"filename":"image_02112025_03_42_59_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/2/3951ee0d592a68bcc2484ff5554df907.jpg","text":"TemporaryFile(/tmp/multipartBody4114797994045811091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123302876,"filename":"image_02112025_03_42_50_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/2/0ea613e8eda2c7e64701f468e56c7c77.jpg","text":"TemporaryFile(/tmp/multipartBody7086472829929471732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123302876,"filename":"image_02112025_03_42_53_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/2/114f61a6e5a017e5ff73153c69a6bb51.jpg","text":"TemporaryFile(/tmp/multipartBody2180687908897710734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123302876,"filename":"image_02112025_03_42_44_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/2/cdfb48af0026406e2a5964c44f1f5416.jpg","text":"TemporaryFile(/tmp/multipartBody4718019553087656993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123302876,"filename":"image_02112025_03_42_47_3151.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391937763","file1":"1391937761","file0":"1391937759","file4":"1391937767","file5":"1391937769","file3":"1391937765"},"map_files_photo_id_array":[{"photo_id":"1391937769","filename":"file5"},{"photo_id":"1391937763","filename":"file2"},{"photo_id":"1391937767","filename":"file4"},{"photo_id":"1391937761","filename":"file1"},{"photo_id":"1391937759","filename":"file0"},{"photo_id":"1391937765","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391937767":["hashtag1","hashtag2"]},{"1391937769":["hashtag1","hashtag2"]},{"1391937763":["hashtag1","hashtag2"]},{"1391937765":["hashtag1","hashtag2"]},{"1391937759":["hashtag1","hashtag2"]},{"1391937761":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391937767, 1391937769, 1391937763, 1391937765, 1391937759, 1391937761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.19507312774658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:41:22.063656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_05_2634.jpg', '/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_07_2696.jpg', '/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_11_3573.jpg', '/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_14_2779.jpg', '/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_16_2654.jpg', '/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_20_3701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_05_2634.jpg
/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_07_2696.jpg
/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_11_3573.jpg
/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_14_2779.jpg
/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_16_2654.jpg
/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_20_3701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391937785","1391937779","1391937781","1391937775","1391937777","1391937773"],"photo_ids_order":["1391937773","1391937775","1391937777","1391937779","1391937781","1391937785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a2b6ece5e9aba6d807c679d535dccd67.jpg","text":"TemporaryFile(/tmp/multipartBody557032883216676195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123342910,"filename":"image_02112025_03_43_20_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/2/d7b1e7173e9dfae23a4d29851d6ac68a.jpg","text":"TemporaryFile(/tmp/multipartBody426317416118292718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123342910,"filename":"image_02112025_03_43_14_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/2/7a4d430767c11642837de2d9d4f05566.jpg","text":"TemporaryFile(/tmp/multipartBody5761202209893878612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123342910,"filename":"image_02112025_03_43_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/2/0c3e6756a807cf9583c9be6fc77faf15.jpg","text":"TemporaryFile(/tmp/multipartBody523444818548672074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123342910,"filename":"image_02112025_03_43_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/2/e1f4a40320d092ff6697597866d6cb77.jpg","text":"TemporaryFile(/tmp/multipartBody6422199081801963790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123342910,"filename":"image_02112025_03_43_11_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/2/82d4892c894f07a05587aaeec01ce2a7.jpg","text":"TemporaryFile(/tmp/multipartBody4191308007138475989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123342910,"filename":"image_02112025_03_43_05_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391937777","file1":"1391937775","file0":"1391937773","file4":"1391937781","file5":"1391937785","file3":"1391937779"},"map_files_photo_id_array":[{"photo_id":"1391937785","filename":"file5"},{"photo_id":"1391937777","filename":"file2"},{"photo_id":"1391937781","filename":"file4"},{"photo_id":"1391937775","filename":"file1"},{"photo_id":"1391937773","filename":"file0"},{"photo_id":"1391937779","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391937785":["hashtag1","hashtag2"]},{"1391937779":["hashtag1","hashtag2"]},{"1391937781":["hashtag1","hashtag2"]},{"1391937775":["hashtag1","hashtag2"]},{"1391937777":["hashtag1","hashtag2"]},{"1391937773":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391937785, 1391937779, 1391937781, 1391937775, 1391937777, 1391937773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08911919593811 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:42:02.799951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_23_2522.jpg', '/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_26_3557.jpg', '/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_32_2682.jpg', '/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_37_5879.jpg', '/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_52_14192.jpg', '/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_53_1579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_23_2522.jpg
/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_26_3557.jpg
/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_32_2682.jpg
/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_37_5879.jpg
/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_52_14192.jpg
/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_53_1579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391937799","1391937790","1391937792","1391937794","1391937788","1391937797"],"photo_ids_order":["1391937788","1391937790","1391937792","1391937794","1391937797","1391937799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6212844c352e822cf57c2e8b570a1153.jpg","text":"TemporaryFile(/tmp/multipartBody2184524615005358809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123383638,"filename":"image_02112025_03_43_53_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/2/27e4f22b1cb5e4b98d4ed473e4095e8a.jpg","text":"TemporaryFile(/tmp/multipartBody5964807713780270340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123383638,"filename":"image_02112025_03_43_26_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/2/4baba986be9262f209da49e70908692b.jpg","text":"TemporaryFile(/tmp/multipartBody1391925244206383229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123383638,"filename":"image_02112025_03_43_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/2/5d4026e93d78b4fca0d8194fc0aa545e.jpg","text":"TemporaryFile(/tmp/multipartBody2443934283210145261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123383638,"filename":"image_02112025_03_43_37_5879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e81f6dd6e030959d3cb0094d3cdfd5e5.jpg","text":"TemporaryFile(/tmp/multipartBody7639382881254575024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123383638,"filename":"image_02112025_03_43_23_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/2/a4d63cd8b02ddfe16c39238cc6a8cec0.jpg","text":"TemporaryFile(/tmp/multipartBody6440138263169010414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123383638,"filename":"image_02112025_03_43_52_14192.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391937792","file1":"1391937790","file0":"1391937788","file4":"1391937797","file5":"1391937799","file3":"1391937794"},"map_files_photo_id_array":[{"photo_id":"1391937799","filename":"file5"},{"photo_id":"1391937792","filename":"file2"},{"photo_id":"1391937797","filename":"file4"},{"photo_id":"1391937790","filename":"file1"},{"photo_id":"1391937788","filename":"file0"},{"photo_id":"1391937794","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391937799":["hashtag1","hashtag2"]},{"1391937790":["hashtag1","hashtag2"]},{"1391937792":["hashtag1","hashtag2"]},{"1391937794":["hashtag1","hashtag2"]},{"1391937788":["hashtag1","hashtag2"]},{"1391937797":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391937799, 1391937790, 1391937792, 1391937794, 1391937788, 1391937797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.685494899749756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:42:42.326750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_56_1660.jpg', '/home/pi/Desktop/images/02112025/03/44/image_02112025_03_44_12_15532.jpg', '/home/pi/Desktop/images/02112025/03/44/image_02112025_03_44_14_1703.jpg', '/home/pi/Desktop/images/02112025/03/44/image_02112025_03_44_35_21348.jpg', '/home/pi/Desktop/images/02112025/03/44/image_02112025_03_44_45_9759.jpg', '/home/pi/Desktop/images/02112025/03/45/image_02112025_03_45_01_1568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/43/image_02112025_03_43_56_1660.jpg
/home/pi/Desktop/images/02112025/03/44/image_02112025_03_44_12_15532.jpg
/home/pi/Desktop/images/02112025/03/44/image_02112025_03_44_14_1703.jpg
/home/pi/Desktop/images/02112025/03/44/image_02112025_03_44_35_21348.jpg
/home/pi/Desktop/images/02112025/03/44/image_02112025_03_44_45_9759.jpg
/home/pi/Desktop/images/02112025/03/45/image_02112025_03_45_01_1568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391937800","1391937802","1391937805","1391937814","1391937807","1391937810"],"photo_ids_order":["1391937800","1391937802","1391937805","1391937807","1391937810","1391937814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c55d5fbe67b1f2bee1e3d683386dd6df.jpg","text":"TemporaryFile(/tmp/multipartBody2093537382323086980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123423211,"filename":"image_02112025_03_43_56_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/2/71ee1269603fbd600ee8da4141b04d7a.jpg","text":"TemporaryFile(/tmp/multipartBody1413031240575181723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123423211,"filename":"image_02112025_03_44_12_15532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0cfaec25b481a5c99f2b9cc1b76a0a2d.jpg","text":"TemporaryFile(/tmp/multipartBody875847158810164452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123423211,"filename":"image_02112025_03_44_14_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/2/71d6edd1c8f0ca1589281cfa1aca2355.jpg","text":"TemporaryFile(/tmp/multipartBody5462615806918904438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123423211,"filename":"image_02112025_03_45_01_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/2/174883d8604dcd0c96a92a5aa4e4881a.jpg","text":"TemporaryFile(/tmp/multipartBody7467742702369055838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123423211,"filename":"image_02112025_03_44_35_21348.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/43b0eea79098f5f7b6617c5b77cbae04.jpg","text":"TemporaryFile(/tmp/multipartBody3589917954226950299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123423211,"filename":"image_02112025_03_44_45_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391937805","file1":"1391937802","file0":"1391937800","file4":"1391937810","file5":"1391937814","file3":"1391937807"},"map_files_photo_id_array":[{"photo_id":"1391937814","filename":"file5"},{"photo_id":"1391937805","filename":"file2"},{"photo_id":"1391937810","filename":"file4"},{"photo_id":"1391937802","filename":"file1"},{"photo_id":"1391937800","filename":"file0"},{"photo_id":"1391937807","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391937800":["hashtag1","hashtag2"]},{"1391937802":["hashtag1","hashtag2"]},{"1391937805":["hashtag1","hashtag2"]},{"1391937814":["hashtag1","hashtag2"]},{"1391937807":["hashtag1","hashtag2"]},{"1391937810":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391937800, 1391937802, 1391937805, 1391937814, 1391937807, 1391937810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81612682342529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:43:22.468617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/45/image_02112025_03_45_03_2124.jpg', '/home/pi/Desktop/images/02112025/03/45/image_02112025_03_45_05_2087.jpg', '/home/pi/Desktop/images/02112025/03/45/image_02112025_03_45_29_22055.jpg', '/home/pi/Desktop/images/02112025/03/45/image_02112025_03_45_51_12310.jpg', '/home/pi/Desktop/images/02112025/03/45/image_02112025_03_45_53_1791.jpg', '/home/pi/Desktop/images/02112025/03/45/image_02112025_03_45_56_1590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/45/image_02112025_03_45_03_2124.jpg
/home/pi/Desktop/images/02112025/03/45/image_02112025_03_45_05_2087.jpg
/home/pi/Desktop/images/02112025/03/45/image_02112025_03_45_29_22055.jpg
/home/pi/Desktop/images/02112025/03/45/image_02112025_03_45_51_12310.jpg
/home/pi/Desktop/images/02112025/03/45/image_02112025_03_45_53_1791.jpg
/home/pi/Desktop/images/02112025/03/45/image_02112025_03_45_56_1590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391937821","1391937820","1391937823","1391937825","1391937828","1391937819"],"photo_ids_order":["1391937819","1391937820","1391937821","1391937823","1391937825","1391937828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/5c0075c884c4d839a807df07bb6767e8.jpg","text":"TemporaryFile(/tmp/multipartBody3226240626647524740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123463277,"filename":"image_02112025_03_45_29_22055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d76bbe60edece9f7340030fc79bda7d4.jpg","text":"TemporaryFile(/tmp/multipartBody6762683143580982319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123463277,"filename":"image_02112025_03_45_05_2087.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/34b7691647946d9c9876091793a658d3.jpg","text":"TemporaryFile(/tmp/multipartBody6389786416424464735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123463277,"filename":"image_02112025_03_45_51_12310.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a7240fe05691e2eedee646fe92ccdfc9.jpg","text":"TemporaryFile(/tmp/multipartBody9049296639407687502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123463277,"filename":"image_02112025_03_45_53_1791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a646874f4c8cb26ddb24ea0c97f6289c.jpg","text":"TemporaryFile(/tmp/multipartBody7435578454518364766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123463277,"filename":"image_02112025_03_45_56_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/127137fd8efd6bb3c54e4cb305a3ff1f.jpg","text":"TemporaryFile(/tmp/multipartBody8990706953878709028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123463277,"filename":"image_02112025_03_45_03_2124.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391937821","file1":"1391937820","file0":"1391937819","file4":"1391937825","file5":"1391937828","file3":"1391937823"},"map_files_photo_id_array":[{"photo_id":"1391937828","filename":"file5"},{"photo_id":"1391937821","filename":"file2"},{"photo_id":"1391937825","filename":"file4"},{"photo_id":"1391937820","filename":"file1"},{"photo_id":"1391937819","filename":"file0"},{"photo_id":"1391937823","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391937821":["hashtag1","hashtag2"]},{"1391937820":["hashtag1","hashtag2"]},{"1391937823":["hashtag1","hashtag2"]},{"1391937825":["hashtag1","hashtag2"]},{"1391937828":["hashtag1","hashtag2"]},{"1391937819":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391937821, 1391937820, 1391937823, 1391937825, 1391937828, 1391937819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.43380856513977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:44:03.282177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_07_3382.jpg', '/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_09_2630.jpg', '/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_16_2579.jpg', '/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_19_3629.jpg', '/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_22_2731.jpg', '/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_33_5592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_07_3382.jpg
/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_09_2630.jpg
/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_16_2579.jpg
/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_19_3629.jpg
/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_22_2731.jpg
/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_33_5592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391937842","1391937836","1391937845","1391937833","1391937831","1391937840"],"photo_ids_order":["1391937831","1391937833","1391937836","1391937840","1391937842","1391937845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/63d751859497be8222ea09e2525d10fc.jpg","text":"TemporaryFile(/tmp/multipartBody7009715503487721886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123504183,"filename":"image_02112025_03_47_22_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/2/236727dff239fe9b2b911363a9797b17.jpg","text":"TemporaryFile(/tmp/multipartBody8396613235035519894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123504183,"filename":"image_02112025_03_47_16_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/2/328280419eb1fbaa4329c3a36a7c150b.jpg","text":"TemporaryFile(/tmp/multipartBody2431236909504808393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123504183,"filename":"image_02112025_03_47_33_5592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9384d4a06a2f203bb1b41f2a879749ff.jpg","text":"TemporaryFile(/tmp/multipartBody4750158950343368832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123504183,"filename":"image_02112025_03_47_09_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/2/8ed642636bd1fff61e6e7bab42556d77.jpg","text":"TemporaryFile(/tmp/multipartBody3705360402243364606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123504183,"filename":"image_02112025_03_47_07_3382.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/9a2f309486a3d3383de59bfbbd63b46e.jpg","text":"TemporaryFile(/tmp/multipartBody2589196909185701912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123504183,"filename":"image_02112025_03_47_19_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391937836","file1":"1391937833","file0":"1391937831","file4":"1391937842","file5":"1391937845","file3":"1391937840"},"map_files_photo_id_array":[{"photo_id":"1391937845","filename":"file5"},{"photo_id":"1391937836","filename":"file2"},{"photo_id":"1391937842","filename":"file4"},{"photo_id":"1391937833","filename":"file1"},{"photo_id":"1391937831","filename":"file0"},{"photo_id":"1391937840","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391937842":["hashtag1","hashtag2"]},{"1391937836":["hashtag1","hashtag2"]},{"1391937845":["hashtag1","hashtag2"]},{"1391937833":["hashtag1","hashtag2"]},{"1391937831":["hashtag1","hashtag2"]},{"1391937840":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391937842, 1391937836, 1391937845, 1391937833, 1391937831, 1391937840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.932148456573486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:44:42.690797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_35_1791.jpg', '/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_37_1626.jpg', '/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_39_2858.jpg', '/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_46_2678.jpg', '/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_48_2874.jpg', '/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_52_3824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_35_1791.jpg
/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_37_1626.jpg
/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_39_2858.jpg
/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_46_2678.jpg
/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_48_2874.jpg
/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_52_3824.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391937851","1391937853","1391937862","1391937858","1391937855","1391937860"],"photo_ids_order":["1391937851","1391937853","1391937855","1391937858","1391937860","1391937862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/421d9d26f43c313db869639a8a1c7f98.jpg","text":"TemporaryFile(/tmp/multipartBody654268127319370049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123543554,"filename":"image_02112025_03_47_35_1791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/592e924839886f5b8864b751a82ae286.jpg","text":"TemporaryFile(/tmp/multipartBody575207449032104627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123543554,"filename":"image_02112025_03_47_37_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/2/77129f7ff587512f5820a4ebb2e2ba8e.jpg","text":"TemporaryFile(/tmp/multipartBody3076559764317436907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123543554,"filename":"image_02112025_03_47_52_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/2/fc82176898e0bf07c42b3309ec582faa.jpg","text":"TemporaryFile(/tmp/multipartBody44339763599924895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123543554,"filename":"image_02112025_03_47_46_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/2/a9cc52329eaee18de9f2c93d2a007155.jpg","text":"TemporaryFile(/tmp/multipartBody764365800821778330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123543554,"filename":"image_02112025_03_47_39_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/2/2dd65e1b035938a4ed4fa85f5c8076af.jpg","text":"TemporaryFile(/tmp/multipartBody5854139263979128560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123543554,"filename":"image_02112025_03_47_48_2874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391937855","file1":"1391937853","file0":"1391937851","file4":"1391937860","file5":"1391937862","file3":"1391937858"},"map_files_photo_id_array":[{"photo_id":"1391937862","filename":"file5"},{"photo_id":"1391937855","filename":"file2"},{"photo_id":"1391937860","filename":"file4"},{"photo_id":"1391937853","filename":"file1"},{"photo_id":"1391937851","filename":"file0"},{"photo_id":"1391937858","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391937851":["hashtag1","hashtag2"]},{"1391937853":["hashtag1","hashtag2"]},{"1391937862":["hashtag1","hashtag2"]},{"1391937858":["hashtag1","hashtag2"]},{"1391937855":["hashtag1","hashtag2"]},{"1391937860":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391937851, 1391937853, 1391937862, 1391937858, 1391937855, 1391937860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96403503417969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:45:21.861731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_55_2645.jpg', '/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_11_9944.jpg', '/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_22_2756.jpg', '/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_32_1636.jpg', '/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_34_1690.jpg', '/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_37_2775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_55_2645.jpg
/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_11_9944.jpg
/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_22_2756.jpg
/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_32_1636.jpg
/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_34_1690.jpg
/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_37_2775.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7815330028533936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:45:41.987674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_55_2645.jpg', '/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_11_9944.jpg', '/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_22_2756.jpg', '/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_32_1636.jpg', '/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_34_1690.jpg', '/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_37_2775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/47/image_02112025_03_47_55_2645.jpg
/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_11_9944.jpg
/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_22_2756.jpg
/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_32_1636.jpg
/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_34_1690.jpg
/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_37_2775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391937883","1391937877","1391937879","1391937872","1391937881","1391937875"],"photo_ids_order":["1391937872","1391937875","1391937877","1391937879","1391937881","1391937883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b9168d6b3a0b195274a1025e70b8e5ee.jpg","text":"TemporaryFile(/tmp/multipartBody56872169071582732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123602725,"filename":"image_02112025_03_48_37_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/2/11ef8cc752fa6382246105fc652350d4.jpg","text":"TemporaryFile(/tmp/multipartBody375554169304073546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123602725,"filename":"image_02112025_03_48_22_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/2/40fe8239e729d493d24df55c270357fd.jpg","text":"TemporaryFile(/tmp/multipartBody5026696305145811768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123602725,"filename":"image_02112025_03_48_32_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/2/d3e64bb6c0f028936d6f3451f836b3ef.jpg","text":"TemporaryFile(/tmp/multipartBody798964408353510566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123602725,"filename":"image_02112025_03_47_55_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/2/123a17e34c71e9aed53238bc7e2468ff.jpg","text":"TemporaryFile(/tmp/multipartBody6646276866053478122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123602725,"filename":"image_02112025_03_48_34_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/1da4f098b5c98d8ba497abf4af034471.jpg","text":"TemporaryFile(/tmp/multipartBody8884817536367439794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123602725,"filename":"image_02112025_03_48_11_9944.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391937877","file1":"1391937875","file0":"1391937872","file4":"1391937881","file5":"1391937883","file3":"1391937879"},"map_files_photo_id_array":[{"photo_id":"1391937883","filename":"file5"},{"photo_id":"1391937877","filename":"file2"},{"photo_id":"1391937881","filename":"file4"},{"photo_id":"1391937875","filename":"file1"},{"photo_id":"1391937872","filename":"file0"},{"photo_id":"1391937879","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391937883":["hashtag1","hashtag2"]},{"1391937877":["hashtag1","hashtag2"]},{"1391937879":["hashtag1","hashtag2"]},{"1391937872":["hashtag1","hashtag2"]},{"1391937881":["hashtag1","hashtag2"]},{"1391937875":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391937883, 1391937877, 1391937879, 1391937872, 1391937881, 1391937875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82555150985718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:46:22.098881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_40_3668.jpg', '/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_43_2688.jpg', '/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_46_2775.jpg', '/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_49_2960.jpg', '/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_51_2768.jpg', '/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_59_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_40_3668.jpg
/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_43_2688.jpg
/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_46_2775.jpg
/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_49_2960.jpg
/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_51_2768.jpg
/home/pi/Desktop/images/02112025/03/48/image_02112025_03_48_59_3623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391937895","1391937898","1391937889","1391937891","1391937890","1391937893"],"photo_ids_order":["1391937889","1391937890","1391937891","1391937893","1391937895","1391937898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/803cafb0dd356dfc068562578bd25b75.jpg","text":"TemporaryFile(/tmp/multipartBody4117468508875341931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123642943,"filename":"image_02112025_03_48_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/2/adfcf440c7d9ffeda6be0cef05fea7a0.jpg","text":"TemporaryFile(/tmp/multipartBody3676001735490729072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123642943,"filename":"image_02112025_03_48_59_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/2/497eddde2d7fc94ed99adccce3b54a2c.jpg","text":"TemporaryFile(/tmp/multipartBody1732609313961432318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123642943,"filename":"image_02112025_03_48_40_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/2/418fb16a700c782dad7aa50cbdb3a9d2.jpg","text":"TemporaryFile(/tmp/multipartBody4791867210400960226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123642943,"filename":"image_02112025_03_48_46_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/2/a2af3e0c706683e1815cd6cd19043fd5.jpg","text":"TemporaryFile(/tmp/multipartBody4868879567644001757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123642943,"filename":"image_02112025_03_48_43_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/2/aeba2ff07b0a46e6be781c2b83bfb186.jpg","text":"TemporaryFile(/tmp/multipartBody690341565158180420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123642943,"filename":"image_02112025_03_48_49_2960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391937891","file1":"1391937890","file0":"1391937889","file4":"1391937895","file5":"1391937898","file3":"1391937893"},"map_files_photo_id_array":[{"photo_id":"1391937898","filename":"file5"},{"photo_id":"1391937891","filename":"file2"},{"photo_id":"1391937895","filename":"file4"},{"photo_id":"1391937890","filename":"file1"},{"photo_id":"1391937889","filename":"file0"},{"photo_id":"1391937893","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391937895":["hashtag1","hashtag2"]},{"1391937898":["hashtag1","hashtag2"]},{"1391937889":["hashtag1","hashtag2"]},{"1391937891":["hashtag1","hashtag2"]},{"1391937890":["hashtag1","hashtag2"]},{"1391937893":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391937895, 1391937898, 1391937889, 1391937891, 1391937890, 1391937893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79876756668091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:47:02.632237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/49/image_02112025_03_49_01_1796.jpg', '/home/pi/Desktop/images/02112025/03/49/image_02112025_03_49_10_2737.jpg', '/home/pi/Desktop/images/02112025/03/49/image_02112025_03_49_13_3567.jpg', '/home/pi/Desktop/images/02112025/03/49/image_02112025_03_49_16_2569.jpg', '/home/pi/Desktop/images/02112025/03/49/image_02112025_03_49_19_2905.jpg', '/home/pi/Desktop/images/02112025/03/49/image_02112025_03_49_22_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/49/image_02112025_03_49_01_1796.jpg
/home/pi/Desktop/images/02112025/03/49/image_02112025_03_49_10_2737.jpg
/home/pi/Desktop/images/02112025/03/49/image_02112025_03_49_13_3567.jpg
/home/pi/Desktop/images/02112025/03/49/image_02112025_03_49_16_2569.jpg
/home/pi/Desktop/images/02112025/03/49/image_02112025_03_49_19_2905.jpg
/home/pi/Desktop/images/02112025/03/49/image_02112025_03_49_22_3603.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391937917","1391937908","1391937910","1391937912","1391937906","1391937915"],"photo_ids_order":["1391937906","1391937908","1391937910","1391937912","1391937915","1391937917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e6204de192f9f346c4696778e059fbc3.jpg","text":"TemporaryFile(/tmp/multipartBody7255521728460915311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123683574,"filename":"image_02112025_03_49_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/2/d2493de337422e30ec6f870b16499e57.jpg","text":"TemporaryFile(/tmp/multipartBody8633356490687710273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123683574,"filename":"image_02112025_03_49_10_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/2/c8dea85323cde081fcd8f99e86df94df.jpg","text":"TemporaryFile(/tmp/multipartBody8888143700803403524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123683574,"filename":"image_02112025_03_49_13_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/2/2210a9112a2ffe251632c2665effa21a.jpg","text":"TemporaryFile(/tmp/multipartBody6922135469324701741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123683574,"filename":"image_02112025_03_49_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/2/71b5eb44c687365a363ea06afd7fd415.jpg","text":"TemporaryFile(/tmp/multipartBody8325620701364378384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123683574,"filename":"image_02112025_03_49_01_1796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e741ba48b385e56c3bda2aa8c54ce69a.jpg","text":"TemporaryFile(/tmp/multipartBody2224997123598857770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123683574,"filename":"image_02112025_03_49_19_2905.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391937910","file1":"1391937908","file0":"1391937906","file4":"1391937915","file5":"1391937917","file3":"1391937912"},"map_files_photo_id_array":[{"photo_id":"1391937917","filename":"file5"},{"photo_id":"1391937910","filename":"file2"},{"photo_id":"1391937915","filename":"file4"},{"photo_id":"1391937908","filename":"file1"},{"photo_id":"1391937906","filename":"file0"},{"photo_id":"1391937912","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391937917":["hashtag1","hashtag2"]},{"1391937908":["hashtag1","hashtag2"]},{"1391937910":["hashtag1","hashtag2"]},{"1391937912":["hashtag1","hashtag2"]},{"1391937906":["hashtag1","hashtag2"]},{"1391937915":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391937917, 1391937908, 1391937910, 1391937912, 1391937906, 1391937915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.32699394226074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:47:41.993737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/49/image_02112025_03_49_36_2693.jpg', '/home/pi/Desktop/images/02112025/03/49/image_02112025_03_49_46_2807.jpg', '/home/pi/Desktop/images/02112025/03/49/image_02112025_03_49_49_3566.jpg', '/home/pi/Desktop/images/02112025/03/49/image_02112025_03_49_55_2653.jpg', '/home/pi/Desktop/images/02112025/03/49/image_02112025_03_49_58_3008.jpg', '/home/pi/Desktop/images/02112025/03/49/image_02112025_03_50_01_3553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/49/image_02112025_03_49_36_2693.jpg
/home/pi/Desktop/images/02112025/03/49/image_02112025_03_49_46_2807.jpg
/home/pi/Desktop/images/02112025/03/49/image_02112025_03_49_49_3566.jpg
/home/pi/Desktop/images/02112025/03/49/image_02112025_03_49_55_2653.jpg
/home/pi/Desktop/images/02112025/03/49/image_02112025_03_49_58_3008.jpg
/home/pi/Desktop/images/02112025/03/49/image_02112025_03_50_01_3553.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391937923","1391937932","1391937926","1391937929","1391937928","1391937927"],"photo_ids_order":["1391937923","1391937926","1391937927","1391937928","1391937929","1391937932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c88d892c2cdf428aa2b1f0d9ed2067d2.jpg","text":"TemporaryFile(/tmp/multipartBody4838718378492523385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123724582,"filename":"image_02112025_03_49_36_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/2/91abf8131333d2ea74008b8eadba46d8.jpg","text":"TemporaryFile(/tmp/multipartBody5033012880652560268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123724582,"filename":"image_02112025_03_50_01_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/2/3b1cbb00b28ced54c979509e41ad9b2d.jpg","text":"TemporaryFile(/tmp/multipartBody2024683386877059454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123724582,"filename":"image_02112025_03_49_46_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/2/c57fe0607df35ae87f3a5556d6f9e0a7.jpg","text":"TemporaryFile(/tmp/multipartBody7739973976688526311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123724582,"filename":"image_02112025_03_49_58_3008.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/dea325cc1ed4f8df5c90224bcd28c00c.jpg","text":"TemporaryFile(/tmp/multipartBody6030064005051634116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123724582,"filename":"image_02112025_03_49_55_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/2/00af36cae2fffffc0ed4e76ea43f5699.jpg","text":"TemporaryFile(/tmp/multipartBody4245105978423845448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123724582,"filename":"image_02112025_03_49_49_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391937927","file1":"1391937926","file0":"1391937923","file4":"1391937929","file5":"1391937932","file3":"1391937928"},"map_files_photo_id_array":[{"photo_id":"1391937932","filename":"file5"},{"photo_id":"1391937927","filename":"file2"},{"photo_id":"1391937929","filename":"file4"},{"photo_id":"1391937926","filename":"file1"},{"photo_id":"1391937923","filename":"file0"},{"photo_id":"1391937928","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391937923":["hashtag1","hashtag2"]},{"1391937932":["hashtag1","hashtag2"]},{"1391937926":["hashtag1","hashtag2"]},{"1391937929":["hashtag1","hashtag2"]},{"1391937928":["hashtag1","hashtag2"]},{"1391937927":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391937923, 1391937932, 1391937926, 1391937929, 1391937928, 1391937927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02224540710449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:48:22.263783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/50/image_02112025_03_50_09_2720.jpg', '/home/pi/Desktop/images/02112025/03/50/image_02112025_03_50_13_3583.jpg', '/home/pi/Desktop/images/02112025/03/50/image_02112025_03_50_18_2600.jpg', '/home/pi/Desktop/images/02112025/03/50/image_02112025_03_50_22_3630.jpg', '/home/pi/Desktop/images/02112025/03/50/image_02112025_03_50_27_2740.jpg', '/home/pi/Desktop/images/02112025/03/50/image_02112025_03_50_31_3607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/50/image_02112025_03_50_09_2720.jpg
/home/pi/Desktop/images/02112025/03/50/image_02112025_03_50_13_3583.jpg
/home/pi/Desktop/images/02112025/03/50/image_02112025_03_50_18_2600.jpg
/home/pi/Desktop/images/02112025/03/50/image_02112025_03_50_22_3630.jpg
/home/pi/Desktop/images/02112025/03/50/image_02112025_03_50_27_2740.jpg
/home/pi/Desktop/images/02112025/03/50/image_02112025_03_50_31_3607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391937941","1391937940","1391937943","1391937937","1391937942","1391937939"],"photo_ids_order":["1391937937","1391937939","1391937940","1391937941","1391937942","1391937943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/98a160f60723308fcd901323772af865.jpg","text":"TemporaryFile(/tmp/multipartBody4290097452313855149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123763075,"filename":"image_02112025_03_50_22_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/2/5dfb79de50586699c2e0b5a7a7f23138.jpg","text":"TemporaryFile(/tmp/multipartBody4442730318734412578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123763075,"filename":"image_02112025_03_50_18_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/2/b1851cd4e087091306baffbf7e7fcbca.jpg","text":"TemporaryFile(/tmp/multipartBody324140240637214520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123763075,"filename":"image_02112025_03_50_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/2/096c074be23ad3d3c450bf5ec465a330.jpg","text":"TemporaryFile(/tmp/multipartBody7571765377892253773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123763075,"filename":"image_02112025_03_50_09_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/2/5fa9f8caa3e03c4d7e36e4d1c37b42dd.jpg","text":"TemporaryFile(/tmp/multipartBody1607935949168876387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123763075,"filename":"image_02112025_03_50_27_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/2/f214902a426335a6cbe7684cb16588e9.jpg","text":"TemporaryFile(/tmp/multipartBody4877411902854806063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123763075,"filename":"image_02112025_03_50_13_3583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391937940","file1":"1391937939","file0":"1391937937","file4":"1391937942","file5":"1391937943","file3":"1391937941"},"map_files_photo_id_array":[{"photo_id":"1391937943","filename":"file5"},{"photo_id":"1391937940","filename":"file2"},{"photo_id":"1391937942","filename":"file4"},{"photo_id":"1391937939","filename":"file1"},{"photo_id":"1391937937","filename":"file0"},{"photo_id":"1391937941","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391937941":["hashtag1","hashtag2"]},{"1391937940":["hashtag1","hashtag2"]},{"1391937943":["hashtag1","hashtag2"]},{"1391937937":["hashtag1","hashtag2"]},{"1391937942":["hashtag1","hashtag2"]},{"1391937939":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391937941, 1391937940, 1391937943, 1391937937, 1391937942, 1391937939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.85863184928894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:49:03.299713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/50/image_02112025_03_50_45_2761.jpg', '/home/pi/Desktop/images/02112025/03/50/image_02112025_03_50_48_2734.jpg', '/home/pi/Desktop/images/02112025/03/50/image_02112025_03_51_01_3638.jpg', '/home/pi/Desktop/images/02112025/03/51/image_02112025_03_51_04_2913.jpg', '/home/pi/Desktop/images/02112025/03/51/image_02112025_03_51_07_2769.jpg', '/home/pi/Desktop/images/02112025/03/51/image_02112025_03_51_10_3010.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/50/image_02112025_03_50_45_2761.jpg
/home/pi/Desktop/images/02112025/03/50/image_02112025_03_50_48_2734.jpg
/home/pi/Desktop/images/02112025/03/50/image_02112025_03_51_01_3638.jpg
/home/pi/Desktop/images/02112025/03/51/image_02112025_03_51_04_2913.jpg
/home/pi/Desktop/images/02112025/03/51/image_02112025_03_51_07_2769.jpg
/home/pi/Desktop/images/02112025/03/51/image_02112025_03_51_10_3010.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391937952","1391937955","1391937960","1391937957","1391937951","1391937953"],"photo_ids_order":["1391937951","1391937952","1391937953","1391937955","1391937957","1391937960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/259d9c4a7a47806b90109229d368114a.jpg","text":"TemporaryFile(/tmp/multipartBody4930443785842130129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123804369,"filename":"image_02112025_03_50_48_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/2/be28d705d7dde82214df7f1b5f357130.jpg","text":"TemporaryFile(/tmp/multipartBody6160751391965674953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123804369,"filename":"image_02112025_03_51_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/2/9300b6ca9d17f102e9522fa372ca1c98.jpg","text":"TemporaryFile(/tmp/multipartBody4192998988676432788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123804369,"filename":"image_02112025_03_51_10_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/2/9013554df212960be49824bacd97e644.jpg","text":"TemporaryFile(/tmp/multipartBody7751629278192535286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123804369,"filename":"image_02112025_03_51_07_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/2/c905958b8bb34e3c411062dc8e8a621a.jpg","text":"TemporaryFile(/tmp/multipartBody3353916552071582527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123804369,"filename":"image_02112025_03_50_45_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/2/392fb321c6ae3266d1a7e9dc322d5254.jpg","text":"TemporaryFile(/tmp/multipartBody6135761063259372384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123804369,"filename":"image_02112025_03_51_01_3638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391937953","file1":"1391937952","file0":"1391937951","file4":"1391937957","file5":"1391937960","file3":"1391937955"},"map_files_photo_id_array":[{"photo_id":"1391937960","filename":"file5"},{"photo_id":"1391937953","filename":"file2"},{"photo_id":"1391937957","filename":"file4"},{"photo_id":"1391937952","filename":"file1"},{"photo_id":"1391937951","filename":"file0"},{"photo_id":"1391937955","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391937952":["hashtag1","hashtag2"]},{"1391937955":["hashtag1","hashtag2"]},{"1391937960":["hashtag1","hashtag2"]},{"1391937957":["hashtag1","hashtag2"]},{"1391937951":["hashtag1","hashtag2"]},{"1391937953":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391937952, 1391937955, 1391937960, 1391937957, 1391937951, 1391937953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7428560256958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:49:42.381990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/51/image_02112025_03_51_19_2764.jpg', '/home/pi/Desktop/images/02112025/03/51/image_02112025_03_51_31_2693.jpg', '/home/pi/Desktop/images/02112025/03/51/image_02112025_03_51_33_2539.jpg', '/home/pi/Desktop/images/02112025/03/51/image_02112025_03_51_42_2695.jpg', '/home/pi/Desktop/images/02112025/03/51/image_02112025_03_51_51_2679.jpg', '/home/pi/Desktop/images/02112025/03/51/image_02112025_03_52_00_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/51/image_02112025_03_51_19_2764.jpg
/home/pi/Desktop/images/02112025/03/51/image_02112025_03_51_31_2693.jpg
/home/pi/Desktop/images/02112025/03/51/image_02112025_03_51_33_2539.jpg
/home/pi/Desktop/images/02112025/03/51/image_02112025_03_51_42_2695.jpg
/home/pi/Desktop/images/02112025/03/51/image_02112025_03_51_51_2679.jpg
/home/pi/Desktop/images/02112025/03/51/image_02112025_03_52_00_2562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391937975","1391937969","1391937978","1391937963","1391937972","1391937966"],"photo_ids_order":["1391937963","1391937966","1391937969","1391937972","1391937975","1391937978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/af2efa588ed144de390c21e34843ab24.jpg","text":"TemporaryFile(/tmp/multipartBody786199828140319800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123844775,"filename":"image_02112025_03_51_51_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/2/dc991a54472cf13928d568602728bdc3.jpg","text":"TemporaryFile(/tmp/multipartBody7742392330063406359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123844775,"filename":"image_02112025_03_51_33_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/2/ee00be916fddb721cf909c642ad3fe8e.jpg","text":"TemporaryFile(/tmp/multipartBody6071885258736717184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123844775,"filename":"image_02112025_03_52_00_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/2/aa36477f6cb958b79b666a4f8942e0de.jpg","text":"TemporaryFile(/tmp/multipartBody8682842714467132621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123844775,"filename":"image_02112025_03_51_19_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/2/4882e68336dc4e91fe4da8c39ca6fcde.jpg","text":"TemporaryFile(/tmp/multipartBody5107157792669046164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123844775,"filename":"image_02112025_03_51_42_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/2/e947048dadcf81533befc25b30bf0b99.jpg","text":"TemporaryFile(/tmp/multipartBody9201247052406235715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123844775,"filename":"image_02112025_03_51_31_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391937969","file1":"1391937966","file0":"1391937963","file4":"1391937975","file5":"1391937978","file3":"1391937972"},"map_files_photo_id_array":[{"photo_id":"1391937978","filename":"file5"},{"photo_id":"1391937969","filename":"file2"},{"photo_id":"1391937975","filename":"file4"},{"photo_id":"1391937966","filename":"file1"},{"photo_id":"1391937963","filename":"file0"},{"photo_id":"1391937972","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391937975":["hashtag1","hashtag2"]},{"1391937969":["hashtag1","hashtag2"]},{"1391937978":["hashtag1","hashtag2"]},{"1391937963":["hashtag1","hashtag2"]},{"1391937972":["hashtag1","hashtag2"]},{"1391937966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391937975, 1391937969, 1391937978, 1391937963, 1391937972, 1391937966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07640504837036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:50:22.555286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/52/image_02112025_03_52_07_2664.jpg', '/home/pi/Desktop/images/02112025/03/52/image_02112025_03_52_34_9107.jpg', '/home/pi/Desktop/images/02112025/03/52/image_02112025_03_52_42_1584.jpg', '/home/pi/Desktop/images/02112025/03/52/image_02112025_03_52_47_1582.jpg', '/home/pi/Desktop/images/02112025/03/52/image_02112025_03_52_50_1557.jpg', '/home/pi/Desktop/images/02112025/03/52/image_02112025_03_52_53_1648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/52/image_02112025_03_52_07_2664.jpg
/home/pi/Desktop/images/02112025/03/52/image_02112025_03_52_34_9107.jpg
/home/pi/Desktop/images/02112025/03/52/image_02112025_03_52_42_1584.jpg
/home/pi/Desktop/images/02112025/03/52/image_02112025_03_52_47_1582.jpg
/home/pi/Desktop/images/02112025/03/52/image_02112025_03_52_50_1557.jpg
/home/pi/Desktop/images/02112025/03/52/image_02112025_03_52_53_1648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391937983","1391937982","1391937988","1391937984","1391937992","1391937986"],"photo_ids_order":["1391937982","1391937983","1391937984","1391937986","1391937988","1391937992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/0962ba96b34c81d3e81f25c982b63d15.jpg","text":"TemporaryFile(/tmp/multipartBody8684703999360213504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123883379,"filename":"image_02112025_03_52_34_9107.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/6245008dcb5ede87ca1085038e49af51.jpg","text":"TemporaryFile(/tmp/multipartBody9162633048331162989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123883379,"filename":"image_02112025_03_52_07_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/2/96156ab8dff3bdbe7fabd7b426d84703.jpg","text":"TemporaryFile(/tmp/multipartBody5295919211784532910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123883379,"filename":"image_02112025_03_52_50_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d2bbcd5d9faea49f4eca3e686de2d7f8.jpg","text":"TemporaryFile(/tmp/multipartBody6418657844287950650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123883379,"filename":"image_02112025_03_52_42_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/2/ac2ed2dd2a236f24dbf1a8cd49eed850.jpg","text":"TemporaryFile(/tmp/multipartBody2977924170940344082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123883379,"filename":"image_02112025_03_52_53_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/2/d49cdf4b39cdefee35278bbb86cd6110.jpg","text":"TemporaryFile(/tmp/multipartBody1527948116415965303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123883379,"filename":"image_02112025_03_52_47_1582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391937984","file1":"1391937983","file0":"1391937982","file4":"1391937988","file5":"1391937992","file3":"1391937986"},"map_files_photo_id_array":[{"photo_id":"1391937992","filename":"file5"},{"photo_id":"1391937984","filename":"file2"},{"photo_id":"1391937988","filename":"file4"},{"photo_id":"1391937983","filename":"file1"},{"photo_id":"1391937982","filename":"file0"},{"photo_id":"1391937986","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391937983":["hashtag1","hashtag2"]},{"1391937982":["hashtag1","hashtag2"]},{"1391937988":["hashtag1","hashtag2"]},{"1391937984":["hashtag1","hashtag2"]},{"1391937992":["hashtag1","hashtag2"]},{"1391937986":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391937983, 1391937982, 1391937988, 1391937984, 1391937992, 1391937986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75891852378845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:51:03.516461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/52/image_02112025_03_52_55_1635.jpg', '/home/pi/Desktop/images/02112025/03/53/image_02112025_03_53_04_1676.jpg', '/home/pi/Desktop/images/02112025/03/53/image_02112025_03_53_12_2668.jpg', '/home/pi/Desktop/images/02112025/03/53/image_02112025_03_53_25_3515.jpg', '/home/pi/Desktop/images/02112025/03/53/image_02112025_03_53_34_1725.jpg', '/home/pi/Desktop/images/02112025/03/53/image_02112025_03_53_39_2524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/52/image_02112025_03_52_55_1635.jpg
/home/pi/Desktop/images/02112025/03/53/image_02112025_03_53_04_1676.jpg
/home/pi/Desktop/images/02112025/03/53/image_02112025_03_53_12_2668.jpg
/home/pi/Desktop/images/02112025/03/53/image_02112025_03_53_25_3515.jpg
/home/pi/Desktop/images/02112025/03/53/image_02112025_03_53_34_1725.jpg
/home/pi/Desktop/images/02112025/03/53/image_02112025_03_53_39_2524.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391938001","1391937994","1391937997","1391938003","1391938005","1391937999"],"photo_ids_order":["1391937994","1391937997","1391937999","1391938001","1391938003","1391938005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/8dfb76ae17394128b1c3a03c113f8814.jpg","text":"TemporaryFile(/tmp/multipartBody4497447507598297782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123924439,"filename":"image_02112025_03_53_25_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/2/dc33d08287f69c0a7e096fa3996bb1a4.jpg","text":"TemporaryFile(/tmp/multipartBody5528083474654270030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123924439,"filename":"image_02112025_03_52_55_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/2/45ec9dec0f2e249bbd0af2e1ca627be6.jpg","text":"TemporaryFile(/tmp/multipartBody8770072993287944791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123924439,"filename":"image_02112025_03_53_04_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/2/ecf712b0a8414bab6f9ba3449935c31c.jpg","text":"TemporaryFile(/tmp/multipartBody2105835288590416758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123924439,"filename":"image_02112025_03_53_34_1725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/26e88eaec990a02039e4a1edd42b105d.jpg","text":"TemporaryFile(/tmp/multipartBody8389288444638421816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123924439,"filename":"image_02112025_03_53_39_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/e9f61b7cc28a7bf0b7de9108d35e4c81.jpg","text":"TemporaryFile(/tmp/multipartBody754840442419658145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123924439,"filename":"image_02112025_03_53_12_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391937999","file1":"1391937997","file0":"1391937994","file4":"1391938003","file5":"1391938005","file3":"1391938001"},"map_files_photo_id_array":[{"photo_id":"1391938005","filename":"file5"},{"photo_id":"1391937999","filename":"file2"},{"photo_id":"1391938003","filename":"file4"},{"photo_id":"1391937997","filename":"file1"},{"photo_id":"1391937994","filename":"file0"},{"photo_id":"1391938001","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391938001":["hashtag1","hashtag2"]},{"1391937994":["hashtag1","hashtag2"]},{"1391937997":["hashtag1","hashtag2"]},{"1391938003":["hashtag1","hashtag2"]},{"1391938005":["hashtag1","hashtag2"]},{"1391937999":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391938001, 1391937994, 1391937997, 1391938003, 1391938005, 1391937999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53399658203125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:51:42.829986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/54/image_02112025_03_54_16_2807.jpg', '/home/pi/Desktop/images/02112025/03/54/image_02112025_03_54_21_2629.jpg', '/home/pi/Desktop/images/02112025/03/54/image_02112025_03_54_27_2728.jpg', '/home/pi/Desktop/images/02112025/03/54/image_02112025_03_54_40_3625.jpg', '/home/pi/Desktop/images/02112025/03/54/image_02112025_03_54_42_2638.jpg', '/home/pi/Desktop/images/02112025/03/54/image_02112025_03_54_48_2788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/54/image_02112025_03_54_16_2807.jpg
/home/pi/Desktop/images/02112025/03/54/image_02112025_03_54_21_2629.jpg
/home/pi/Desktop/images/02112025/03/54/image_02112025_03_54_27_2728.jpg
/home/pi/Desktop/images/02112025/03/54/image_02112025_03_54_40_3625.jpg
/home/pi/Desktop/images/02112025/03/54/image_02112025_03_54_42_2638.jpg
/home/pi/Desktop/images/02112025/03/54/image_02112025_03_54_48_2788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391938021","1391938015","1391938018","1391938011","1391938020","1391938022"],"photo_ids_order":["1391938011","1391938015","1391938018","1391938020","1391938021","1391938022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c901100a14a1e4b614b6bcce37b71d6b.jpg","text":"TemporaryFile(/tmp/multipartBody5796222650850232837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123963692,"filename":"image_02112025_03_54_42_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/2/8f1c30ed8d03e4099f83d10d0165940e.jpg","text":"TemporaryFile(/tmp/multipartBody626132763170372416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123963692,"filename":"image_02112025_03_54_21_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/2/aab29172a52e3e4b2f966feb9393acba.jpg","text":"TemporaryFile(/tmp/multipartBody4744539857617114404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123963692,"filename":"image_02112025_03_54_27_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/2/abcc155e76c084be799948192823c98a.jpg","text":"TemporaryFile(/tmp/multipartBody2959320257088687122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123963692,"filename":"image_02112025_03_54_16_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/2/3c6869a0ed4e61b8d425afdf76167276.jpg","text":"TemporaryFile(/tmp/multipartBody4774133459057414455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123963692,"filename":"image_02112025_03_54_40_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/2/dc996b9365f750d215bb42db9f11ae86.jpg","text":"TemporaryFile(/tmp/multipartBody3280696390854272391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762123963692,"filename":"image_02112025_03_54_48_2788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391938018","file1":"1391938015","file0":"1391938011","file4":"1391938021","file5":"1391938022","file3":"1391938020"},"map_files_photo_id_array":[{"photo_id":"1391938022","filename":"file5"},{"photo_id":"1391938018","filename":"file2"},{"photo_id":"1391938021","filename":"file4"},{"photo_id":"1391938015","filename":"file1"},{"photo_id":"1391938011","filename":"file0"},{"photo_id":"1391938020","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391938021":["hashtag1","hashtag2"]},{"1391938015":["hashtag1","hashtag2"]},{"1391938018":["hashtag1","hashtag2"]},{"1391938011":["hashtag1","hashtag2"]},{"1391938020":["hashtag1","hashtag2"]},{"1391938022":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391938021, 1391938015, 1391938018, 1391938011, 1391938020, 1391938022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11626863479614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:52:22.023162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/54/image_02112025_03_54_54_2619.jpg', '/home/pi/Desktop/images/02112025/03/54/image_02112025_03_55_00_2624.jpg', '/home/pi/Desktop/images/02112025/03/55/image_02112025_03_55_03_2737.jpg', '/home/pi/Desktop/images/02112025/03/55/image_02112025_03_55_09_2763.jpg', '/home/pi/Desktop/images/02112025/03/55/image_02112025_03_55_19_3802.jpg', '/home/pi/Desktop/images/02112025/03/55/image_02112025_03_55_21_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/54/image_02112025_03_54_54_2619.jpg
/home/pi/Desktop/images/02112025/03/54/image_02112025_03_55_00_2624.jpg
/home/pi/Desktop/images/02112025/03/55/image_02112025_03_55_03_2737.jpg
/home/pi/Desktop/images/02112025/03/55/image_02112025_03_55_09_2763.jpg
/home/pi/Desktop/images/02112025/03/55/image_02112025_03_55_19_3802.jpg
/home/pi/Desktop/images/02112025/03/55/image_02112025_03_55_21_2658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391938031","1391938025","1391938027","1391938032","1391938029","1391938034"],"photo_ids_order":["1391938025","1391938027","1391938029","1391938031","1391938032","1391938034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/bed236f664abfa56bd129aca664642f1.jpg","text":"TemporaryFile(/tmp/multipartBody6962142314326784171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124002842,"filename":"image_02112025_03_55_09_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/2/377a20443e20d3bb2e62fb9312680239.jpg","text":"TemporaryFile(/tmp/multipartBody3306339195201692768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124002842,"filename":"image_02112025_03_54_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/2/3d026476c74f6aeb5ae97d2a86549a6e.jpg","text":"TemporaryFile(/tmp/multipartBody8259855908007661339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124002842,"filename":"image_02112025_03_55_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/2/2474f5266d93bb139deb2b70921849fa.jpg","text":"TemporaryFile(/tmp/multipartBody4107870274491226678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124002842,"filename":"image_02112025_03_55_19_3802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/b6a2f4580ef7639944a179dc4e3c54bd.jpg","text":"TemporaryFile(/tmp/multipartBody1467662138050771423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124002842,"filename":"image_02112025_03_55_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/2/39666481bc6fcd5f2c70fb17ba403da7.jpg","text":"TemporaryFile(/tmp/multipartBody6477256076833899649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124002842,"filename":"image_02112025_03_55_21_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391938029","file1":"1391938027","file0":"1391938025","file4":"1391938032","file5":"1391938034","file3":"1391938031"},"map_files_photo_id_array":[{"photo_id":"1391938034","filename":"file5"},{"photo_id":"1391938029","filename":"file2"},{"photo_id":"1391938032","filename":"file4"},{"photo_id":"1391938027","filename":"file1"},{"photo_id":"1391938025","filename":"file0"},{"photo_id":"1391938031","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391938031":["hashtag1","hashtag2"]},{"1391938025":["hashtag1","hashtag2"]},{"1391938027":["hashtag1","hashtag2"]},{"1391938032":["hashtag1","hashtag2"]},{"1391938029":["hashtag1","hashtag2"]},{"1391938034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391938031, 1391938025, 1391938027, 1391938032, 1391938029, 1391938034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75612139701843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:53:02.869310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/55/image_02112025_03_55_24_2811.jpg', '/home/pi/Desktop/images/02112025/03/55/image_02112025_03_55_36_2664.jpg', '/home/pi/Desktop/images/02112025/03/55/image_02112025_03_55_39_2861.jpg', '/home/pi/Desktop/images/02112025/03/55/image_02112025_03_55_45_3856.jpg', '/home/pi/Desktop/images/02112025/03/55/image_02112025_03_55_48_2784.jpg', '/home/pi/Desktop/images/02112025/03/55/image_02112025_03_55_54_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/55/image_02112025_03_55_24_2811.jpg
/home/pi/Desktop/images/02112025/03/55/image_02112025_03_55_36_2664.jpg
/home/pi/Desktop/images/02112025/03/55/image_02112025_03_55_39_2861.jpg
/home/pi/Desktop/images/02112025/03/55/image_02112025_03_55_45_3856.jpg
/home/pi/Desktop/images/02112025/03/55/image_02112025_03_55_48_2784.jpg
/home/pi/Desktop/images/02112025/03/55/image_02112025_03_55_54_3630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391938046","1391938045","1391938042","1391938044","1391938047","1391938040"],"photo_ids_order":["1391938040","1391938042","1391938044","1391938045","1391938046","1391938047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/69b7dadfe407f598a4dee4f6e38c40d5.jpg","text":"TemporaryFile(/tmp/multipartBody7412665529639760661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124043830,"filename":"image_02112025_03_55_48_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/2/a40532806c39f402590bcdfcb1f9137e.jpg","text":"TemporaryFile(/tmp/multipartBody3705209375742631389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124043830,"filename":"image_02112025_03_55_45_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/2/002b0c6f533ddbbbb735c3f43cf5e21a.jpg","text":"TemporaryFile(/tmp/multipartBody1155072270851084758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124043830,"filename":"image_02112025_03_55_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/2/2ad729af1f0f8dde79071e334504d765.jpg","text":"TemporaryFile(/tmp/multipartBody8467893413853064756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124043830,"filename":"image_02112025_03_55_39_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/2/9f930bf8bfd834a5e7a8f1d7c07c679c.jpg","text":"TemporaryFile(/tmp/multipartBody3569074193759871966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124043830,"filename":"image_02112025_03_55_54_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/2/85f78ae38f7d773e251c1771f521ac03.jpg","text":"TemporaryFile(/tmp/multipartBody4923771012124340934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124043830,"filename":"image_02112025_03_55_24_2811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391938044","file1":"1391938042","file0":"1391938040","file4":"1391938046","file5":"1391938047","file3":"1391938045"},"map_files_photo_id_array":[{"photo_id":"1391938047","filename":"file5"},{"photo_id":"1391938044","filename":"file2"},{"photo_id":"1391938046","filename":"file4"},{"photo_id":"1391938042","filename":"file1"},{"photo_id":"1391938040","filename":"file0"},{"photo_id":"1391938045","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391938046":["hashtag1","hashtag2"]},{"1391938045":["hashtag1","hashtag2"]},{"1391938042":["hashtag1","hashtag2"]},{"1391938044":["hashtag1","hashtag2"]},{"1391938047":["hashtag1","hashtag2"]},{"1391938040":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391938046, 1391938045, 1391938042, 1391938044, 1391938047, 1391938040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22952461242676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:53:42.299753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/55/image_02112025_03_56_00_2641.jpg', '/home/pi/Desktop/images/02112025/03/56/image_02112025_03_56_03_3677.jpg', '/home/pi/Desktop/images/02112025/03/56/image_02112025_03_56_06_2643.jpg', '/home/pi/Desktop/images/02112025/03/56/image_02112025_03_56_12_3895.jpg', '/home/pi/Desktop/images/02112025/03/56/image_02112025_03_56_18_2599.jpg', '/home/pi/Desktop/images/02112025/03/56/image_02112025_03_56_22_3739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/55/image_02112025_03_56_00_2641.jpg
/home/pi/Desktop/images/02112025/03/56/image_02112025_03_56_03_3677.jpg
/home/pi/Desktop/images/02112025/03/56/image_02112025_03_56_06_2643.jpg
/home/pi/Desktop/images/02112025/03/56/image_02112025_03_56_12_3895.jpg
/home/pi/Desktop/images/02112025/03/56/image_02112025_03_56_18_2599.jpg
/home/pi/Desktop/images/02112025/03/56/image_02112025_03_56_22_3739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391938054","1391938062","1391938056","1391938059","1391938052","1391938061"],"photo_ids_order":["1391938052","1391938054","1391938056","1391938059","1391938061","1391938062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/d4c8ab0b7b24893f67458b62c34e07c3.jpg","text":"TemporaryFile(/tmp/multipartBody5292160423365883367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124083240,"filename":"image_02112025_03_56_03_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/2/a4c80cbcce53ef83fe6a2d16589d0cb7.jpg","text":"TemporaryFile(/tmp/multipartBody7614598628912918791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124083240,"filename":"image_02112025_03_56_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/2/a6d389a5f207df93eaa4bbf334715ff4.jpg","text":"TemporaryFile(/tmp/multipartBody4299943280388179655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124083240,"filename":"image_02112025_03_56_06_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/2/33ea7259172c15aaf501b022ccc538da.jpg","text":"TemporaryFile(/tmp/multipartBody6836501955642273829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124083240,"filename":"image_02112025_03_56_12_3895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/af2ba08b6b425f563097de3374b61d0e.jpg","text":"TemporaryFile(/tmp/multipartBody3272294774135555750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124083240,"filename":"image_02112025_03_56_00_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/2/2ce4aaaf90c55343f0b9ce3400bfc529.jpg","text":"TemporaryFile(/tmp/multipartBody4775797995763050416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124083240,"filename":"image_02112025_03_56_18_2599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391938056","file1":"1391938054","file0":"1391938052","file4":"1391938061","file5":"1391938062","file3":"1391938059"},"map_files_photo_id_array":[{"photo_id":"1391938062","filename":"file5"},{"photo_id":"1391938056","filename":"file2"},{"photo_id":"1391938061","filename":"file4"},{"photo_id":"1391938054","filename":"file1"},{"photo_id":"1391938052","filename":"file0"},{"photo_id":"1391938059","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391938054":["hashtag1","hashtag2"]},{"1391938062":["hashtag1","hashtag2"]},{"1391938056":["hashtag1","hashtag2"]},{"1391938059":["hashtag1","hashtag2"]},{"1391938052":["hashtag1","hashtag2"]},{"1391938061":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391938054, 1391938062, 1391938056, 1391938059, 1391938052, 1391938061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66370964050293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:54:22.621039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/56/image_02112025_03_56_24_2647.jpg', '/home/pi/Desktop/images/02112025/03/56/image_02112025_03_56_27_2556.jpg', '/home/pi/Desktop/images/02112025/03/56/image_02112025_03_56_36_2874.jpg', '/home/pi/Desktop/images/02112025/03/56/image_02112025_03_56_48_3645.jpg', '/home/pi/Desktop/images/02112025/03/56/image_02112025_03_56_54_2652.jpg', '/home/pi/Desktop/images/02112025/03/56/image_02112025_03_57_00_2798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/56/image_02112025_03_56_24_2647.jpg
/home/pi/Desktop/images/02112025/03/56/image_02112025_03_56_27_2556.jpg
/home/pi/Desktop/images/02112025/03/56/image_02112025_03_56_36_2874.jpg
/home/pi/Desktop/images/02112025/03/56/image_02112025_03_56_48_3645.jpg
/home/pi/Desktop/images/02112025/03/56/image_02112025_03_56_54_2652.jpg
/home/pi/Desktop/images/02112025/03/56/image_02112025_03_57_00_2798.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391938072","1391938069","1391938071","1391938065","1391938073","1391938067"],"photo_ids_order":["1391938065","1391938067","1391938069","1391938071","1391938072","1391938073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/57802c70470add9e7fc2c214a64ce505.jpg","text":"TemporaryFile(/tmp/multipartBody7585676723403111121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124123484,"filename":"image_02112025_03_56_54_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/2/6882c22955a8b745cfaf537e8c315234.jpg","text":"TemporaryFile(/tmp/multipartBody6099800849059016234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124123484,"filename":"image_02112025_03_56_36_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/2/15b947843551cdd94a62926ccc3b09b8.jpg","text":"TemporaryFile(/tmp/multipartBody650470561821330357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124123484,"filename":"image_02112025_03_56_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/2/eb59f390088a2bc39add320aba845273.jpg","text":"TemporaryFile(/tmp/multipartBody6073399321189090684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124123484,"filename":"image_02112025_03_56_24_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/2/e83ea09baf96906e544f961e3a1e4341.jpg","text":"TemporaryFile(/tmp/multipartBody4952507659871835736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124123484,"filename":"image_02112025_03_57_00_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/2/8a484d6d62568840b63a72a87e264a2c.jpg","text":"TemporaryFile(/tmp/multipartBody7939082620815900614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124123484,"filename":"image_02112025_03_56_27_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391938069","file1":"1391938067","file0":"1391938065","file4":"1391938072","file5":"1391938073","file3":"1391938071"},"map_files_photo_id_array":[{"photo_id":"1391938073","filename":"file5"},{"photo_id":"1391938069","filename":"file2"},{"photo_id":"1391938072","filename":"file4"},{"photo_id":"1391938067","filename":"file1"},{"photo_id":"1391938065","filename":"file0"},{"photo_id":"1391938071","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391938072":["hashtag1","hashtag2"]},{"1391938069":["hashtag1","hashtag2"]},{"1391938071":["hashtag1","hashtag2"]},{"1391938065":["hashtag1","hashtag2"]},{"1391938073":["hashtag1","hashtag2"]},{"1391938067":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391938072, 1391938069, 1391938071, 1391938065, 1391938073, 1391938067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25149464607239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:55:03.227905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_15_7071.jpg', '/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_28_6982.jpg', '/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_30_1714.jpg', '/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_32_1728.jpg', '/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_44_1770.jpg', '/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_48_1557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_15_7071.jpg
/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_28_6982.jpg
/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_30_1714.jpg
/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_32_1728.jpg
/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_44_1770.jpg
/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_48_1557.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391938084","1391938086","1391938080","1391938083","1391938085","1391938082"],"photo_ids_order":["1391938080","1391938082","1391938083","1391938084","1391938085","1391938086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/4e4b7ebf69c7ebf2e0eb876fe4eca0d9.jpg","text":"TemporaryFile(/tmp/multipartBody2535689617396964172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124166412,"filename":"image_02112025_03_58_32_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/2/0418a19c39f9bf710c9e185a275c37f8.jpg","text":"TemporaryFile(/tmp/multipartBody4256033237926099722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124166412,"filename":"image_02112025_03_58_48_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f90739d3361643ae7061ee434f2b8ecc.jpg","text":"TemporaryFile(/tmp/multipartBody4857558857925464972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124166412,"filename":"image_02112025_03_58_15_7071.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c0fd05687bad53d12b798b5111a0cb9a.jpg","text":"TemporaryFile(/tmp/multipartBody4281614502661977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124166412,"filename":"image_02112025_03_58_30_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/2/732998ada411085cf2fa1486ae796df8.jpg","text":"TemporaryFile(/tmp/multipartBody1404115376599118190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124166412,"filename":"image_02112025_03_58_44_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/2/527cb037eebb45c409e2069b935b1578.jpg","text":"TemporaryFile(/tmp/multipartBody8983159982515793643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124166412,"filename":"image_02112025_03_58_28_6982.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391938083","file1":"1391938082","file0":"1391938080","file4":"1391938085","file5":"1391938086","file3":"1391938084"},"map_files_photo_id_array":[{"photo_id":"1391938086","filename":"file5"},{"photo_id":"1391938083","filename":"file2"},{"photo_id":"1391938085","filename":"file4"},{"photo_id":"1391938082","filename":"file1"},{"photo_id":"1391938080","filename":"file0"},{"photo_id":"1391938084","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391938084":["hashtag1","hashtag2"]},{"1391938086":["hashtag1","hashtag2"]},{"1391938080":["hashtag1","hashtag2"]},{"1391938083":["hashtag1","hashtag2"]},{"1391938085":["hashtag1","hashtag2"]},{"1391938082":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391938084, 1391938086, 1391938080, 1391938083, 1391938085, 1391938082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2975971698761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:55:42.735187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_49_1814.jpg', '/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_51_1649.jpg', '/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_53_1616.jpg', '/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_56_2837.jpg', '/home/pi/Desktop/images/02112025/03/59/image_02112025_03_59_06_3786.jpg', '/home/pi/Desktop/images/02112025/03/59/image_02112025_03_59_27_8881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_49_1814.jpg
/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_51_1649.jpg
/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_53_1616.jpg
/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_56_2837.jpg
/home/pi/Desktop/images/02112025/03/59/image_02112025_03_59_06_3786.jpg
/home/pi/Desktop/images/02112025/03/59/image_02112025_03_59_27_8881.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7789332866668701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-11-02 23:56:02.353200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_49_1814.jpg', '/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_51_1649.jpg', '/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_53_1616.jpg', '/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_56_2837.jpg', '/home/pi/Desktop/images/02112025/03/59/image_02112025_03_59_06_3786.jpg', '/home/pi/Desktop/images/02112025/03/59/image_02112025_03_59_27_8881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_49_1814.jpg
/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_51_1649.jpg
/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_53_1616.jpg
/home/pi/Desktop/images/02112025/03/58/image_02112025_03_58_56_2837.jpg
/home/pi/Desktop/images/02112025/03/59/image_02112025_03_59_06_3786.jpg
/home/pi/Desktop/images/02112025/03/59/image_02112025_03_59_27_8881.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391938099","1391938102","1391938110","1391938104","1391938113","1391938107"],"photo_ids_order":["1391938099","1391938102","1391938104","1391938107","1391938110","1391938113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/3b65ee9fb7cafe1c88980568b782553b.jpg","text":"TemporaryFile(/tmp/multipartBody1587171425380651625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124223106,"filename":"image_02112025_03_58_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/2/7eed31af36f10ba235c1660202fc96ab.jpg","text":"TemporaryFile(/tmp/multipartBody6866143900212914616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124223106,"filename":"image_02112025_03_58_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/2/fd681825b7a8baf75a825845c508db7e.jpg","text":"TemporaryFile(/tmp/multipartBody844029296288503736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124223106,"filename":"image_02112025_03_59_06_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/2/904408c2d16db30506bce0592b59d882.jpg","text":"TemporaryFile(/tmp/multipartBody8555837977349611762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124223106,"filename":"image_02112025_03_58_53_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/2/6ab8ed09977115f5013b9edfafd56f07.jpg","text":"TemporaryFile(/tmp/multipartBody8582684285084658649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124223106,"filename":"image_02112025_03_59_27_8881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/f7d2139404acc2036977f973508ba1db.jpg","text":"TemporaryFile(/tmp/multipartBody2468359837069300796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124223106,"filename":"image_02112025_03_58_56_2837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391938104","file1":"1391938102","file0":"1391938099","file4":"1391938110","file5":"1391938113","file3":"1391938107"},"map_files_photo_id_array":[{"photo_id":"1391938113","filename":"file5"},{"photo_id":"1391938104","filename":"file2"},{"photo_id":"1391938110","filename":"file4"},{"photo_id":"1391938102","filename":"file1"},{"photo_id":"1391938099","filename":"file0"},{"photo_id":"1391938107","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391938099":["hashtag1","hashtag2"]},{"1391938102":["hashtag1","hashtag2"]},{"1391938110":["hashtag1","hashtag2"]},{"1391938104":["hashtag1","hashtag2"]},{"1391938113":["hashtag1","hashtag2"]},{"1391938107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391938099, 1391938102, 1391938110, 1391938104, 1391938113, 1391938107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30386805534363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4220 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 3
2025-11-02 23:56:41.896273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/03/59/image_02112025_03_59_32_1529.jpg', '/home/pi/Desktop/images/02112025/03/59/image_02112025_03_59_34_1767.jpg', '/home/pi/Desktop/images/02112025/03/59/image_02112025_03_59_47_8798.jpg', '/home/pi/Desktop/images/02112025/03/59/image_02112025_04_00_01_1753.jpg', '/home/pi/Desktop/images/02112025/04/00/image_02112025_04_00_16_1625.jpg', '/home/pi/Desktop/images/02112025/04/00/image_02112025_04_00_25_1709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/03/59/image_02112025_03_59_32_1529.jpg
/home/pi/Desktop/images/02112025/03/59/image_02112025_03_59_34_1767.jpg
/home/pi/Desktop/images/02112025/03/59/image_02112025_03_59_47_8798.jpg
/home/pi/Desktop/images/02112025/03/59/image_02112025_04_00_01_1753.jpg
/home/pi/Desktop/images/02112025/04/00/image_02112025_04_00_16_1625.jpg
/home/pi/Desktop/images/02112025/04/00/image_02112025_04_00_25_1709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391938118","1391938127","1391938123","1391938125","1391938119","1391938121"],"photo_ids_order":["1391938118","1391938119","1391938121","1391938123","1391938125","1391938127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/a1e42ea9e35891e5bc301efd273a6e37.jpg","text":"TemporaryFile(/tmp/multipartBody987109763804725469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124262813,"filename":"image_02112025_03_59_32_1529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/c2e4dd8a7c979a4d00fec24da0303cd8.jpg","text":"TemporaryFile(/tmp/multipartBody5497503483507139218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124262813,"filename":"image_02112025_04_00_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/2/0a8f7dd06c11c1949ea3e0d0d03eaffd.jpg","text":"TemporaryFile(/tmp/multipartBody1196985895440892016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124262813,"filename":"image_02112025_04_00_01_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/2/f215b1564cce4caf8035d42b3feabb8c.jpg","text":"TemporaryFile(/tmp/multipartBody6415441082685556493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124262813,"filename":"image_02112025_04_00_16_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/2/edfd373d75af7fbb50a0fc3270921e28.jpg","text":"TemporaryFile(/tmp/multipartBody8045132389287701014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124262813,"filename":"image_02112025_03_59_34_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/2/8199020d410e4792f3534716c1f493d1.jpg","text":"TemporaryFile(/tmp/multipartBody8785616296032341999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124262813,"filename":"image_02112025_03_59_47_8798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391938121","file1":"1391938119","file0":"1391938118","file4":"1391938125","file5":"1391938127","file3":"1391938123"},"map_files_photo_id_array":[{"photo_id":"1391938127","filename":"file5"},{"photo_id":"1391938121","filename":"file2"},{"photo_id":"1391938125","filename":"file4"},{"photo_id":"1391938119","filename":"file1"},{"photo_id":"1391938118","filename":"file0"},{"photo_id":"1391938123","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391938118":["hashtag1","hashtag2"]},{"1391938127":["hashtag1","hashtag2"]},{"1391938123":["hashtag1","hashtag2"]},{"1391938125":["hashtag1","hashtag2"]},{"1391938119":["hashtag1","hashtag2"]},{"1391938121":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391938118, 1391938127, 1391938123, 1391938125, 1391938119, 1391938121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.681591272354126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10
2025-11-02 23:57:22.056025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
  port_id : 28074484
  datou_current_id : 3980581
in upload_from_sqlite, uploading in 28074484
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/02112025/04/00/image_02112025_04_00_28_1614.jpg', '/home/pi/Desktop/images/02112025/04/00/image_02112025_04_00_31_1697.jpg', '/home/pi/Desktop/images/02112025/04/00/image_02112025_04_00_33_1700.jpg', '/home/pi/Desktop/images/02112025/04/00/image_02112025_04_00_36_2716.jpg', '/home/pi/Desktop/images/02112025/04/00/image_02112025_04_00_38_2537.jpg', '/home/pi/Desktop/images/02112025/04/00/image_02112025_04_00_45_3799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3980581&datou=0
/home/pi/Desktop/images/02112025/04/00/image_02112025_04_00_28_1614.jpg
/home/pi/Desktop/images/02112025/04/00/image_02112025_04_00_31_1697.jpg
/home/pi/Desktop/images/02112025/04/00/image_02112025_04_00_33_1700.jpg
/home/pi/Desktop/images/02112025/04/00/image_02112025_04_00_36_2716.jpg
/home/pi/Desktop/images/02112025/04/00/image_02112025_04_00_38_2537.jpg
/home/pi/Desktop/images/02112025/04/00/image_02112025_04_00_45_3799.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1391938145","1391938147","1391938140","1391938143","1391938137","1391938134"],"photo_ids_order":["1391938134","1391938137","1391938140","1391938143","1391938145","1391938147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/50f1d7d8c5c39fdd3b05da27d5df2981.jpg","text":"TemporaryFile(/tmp/multipartBody1484159313923259742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124302931,"filename":"image_02112025_04_00_38_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/2/f93527d34f21bed00c52b5fa3399a0ad.jpg","text":"TemporaryFile(/tmp/multipartBody2001959655804862030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124302931,"filename":"image_02112025_04_00_45_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/2/32c2b043f55348db772a31cab6281395.jpg","text":"TemporaryFile(/tmp/multipartBody188470717698978492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124302931,"filename":"image_02112025_04_00_33_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/11/2/591386e0cc98b97b09370941f869bd39.jpg","text":"TemporaryFile(/tmp/multipartBody5759439972574944869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124302931,"filename":"image_02112025_04_00_36_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/2/feef147a7cfab7d5dac99ea8673e059b.jpg","text":"TemporaryFile(/tmp/multipartBody3399710432173914747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124302931,"filename":"image_02112025_04_00_31_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/2/3da9cf2b114b8e992394a4f09427bd1c.jpg","text":"TemporaryFile(/tmp/multipartBody9044210337372002660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1762124302931,"filename":"image_02112025_04_00_28_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1391938140","file1":"1391938137","file0":"1391938134","file4":"1391938145","file5":"1391938147","file3":"1391938143"},"map_files_photo_id_array":[{"photo_id":"1391938147","filename":"file5"},{"photo_id":"1391938140","filename":"file2"},{"photo_id":"1391938145","filename":"file4"},{"photo_id":"1391938137","filename":"file1"},{"photo_id":"1391938134","filename":"file0"},{"photo_id":"1391938143","filename":"file3"}],"portfolio_id":28074484,"hashtag_by_photo_ids":[{"1391938145":["hashtag1","hashtag2"]},{"1391938147":["hashtag1","hashtag2"]},{"1391938140":["hashtag1","hashtag2"]},{"1391938143":["hashtag1","hashtag2"]},{"1391938137":["hashtag1","hashtag2"]},{"1391938134":["hashtag1","hashtag2"]}],"comms":"Portfolio 28074484 used, photo_id : ArrayBuffer(1391938145, 1391938147, 1391938140, 1391938143, 1391938137, 1391938134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.02554488182068 secondes ---
